InternalNetIntetface.h 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435
  1. #pragma once
  2. #include <string>
  3. #include <vector>
  4. #include <map>
  5. #include "PhmsDataType.h"
  6. #include "PhmsSession.h"
  7. #include "Poco/Event.h"
  8. using namespace std;
  9. using Poco::Event;
  10. class CInternalNetIntetface
  11. {
  12. public:
  13. CInternalNetIntetface(void);
  14. ~CInternalNetIntetface(void);
  15. private:
  16. CPhmsSession* m_pPhmsSession;
  17. int m_nSaveType;
  18. string m_stringContent;
  19. string m_stringFilePath;
  20. Event m_eventSocketAbort;
  21. string m_stringIp;
  22. public:
  23. //Setter
  24. void SetSaveType(int nSaveType);
  25. void SetFilePath(string stringFilePath);
  26. void SetSessionId(string stringSessionId);
  27. void SetCommandType(EnumPhmsCommandType enumCommandType);
  28. void SetGWSessionId(string stringSessionId);
  29. //Getter
  30. int GetSaveType();
  31. string GetContent();
  32. string GetSessionId();
  33. EnumPhmsCommandType GetCommandType();
  34. string GetIp();
  35. string GetGWSessionId();
  36. private:
  37. typedef struct tagSEGMENT_INFO
  38. {
  39. string m_stringStart;
  40. string m_stringEnd;
  41. string m_stringMd5;
  42. }SEGMENT_INFO;
  43. typedef vector< SEGMENT_INFO > vSegmentInfo;
  44. int LoadServerPathAndAlreadyUploadSize(string stringLocalIniPath, string& stringServerPath, string& stringAlreadyUploadSize);
  45. int StoreServerPathAndAlreadyUploadSize(string stringLocalIniPath, string stringServerPath, string stringAlreadyUploadSize);
  46. int GetUploadSegmentInfo(int nSegmentCount,unsigned long nAlreadyUploadSize, unsigned long nThisTimeUploadSize, string stringLocalPath, vSegmentInfo& vSI);
  47. int GenerateTempUploadFile(int nAlreadyUploadSize, int nThisTimeUploadSize, string stringLocalFilePath, string& stringTempUploadFilePath);
  48. int GetOrder(unsigned long nTotalSize, unsigned long nAlreadyUploadSize, unsigned long nThisTimeUploadSize, string& stringOrder);
  49. int GetDownloadTempFileSize(string stringTempDirectory, int nThreadCount, unsigned long* pTempFileSize);
  50. int DivideSegment(unsigned long nRemainFileSize, unsigned long nSegmentMaxSize, int& nThreadCount, unsigned long* pSegmentFileSize);
  51. int CombineSegmentFile(string stringLocalFile, string stringTempDirectory, int nThreadCount);
  52. public:
  53. //内部接口--针对PHMS接口
  54. int Login(string stringRole, string stringUsername, string stringPassword, string stringLanguage, string stringToken, bool bMustSsl);
  55. int MechineRegister(string stringCountry, string stringAreaId, string stringArea, string stringDevice, string stringSignature, string stringSerialnum);
  56. int Logout();
  57. int SetDoctorSign(string stringFilePath);
  58. int SetDoctorPhoto(string stringFilePath);
  59. int ApplyNewCase(string stringName, string stringThirdId, string stringDataType, string stringDataTypeName, string stringNotes, string stringHospitalId,
  60. string stringHospitalName, string stringDoctorId, string stringDoctorName, string stringCheckTime, string stringOtherParam, string stringDeviceId, string stringDeviceName,
  61. string stringMd5, string stringCaseOrigin, string stringYzlb, string stringSex, string stringApplicationNo, string stringAutoMatic);
  62. int UploadCaseSegment(string stringCaseId, unsigned long nTotalSize, unsigned long nAlreadyUploadSize,
  63. unsigned long nThisTimeUploadSize, string stringServerPath, string stringLocalPath);
  64. int CaseHoldPlace(string stringCaseId, string stringReceiverId);
  65. int GetAutoDownloadCase(string stringCaseType,string stringSenderId,string stringCaseOrigin);
  66. int DownloadCaseBegin(string stringCaseId, string stringReceiverId);
  67. int DownloadFileSegment(string stringUri, unsigned long nBeginPos, unsigned long nEndPos);
  68. int DownloadCaseComplete(string stringCaseId, string stringReceiverId);
  69. int InvalidCase(string stringCaseId, string stringReceiverId, string stringReason);
  70. int TransmitCase(string stringCaseId, string stringReceiverId, string stringForwardToH, string stringForwardToHospitalName,
  71. string stringForwardToD, string stringForwardToDoctorName);
  72. int RollbackCase(string stringCaseId, string stringReceiverId, string stringBackTo);
  73. int GetHospitalListOfGroup(string stringHGroupId, string stringType, string stringCaseType, unsigned int nPageTo, unsigned int nPageSize);
  74. int GetDoctorListOfHospital(string stringHospitalId, string stringDoctorId, string stringCaseType, string stringDoctorType, unsigned int nPageTo, unsigned int nPageSize);
  75. int AnalyzeBegin(string stringCaseId, string stringReceiverId, string stringCaseType);
  76. int AnalyzeComplete(string stringCaseId, string stringReceiverId, string stringCaseType);
  77. int ApplyNewReport(string stringCaseId, string stringReceiverId, string stringDiagnosis, string stringMd5, string stringDigitalSign, string stringTimestampSign, string stringCaseType);
  78. int UploadReportSegment(string stringCaseId, string stringReceiverId, string stringCaseType, string stringReportId, unsigned long nTotalSize,
  79. unsigned long nAlreadyUploadSize, unsigned long nThisTimeUploadSize, string stringServerPath, string stringLocalPath, string stringFileType);
  80. int DownloadReportBegin(string stringCaseId, string stringReportId);
  81. int DownloadReportComplete(string stringCaseId, string stringReportId);
  82. int GetAlreadyUploadFileSize(string stringUri);
  83. int GetReviewReportList(string stringReportStartDate, string stringReportEndDate,string stringReviewStartDate,
  84. string stringReviewEndDate, string stringReviewState, string stringCaseType, string stringPtName, string stringSenderId, string stringYzlb, string stringAId,
  85. string stringReviewerId, string stringReceiverId, string stringCaseId, unsigned int nPageTo, unsigned int nPageSize);
  86. int ReviewReport(string stringReportKeyId, string stringReviewState, string stringPath, string stringDiagnostic,
  87. string stringDigitalSign, string stringTimeStampSign);
  88. int GetReportStateOfCase(string stringCaseId);
  89. int GetCaseListOfDoctor(string stringCaseId, string stringCaseType, string stringCaseSource, string stringCaseState,
  90. string stringPatientName, string stringSenderId, string stringReceiverId, string stringStartDate, string stringEndDate, string stringCheckStartDate,
  91. string stringCheckEndDate, string stringSenderName, string stringDiagnostic, string stringCaseOrigin, string stringYzlb, string stringAId, string stringSex, string stringOrderBy,
  92. string stringThirdId, string stringLang, string stringIsFullName, unsigned int nPageTo, unsigned int nPageSize);
  93. int GetHospitalInfo(string stringHospitalId);
  94. int UploadIm(string stringSenderId, string stringSenderName, string stringReceiverId, string stringMsgDirection,
  95. string stringMsgType, string stringMsgContent, string stringCaseId, string stringCaseType);
  96. int GetImList(string stringSenderId, string stringCaseId, string stringCaseType, string stringMsgDirection,
  97. string stringMsgType);
  98. int GetImList2(string stringNextId);
  99. int DownloadImComplete(string stringMsgId);
  100. int SendPhoneMsg (string stringCardId, string stringPhoneNum, string stringMsg);
  101. int UploadTrendData(string stringCardId, string stringDeviceId, string stringDeviceName, string stringCaseId, vector<RECORD_DATA> vRecordData);
  102. int UploadTrendDataString(string stringCardId, string stringDeviceId, string stringDeviceName, string stringCaseId, vector<RECORD_DATA_STRING> vRecordData);
  103. int UploadTrendDataFile(string stringFilePath);
  104. int UploadAudioSegment (string stringMsgId, unsigned long nTotalSize, unsigned long nAlreadyUploadSize,
  105. unsigned long nThisTimeUploadSize, string stringServerPath, string stringLocalPath);
  106. int UploadAdvice (string stringUserId, string stringUsername, string stringMsg, string stringType, string stringIsSendMsg);
  107. int GetAdvice (string stringSgId, string stringUserId, string stringDoctorId, string stringDownloadState, string stringType,
  108. string stringStartDate, string stringEndDate, unsigned int nPageTo, unsigned int nPageSize);
  109. int DownloadAdviceComplete (string stringAdviceId);
  110. int GetReportListOfCase (string stringCaseId);
  111. int GetSelfInfo (string stringSenderId);//接口有变动,加了一个参数senderid,表示要查找信息的人,如为空表示自己
  112. int ChangePwd (string stringOldPwd, string stringNewPwd);
  113. int DoctorChangeInfo (string stringName, string stringSex, string stringTel, string stringBirthdear,
  114. string stringPosition, string stringNotes);
  115. int CliniqueChangeInfo (string stringPid, string stringName, string stringTel, string stringNotes);
  116. int UserChangeInfo (string stringPid, string stringName, string stringSex, string stringTel, string stringBirthday,
  117. string stringAddress, string stringLmp, string stringToken, string stringHeight, string stringWeight, string stringPhoto, string stringVCodeBeFollowed, string stringHospitalId, string stringOtherInfo);
  118. int GetCaseListOfUser (string stringCaseId, string stringCaseType, string stringCaseState, string stringThirdId, string stringName,
  119. string stringStartDate, string stringEndDate, string stringCheckStartDate, string stringCheckEndDate, string stringCaseOrigin,
  120. string stringYzlb, string stringSex, string stringIsRead, string stringOrderBy, unsigned int nPageTo, unsigned int nPageSize);
  121. int GetReportListOfUser (string stringReportId, string stringReportStartDate, string stringReportEndDate,
  122. string stringCaseType, string stringReportState, string stringOrderBy, unsigned int nPageTo, unsigned int nPageSize);
  123. int GetCardUserList (string stringCardId, string stringSenderId, string stringPersonId, string stringTel, string stringName,
  124. string stringType, unsigned int nPageTo, unsigned int nPageSize);
  125. int KeepSession();
  126. int MarkCaseException(string stringCaseId, string stringReceiverId, int nResultFlag);
  127. int MarkReportRead(string stringReportId);
  128. int Feedback(string stringTitle, string stringNotes, string stringPhone, string stringFilePath);
  129. int UploadTrendData2(string stringTargetPath);
  130. int GetAllTeamList();
  131. int GetDoctorListOfTeam(string stringTeamId);
  132. int GetEventStream(string stringCaseId, string stringOriginalHospital);
  133. int GetCaseTypeList(string stringLanguage);
  134. int DoctorHandledCaseStatistics(string stringCaseType, string stringStartTime, string stringEndTime);
  135. int UserRegister(string stringPhone, string stringName, string stringHeigth);
  136. int GetTrendData(string stringUId, string stringInterUId, string stringTrendType, string stringStartDate, string stringEndDate, string stringNextId);//该接口目前只支持保存到文件
  137. int GetLastPhysiologicalData();
  138. int GetHealthDegree(string stringUId, string stringInterUId, string stringDate);
  139. int GetUserOfNoAdviceAndMostData(string stringDays);
  140. int AdviceDelay(string stringUId, string stringMinutes);
  141. int AdviceComplete(string stringUId, string stringOptionType, string stringAdvice);
  142. int GetUserListOfNoAdvice(string stringDays, unsigned int nPageTo, unsigned int nPageSize);
  143. int AdviceBegin(string stringUId);
  144. int GetUserListOfAdvicing(unsigned int nPageTo, unsigned int nPageSize);
  145. int VerifyThirdId(string stringUId, string stringType);
  146. int PersonIdRegister(string stringType, string stringRegFrom, string stringPersonId, string stringName, string stringSex, string stringBirthday, string stringAddress,
  147. string stringPhone, string stringHeigth, string stringUploadUnitId, string stringHospitalId, string stringHGroupId, string stringScode, string stringWxUId, string stringLmp, string stringWeight, string stringPassword,
  148. string stringThirdCode, string stringIsRegister);
  149. int GetVerificationCode(string stringType, string stringPhone);
  150. int GetAskList(string stringAskType, string stringAskEnd, string stringDoctorId, string stringIsAsk, string stringUserId, string stringStartTime, string stringEndTime, unsigned int nPageTo, unsigned int nPageSize);
  151. int GetAskDetail(string stringAskId);
  152. int GetQuestionList(string stringDoctorId, string stringReportType, string stringAskId);
  153. int SubmitQuestion(string stringUserId, string stringAdvise, string stringReportType, string stringAskId, string stringAskedId, string stringDoctorPhotoPath);
  154. int GetDataDictionary();
  155. int LoggingHealthBaseInfo(string stringUserId, string stringWeblock, string stringNation, string stringProfression, string stringCrowd, string stringBloodType,
  156. string stringJwsJiBing, string stringJwsShouShu, string stringJwsWaiShang, string stringJwsShuXue, string stringJwsBaoLuShi, string stringJwsBaoLuShiBz,
  157. string stringJwsYiChuanJiBing, string stringGmsGuoMinShi, string stringGmsGuoMinShiBz, string stringJzsFuQin, string stringJzsFuQinBz, string stringJzsMuQin,
  158. string stringJzsMuQinBz, string stringJzsXdjm, string stringJzsXdjmBz, string stringJzsZiNv, string stringJzsZiNvBz, string stringJzsQiTa);
  159. int LoggingHealthCurrentInfo(string stringUserId, string stringShfsYinShi, string stringShfsXlzk, string stringShfsXlzkBz, string stringShfsXltz, string stringShfsXiYan,
  160. string stringShfsYinJiu, string stringShfsSyqk, string stringShfsYunDong, string stringShfsYunDongShiJian, string stringSysjcDanGuChun, string stringSysjcXueChangGui,
  161. string stringSysjcXueChangGuiBz, string stringSysjcNiaoChangGui, string stringSysjcNiaoChangGuiBz, string stringSysjcQiTa, string stringYongYao, string stringZhuYuan,
  162. string stringJkwtNaoXueGuan, string stringJkwtNaoXueGuanBz, string stringJkwtShenZang, string stringJkwtShenZangBz, string stringJkwtXinZang, string stringJkwtXinZangBz,
  163. string stringJkwtXueGuan, string stringJkwtXueGuanBz, string stringJkwtYanBu, string stringJkwtYanBuBz, string stringJkwtShenJing, string stringJkwtQiTa, string stringDate);
  164. int GetCliniqueListOfHospital(string stringHospitalId);
  165. int GetStatisticsInfo(string stringTypeId, string stringMonth, string stringMonthDay, unsigned int nPageTo, unsigned int nPageSize);
  166. int UpdateCaseInfo(string stringHospitalId, string stringCaseId, string stringOtherParam, string stringFlag, string stringNotes, string stringReceiverId);
  167. int GetUserHealthList(string stringNextId, string stringTypeId, string stringSecondTypeId, string stringName, string stringSex, string stringThirdIdType,
  168. string stringThirdId, string stringHospitalId, string stringUnitSenderId, string stringIsData, string stringIntervalTime, string stringPopulations, string stringContractDoctor, string stringIsContract, string stringPageSize);
  169. int GetAdviceImplemention(string stringThirdId, string stringHospitalId);
  170. int ChangePersonType(string stringThirdId, string stringPeopleType, string stringHospitalId);
  171. int SetNextVisitTime(string stringThirdId, string stringInterViewTime, string stringHospitalId);
  172. int GetPersonTypeList(string stringLanguage);
  173. int PersonIdRegisterAndLogin(string stringRole, string stringPId, string stringName, string stringSex, string stringBirthday, string stringAddress, string stringDeviceId, string stringMd5,
  174. string stringLang, string stringRegFrom);
  175. int CardBindPhone(string stringPhone, string stringScode);
  176. int ResetPassword(string stringPhone, string stringScode, string stringNewPwd);
  177. int UploadDaily(string stringType, string stringCreateTime, string stringFiles);
  178. int GetDateListOfDaily(string stringYear, string stringMonth);
  179. int GetDailyOfDate(string stringDate, string stringType);
  180. int ShareDaily(string stringType, string stringCreateTime);
  181. int DeleteDaily(string stringType, string stringDate);
  182. int PhoneScanQR(string stringQRCode);
  183. int PhoneScanQRVerify(string stringQRCode);
  184. int ApplyQRCode(string stringType, string stringScene);
  185. int ValidateUserAccount(string stringLoginId, string stringPassword, string stringRole);
  186. int RegisterBluetoothDevice(string stringUniqueSN, string stringSerial, string stringBluetoothAddress, string stringBluetoothName, string stringDeviceType);
  187. int GetBluetoothInfoOfDevice(string stringUniqueSN);
  188. int ChangeDeviceType(string stringUniqueSN, string stringDeviceType);
  189. int UnregisterBluetoothDevice(string stringUniqueSN);
  190. int GetHospitalListOfArea(string stringAreaId, string stringRank, string stringBeta);
  191. int UploadCommonFileSegment (string stringType, string stringExtra, unsigned long nTotalSize, unsigned long nAlreadyUploadSize,
  192. unsigned long nThisTimeUploadSize, string stringServerPath, string stringLocalPath, string stringFileType);
  193. int SearchSomebody(string stringUserId);
  194. int FollowSomebody(string stringUserId, string stringUsername, string stringNickname, string stringVCode);
  195. int MyFollowing(string stringUserId, string stringNextId, string stringFType);
  196. int MyFans(string stringUserId, string stringNextId);
  197. int ChangeNicknameOfFollowed(string stringUserId, string stringNickname);
  198. int CancelFollowing(string stringUserId);
  199. int PublishHealthyKnowledge(vector<HEALTHY_KNOWLEDGE> vHealthKnowledge);
  200. int GetListOfHealthyKnowledge(string stringSenderId, string stringNextId, string stringIds, string stringPageSize, string stringOrderBy);
  201. int GenerateOrDeletePngZlibReport(string stringServerPath, string stringFlag);
  202. int GetDailyList(string stringType, string stringStartDate, string stringEndDate, string stringOrderBy, string stringNextId, string stringPageSize);
  203. int GetCardUserReportList(string stringReportId, string stringReportStartDate, string stringReportEndDate, string stringCaseType, string stringState, string stringOrderBy,
  204. string stringThirdIdType, string stringThirdId, string stringNextId, string stringPageSize);
  205. int ChangeViewLikeCollectCount(string stringHealthTipId, string stringUri, string stringTitle, string stringLike, string stringRead, string stringCollect);
  206. int ChangeAdviceExecutiveState(string stringSgId, string stringState);
  207. int GetTrendRangeValue();
  208. int GetCliniqueReportList(string stringCliniqueSenderId, string stringStartDate,
  209. string stringEndDate, string stringState, string stringName, string stringPatientSourceCode, string stringYzlb, string stringPIdType, string stringPId, string stringHb, string stringASectionId, string stringNextId, string stringPageSize);
  210. int GetUserListBindingOrNot(string stringNextId, string stringPageSize, string stringIsBind, string stringIsActive);
  211. int BindUser(string stringUId, string stringUName);
  212. int UnbindUser(string stringUId);
  213. int GetCardUserListOfCustomer(string stringThirdId, string stringName, string stringCaseType, string stringStartDate, string stringEndDate, string stringNextId, unsigned int nPageSize);
  214. int SearchCaseAdvanced(string stringHospitalId, string stringDiagnostic,
  215. string stringName, string stringSex, QUERY_RANGE rangeAge, QUERY_RANGE rangeCreateTime, string stringMode,
  216. string stringCaseType, QUERY_ECG ecg, string stringFrom, string stringSize);
  217. int SearchCaseAdvancedString(string stringHospitalId, string stringDiagnostic,
  218. string stringName, string stringSex, string stringJsonAge, string stringJsonCreateTime, string stringMode,
  219. string stringCaseType, string stringJsonEcg, string stringFrom, string stringSize);
  220. int GetPayCode(string stringType, string stringCaseId);
  221. int GetOrderInfo(string stringType, string stringCaseId);
  222. int SignDoctor(string stringUId);
  223. int RefundFee(string stringType, string stringCaseId, string stringRefundFee);
  224. int HoldPlaceReview(string stringReportId);
  225. int RollBackReview(string stringReportId);
  226. int ResetReviewHoldPlace(string stringReportId, string stringOccupantId, string stringOccupantName, string stringSuperKey);
  227. int ResetCaseHoldPlace(string stringCaseId, string stringReceiverId, string stringOccupantId, string stringOccupantName, string stringSuperKey);
  228. int AddTag(string stringTagName, string stringTagDescription);
  229. int GetTagList(string stringSenderId);
  230. int AddCaseToTag(string stringTagId, string stringTagName, string stringCaseId, string stringCaseType, string stringCaseTypeName, string stringPatientName);
  231. int GetCaseListOfTag(string stringTagId, string stringSenderId, string stringCaseType);
  232. //冠新接口
  233. // int CreateSession_GuanXin(string stringUsername, string stringPassword);
  234. int GetAccessToken_GuanXin(string stringUsername, string stringPassword);
  235. int GetPersonInfo_GuanXin(string stringAccessToken, string stringPersonName, string stringPersonGender, string stringPersonIdentity, string stringPersonBirthDate);
  236. int UploadECGData_GuanXin(string stringECGXmlPath, string stringECGDataPath);
  237. int UploadOtherData_GuanXin(string stringOtherXmlPath);
  238. int UploadCheckData_GuanXin(string stringCheckXmlPath);
  239. int UploadPersonInfo_GuanXin(string stringPersonInfoXmlPath);
  240. //自定义内部接口,间接针对一个或多个Phms接口
  241. //下载文件这个接口比较特殊,规定服务器返回的内容只能保存文件,不走对象的nSaveType指定,保存的服务器路径通过stringLocalFilePath传进来
  242. int DownloadFile (int nThreadCount, string stringUri, unsigned long nFileSize, string stringLocalFilePath, pProgressAndSpeedCallback pCallback);
  243. int UploadCase (string stringCaseId, string stringLocalCasePath, pProgressAndSpeedCallback pCallback);
  244. int UploadReport (string stringCaseId, string stringReceiverId, string stringCaseType, string stringReportId, string stringLocalReportPath, string stringFileType, pProgressAndSpeedCallback pCallback);
  245. int UploadAudio(string stringMsgId, string stringLocalAudioPath, pProgressAndSpeedCallback pCallback);
  246. int UploadCommonFile(string& stringUri, string stringType, string stringExtra, string stringLocalFilePath, string stringFileType, pProgressAndSpeedCallback pCallback);
  247. //用于即时退出Http Session
  248. int AbortSession();
  249. //内部接口--针对NoPhms接口,直接用http协议请求文件,不通过php
  250. int GetFileWithHttp(string stringUrl, int bContinue);
  251. //内部接口--针对Form表单
  252. int PostForm(string stringHost, string stringUrl, map<string, string> mapParam);
  253. //院内使用接口
  254. int SetCliniqueState(string stringCliniqueId, string stringState);
  255. int GetPatientInfoByAppNum(string stringHospitalId, string stringOrderType, string stringOrderId, string stringReqDepart, string stringOrderState, string stringCheckType, string stringStartDate, string stringEndDate,string stringClinicId);
  256. int GetPatientInfoByAppNumToHis(string stringHospitalId, string stringOrderType, string stringOrderId);
  257. int GetPatientInfoByAppNumToPhmsAndHis(string stringHospitalId, string stringOrderType, string stringOrderId);
  258. int ApplyCheck(string stringCliniqueId, string stringOrderId, string stringOrderType);
  259. int GetWaitingCheck(string stringCliniqueId);
  260. int GetCliniqueState(string stringCliniqueId);
  261. int NotifyCaseState(string stringHospitalId, string stringOrderType, string stringOrderId);
  262. int NotifyReportState(string stringReportId);
  263. int SetDoctorAgentId(string stringDoctorAgentId);
  264. int NotifyAppState(string stringUnitId, string stringOrderId, string stringOrderType, string stringState);
  265. int VerifyAppState(string stringOrderId, string stringOrderType);
  266. int GetHisReportState(string stringHospitalId, string stringOrderType, string stringOrderId);
  267. int SetHisCriticalValue(string stringHospitalId, string stringCaseId, string stringCriticalValues);
  268. //东亚医讯Xml接口
  269. int GetDoctorList_999120(string stringKtCliniqueId, string stringCaseTypeId);
  270. int ValidatePay_999120(string stringConsumeId, string stringKtCliniqueId, string stringCardNumber, string stringKtDoctorId, string stringConsumeMoney, string stringCaseTypeId);
  271. int UpdateCaseForConsumerRecord_999120(string stringConsumeId, string stringKtCaseId, string stringCaseTypeId);
  272. //北京心医接口
  273. int ValidatePay_XinJie(string stringRrn, string stringLocalDate);
  274. int NotifyCheck_XinJie(string stringRrn, string stringLocalDate);
  275. //电信健康小屋接口
  276. int UserAuthorize_Telecom(string stringPersonId, string stringName, string stringNation, string stringAddress, string stringRoomId);
  277. int BloodPressureUpload_Telecom(string stringPersonType, string stringPersonId, string stringSBP, string stringDBP, string stringAverageValue, string stringPulseRate, string stringDetectionTime,
  278. string stringEquCode, string stringRoomId);
  279. int BloodOxygenUpload_Telecom(string stringPersonType, string stringPersonId, string stringBloodOxygen, string stringPulseRate, string stringDetectionTime,
  280. string stringEquCode, string stringRoomId);
  281. int BloodSugarUpload_Telecom(string stringPersonType, string stringPersonId, string stringBloodSugar, string stringDetectionTime,
  282. string stringEquCode, string stringRoomId);
  283. int HeightWeightUpload_Telecom(string stringPersonType, string stringPersonId, string stringHeight, string stringWeight, string stringBMI, string stringDetectionTime,
  284. string stringEquCode, string stringRoomId);
  285. int LungUpload_Telecom(string stringPersonType, string stringPersonId, string stringM_B1, string stringBSA, string stringBSA1, string stringMMF, string stringMefSeventyFive, string stringMefFifty,
  286. string stringMefTwentyFive, string stringMefFVST, string stringIC, string stringIRV, string stringERV, string stringFevOne, string stringFevTwo, string stringFevThree,
  287. string stringFevOnePer, string stringFevTwoPer, string stringFevThreePer, string stringRR, string stringFVC, string stringPEF, string stringTV, string stringVC, string stringMVV,
  288. string stringMV, string stringVSTHeight, string stringVSMvvBsa, string stringVSMvvOne, string stringSVC, string stringFevOneZeroFive, string stringFevOneZeroFivePer, string stringPefOne,
  289. string stringPefTwo, string stringPefThree, string stringFive, string stringFiveOne, string stringFiveTwo, string stringFiveThree, string stringPIF, string stringMifFifty,
  290. string stringDetectionTime, string stringEquCode, string stringRoomId);
  291. int ECGUpload_Telecom(string stringPersonType, string stringPersonId, string stringDetectionTime, string stringEquCode, string stringRoomId, TELCOM_ECG ecgData);
  292. //东软熙康定制
  293. int Login_XiKang(string stringUsername, string stringPassword);
  294. int RegisterPatientId_XiKang(string stringName, string stringSex, string stringPhoneNum, string stringProofNum);
  295. int RegisterPatientInfo_XiKang(string stringPatientOpenId, string stringName, string stringSex, string stringPhoneNum, string stringProofNum, string stringPassword);
  296. int BindPatient_XiKang(string stringDoctorOpenId, string stringPatientOpenId);
  297. int GetPatientIdList_XiKang(string stringDoctorOpenId);
  298. int SearchPatientId_XiKang(string stringKey, string stringValue);
  299. int GetPatientInfo_XiKang(string stringPatientOpenId);
  300. int GetCaseList_XiKang(vector<string> vPatientOpenId);
  301. int SubmitCase_XiKang(string stringPatientOpenId, string stringAdvice, string stringCaseType, string stringEcgXmlContent);
  302. int GetReportFile_XiKang(string stringCaseId);
  303. int UploadFile_XiKang(string stringCaseId, string stringCaseFilePath);
  304. //公卫接口
  305. int ExecuteGWService(string stringLastPath, string stringJson, string stringFilePath);
  306. int ExecuteCommonRESTful(string stringIp, string stringPort, string stringUrl, string stringContentType, string stringPayload);
  307. };