@lm_fe/service 0.1.201 → 0.2.2
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.
- package/README.md +0 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1981 -2235
- package/dist/local/Calculator/index.d.ts +0 -1
- package/dist/local/Dictionary/index.d.ts +4 -5
- package/dist/local/History/index.d.ts +1 -0
- package/dist/local/SystemConfig/index.d.ts +2 -2
- package/dist/mchc/service/Address/index.d.ts +2 -1
- package/dist/mchc/service/Admission/Document/IMchc_Admission_Document.d.ts +25 -1
- package/dist/mchc/service/Admission/Document/IMchc_Admission_LabourDocument.d.ts +2 -0
- package/dist/mchc/service/Admission/Document/IMchc_Admission_NeonateDocument.d.ts +1 -0
- package/dist/mchc/service/Common.d.ts +224 -35
- package/dist/mchc/service/Dictionaries/index.d.ts +4 -4
- package/dist/mchc/service/Doctor/index.d.ts +10 -4
- package/dist/mchc/service/Doctor/types/IMchc_Doctor_BuildExamTimeAxis.d.ts +6 -0
- package/dist/mchc/service/Doctor/types/IMchc_Doctor_FirstVisitInfoOfOutpatient.d.ts +2 -16
- package/dist/mchc/service/Doctor/types/IMchc_Doctor_FirstVisitPresentmhOutpatient.d.ts +31 -0
- package/dist/mchc/service/Doctor/types/IMchc_Doctor_RvisitAfterDeliveryInfoOfOutpatient.d.ts +14 -0
- package/dist/mchc/service/Doctor/types/IOutpatientHeaderInfo.d.ts +24 -23
- package/dist/mchc/service/Doctor/types/IRvisitInfoOfOutpatient.d.ts +1 -0
- package/dist/mchc/service/Doctor/types/index.d.ts +2 -0
- package/dist/mchc/service/Doctor/utils.d.ts +3 -0
- package/dist/mchc/service/FormDescriptions/index.d.ts +1 -1
- package/dist/mchc/service/FormDescriptions/types/InputType.d.ts +1 -1
- package/dist/mchc/service/FormDescriptions/types/index.d.ts +2 -186
- package/dist/mchc/service/FormDescriptions/utils.d.ts +1 -1
- package/dist/mchc/service/Nurse/utils.d.ts +5 -0
- package/dist/mchc/service/Questionnaire/index.d.ts +10 -4
- package/dist/mchc/service/TableConfig/index.d.ts +44 -110
- package/dist/mchc/service/TableConfig/utils.d.ts +7 -2
- package/dist/mchc/service/User.d.ts +8 -1
- package/dist/mchc/service/types/utils.d.ts +1 -25
- package/package.json +10 -5
- package/dist//350/266/212/347/247/200/345/246/207/345/271/274/index.d.ts +0 -1
- package/dist//350/266/212/347/247/200/345/246/207/345/271/274/service/Doctor/index.d.ts +0 -6
- 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):
|
|
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;
|
|
@@ -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
|
-
|
|
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"
|
|
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,23 +1,97 @@
|
|
|
1
|
-
import { ISystemConfig } from
|
|
2
|
-
import {
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
+
头部信息拓展?: import("@lm_fe/utils").ICommonOption[];
|
|
78
|
+
医生端_BMI曲线类型?: number;
|
|
79
|
+
顶部工具栏隐藏?: boolean;
|
|
80
|
+
styles?: Partial<{
|
|
81
|
+
compact: boolean;
|
|
82
|
+
darkTheme: boolean;
|
|
83
|
+
fontSize: number;
|
|
84
|
+
colorPrimary: string;
|
|
85
|
+
colorBorder: string;
|
|
86
|
+
colorTextDisabled: string;
|
|
87
|
+
colorBgContainerDisabled: string;
|
|
88
|
+
colorTextPlaceholder: string;
|
|
89
|
+
cus_fontBold: boolean;
|
|
90
|
+
labelColor: string;
|
|
91
|
+
rowHoverBg: string;
|
|
92
|
+
labelFontSize: number;
|
|
93
|
+
}>;
|
|
94
|
+
}>>;
|
|
21
95
|
desklogin(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
22
96
|
currentTime(): Promise<string>;
|
|
23
97
|
getCurrReferralOrganization(): Promise<IMchc_ReferralOrganization>;
|
|
@@ -26,32 +100,147 @@ export declare const SMchc_Common: {
|
|
|
26
100
|
name?: any;
|
|
27
101
|
}): Promise<IMchc_ReferralOrganization[]>;
|
|
28
102
|
getHighriskContagionConfig(): Promise<{
|
|
29
|
-
color: string;
|
|
30
|
-
options: import("@lm_fe/
|
|
103
|
+
color: string | undefined;
|
|
104
|
+
options: import("@lm_fe/utils").ICommonOption[] | (() => import("@lm_fe/utils").ICommonOption[]);
|
|
31
105
|
}>;
|
|
32
106
|
getHighriskGradeConfig(): Promise<IMchc_HighriskGradeConfig[]>;
|
|
33
|
-
getHighriskTree(): Promise<
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
categoryName: string;
|
|
37
|
-
code: string;
|
|
38
|
-
depid: number;
|
|
39
|
-
diagnosisCode: string;
|
|
40
|
-
icdCode: string;
|
|
107
|
+
getHighriskTree(): Promise<IMchc_TemplateTree_Item[]>;
|
|
108
|
+
format_dic_to_system_config(data?: IMchc_Dictionaries): ISystemConfig;
|
|
109
|
+
update_system_config(data: Partial<IMchc_Dictionaries>): Promise<Partial<{
|
|
41
110
|
id: number;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
111
|
+
systemName: string;
|
|
112
|
+
systemMode: "devlopment" | "test" | "production";
|
|
113
|
+
systemTheme: string;
|
|
114
|
+
expireTime: number;
|
|
115
|
+
openWebsocket: boolean;
|
|
116
|
+
websocketAddress: "ws://127.0.0.1:8087/Laputa";
|
|
117
|
+
auditRestriction: boolean;
|
|
118
|
+
openIntro: boolean;
|
|
119
|
+
fetalMonitor: string;
|
|
120
|
+
openHighriskSign: boolean;
|
|
121
|
+
highriskVersion: number;
|
|
122
|
+
curveVersion: "nichd";
|
|
123
|
+
prenatalDiagnosis: boolean;
|
|
124
|
+
CaseReport: boolean;
|
|
125
|
+
FetalMonitor: boolean;
|
|
126
|
+
InformedConsent: boolean;
|
|
127
|
+
pregnancyInitial: "tab" | "vertical";
|
|
128
|
+
isOpenDiabetes: boolean;
|
|
129
|
+
diagnosisStyle: "tab";
|
|
130
|
+
diagnosisFollowUpRecord: boolean;
|
|
131
|
+
diagnosisLaboratoryReport: boolean;
|
|
132
|
+
diagnosisPrenatalVisit: boolean;
|
|
133
|
+
tablePrintBtn: boolean;
|
|
134
|
+
homeStatistics: boolean;
|
|
135
|
+
highriskStatistics: boolean;
|
|
136
|
+
customerService: true;
|
|
137
|
+
highriskType: string;
|
|
138
|
+
禁止编辑高危等级: boolean;
|
|
139
|
+
系统环境: any;
|
|
140
|
+
护士端_禁止编辑高危因素_传染病: boolean;
|
|
141
|
+
护士端_审核禁用保存: boolean;
|
|
142
|
+
医生端_模块隐藏: string[];
|
|
143
|
+
护士端_模块隐藏: string[];
|
|
144
|
+
doctorOpenWebsocket: boolean;
|
|
145
|
+
VTE预防用药筛查表: string;
|
|
146
|
+
nurseHide: import("@lm_fe/utils").ICommonOption[];
|
|
147
|
+
medicalHide: import("@lm_fe/utils").ICommonOption[];
|
|
148
|
+
PDF预览组件版本?: string;
|
|
149
|
+
老人模式?: boolean;
|
|
150
|
+
列表一页显示条数?: number;
|
|
151
|
+
模板编辑器?: "SDE" | "XEMR";
|
|
152
|
+
医生端_检验检查时间轴隐藏?: boolean;
|
|
153
|
+
医生端_复诊按钮浮动?: boolean;
|
|
154
|
+
医生端_复诊左侧隐藏?: boolean;
|
|
155
|
+
医生端_复诊编辑控制?: boolean;
|
|
156
|
+
高危标记多选?: number;
|
|
157
|
+
病人标签多选?: number;
|
|
158
|
+
头部信息拓展?: import("@lm_fe/utils").ICommonOption[];
|
|
159
|
+
医生端_BMI曲线类型?: number;
|
|
160
|
+
顶部工具栏隐藏?: boolean;
|
|
161
|
+
styles?: Partial<{
|
|
162
|
+
compact: boolean;
|
|
163
|
+
darkTheme: boolean;
|
|
164
|
+
fontSize: number;
|
|
165
|
+
colorPrimary: string;
|
|
166
|
+
colorBorder: string;
|
|
167
|
+
colorTextDisabled: string;
|
|
168
|
+
colorBgContainerDisabled: string;
|
|
169
|
+
colorTextPlaceholder: string;
|
|
170
|
+
cus_fontBold: boolean;
|
|
171
|
+
labelColor: string;
|
|
172
|
+
rowHoverBg: string;
|
|
173
|
+
labelFontSize: number;
|
|
174
|
+
}>;
|
|
175
|
+
}>>;
|
|
53
176
|
get_self_config(): Promise<{
|
|
54
|
-
data:
|
|
177
|
+
data: Partial<{
|
|
178
|
+
id: number;
|
|
179
|
+
systemName: string;
|
|
180
|
+
systemMode: "devlopment" | "test" | "production";
|
|
181
|
+
systemTheme: string;
|
|
182
|
+
expireTime: number;
|
|
183
|
+
openWebsocket: boolean;
|
|
184
|
+
websocketAddress: "ws://127.0.0.1:8087/Laputa";
|
|
185
|
+
auditRestriction: boolean;
|
|
186
|
+
openIntro: boolean;
|
|
187
|
+
fetalMonitor: string;
|
|
188
|
+
openHighriskSign: boolean;
|
|
189
|
+
highriskVersion: number;
|
|
190
|
+
curveVersion: "nichd";
|
|
191
|
+
prenatalDiagnosis: boolean;
|
|
192
|
+
CaseReport: boolean;
|
|
193
|
+
FetalMonitor: boolean;
|
|
194
|
+
InformedConsent: boolean;
|
|
195
|
+
pregnancyInitial: "tab" | "vertical";
|
|
196
|
+
isOpenDiabetes: boolean;
|
|
197
|
+
diagnosisStyle: "tab";
|
|
198
|
+
diagnosisFollowUpRecord: boolean;
|
|
199
|
+
diagnosisLaboratoryReport: boolean;
|
|
200
|
+
diagnosisPrenatalVisit: boolean;
|
|
201
|
+
tablePrintBtn: boolean;
|
|
202
|
+
homeStatistics: boolean;
|
|
203
|
+
highriskStatistics: boolean;
|
|
204
|
+
customerService: true;
|
|
205
|
+
highriskType: string;
|
|
206
|
+
禁止编辑高危等级: boolean;
|
|
207
|
+
系统环境: any;
|
|
208
|
+
护士端_禁止编辑高危因素_传染病: boolean;
|
|
209
|
+
护士端_审核禁用保存: boolean;
|
|
210
|
+
医生端_模块隐藏: string[];
|
|
211
|
+
护士端_模块隐藏: string[];
|
|
212
|
+
doctorOpenWebsocket: boolean;
|
|
213
|
+
VTE预防用药筛查表: string;
|
|
214
|
+
nurseHide: import("@lm_fe/utils").ICommonOption[];
|
|
215
|
+
medicalHide: import("@lm_fe/utils").ICommonOption[];
|
|
216
|
+
PDF预览组件版本?: string;
|
|
217
|
+
老人模式?: boolean;
|
|
218
|
+
列表一页显示条数?: number;
|
|
219
|
+
模板编辑器?: "SDE" | "XEMR";
|
|
220
|
+
医生端_检验检查时间轴隐藏?: boolean;
|
|
221
|
+
医生端_复诊按钮浮动?: boolean;
|
|
222
|
+
医生端_复诊左侧隐藏?: boolean;
|
|
223
|
+
医生端_复诊编辑控制?: boolean;
|
|
224
|
+
高危标记多选?: number;
|
|
225
|
+
病人标签多选?: number;
|
|
226
|
+
头部信息拓展?: import("@lm_fe/utils").ICommonOption[];
|
|
227
|
+
医生端_BMI曲线类型?: number;
|
|
228
|
+
顶部工具栏隐藏?: boolean;
|
|
229
|
+
styles?: Partial<{
|
|
230
|
+
compact: boolean;
|
|
231
|
+
darkTheme: boolean;
|
|
232
|
+
fontSize: number;
|
|
233
|
+
colorPrimary: string;
|
|
234
|
+
colorBorder: string;
|
|
235
|
+
colorTextDisabled: string;
|
|
236
|
+
colorBgContainerDisabled: string;
|
|
237
|
+
colorTextPlaceholder: string;
|
|
238
|
+
cus_fontBold: boolean;
|
|
239
|
+
labelColor: string;
|
|
240
|
+
rowHoverBg: string;
|
|
241
|
+
labelFontSize: number;
|
|
242
|
+
}>;
|
|
243
|
+
}>;
|
|
55
244
|
} | null>;
|
|
56
245
|
update_self_config(data: Partial<IMchc_Dictionaries>): Promise<IMchc_Dictionaries>;
|
|
57
246
|
};
|
|
@@ -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
|
|
13
|
-
label
|
|
14
|
-
note
|
|
15
|
-
value
|
|
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(
|
|
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
|
|
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:
|
|
29
|
+
recordstate: '1' | '0' | '6';
|
|
29
30
|
tabPage: 'Initial';
|
|
30
31
|
thrombusLable: string;
|
|
31
32
|
highriskGrade?: string;
|
|
32
33
|
alertAssessment?: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
pregnancyId: 3;
|
|
35
|
+
type: 31;
|
|
36
|
+
templateId: null;
|
|
36
37
|
value?: {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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
|
-
|
|
56
|
+
first: false;
|
|
56
57
|
};
|
|
57
58
|
}
|
|
@@ -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';
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { IMchc_Doctor_FirstVisitInfoOfOutpatient, IMchc_Doctor_FirstVisitPastmhOutpatient, IMchc_Doctor_RvisitInfoOfOutpatient } from "./types";
|
|
2
|
+
import { IMchc_Doctor_FirstVisitPresentmhOutpatient } from "./types/IMchc_Doctor_FirstVisitPresentmhOutpatient";
|
|
2
3
|
export declare function processFirstInfoOfOutpatient(data: IMchc_Doctor_FirstVisitInfoOfOutpatient): IMchc_Doctor_FirstVisitInfoOfOutpatient;
|
|
3
4
|
export declare function processRvisitInfoOfOutpatient(data: IMchc_Doctor_RvisitInfoOfOutpatient): IMchc_Doctor_RvisitInfoOfOutpatient<"mchc">;
|
|
5
|
+
export declare function processFirstPresent_remote(_data: IMchc_Doctor_FirstVisitPresentmhOutpatient): IMchc_Doctor_FirstVisitPresentmhOutpatient;
|
|
6
|
+
export declare function processFirstPresent_local(_data: IMchc_Doctor_FirstVisitPresentmhOutpatient): IMchc_Doctor_FirstVisitPresentmhOutpatient;
|
|
4
7
|
export declare function processPastmh_remote(_data: IMchc_Doctor_FirstVisitPastmhOutpatient): IMchc_Doctor_FirstVisitPastmhOutpatient;
|
|
5
8
|
export declare function processPastmh_local(_data: IMchc_Doctor_FirstVisitPastmhOutpatient): IMchc_Doctor_FirstVisitPastmhOutpatient;
|
|
6
9
|
export declare function processOther_remote(_data: IMchc_Doctor_FirstVisitInfoOfOutpatient['othermh']): {
|