@lm_fe/service 0.1.201

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/README.md +31 -0
  2. package/dist/ModelService.d.ts +126 -0
  3. package/dist/common.d.ts +18 -0
  4. package/dist/fubao/index.d.ts +1 -0
  5. package/dist/fubao/tow_cancer/BreastCancerRecord/index.d.ts +8 -0
  6. package/dist/fubao/tow_cancer/BreastCancerRecord/type.d.ts +7 -0
  7. package/dist/fubao/tow_cancer/BreastCancerRecord/utils.d.ts +3 -0
  8. package/dist/fubao/tow_cancer/BreastCancerScreening/index.d.ts +13 -0
  9. package/dist/fubao/tow_cancer/BreastCancerScreening/type.d.ts +61 -0
  10. package/dist/fubao/tow_cancer/BreastCancerScreening/utils.d.ts +3 -0
  11. package/dist/fubao/tow_cancer/CervicalCancerRecord/index.d.ts +8 -0
  12. package/dist/fubao/tow_cancer/CervicalCancerRecord/type.d.ts +7 -0
  13. package/dist/fubao/tow_cancer/CervicalCancerRecord/utils.d.ts +3 -0
  14. package/dist/fubao/tow_cancer/CervicalCancerScreening/index.d.ts +8 -0
  15. package/dist/fubao/tow_cancer/CervicalCancerScreening/type.d.ts +74 -0
  16. package/dist/fubao/tow_cancer/CervicalCancerScreening/utils.d.ts +3 -0
  17. package/dist/fubao/tow_cancer/TwoCancerScreeningFile/index.d.ts +9 -0
  18. package/dist/fubao/tow_cancer/TwoCancerScreeningFile/type.d.ts +40 -0
  19. package/dist/fubao/tow_cancer/TwoCancerScreeningFile/utils.d.ts +3 -0
  20. package/dist/fubao/tow_cancer/index.d.ts +5 -0
  21. package/dist/fubao/tow_cancer/types.d.ts +30 -0
  22. package/dist/index.d.ts +8 -0
  23. package/dist/index.js +5940 -0
  24. package/dist/local/Calculator/index.d.ts +20 -0
  25. package/dist/local/Dictionary/index.d.ts +27 -0
  26. package/dist/local/History/index.d.ts +8 -0
  27. package/dist/local/LoginState/index.d.ts +7 -0
  28. package/dist/local/SystemConfig/index.d.ts +5 -0
  29. package/dist/local/Utils/index.d.ts +1 -0
  30. package/dist/local/Version/index.d.ts +3 -0
  31. package/dist/local/index.d.ts +7 -0
  32. package/dist/mchc/enums.d.ts +15 -0
  33. package/dist/mchc/index.d.ts +2 -0
  34. package/dist/mchc/service/Address/index.d.ts +21 -0
  35. package/dist/mchc/service/Admission/Common/IMchc_Admission.d.ts +114 -0
  36. package/dist/mchc/service/Admission/Common/IMchc_Admission_HeaderInfoOfInpatientEmr.d.ts +30 -0
  37. package/dist/mchc/service/Admission/Common/index.d.ts +16 -0
  38. package/dist/mchc/service/Admission/Document/IMchc_Admission_DeliveryInfo.d.ts +33 -0
  39. package/dist/mchc/service/Admission/Document/IMchc_Admission_Document.d.ts +173 -0
  40. package/dist/mchc/service/Admission/Document/IMchc_Admission_InpatientEmrBaseInfo.d.ts +45 -0
  41. package/dist/mchc/service/Admission/Document/IMchc_Admission_LabourDocument.d.ts +109 -0
  42. package/dist/mchc/service/Admission/Document/IMchc_Admission_NeonateDocument.d.ts +197 -0
  43. package/dist/mchc/service/Admission/Document/IMchc_Admission_bloodTransfusionDocumentDocument.d.ts +37 -0
  44. package/dist/mchc/service/Admission/Document/IMchc_Admission_breastMilkDocument.d.ts +42 -0
  45. package/dist/mchc/service/Admission/Document/IMchc_Admission_firstCareDocument.d.ts +18 -0
  46. package/dist/mchc/service/Admission/Document/IMchc_Admission_firstCareSpecialAssessDocument.d.ts +35 -0
  47. package/dist/mchc/service/Admission/Document/IMchc_Admission_labourStageRecordDocument.d.ts +33 -0
  48. package/dist/mchc/service/Admission/Document/IMchc_Admission_magnesiumDocument.d.ts +10 -0
  49. package/dist/mchc/service/Admission/Document/IMchc_Admission_neonateCareDocument.d.ts +27 -0
  50. package/dist/mchc/service/Admission/Document/IMchc_Admission_oxytocinRecordDocument.d.ts +31 -0
  51. package/dist/mchc/service/Admission/Document/IMchc_Admission_postnatalCareRecord.d.ts +24 -0
  52. package/dist/mchc/service/Admission/Document/IMchc_Admission_predeliveryDocument.d.ts +37 -0
  53. package/dist/mchc/service/Admission/Document/IMchc_Admission_productionTimeDocument.d.ts +28 -0
  54. package/dist/mchc/service/Admission/Document/IMchc_Admission_tireDischargeRecord.d.ts +69 -0
  55. package/dist/mchc/service/Admission/Document/IMchc_Admission_tocolysisDocument.d.ts +17 -0
  56. package/dist/mchc/service/Admission/Document/IMchc_Admission_urinaryRetentionDocument.d.ts +25 -0
  57. package/dist/mchc/service/Admission/Document/index.d.ts +5 -0
  58. package/dist/mchc/service/Admission/index.d.ts +32 -0
  59. package/dist/mchc/service/Admission/types.d.ts +2 -0
  60. package/dist/mchc/service/Admission/utils.d.ts +4 -0
  61. package/dist/mchc/service/Common.d.ts +57 -0
  62. package/dist/mchc/service/Courses/index.d.ts +146 -0
  63. package/dist/mchc/service/Dictionaries/index.d.ts +17 -0
  64. package/dist/mchc/service/Doctor/index.d.ts +240 -0
  65. package/dist/mchc/service/Doctor/types/IFirstVisitDiagnosisOutpatient copy.d.ts +69 -0
  66. package/dist/mchc/service/Doctor/types/IFirstVisitDiagnosisOutpatient.d.ts +69 -0
  67. package/dist/mchc/service/Doctor/types/IMchc_Doctor_BuildExamTimeAxis.d.ts +19 -0
  68. package/dist/mchc/service/Doctor/types/IMchc_Doctor_FirstVisitInfoOfOutpatient.d.ts +150 -0
  69. package/dist/mchc/service/Doctor/types/IMchc_Doctor_FirstVisitPastmhOutpatient.d.ts +38 -0
  70. package/dist/mchc/service/Doctor/types/IMchc_Doctor_PreRiskAssessmentInfo.d.ts +23 -0
  71. package/dist/mchc/service/Doctor/types/IMchc_Doctor_Pregnancymh.d.ts +39 -0
  72. package/dist/mchc/service/Doctor/types/IMchc_Doctor_RiskRecordsOfOutpatient.d.ts +13 -0
  73. package/dist/mchc/service/Doctor/types/IMchc_Doctor_VteAssessForm.d.ts +39 -0
  74. package/dist/mchc/service/Doctor/types/IOutpatientHeaderInfo.d.ts +57 -0
  75. package/dist/mchc/service/Doctor/types/IRvisitInfoOfOutpatient.d.ts +77 -0
  76. package/dist/mchc/service/Doctor/types/common.d.ts +33 -0
  77. package/dist/mchc/service/Doctor/types/index.d.ts +11 -0
  78. package/dist/mchc/service/Doctor/utils.d.ts +183 -0
  79. package/dist/mchc/service/FormDescriptions/index.d.ts +24 -0
  80. package/dist/mchc/service/FormDescriptions/types/FormItemLayout.d.ts +5 -0
  81. package/dist/mchc/service/FormDescriptions/types/InputType.d.ts +1 -0
  82. package/dist/mchc/service/FormDescriptions/types/Rules.d.ts +4 -0
  83. package/dist/mchc/service/FormDescriptions/types/SpecialConfig.d.ts +33 -0
  84. package/dist/mchc/service/FormDescriptions/types/TranferRules.d.ts +9 -0
  85. package/dist/mchc/service/FormDescriptions/types/index.d.ts +192 -0
  86. package/dist/mchc/service/FormDescriptions/utils.d.ts +20 -0
  87. package/dist/mchc/service/Knowledges/index.d.ts +110 -0
  88. package/dist/mchc/service/Nurse/index.d.ts +11 -0
  89. package/dist/mchc/service/Nurse/types/IMchc_Nurse_OutpatientDocument.d.ts +134 -0
  90. package/dist/mchc/service/Nurse/types/index.d.ts +1 -0
  91. package/dist/mchc/service/Nurse/utils.d.ts +5 -0
  92. package/dist/mchc/service/NursingBoard/index.d.ts +11 -0
  93. package/dist/mchc/service/NursingBoard/types/IMchc_NursingBoard_Data.d.ts +40 -0
  94. package/dist/mchc/service/NursingBoard/types/IMchc_NursingBoard_InsideData.d.ts +83 -0
  95. package/dist/mchc/service/NursingBoard/types/IMchc_NursingBoard_TodayWatchKeeper.d.ts +15 -0
  96. package/dist/mchc/service/NursingBoard/types/index.d.ts +3 -0
  97. package/dist/mchc/service/Pregnancy.d.ts +130 -0
  98. package/dist/mchc/service/Questionnaire/index.d.ts +124 -0
  99. package/dist/mchc/service/Questionnaire/types.d.ts +89 -0
  100. package/dist/mchc/service/SyphilisManage/index.d.ts +43 -0
  101. package/dist/mchc/service/TableConfig/index.d.ts +150 -0
  102. package/dist/mchc/service/TableConfig/utils.d.ts +25 -0
  103. package/dist/mchc/service/TemplateTree/index.d.ts +39 -0
  104. package/dist/mchc/service/TemplateTree/types/IMchc_LabExamImportTree_Item.d.ts +17 -0
  105. package/dist/mchc/service/TemplateTree/types/IMchc_TemplateTree_Item.d.ts +18 -0
  106. package/dist/mchc/service/TemplateTree/types/index.d.ts +10 -0
  107. package/dist/mchc/service/ThalassemiaFollowUp/index.d.ts +95 -0
  108. package/dist/mchc/service/ThalassemiaFollowUp/types.d.ts +24 -0
  109. package/dist/mchc/service/User.d.ts +50 -0
  110. package/dist/mchc/service/WorkRecord.d.ts +26 -0
  111. package/dist/mchc/service/index.d.ts +20 -0
  112. package/dist/mchc/service/types/index.d.ts +105 -0
  113. package/dist/mchc/service/types/utils.d.ts +27 -0
  114. package/dist/mchc/service/workQuestions.d.ts +57 -0
  115. package/dist/types.d.ts +13 -0
  116. package/dist//344/270/255/345/261/261/344/270/200/index.d.ts +1 -0
  117. package/dist//344/270/255/345/261/261/344/270/200/service/User.d.ts +88 -0
  118. package/dist//344/270/255/345/261/261/344/270/200/service/index.d.ts +1 -0
  119. package/dist//350/266/212/347/247/200/345/246/207/345/271/274/index.d.ts +1 -0
  120. package/dist//350/266/212/347/247/200/345/246/207/345/271/274/service/Doctor/index.d.ts +6 -0
  121. package/dist//350/266/212/347/247/200/345/246/207/345/271/274/service/index.d.ts +1 -0
  122. package/package.json +34 -0
@@ -0,0 +1,39 @@
1
+ import { TIdTypeCompatible } from 'src/types';
2
+ import { ModelService } from '../../../ModelService';
3
+ import { IMchc_LabExamImportTree_Item, IMchc_TemplateTree_AlertAssessment, IMchc_TemplateTree_Item } from './types';
4
+ export * from './types';
5
+ declare class TemplateTreeService extends ModelService<IMchc_TemplateTree_Item> {
6
+ name: string;
7
+ /** 获取诊断模糊搜索数据 */
8
+ getDiagnosesTemplate(value: string, page?: number): Promise<IMchc_TemplateTree_Item[]>;
9
+ /** 获取模板数据 */
10
+ getTemplateTree(type: number | {
11
+ type: number;
12
+ page?: number;
13
+ size?: number;
14
+ depid?: number;
15
+ userid?: number;
16
+ }): Promise<IMchc_TemplateTree_Item[]>;
17
+ deleteHighrisk(data: any): void;
18
+ /** 添加模板数据 */
19
+ addTemplateTree(item: Partial<IMchc_TemplateTree_Item>): Promise<any>;
20
+ /** 获取已勾选的模板数据 */
21
+ findAlertAssessment(type: number, pregnancyId: TIdTypeCompatible): Promise<IMchc_TemplateTree_AlertAssessment>;
22
+ /** 保存已勾选的模板数据 */
23
+ saveAlertAssessment(data: any): Promise<import("axios").AxiosResponse<any, any>>;
24
+ /** 获取高危色卡颜色 */
25
+ getHighriskColor(module: string): Promise<import("axios").AxiosResponse<any, any>>;
26
+ /** 设置漏诊提示、高危因素标记不再提醒 */
27
+ saveCaseIgnore(data: any): Promise<import("axios").AxiosResponse<any, any>>;
28
+ /** 获取检验报告结果 */
29
+ getLabExamImportTree(pregnancyId: TIdTypeCompatible): Promise<IMchc_LabExamImportTree_Item[]>;
30
+ /** 获取超声报告结果 */
31
+ getImageExamImportTree(pregnancyId: TIdTypeCompatible): void;
32
+ /** 获取梅毒管理数据 */
33
+ getSyphilisManagers(pregnancyId: TIdTypeCompatible): Promise<import("axios").AxiosResponse<any, any>>;
34
+ /** 获取梅毒管理数据 */
35
+ createSyphilisManagers(data: any): Promise<import("axios").AxiosResponse<any, any>>;
36
+ /** 获取梅毒管理数据 */
37
+ updateSyphilisManagers(data: any): Promise<import("axios").AxiosResponse<any, any>>;
38
+ }
39
+ export declare const SMchc_TemplateTrees: TemplateTreeService;
@@ -0,0 +1,17 @@
1
+ export interface IMchc_LabExamImportTree_Item {
2
+ id: number;
3
+ pid: number;
4
+ title: string;
5
+ items: {
6
+ id: number;
7
+ pid: number;
8
+ title: string;
9
+ items: [];
10
+ labExamTypeEnum: string;
11
+ unusual: null;
12
+ unusualDesc: null;
13
+ }[];
14
+ labExamTypeEnum: null;
15
+ unusual: null;
16
+ unusualDesc: null;
17
+ }
@@ -0,0 +1,18 @@
1
+ export interface IMchc_TemplateTree_Item {
2
+ active: boolean;
3
+ categoryCode: string;
4
+ categoryName: string;
5
+ code: string;
6
+ depid: number;
7
+ diagnosisCode: string;
8
+ icdCode: string;
9
+ id: number;
10
+ mnemonic: string;
11
+ pid: number;
12
+ sort: number;
13
+ systemType: number;
14
+ type: number;
15
+ userid?: number;
16
+ val: string;
17
+ wb: null;
18
+ }
@@ -0,0 +1,10 @@
1
+ import { IMchc_TemplateTree_Item } from './IMchc_TemplateTree_Item';
2
+ export * from './IMchc_TemplateTree_Item';
3
+ export * from './IMchc_LabExamImportTree_Item';
4
+ export interface IMchc_TemplateTree_AlertAssessment {
5
+ pregnancyId: number;
6
+ type: number;
7
+ templateId: number;
8
+ value: IMchc_TemplateTree_Item[];
9
+ first: boolean;
10
+ }
@@ -0,0 +1,95 @@
1
+ import { TIdTypeCompatible } from 'src/types';
2
+ import { IMchc_ThalassemiaFollowUp } from './types';
3
+ export declare const SMchc_ThalassemiaFollowUp: {
4
+ exportGet(params?: {}): Promise<any>;
5
+ login(params: {
6
+ id: TIdTypeCompatible;
7
+ openId: string;
8
+ }): Promise<IMchc_ThalassemiaFollowUp>;
9
+ ignore_usr?: boolean;
10
+ ignore_env?: boolean;
11
+ eventTypeStore: any;
12
+ addictionalParams: import("@lm_fe/utils").AnyObject;
13
+ name: string;
14
+ needPageSuffix: boolean;
15
+ needTransferParams: boolean;
16
+ needTransferSourceData: boolean;
17
+ useListSourceCount: boolean;
18
+ fuckPage: boolean;
19
+ get_fuck_page?: import("../../../ModelService").T_GET_FUCK_PAGE;
20
+ prePath: string;
21
+ preFix: string;
22
+ page(options?: import("../../..").TPageOption): Promise<{
23
+ data: IMchc_ThalassemiaFollowUp[];
24
+ pagination: {
25
+ total: any;
26
+ current: any;
27
+ pageSize: any;
28
+ };
29
+ }>;
30
+ getFuckPage(options?: import("@lm_fe/utils").IRequest_AxiosRequestConfig): Promise<{
31
+ pageData: IMchc_ThalassemiaFollowUp[];
32
+ pageNumber: number;
33
+ pageSize: number;
34
+ totalElements: number;
35
+ totalPages: number;
36
+ }>;
37
+ getList(options?: import("axios").AxiosRequestConfig, listPath?: string): Promise<IMchc_ThalassemiaFollowUp[]>;
38
+ getCount(options?: import("axios").AxiosRequestConfig): Promise<number>;
39
+ getOne(id: number | string, data?: import("axios").AxiosRequestConfig): Promise<IMchc_ThalassemiaFollowUp>;
40
+ exportPost(data: Partial<IMchc_ThalassemiaFollowUp>): Promise<import("axios").AxiosResponse<any, any>>;
41
+ export(data: Partial<IMchc_ThalassemiaFollowUp>): Promise<any>;
42
+ print(data: Partial<IMchc_ThalassemiaFollowUp>): Promise<any>;
43
+ sync(data: any): Promise<IMchc_ThalassemiaFollowUp>;
44
+ del(id?: number | string, data?: import("axios").AxiosRequestConfig): Promise<import("../../..").IResponseDataType<boolean>>;
45
+ post(data: Partial<IMchc_ThalassemiaFollowUp>, c?: import("@lm_fe/utils").IRequest_AxiosRequestConfig): Promise<IMchc_ThalassemiaFollowUp>;
46
+ put(data: Partial<IMchc_ThalassemiaFollowUp>, c?: import("@lm_fe/utils").IRequest_AxiosRequestConfig): Promise<IMchc_ThalassemiaFollowUp>;
47
+ postOrPut(data: Partial<IMchc_ThalassemiaFollowUp>): Promise<IMchc_ThalassemiaFollowUp>;
48
+ tranferGetOption(options?: import("axios").AxiosRequestConfig): import("axios").AxiosRequestConfig<any>;
49
+ transferSubmitData(data: Partial<IMchc_ThalassemiaFollowUp>): {};
50
+ transferParams(data: any): {};
51
+ _transferParamsKeyAndValue(k: string, v: any): {
52
+ [x: string]: any;
53
+ };
54
+ exceptionKeys: string[];
55
+ containsKeys: string[];
56
+ equalsKeys: string[];
57
+ DateTimeKeys: string[];
58
+ jsonKeys: string[];
59
+ DateKeys: string[];
60
+ TimeKeys: string[];
61
+ DateMinute: string[];
62
+ transferParamsKey(key: string, value: any): string;
63
+ transferParamsValue(key: string, value: any): any;
64
+ transferSourceData: <T = any>(data: T) => T;
65
+ getAdvancedValue: (key: string, value: any) => any;
66
+ getPath(path?: string): string;
67
+ _request<T>(config: import("@lm_fe/utils").IRequest_AxiosRequestConfig): Promise<import("../../..").IResponseDataType<T>>;
68
+ getDataArr<T = any>(res: import("../../..").IResponseDataType<T>): T;
69
+ getUrl(url: string, action?: string): string;
70
+ _get<T>(path: string, config?: import("axios").AxiosRequestConfig): Promise<T>;
71
+ _delete<T>(path: string, config?: import("axios").AxiosRequestConfig): Promise<import("../../..").IResponseDataType<boolean>>;
72
+ _add<T>(path: string, data?: any, config?: import("axios").AxiosRequestConfig): Promise<T>;
73
+ _sync<T>(path: string, data?: any, config?: import("axios").AxiosRequestConfig): Promise<T>;
74
+ _update<T>(path: string, data?: any, config?: import("axios").AxiosRequestConfig): Promise<T>;
75
+ _export<T>(path: string, data?: any, config?: import("axios").AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
76
+ _print<T>(path: string, data?: any, config?: import("axios").AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
77
+ events: {};
78
+ addListener<T extends never>(event: T, listener: (...args: {}[T]) => void): /*elided*/ any;
79
+ on<T extends never>(event: T, listener: (...args: {}[T]) => void): /*elided*/ any;
80
+ on_cb<T extends never>(event: T, listener: (...args: {}[T]) => void): (...args: {}[T]) => void;
81
+ on_rm<T extends never>(event: T, listener: (...args: {}[T]) => void): () => void;
82
+ emit<T extends never>(event: T, ...args: {}[T]): boolean;
83
+ removeAllListeners<T extends never>(event: T): /*elided*/ any;
84
+ off<T extends never>(event: T, listener: (...args: {}[T]) => void): /*elided*/ any;
85
+ once<T extends never>(event: T, listener: (...args: {}[T]) => void): /*elided*/ any;
86
+ prependListener<T extends never>(event: never, listener: (...args: any[]) => void): /*elided*/ any;
87
+ prependOnceListener<T extends never>(event: never, listener: (...args: any[]) => void): /*elided*/ any;
88
+ removeListener<T extends never>(event: never, listener: (...args: any[]) => void): /*elided*/ any;
89
+ setMaxListeners(n: number): /*elided*/ any;
90
+ getMaxListeners(): number;
91
+ listeners<T extends never>(event: never): Function[];
92
+ rawListeners<T extends never>(event: never): Function[];
93
+ eventNames(): never[];
94
+ listenerCount(type: string): number;
95
+ };
@@ -0,0 +1,24 @@
1
+ export interface IMchc_ThalassemiaFollowUp {
2
+ "adeletions": "";
3
+ "adeletionsHusband": "";
4
+ "advice": "";
5
+ "age": 0;
6
+ "bdeletions": "";
7
+ "bdeletionsHusband": "";
8
+ "bmutant": "";
9
+ "bmutantHusband": "";
10
+ "department": "";
11
+ "husbandName": "";
12
+ "husbandOutpatientNo": "";
13
+ "husbandTelephone": "";
14
+ "id": 0;
15
+ "name": "";
16
+ "outpatientNo": "";
17
+ "pregnacyId": 0;
18
+ "sampleNo": "";
19
+ "sex": "";
20
+ "specimenDate": "";
21
+ "state": 0;
22
+ "submissionTime": "";
23
+ "telephone": "";
24
+ }
@@ -0,0 +1,50 @@
1
+ import { ModelService } from "../../ModelService";
2
+ export interface IMchc_Permission {
3
+ active: boolean;
4
+ icon: string;
5
+ id: number;
6
+ key: string;
7
+ name: string;
8
+ parentid: number;
9
+ sort: number;
10
+ type: "menu" | "route";
11
+ }
12
+ export interface IMchc_Group {
13
+ authorities: {
14
+ name: string;
15
+ }[];
16
+ groupdesc: string;
17
+ id: number;
18
+ name: string;
19
+ nickname: string;
20
+ permissions: IMchc_Permission[];
21
+ groupRanks?: {
22
+ "id": 2;
23
+ "name": "组员";
24
+ "administrator": 1;
25
+ "rankSort": 1;
26
+ "groupId": 1;
27
+ }[];
28
+ }
29
+ export interface IMchc_User {
30
+ activated: true;
31
+ authorities: null;
32
+ config: null;
33
+ createdBy: string;
34
+ createdDate: string;
35
+ email: string;
36
+ firstName: string;
37
+ groups: IMchc_Group[];
38
+ id: number;
39
+ imageUrl: null;
40
+ langKey: string;
41
+ lastModifiedBy: string;
42
+ lastModifiedDate: string;
43
+ lastName: null;
44
+ login: string;
45
+ overdueDate: string;
46
+ password: null;
47
+ userType: null;
48
+ wards: null;
49
+ }
50
+ export declare const SMchc_User: ModelService<IMchc_User>;
@@ -0,0 +1,26 @@
1
+ import { ModelService } from '../../ModelService';
2
+ import { IMchc_Pregnancy } from './Pregnancy';
3
+ export interface IMchc_WorkRecord {
4
+ createby: "system";
5
+ createtime: "2022-04-02T20:25:44+08:00";
6
+ domain: null;
7
+ id: 49543;
8
+ knowledgeTaskId: 88;
9
+ media: "wx";
10
+ notifystate: null;
11
+ notifytime: null;
12
+ prDocument: null;
13
+ prTreatmentId: null;
14
+ pregnancy: IMchc_Pregnancy;
15
+ remark: null;
16
+ reply: string;
17
+ replytime: null;
18
+ resourceId: number;
19
+ resourceType: 3;
20
+ result: null;
21
+ score: null;
22
+ title: null;
23
+ workflowid: null;
24
+ workstepid: null;
25
+ }
26
+ export declare const SMchc_WorkRecord: ModelService<IMchc_WorkRecord>;
@@ -0,0 +1,20 @@
1
+ export * from './workQuestions';
2
+ export * from './TemplateTree';
3
+ export * from './Questionnaire';
4
+ export * from './Pregnancy';
5
+ export * from './WorkRecord';
6
+ export * from './Common';
7
+ export * from './User';
8
+ export * from './FormDescriptions';
9
+ export * from './Doctor';
10
+ export * from './Nurse';
11
+ export * from './NursingBoard';
12
+ export * from './SyphilisManage';
13
+ export * from './Dictionaries';
14
+ export * from './Admission';
15
+ export * from './Address';
16
+ export * from './ThalassemiaFollowUp';
17
+ export * from './Knowledges';
18
+ export * from './TableConfig';
19
+ export * from './Courses';
20
+ export * from './types';
@@ -0,0 +1,105 @@
1
+ import { ICommonOption } from "@lm_fe/env";
2
+ export interface IMchc_HusbandBaseInfoOfOutpatient {
3
+ "partnerName": null;
4
+ "partnerTelephone": "13567545645";
5
+ "partnerPatientNO": null;
6
+ "partnerIdType": null;
7
+ "partnerIdNO": null;
8
+ "partnerDob": null;
9
+ "partnerAge": null;
10
+ "partnerNationality": null;
11
+ "partnerNativeplace": null;
12
+ "partnerEthnic": null;
13
+ "partnerOccupation": null;
14
+ smoke__: ICommonOption[];
15
+ "smoke": number;
16
+ "smokeNote": string;
17
+ alcohol__: ICommonOption[];
18
+ "alcohol": number;
19
+ "alcoholNote": string;
20
+ disease__: ICommonOption[];
21
+ "disease": number;
22
+ "diseaseNote": string;
23
+ "partnerResidenceAddress": null;
24
+ "partnerPermanentResidenceAddress": null;
25
+ "id": number;
26
+ }
27
+ export interface IMchc_PregnancyBaseInfoOfOutpatient {
28
+ "outpatientNO": string;
29
+ "name": string;
30
+ "telephone": string;
31
+ "workPhone": null;
32
+ "idType": number;
33
+ "idNO": string;
34
+ "dob": string;
35
+ "age": number;
36
+ "nativeplace": string;
37
+ "ethnic": null;
38
+ "nationality": string;
39
+ "occupation": null;
40
+ "birthPermit": null;
41
+ "maritalStatus": null;
42
+ "maritalAge": null;
43
+ "residenceAddress": null;
44
+ "permanentResidenceAddress": null;
45
+ "postpartumAddress": null;
46
+ "payment": null;
47
+ "paymentDate": null;
48
+ "firstRecord": null;
49
+ "checkIdNO": null;
50
+ "birthInsurance": boolean;
51
+ "spinsterhoodName": null;
52
+ "spinsterhoodTelephone": null;
53
+ "spinsterhoodRelation": null;
54
+ "education": string;
55
+ "gravidity": number;
56
+ "parity": number;
57
+ "id": number;
58
+ "validateDate": string;
59
+ "checkupNO": string;
60
+ }
61
+ export interface IMchc_OutpatientDocumentStatus {
62
+ "id": 2922;
63
+ "recordstate": "1" | "0" | "6";
64
+ "periodState": "1" | "2" | "3" | '4' | '5';
65
+ "deliveryDate": null;
66
+ "deliveryGestationalWeek": null;
67
+ "deliveryMode": null;
68
+ "closingDate": null;
69
+ "closingGestationalWeek": null;
70
+ "closingNote": null;
71
+ "referralOutInfo": {
72
+ "id": 212;
73
+ "reason": "2222分QQ";
74
+ "referralDate": "2023-12-04";
75
+ "referralDirection": 1;
76
+ "referralDept": "2234";
77
+ "referralDoctor": "1w";
78
+ "referralContactNumber": "13248904436";
79
+ "recorder": string;
80
+ "organizationId": 4;
81
+ "organizationName": "广东省口腔医院";
82
+ };
83
+ }
84
+ export interface IMchc_LabExamReport_Detail {
85
+ id: number;
86
+ "examNo": null;
87
+ "requestDoctor": null;
88
+ "patientName": "8520";
89
+ "patientGender": null;
90
+ "patientAge": null;
91
+ "samplePart": null;
92
+ "reportDate": "2024-08-16T08:00:00+08:00";
93
+ "requestDate": null;
94
+ "firstReadDoctor": null;
95
+ imgBase64: string[];
96
+ examItems: {
97
+ "itemNO": "436";
98
+ "itemName": "尿妊娠试验";
99
+ "result": "阴性(无反应性)";
100
+ "unit": null;
101
+ "limit": "阴性(-)";
102
+ "state": "0" | "1" | "2";
103
+ stateStr: "正常" | "异常" | "偏低" | "偏高";
104
+ }[];
105
+ }
@@ -0,0 +1,27 @@
1
+ import { IMchc_HusbandBaseInfoOfOutpatient } from "../types";
2
+ export declare function process_husbandBaseInfo_remote(data: IMchc_HusbandBaseInfoOfOutpatient): IMchc_HusbandBaseInfoOfOutpatient;
3
+ export declare function process_husbandBaseInfo_local(_data: IMchc_HusbandBaseInfoOfOutpatient): {
4
+ partnerName: null;
5
+ partnerTelephone: "13567545645";
6
+ partnerPatientNO: null;
7
+ partnerIdType: null;
8
+ partnerIdNO: null;
9
+ partnerDob: null;
10
+ partnerAge: null;
11
+ partnerNationality: null;
12
+ partnerNativeplace: null;
13
+ partnerEthnic: null;
14
+ partnerOccupation: null;
15
+ smoke__: import("@lm_fe/env").ICommonOption[];
16
+ smoke: number;
17
+ smokeNote: string;
18
+ alcohol__: import("@lm_fe/env").ICommonOption[];
19
+ alcohol: number;
20
+ alcoholNote: string;
21
+ disease__: import("@lm_fe/env").ICommonOption[];
22
+ disease: number;
23
+ diseaseNote: string;
24
+ partnerResidenceAddress: null;
25
+ partnerPermanentResidenceAddress: null;
26
+ id: number;
27
+ };
@@ -0,0 +1,57 @@
1
+ import { ModelService } from '../../ModelService';
2
+ interface IBaseQuestion {
3
+ title: string;
4
+ label: string;
5
+ idx?: number;
6
+ logic?: any;
7
+ index?: any;
8
+ [x: string]: any;
9
+ }
10
+ interface IQuestion_star extends IBaseQuestion {
11
+ type: 'star';
12
+ value: "star";
13
+ }
14
+ interface IQuestion_des extends IBaseQuestion {
15
+ type: 'description';
16
+ value: "star";
17
+ }
18
+ interface IQuestion_radio extends IBaseQuestion {
19
+ type: "radio" | 'multiple' | 'dropdown';
20
+ value: "radio";
21
+ options: {
22
+ label: string;
23
+ value: number;
24
+ score: number;
25
+ }[];
26
+ }
27
+ interface IQuestion_completion extends IBaseQuestion {
28
+ type: "completion";
29
+ value: "completion";
30
+ options: {
31
+ rule: 'equal';
32
+ score: 0;
33
+ answer: string;
34
+ }[];
35
+ }
36
+ export type TAllQustionType = IQuestion_radio | IQuestion_completion | IQuestion_star | IQuestion_des;
37
+ export interface IMchc_WorkQuestions {
38
+ createdBy: "";
39
+ createdDate: null;
40
+ dept: null;
41
+ enable: true;
42
+ id: 19;
43
+ lastModifiedBy: "kevin";
44
+ lastModifiedDate: "2022-02-22 11:48:37";
45
+ preface: string;
46
+ pushEvent: null;
47
+ _questionnaire: string;
48
+ questionnaire: {
49
+ questionsDescription: string;
50
+ questionsTitle: string;
51
+ questions: TAllQustionType[];
52
+ };
53
+ remark: null;
54
+ title: string;
55
+ }
56
+ export declare const SMchc_WorkQuestions: ModelService<IMchc_WorkQuestions>;
57
+ export {};
@@ -0,0 +1,13 @@
1
+ export type IFuckPageResponse<T> = IFuckResponse<{
2
+ totalRow: number;
3
+ pageCurrent: number;
4
+ pageSize: number;
5
+ list: T[];
6
+ }>;
7
+ export interface IFuckResponse<T> {
8
+ message: string;
9
+ code: string;
10
+ data: T;
11
+ }
12
+ export type TIdType = number;
13
+ export type TIdTypeCompatible = number | string;
@@ -0,0 +1 @@
1
+ export * from './service';
@@ -0,0 +1,88 @@
1
+ import { Dayjs } from "dayjs";
2
+ export interface IZsy_CtgRecord {
3
+ "id": 1;
4
+ "applyNo": "申请单号";
5
+ "docNo": "档案流水号";
6
+ "outpatientNo": "门诊号";
7
+ "inpatientNo": "住院号";
8
+ "doctorId": "申请医生工号";
9
+ "doctorName": "申请医生名称";
10
+ "visitDate": "2022-08-04";
11
+ "ctgStartTime": "2022-08-04 02:49:39";
12
+ "ctgEndTime": "2022-08-04 02:49:39";
13
+ "state": 1;
14
+ "diagnosis": "诊断";
15
+ "total": null;
16
+ "bhrvalue": null;
17
+ "bhrscore": null;
18
+ "ltvvalue": null;
19
+ "ltvscore": null;
20
+ "accdurationvalue": null;
21
+ "accdurationscore": null;
22
+ "accamplvalue": null;
23
+ "accamplscore": null;
24
+ "fmvalue": null;
25
+ "fmscore": null;
26
+ "type": null;
27
+ "fetal": null;
28
+ "uctimes": null;
29
+ "ucStrong": null;
30
+ "ucdurationtime": null;
31
+ "uckeeptime": null;
32
+ "edtimes": null;
33
+ "ldtimes": null;
34
+ "vdtimes": null;
35
+ "cst": null;
36
+ "oct": null;
37
+ "nst": null;
38
+ "name": string;
39
+ signOriginData: string;
40
+ signedData: string;
41
+ "accscore": string;
42
+ "accvalue": string;
43
+ "decscore": string;
44
+ "decvalue": string;
45
+ "edscore": string;
46
+ "edvalue": string;
47
+ "ldscore": string;
48
+ "ldvalue": string;
49
+ "sinusoidscore": string;
50
+ "sinusoidvalue": string;
51
+ "stvscore": string;
52
+ "stvvalue": string;
53
+ "vdscore": string;
54
+ "vdvalue": string;
55
+ }
56
+ export declare const SZsy_CtgRecord: {
57
+ count: number;
58
+ findRecordsPage(q: {
59
+ pageCurrent: number;
60
+ pageSize: number;
61
+ state?: number;
62
+ startDate?: Dayjs;
63
+ endDate?: Dayjs;
64
+ }): Promise<{
65
+ totalRow: number;
66
+ pageCurrent: number;
67
+ pageSize: number;
68
+ list: IZsy_CtgRecord[];
69
+ }>;
70
+ getRecordHistory(recordId: number): Promise<IZsy_CtgRecord[]>;
71
+ getSliceImages(recordId: number): Promise<string[]>;
72
+ getReport(id: number, type?: "recordId" | "recordHistoryId"): Promise<string>;
73
+ saveRecord(data: IZsy_CtgRecord): Promise<IZsy_CtgRecord>;
74
+ getQrCode(doctorNo: string): Promise<{
75
+ qrCodeExpireDate: number;
76
+ qrCodeIdentity: string;
77
+ qrCodeBase64: string;
78
+ }>;
79
+ confirmQrCode(qrCodeIdentity: string): Promise<{
80
+ verifyStatus: -1 | 0 | 1;
81
+ userToken: null;
82
+ errorMsg: null;
83
+ }>;
84
+ sign(data: {
85
+ userToken: string;
86
+ data: string;
87
+ }): Promise<string>;
88
+ };
@@ -0,0 +1 @@
1
+ export * from './User';
@@ -0,0 +1 @@
1
+ export * from './service';
@@ -0,0 +1,6 @@
1
+ import { Mchc_Doctor_Service } from "../../../mchc";
2
+ declare class Yxfy_Doctor_Service extends Mchc_Doctor_Service {
3
+ getVisitEmrEditable(visitId: number): Promise<boolean>;
4
+ }
5
+ export declare const SYxfy_Doctor: Yxfy_Doctor_Service;
6
+ export {};
@@ -0,0 +1 @@
1
+ export * from './Doctor';
package/package.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "@lm_fe/service",
3
+ "version": "0.1.201",
4
+ "description": "",
5
+ "scripts": {
6
+ "test": "echo \"Error: no test specified\" && exit 1",
7
+ "build": "rollup -c rollup.config.js",
8
+ "build:watch": "rollup -c rollup.config.js --watch",
9
+ "clean": "rimraf dist",
10
+ "prebuild": "pnpm clean"
11
+ },
12
+ "main": "dist/index.js",
13
+ "directories": {
14
+ "lib": "dist"
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "publishConfig": {
20
+ "access": "public"
21
+ },
22
+ "keywords": [],
23
+ "author": "",
24
+ "license": "MIT",
25
+ "dependencies": {
26
+ "@lm_fe/env": "^0.1.201",
27
+ "@lm_fe/static": "*",
28
+ "@lm_fe/utils": "^0.1.201"
29
+ },
30
+ "devDependencies": {
31
+ "rollup": "^2.70.2"
32
+ },
33
+ "gitHead": "ec1dcf6e3b2d06782779a21f536300bb2536ea6b"
34
+ }