@lm_fe/service 0.1.201 → 0.2.5

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 (36) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +0 -1
  3. package/dist/index.js +1981 -2235
  4. package/dist/local/Calculator/index.d.ts +0 -1
  5. package/dist/local/Dictionary/index.d.ts +4 -5
  6. package/dist/local/History/index.d.ts +1 -0
  7. package/dist/local/SystemConfig/index.d.ts +2 -2
  8. package/dist/mchc/service/Address/index.d.ts +2 -1
  9. package/dist/mchc/service/Admission/Document/IMchc_Admission_Document.d.ts +25 -1
  10. package/dist/mchc/service/Admission/Document/IMchc_Admission_LabourDocument.d.ts +2 -0
  11. package/dist/mchc/service/Admission/Document/IMchc_Admission_NeonateDocument.d.ts +1 -0
  12. package/dist/mchc/service/Common.d.ts +233 -35
  13. package/dist/mchc/service/Dictionaries/index.d.ts +4 -4
  14. package/dist/mchc/service/Doctor/index.d.ts +10 -4
  15. package/dist/mchc/service/Doctor/types/IMchc_Doctor_BuildExamTimeAxis.d.ts +6 -0
  16. package/dist/mchc/service/Doctor/types/IMchc_Doctor_FirstVisitInfoOfOutpatient.d.ts +2 -16
  17. package/dist/mchc/service/Doctor/types/IMchc_Doctor_FirstVisitPresentmhOutpatient.d.ts +31 -0
  18. package/dist/mchc/service/Doctor/types/IMchc_Doctor_RvisitAfterDeliveryInfoOfOutpatient.d.ts +14 -0
  19. package/dist/mchc/service/Doctor/types/IOutpatientHeaderInfo.d.ts +24 -23
  20. package/dist/mchc/service/Doctor/types/IRvisitInfoOfOutpatient.d.ts +1 -0
  21. package/dist/mchc/service/Doctor/types/index.d.ts +2 -0
  22. package/dist/mchc/service/Doctor/utils.d.ts +3 -0
  23. package/dist/mchc/service/FormDescriptions/index.d.ts +1 -1
  24. package/dist/mchc/service/FormDescriptions/types/InputType.d.ts +1 -1
  25. package/dist/mchc/service/FormDescriptions/types/index.d.ts +2 -186
  26. package/dist/mchc/service/FormDescriptions/utils.d.ts +1 -1
  27. package/dist/mchc/service/Nurse/utils.d.ts +5 -0
  28. package/dist/mchc/service/Questionnaire/index.d.ts +10 -4
  29. package/dist/mchc/service/TableConfig/index.d.ts +47 -110
  30. package/dist/mchc/service/TableConfig/utils.d.ts +7 -2
  31. package/dist/mchc/service/User.d.ts +8 -1
  32. package/dist/mchc/service/types/utils.d.ts +1 -25
  33. package/package.json +10 -5
  34. package/dist//350/266/212/347/247/200/345/246/207/345/271/274/index.d.ts +0 -1
  35. package/dist//350/266/212/347/247/200/345/246/207/345/271/274/service/Doctor/index.d.ts +0 -6
  36. package/dist//350/266/212/347/247/200/345/246/207/345/271/274/service/index.d.ts +0 -1
@@ -7,7 +7,6 @@ export declare const SLocal_Calculator: {
7
7
  gestationalWeek: string;
8
8
  }>;
9
9
  calcEddBasedOnLmp(lmp: string): Promise<string | null>;
10
- calcEddBasedOnIVF(移植时间: string, 天数: number): Promise<string | null>;
11
10
  calGestationalWeekByLmp(lmp: Dayjs, defaultDate?: dayjs.Dayjs): string;
12
11
  calGestationalWeekBySureEdd(sureEdd: any, defaultDate?: dayjs.Dayjs): string;
13
12
  calcGesWeek(data: {
@@ -1,27 +1,26 @@
1
- import { IMchc_Dictionaries } from "../../mchc";
1
+ import { IMchc_Dictionaries, IMchc_Dictionaries_Enumeration } from "../../mchc";
2
2
  export type ILocal_Dic = {
3
3
  [x: string]: IMchc_Dictionaries;
4
4
  } & {
5
5
  initDictionaries: IMchc_Dictionaries[];
6
6
  };
7
7
  export declare const SLocal_Dictionary: {
8
- getDictionaries(): ILocal_Dic;
9
8
  /**
10
9
  *
11
10
  * @param value 枚举值value
12
11
  * @param type string 字典类型
13
12
  */
14
- getDictionariesEnumerations(type: string): import("../../mchc").IMchc_Dictionaries_Enumeration[];
13
+ getDictionariesEnumerations(type: string): IMchc_Dictionaries_Enumeration[];
15
14
  /**
16
15
  *
17
16
  * @param value 枚举值value
18
17
  * @param type string 字典类型
19
18
  */
20
- getDictionaryLabel(type: string, value: string | number): string | null;
19
+ getDictionaryLabel(type: string, value: string | number): string | null | undefined;
21
20
  /**
22
21
  *
23
22
  * @param label 枚举值value
24
23
  * @param type string 字典类型
25
24
  */
26
- getDictionaryValue(type: string, label: string): number | null;
25
+ getDictionaryValue(type: string, label: string): number | null | undefined;
27
26
  };
@@ -1,6 +1,7 @@
1
1
  export declare const SLocal_History: {
2
2
  closeCurrentTab(): void;
3
3
  safe_history_push(path: any, props?: any): any;
4
+ safe_history_replace(path: any, props?: any): any;
4
5
  historyPush(path: any, state?: any): void;
5
6
  historyReplace(path: any, state?: any): void;
6
7
  closeAndPush(path: any, state?: any): void;
@@ -1,5 +1,5 @@
1
1
  import { ISystemConfig } from "@lm_fe/env";
2
2
  export declare const SLocal_SystemConfig: {
3
- get<T extends keyof ISystemConfig>(key: T): ISystemConfig[T];
4
- getAll(): ISystemConfig;
3
+ get<T extends keyof ISystemConfig>(key: T): any;
4
+ getAll(): any;
5
5
  };
@@ -14,8 +14,9 @@ export interface IMchc_AddressItemType {
14
14
  export declare const SMchc_Address: {
15
15
  getAddressList(item?: IMchc_AddressItemType): Promise<IMchc_AddressItemType[]>;
16
16
  getAddressByDetail(addressDetail?: string): Promise<IMchc_AddressItemType[]>;
17
- getAddressFront(): Promise<IMchc_AddressItemType[]>;
17
+ _addr_front(): Promise<IMchc_AddressItemType[]>;
18
18
  getAddressBack(item?: IMchc_AddressItemType, addressDetail?: string): Promise<IMchc_AddressItemType[]>;
19
+ tc<T>(p: Promise<T[]>): Promise<T[]>;
19
20
  getAddressFirst(): Promise<IMchc_AddressItemType[]>;
20
21
  getAddressListFirst(): Promise<IMchc_AddressItemType[]>;
21
22
  };
@@ -57,7 +57,30 @@ export type IMchc_Admission_Document<T extends MchcTypes = MchcTypes> = {
57
57
  "neonateCareDocument": IMchc_Admission_neonateCareDocument[];
58
58
  "cesareanDocument": null;
59
59
  "cesareanFetusDocument": null;
60
- "labourStageDocument": null;
60
+ "labourStageDocument"?: {
61
+ "id": number;
62
+ "recordTime": string;
63
+ "fetalcount": number;
64
+ "gravidity": number;
65
+ "parity": number;
66
+ "gestationWeek": string;
67
+ "parturientTime": "2025-05-08 15:03";
68
+ "deliverytime1": string;
69
+ "deliverytime2": string;
70
+ "deliverytime3": string;
71
+ "deliverytime4": string;
72
+ "deliverytime5": string;
73
+ "deliverytime6": string;
74
+ "deliveryType1": string;
75
+ "deliveryType2": string;
76
+ "deliveryType3": string;
77
+ "deliveryType4": string;
78
+ "deliveryType5": string;
79
+ "deliveryType6": string;
80
+ "processNuringImage": string;
81
+ "partogramBase64": string;
82
+ "partogramAddress": string;
83
+ };
61
84
  "labourStageRecordDocument": IMchc_Admission_labourStageRecordDocument[];
62
85
  "labourDocument": IMchc_Admission_LabourDocument;
63
86
  birthCertificate: {
@@ -159,6 +182,7 @@ export type IMchc_Admission_Document<T extends MchcTypes = MchcTypes> = {
159
182
  note: string;
160
183
  sign: string;
161
184
  transferOutTime: string;
185
+ __apgar: any;
162
186
  }[];
163
187
  "transvaginalDeviceList": null;
164
188
  "inpatientEmrBaseInfo": IMchc_Admission_InpatientEmrBaseInfo;
@@ -1,4 +1,6 @@
1
1
  export interface IMchc_Admission_LabourDocument {
2
+ "placentadeliveredtime": any;
3
+ "placentadeliveredtime": any;
2
4
  "edd": null;
3
5
  "gravidity": null;
4
6
  "parity": null;
@@ -1,4 +1,5 @@
1
1
  export interface IMchc_Admission_NeonateDocument {
2
+ __apgar: any;
2
3
  "id": 3387;
3
4
  "gravidity": null;
4
5
  "parity": null;
@@ -1,23 +1,100 @@
1
- import { ISystemConfig } from "@lm_fe/env";
2
- import { IMchc_Dictionaries, IMchc_Dictionaries_Enumeration } from "./Dictionaries";
1
+ import { IMchc_User, ISystemConfig } from '@lm_fe/env';
2
+ import { AnyObject } from '@lm_fe/utils';
3
+ import { IMchc_Dictionaries, IMchc_Dictionaries_Enumeration } from './Dictionaries';
4
+ import { IMchc_TemplateTree_Item } from './TemplateTree';
3
5
  export interface IMchc_ReferralOrganization {
4
- "id": 1;
5
- "grade": 33;
6
- "gradeName": "三甲医院";
7
- "gradeNumber": 3;
8
- "gradeLetter": "";
9
- "name": "广东省中医院";
10
- "code": "gd_gz_1";
6
+ id: 1;
7
+ grade: 33;
8
+ gradeName: '三甲医院';
9
+ gradeNumber: 3;
10
+ gradeLetter: '';
11
+ name: '广东省中医院';
12
+ code: 'gd_gz_1';
11
13
  }
12
14
  export interface IMchc_HighriskGradeConfig extends IMchc_Dictionaries_Enumeration {
13
15
  colorText: string;
16
+ levelText: string;
17
+ color: string;
14
18
  }
15
19
  export declare const SMchc_Common: {
16
20
  checkLogin(): Promise<number>;
17
- fk_login(data: {
18
- username: string;
19
- password: string;
20
- }): Promise<string>;
21
+ fk_login(data: AnyObject): Promise<string>;
22
+ fk_user(): Promise<{
23
+ user_info: IMchc_User;
24
+ permissions: Record<string, import("@lm_fe/env").IMchc_Permission>;
25
+ perm_arr: import("@lm_fe/env").IMchc_Permission[];
26
+ }>;
27
+ fk_dics(): Promise<IMchc_Dictionaries[]>;
28
+ fetch_system_config(): Promise<Partial<{
29
+ id: number;
30
+ systemName: string;
31
+ systemMode: "devlopment" | "test" | "production";
32
+ systemTheme: string;
33
+ expireTime: number;
34
+ openWebsocket: boolean;
35
+ websocketAddress: "ws://127.0.0.1:8087/Laputa";
36
+ auditRestriction: boolean;
37
+ openIntro: boolean;
38
+ fetalMonitor: string;
39
+ openHighriskSign: boolean;
40
+ highriskVersion: number;
41
+ curveVersion: "nichd";
42
+ prenatalDiagnosis: boolean;
43
+ CaseReport: boolean;
44
+ FetalMonitor: boolean;
45
+ InformedConsent: boolean;
46
+ pregnancyInitial: "tab" | "vertical";
47
+ isOpenDiabetes: boolean;
48
+ diagnosisStyle: "tab";
49
+ diagnosisFollowUpRecord: boolean;
50
+ diagnosisLaboratoryReport: boolean;
51
+ diagnosisPrenatalVisit: boolean;
52
+ tablePrintBtn: boolean;
53
+ homeStatistics: boolean;
54
+ highriskStatistics: boolean;
55
+ customerService: true;
56
+ highriskType: string;
57
+ 禁止编辑高危等级: boolean;
58
+ 系统环境: any;
59
+ 护士端_禁止编辑高危因素_传染病: boolean;
60
+ 护士端_审核禁用保存: boolean;
61
+ 医生端_模块隐藏: string[];
62
+ 护士端_模块隐藏: string[];
63
+ doctorOpenWebsocket: boolean;
64
+ VTE预防用药筛查表: string;
65
+ nurseHide: import("@lm_fe/utils").ICommonOption[];
66
+ medicalHide: import("@lm_fe/utils").ICommonOption[];
67
+ PDF预览组件版本?: string;
68
+ 老人模式?: boolean;
69
+ 列表一页显示条数?: number;
70
+ 模板编辑器?: "SDE" | "XEMR";
71
+ 医生端_检验检查时间轴隐藏?: boolean;
72
+ 医生端_复诊按钮浮动?: boolean;
73
+ 医生端_复诊左侧隐藏?: boolean;
74
+ 医生端_复诊编辑控制?: boolean;
75
+ 高危标记多选?: number;
76
+ 病人标签多选?: number;
77
+ 旧版量表隐藏?: string[];
78
+ 禁用量表自动弹出?: boolean;
79
+ 头部信息拓展?: import("@lm_fe/utils").ICommonOption[];
80
+ 量表拓展?: import("@lm_fe/utils").ICommonOption[];
81
+ 医生端_BMI曲线类型?: number;
82
+ 顶部工具栏隐藏?: boolean;
83
+ styles?: Partial<{
84
+ compact: boolean;
85
+ darkTheme: boolean;
86
+ fontSize: number;
87
+ colorPrimary: string;
88
+ colorBorder: string;
89
+ colorTextDisabled: string;
90
+ colorBgContainerDisabled: string;
91
+ colorTextPlaceholder: string;
92
+ cus_fontBold: boolean;
93
+ labelColor: string;
94
+ rowHoverBg: string;
95
+ labelFontSize: number;
96
+ }>;
97
+ }>>;
21
98
  desklogin(): Promise<import("axios").AxiosResponse<any, any>>;
22
99
  currentTime(): Promise<string>;
23
100
  getCurrReferralOrganization(): Promise<IMchc_ReferralOrganization>;
@@ -26,32 +103,153 @@ export declare const SMchc_Common: {
26
103
  name?: any;
27
104
  }): Promise<IMchc_ReferralOrganization[]>;
28
105
  getHighriskContagionConfig(): Promise<{
29
- color: string;
30
- options: import("@lm_fe/env").ICommonOption[];
106
+ color: string | undefined;
107
+ options: import("@lm_fe/utils").ICommonOption[] | (() => import("@lm_fe/utils").ICommonOption[]);
31
108
  }>;
32
109
  getHighriskGradeConfig(): Promise<IMchc_HighriskGradeConfig[]>;
33
- getHighriskTree(): Promise<{
34
- categoryCode: string;
35
- active: boolean;
36
- categoryName: string;
37
- code: string;
38
- depid: number;
39
- diagnosisCode: string;
40
- icdCode: string;
110
+ getHighriskTree(): Promise<IMchc_TemplateTree_Item[]>;
111
+ format_dic_to_system_config(data?: IMchc_Dictionaries): ISystemConfig;
112
+ update_system_config(data: Partial<IMchc_Dictionaries>): Promise<Partial<{
41
113
  id: number;
42
- mnemonic: string;
43
- pid: number;
44
- sort: number;
45
- systemType: number;
46
- type: number;
47
- userid?: number;
48
- val: string;
49
- wb: null;
50
- }[]>;
51
- fetch_system_config(): Promise<ISystemConfig>;
52
- update_system_config(data: Partial<IMchc_Dictionaries>): Promise<void>;
114
+ systemName: string;
115
+ systemMode: "devlopment" | "test" | "production";
116
+ systemTheme: string;
117
+ expireTime: number;
118
+ openWebsocket: boolean;
119
+ websocketAddress: "ws://127.0.0.1:8087/Laputa";
120
+ auditRestriction: boolean;
121
+ openIntro: boolean;
122
+ fetalMonitor: string;
123
+ openHighriskSign: boolean;
124
+ highriskVersion: number;
125
+ curveVersion: "nichd";
126
+ prenatalDiagnosis: boolean;
127
+ CaseReport: boolean;
128
+ FetalMonitor: boolean;
129
+ InformedConsent: boolean;
130
+ pregnancyInitial: "tab" | "vertical";
131
+ isOpenDiabetes: boolean;
132
+ diagnosisStyle: "tab";
133
+ diagnosisFollowUpRecord: boolean;
134
+ diagnosisLaboratoryReport: boolean;
135
+ diagnosisPrenatalVisit: boolean;
136
+ tablePrintBtn: boolean;
137
+ homeStatistics: boolean;
138
+ highriskStatistics: boolean;
139
+ customerService: true;
140
+ highriskType: string;
141
+ 禁止编辑高危等级: boolean;
142
+ 系统环境: any;
143
+ 护士端_禁止编辑高危因素_传染病: boolean;
144
+ 护士端_审核禁用保存: boolean;
145
+ 医生端_模块隐藏: string[];
146
+ 护士端_模块隐藏: string[];
147
+ doctorOpenWebsocket: boolean;
148
+ VTE预防用药筛查表: string;
149
+ nurseHide: import("@lm_fe/utils").ICommonOption[];
150
+ medicalHide: import("@lm_fe/utils").ICommonOption[];
151
+ PDF预览组件版本?: string;
152
+ 老人模式?: boolean;
153
+ 列表一页显示条数?: number;
154
+ 模板编辑器?: "SDE" | "XEMR";
155
+ 医生端_检验检查时间轴隐藏?: boolean;
156
+ 医生端_复诊按钮浮动?: boolean;
157
+ 医生端_复诊左侧隐藏?: boolean;
158
+ 医生端_复诊编辑控制?: boolean;
159
+ 高危标记多选?: number;
160
+ 病人标签多选?: number;
161
+ 旧版量表隐藏?: string[];
162
+ 禁用量表自动弹出?: boolean;
163
+ 头部信息拓展?: import("@lm_fe/utils").ICommonOption[];
164
+ 量表拓展?: import("@lm_fe/utils").ICommonOption[];
165
+ 医生端_BMI曲线类型?: number;
166
+ 顶部工具栏隐藏?: boolean;
167
+ styles?: Partial<{
168
+ compact: boolean;
169
+ darkTheme: boolean;
170
+ fontSize: number;
171
+ colorPrimary: string;
172
+ colorBorder: string;
173
+ colorTextDisabled: string;
174
+ colorBgContainerDisabled: string;
175
+ colorTextPlaceholder: string;
176
+ cus_fontBold: boolean;
177
+ labelColor: string;
178
+ rowHoverBg: string;
179
+ labelFontSize: number;
180
+ }>;
181
+ }>>;
53
182
  get_self_config(): Promise<{
54
- data: ISystemConfig;
183
+ data: Partial<{
184
+ id: number;
185
+ systemName: string;
186
+ systemMode: "devlopment" | "test" | "production";
187
+ systemTheme: string;
188
+ expireTime: number;
189
+ openWebsocket: boolean;
190
+ websocketAddress: "ws://127.0.0.1:8087/Laputa";
191
+ auditRestriction: boolean;
192
+ openIntro: boolean;
193
+ fetalMonitor: string;
194
+ openHighriskSign: boolean;
195
+ highriskVersion: number;
196
+ curveVersion: "nichd";
197
+ prenatalDiagnosis: boolean;
198
+ CaseReport: boolean;
199
+ FetalMonitor: boolean;
200
+ InformedConsent: boolean;
201
+ pregnancyInitial: "tab" | "vertical";
202
+ isOpenDiabetes: boolean;
203
+ diagnosisStyle: "tab";
204
+ diagnosisFollowUpRecord: boolean;
205
+ diagnosisLaboratoryReport: boolean;
206
+ diagnosisPrenatalVisit: boolean;
207
+ tablePrintBtn: boolean;
208
+ homeStatistics: boolean;
209
+ highriskStatistics: boolean;
210
+ customerService: true;
211
+ highriskType: string;
212
+ 禁止编辑高危等级: boolean;
213
+ 系统环境: any;
214
+ 护士端_禁止编辑高危因素_传染病: boolean;
215
+ 护士端_审核禁用保存: boolean;
216
+ 医生端_模块隐藏: string[];
217
+ 护士端_模块隐藏: string[];
218
+ doctorOpenWebsocket: boolean;
219
+ VTE预防用药筛查表: string;
220
+ nurseHide: import("@lm_fe/utils").ICommonOption[];
221
+ medicalHide: import("@lm_fe/utils").ICommonOption[];
222
+ PDF预览组件版本?: string;
223
+ 老人模式?: boolean;
224
+ 列表一页显示条数?: number;
225
+ 模板编辑器?: "SDE" | "XEMR";
226
+ 医生端_检验检查时间轴隐藏?: boolean;
227
+ 医生端_复诊按钮浮动?: boolean;
228
+ 医生端_复诊左侧隐藏?: boolean;
229
+ 医生端_复诊编辑控制?: boolean;
230
+ 高危标记多选?: number;
231
+ 病人标签多选?: number;
232
+ 旧版量表隐藏?: string[];
233
+ 禁用量表自动弹出?: boolean;
234
+ 头部信息拓展?: import("@lm_fe/utils").ICommonOption[];
235
+ 量表拓展?: import("@lm_fe/utils").ICommonOption[];
236
+ 医生端_BMI曲线类型?: number;
237
+ 顶部工具栏隐藏?: boolean;
238
+ styles?: Partial<{
239
+ compact: boolean;
240
+ darkTheme: boolean;
241
+ fontSize: number;
242
+ colorPrimary: string;
243
+ colorBorder: string;
244
+ colorTextDisabled: string;
245
+ colorBgContainerDisabled: string;
246
+ colorTextPlaceholder: string;
247
+ cus_fontBold: boolean;
248
+ labelColor: string;
249
+ rowHoverBg: string;
250
+ labelFontSize: number;
251
+ }>;
252
+ }>;
55
253
  } | null>;
56
254
  update_self_config(data: Partial<IMchc_Dictionaries>): Promise<IMchc_Dictionaries>;
57
255
  };
@@ -9,9 +9,9 @@ export interface IMchc_Dictionaries {
9
9
  enumerations: IMchc_Dictionaries_Enumeration[];
10
10
  }
11
11
  export interface IMchc_Dictionaries_Enumeration {
12
- id: number;
13
- label: string;
14
- note: string;
15
- value: number;
12
+ id?: number;
13
+ label?: string;
14
+ note?: string;
15
+ value?: number;
16
16
  }
17
17
  export declare const SMchc_Dictionaries: ModelService<IMchc_Dictionaries>;
@@ -2,11 +2,11 @@ import { MchcTypes } from "@lm_fe/env";
2
2
  import { ModelService } from "src/ModelService";
3
3
  import { TIdTypeCompatible } from "src/types";
4
4
  import { IMchc_HusbandBaseInfoOfOutpatient, IMchc_OutpatientDocumentStatus, IMchc_PregnancyBaseInfoOfOutpatient } from "../types";
5
- import { IMchc_Doctor_Diagnoses, IMchc_Doctor_FirstVisitDiagnosisOutpatient, IMchc_Doctor_FirstVisitInfoOfOutpatient, IMchc_Doctor_FirstVisitPastmhOutpatient, IMchc_Doctor_OutpatientHeaderInfo, IMchc_Doctor_PreRiskAssessmentInfo, IMchc_Doctor_RiskRecordsOfOutpatient, IMchc_Doctor_RvisitInfoOfOutpatient, IMchc_Doctor_RvisitInfoOfOutpatient_Rvisit, IMchc_Doctor_VteAssessForm } from "./types";
5
+ import { IMchc_Doctor_Diagnoses, IMchc_Doctor_FirstVisitDiagnosisOutpatient, IMchc_Doctor_FirstVisitInfoOfOutpatient, IMchc_Doctor_FirstVisitPastmhOutpatient, IMchc_Doctor_OutpatientHeaderInfo, IMchc_Doctor_PreRiskAssessmentInfo, IMchc_Doctor_RiskRecordsOfOutpatient, IMchc_Doctor_RvisitAfterDeliveryInfoOfOutpatient, IMchc_Doctor_RvisitInfoOfOutpatient, IMchc_Doctor_RvisitInfoOfOutpatient_Rvisit, IMchc_Doctor_VteAssessForm } from "./types";
6
6
  import { IMchc_Doctor_BuildExamTimeAxis } from "./types/IMchc_Doctor_BuildExamTimeAxis";
7
7
  export * from './types';
8
8
  export declare class Mchc_Doctor_Service extends ModelService {
9
- getVisitEmrEditable(visitId: number): Promise<boolean>;
9
+ getVisitEmrEditable(id?: number | null): Promise<boolean>;
10
10
  getDiagnoses(pregnancyId: number | string, serialNo?: string): Promise<IMchc_Doctor_Diagnoses<"mchc">[]>;
11
11
  newOrSaveDiagnosisOfOutpatientList<T extends MchcTypes>(data: Partial<IMchc_Doctor_Diagnoses<T>>[]): Promise<IMchc_Doctor_Diagnoses<T>[]>;
12
12
  updateRvisitInfoOfOutpatient(data: Partial<IMchc_Doctor_RvisitInfoOfOutpatient_Rvisit>): Promise<IMchc_Doctor_RvisitInfoOfOutpatient_Rvisit>;
@@ -14,6 +14,10 @@ export declare class Mchc_Doctor_Service extends ModelService {
14
14
  getFirstVisitDiagnosisOutpatient(id: TIdTypeCompatible): Promise<IMchc_Doctor_FirstVisitDiagnosisOutpatient<"mchc">>;
15
15
  updateFirstVisitDiagnosisOutpatient(data: Partial<IMchc_Doctor_FirstVisitDiagnosisOutpatient>): Promise<IMchc_Doctor_FirstVisitDiagnosisOutpatient<"mchc">>;
16
16
  getOutpatientHeaderInfo(id: TIdTypeCompatible): Promise<IMchc_Doctor_OutpatientHeaderInfo<"mchc">>;
17
+ /**获取产后复诊信息 */
18
+ getRvisitAfterDeliveryInfoOfOutpatient(id: string): Promise<IMchc_Doctor_RvisitAfterDeliveryInfoOfOutpatient<"mchc">>;
19
+ /**更新产后复诊记录 */
20
+ updateRvisitAfterDeliveryInfoOfOutpatient(data: any): Promise<any>;
17
21
  /**获取复诊记录数据 */
18
22
  getRvisitInfoOfOutpatient(id: TIdTypeCompatible | {
19
23
  id: TIdTypeCompatible;
@@ -30,8 +34,8 @@ export declare class Mchc_Doctor_Service extends ModelService {
30
34
  updateFirstVisitInfoOfOutpatient(requestBody: Partial<IMchc_Doctor_FirstVisitInfoOfOutpatient>): Promise<IMchc_Doctor_FirstVisitInfoOfOutpatient>;
31
35
  getVteAssessForm<T extends MchcTypes>(id: TIdTypeCompatible): Promise<IMchc_Doctor_VteAssessForm<T>>;
32
36
  updateVteAssessForm<T extends MchcTypes>(requestBody: Partial<IMchc_Doctor_VteAssessForm<T>>): Promise<IMchc_Doctor_VteAssessForm<T>>;
33
- /** 检验检查时间轴 增加 type 0:所有 ,1:正常 ,2:异常 */
34
- buildExamTimeAxisByType(pregnancyId: TIdTypeCompatible, type?: 0 | 1 | 2): Promise<IMchc_Doctor_BuildExamTimeAxis[]>;
37
+ /** 检验检查时间轴 增加 type 0:所有 ,1:正常 ,2:异常; mode: 0 所有,1过滤 */
38
+ buildExamTimeAxisByType(pregnancyId: TIdTypeCompatible, type?: 0 | 1 | 2, mode?: 0 | 1): Promise<IMchc_Doctor_BuildExamTimeAxis[]>;
35
39
  getRiskRecordsOfOutpatient(id: TIdTypeCompatible): Promise<IMchc_Doctor_RiskRecordsOfOutpatient<"mchc">[]>;
36
40
  /** 获取孕妇信息 */
37
41
  getPregnancyBaseInfoOfOutpatient(id: string): Promise<IMchc_PregnancyBaseInfoOfOutpatient>;
@@ -45,6 +49,8 @@ export declare class Mchc_Doctor_Service extends ModelService {
45
49
  getOutpatientDocumentStatus(id: string): Promise<IMchc_OutpatientDocumentStatus>;
46
50
  /**更新档案状态 */
47
51
  updateOutpatientDocumentStatus(data: any): Promise<IMchc_OutpatientDocumentStatus>;
52
+ getFirstVisitPresentmh(id: string): Promise<import("./types").IMchc_Doctor_FirstVisitPresentmhOutpatient>;
53
+ updateFirstVisitPresentmh(data: any): Promise<import("./types").IMchc_Doctor_FirstVisitPresentmhOutpatient>;
48
54
  /**既往史 */
49
55
  getFirstVisitPastmhOutpatient(id: string): Promise<IMchc_Doctor_FirstVisitPastmhOutpatient>;
50
56
  updateFirstVisitPastmhOutpatient(data: any): Promise<IMchc_Doctor_FirstVisitPastmhOutpatient>;
@@ -5,6 +5,7 @@ export interface IMchc_Doctor_BuildExamTimeAxis {
5
5
  arrived: boolean;
6
6
  inCurrentGestationalWeek: boolean;
7
7
  lackReports: string[];
8
+ message: string;
8
9
  groups: {
9
10
  groupDate: string;
10
11
  reports: {
@@ -13,6 +14,11 @@ export interface IMchc_Doctor_BuildExamTimeAxis {
13
14
  itemInfos: {
14
15
  abnormal: any;
15
16
  description: string;
17
+ "code": string;
18
+ "name": string;
19
+ "value": string;
20
+ "unit": null;
21
+ "isNormal": "true" | "false" | null;
16
22
  }[];
17
23
  }[];
18
24
  }[];
@@ -1,24 +1,10 @@
1
1
  import { IMchc_Doctor_Diagnoses } from "./common";
2
2
  import { IMchc_Doctor_FirstVisitPastmhOutpatient } from "./IMchc_Doctor_FirstVisitPastmhOutpatient";
3
+ import { IMchc_Doctor_FirstVisitPresentmhOutpatient } from "./IMchc_Doctor_FirstVisitPresentmhOutpatient";
3
4
  import { IMchc_Doctor_Pregnancymh } from "./IMchc_Doctor_Pregnancymh";
4
5
  export interface IMchc_Doctor_FirstVisitInfoOfOutpatient {
5
6
  id: number;
6
- presentmh: {
7
- "id": 1373;
8
- "lmp": "2022-08-04";
9
- "edd": "2023-05-11";
10
- "sureEdd": "2023-05-11";
11
- "sureEddModify": null;
12
- "conceiveMode": 1;
13
- "conceiveModeNote": null;
14
- "chiefcomplaint": null;
15
- "presentmhNote": null;
16
- "yolksac": null;
17
- "sac": null;
18
- "ntExams": null;
19
- "nfExams": null;
20
- "mlUltrasounds": null;
21
- };
7
+ presentmh: IMchc_Doctor_FirstVisitPresentmhOutpatient;
22
8
  pastmh: IMchc_Doctor_FirstVisitPastmhOutpatient;
23
9
  othermh: {
24
10
  "id": 1373;
@@ -0,0 +1,31 @@
1
+ import { ICommonOption } from "@lm_fe/env";
2
+ type TT<T> = Partial<T & {
3
+ checkdate: string;
4
+ menopause: string;
5
+ gestationalWeek: string;
6
+ }>;
7
+ export interface IMchc_Doctor_FirstVisitPresentmhOutpatient {
8
+ "id": 1373;
9
+ "lmp": "2022-08-04";
10
+ "edd": "2023-05-11";
11
+ "sureEdd": "2023-05-11";
12
+ "sureEddModify": null;
13
+ "conceiveMode": 1;
14
+ "conceiveModeNote": string;
15
+ "chiefcomplaint": null;
16
+ "presentmhNote": null;
17
+ "yolksac": null;
18
+ "sac": null;
19
+ "ntExams": TT<{
20
+ nt: number;
21
+ crl: number;
22
+ }>[];
23
+ "nfExams": TT<{
24
+ nf: number;
25
+ bpd: number;
26
+ }>[];
27
+ "mlUltrasounds": any[];
28
+ conceiveMode__: ICommonOption[];
29
+ isBanned: boolean;
30
+ }
31
+ export {};
@@ -0,0 +1,14 @@
1
+ import { MCHC_TYPE_MAP, MchcTypes } from "@lm_fe/env";
2
+ import { IMchc_Nurse_OutpatientDocument_physicalExam } from "../../Nurse";
3
+ export interface IMchc_Doctor_RvisitAfterDeliveryInfoOfOutpatient<T extends MchcTypes = MCHC_TYPE_MAP['mchc']> {
4
+ inpatientInfo: any;
5
+ id: number;
6
+ recordsAfterDelivery: IMchc_Doctor_RvisitAfterDeliveryInfoOfOutpatient_Record[];
7
+ }
8
+ export interface IMchc_Doctor_RvisitAfterDeliveryInfoOfOutpatient_Record {
9
+ doctorName: string;
10
+ visitDate: string;
11
+ physicalExam: IMchc_Nurse_OutpatientDocument_physicalExam;
12
+ isBanned?: boolean;
13
+ id: number;
14
+ }
@@ -1,6 +1,7 @@
1
- import { MCHC_TYPE_MAP, MchcTypes } from "@lm_fe/env";
1
+ import { MCHC_TYPE_MAP, MchcTypes } from '@lm_fe/env';
2
2
  export interface IMchc_Doctor_OutpatientHeaderInfo<T extends MchcTypes = MCHC_TYPE_MAP['mchc']> {
3
3
  age: number;
4
+ tags: string | null;
4
5
  birthInsurance: false;
5
6
  checkupNO: string;
6
7
  cicatrixLable: string;
@@ -25,33 +26,33 @@ export interface IMchc_Doctor_OutpatientHeaderInfo<T extends MchcTypes = MCHC_TY
25
26
  p: number;
26
27
  pregnancyCaseLable: string;
27
28
  printLetterOfConsent: null;
28
- recordstate: "1" | "0" | "6";
29
+ recordstate: '1' | '0' | '6';
29
30
  tabPage: 'Initial';
30
31
  thrombusLable: string;
31
32
  highriskGrade?: string;
32
33
  alertAssessment?: {
33
- "pregnancyId": 3;
34
- "type": 31;
35
- "templateId": null;
34
+ pregnancyId: 3;
35
+ type: 31;
36
+ templateId: null;
36
37
  value?: {
37
- "id": 47;
38
- "type": 31;
39
- "systemType": null;
40
- "pid": 31;
41
- "val": "IVF/ART";
42
- "code": null;
43
- "mnemonic": null;
44
- "wb": null;
45
- "sort": null;
46
- "depid": null;
47
- "userid": null;
48
- "diagnosisCode": null;
49
- "categoryCode": null;
50
- "categoryName": null;
51
- "icdCode": null;
52
- "active": null;
53
- "personal": false;
38
+ id: 47;
39
+ type: 31;
40
+ systemType: null;
41
+ pid: 31;
42
+ val: 'IVF/ART';
43
+ code: null;
44
+ mnemonic: null;
45
+ wb: null;
46
+ sort: null;
47
+ depid: null;
48
+ userid: null;
49
+ diagnosisCode: null;
50
+ categoryCode: null;
51
+ categoryName: null;
52
+ icdCode: null;
53
+ active: null;
54
+ personal: false;
54
55
  }[];
55
- "first": false;
56
+ first: false;
56
57
  };
57
58
  }
@@ -74,4 +74,5 @@ export interface IMchc_Doctor_RvisitInfoOfOutpatient_Rvisit {
74
74
  isOpenVTETable: number;
75
75
  isOpenSCTable: number;
76
76
  isOpenEclampsiaTable: number;
77
+ isBanned: boolean;
77
78
  }
@@ -9,3 +9,5 @@ export * from './IMchc_Doctor_VteAssessForm';
9
9
  export * from './IMchc_Doctor_RiskRecordsOfOutpatient';
10
10
  export * from './IMchc_Doctor_Pregnancymh';
11
11
  export * from './IMchc_Doctor_FirstVisitPastmhOutpatient';
12
+ export * from './IMchc_Doctor_FirstVisitPresentmhOutpatient';
13
+ export * from './IMchc_Doctor_RvisitAfterDeliveryInfoOfOutpatient';