@awell-health/awell-extensions 1.0.185 → 1.0.187
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/extensions/athenahealth/actions/addProblemToPatientChart/addProblemToPatientChart.test.js +1 -1
- package/dist/extensions/athenahealth/actions/addProblemToPatientChart/config/fields.d.ts +5 -5
- package/dist/extensions/athenahealth/actions/addProblemToPatientChart/config/fields.js +5 -5
- package/dist/extensions/athenahealth/actions/index.d.ts +2 -2
- package/package.json +1 -1
@@ -22,11 +22,11 @@ export declare const fields: {
|
|
22
22
|
type: FieldType.TEXT;
|
23
23
|
required: true;
|
24
24
|
};
|
25
|
-
|
25
|
+
onsetDate: {
|
26
26
|
id: string;
|
27
27
|
label: string;
|
28
28
|
description: string;
|
29
|
-
type: FieldType.
|
29
|
+
type: FieldType.DATE;
|
30
30
|
required: true;
|
31
31
|
};
|
32
32
|
};
|
@@ -34,15 +34,15 @@ export declare const FieldsValidationSchema: z.ZodObject<{
|
|
34
34
|
patientId: z.ZodString;
|
35
35
|
practiceId: z.ZodString;
|
36
36
|
note: z.ZodString;
|
37
|
-
|
37
|
+
onsetDate: z.ZodEffects<z.ZodDate, string, Date>;
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
39
39
|
note: string;
|
40
40
|
patientId: string;
|
41
41
|
practiceId: string;
|
42
|
-
|
42
|
+
onsetDate: string;
|
43
43
|
}, {
|
44
44
|
note: string;
|
45
45
|
patientId: string;
|
46
46
|
practiceId: string;
|
47
|
-
|
47
|
+
onsetDate: Date;
|
48
48
|
}>;
|
@@ -28,11 +28,11 @@ exports.fields = {
|
|
28
28
|
type: extensions_core_1.FieldType.TEXT,
|
29
29
|
required: true,
|
30
30
|
},
|
31
|
-
|
32
|
-
id: '
|
33
|
-
label: '
|
31
|
+
onsetDate: {
|
32
|
+
id: 'onsetDate',
|
33
|
+
label: 'Onset date',
|
34
34
|
description: 'The onset date to be updated for this problem',
|
35
|
-
type: extensions_core_1.FieldType.
|
35
|
+
type: extensions_core_1.FieldType.DATE,
|
36
36
|
required: true,
|
37
37
|
},
|
38
38
|
};
|
@@ -40,6 +40,6 @@ exports.FieldsValidationSchema = zod_1.default.object({
|
|
40
40
|
patientId: zod_1.default.string(),
|
41
41
|
practiceId: zod_1.default.string(),
|
42
42
|
note: zod_1.default.string(),
|
43
|
-
|
43
|
+
onsetDate: extensions_core_1.DateOnlySchema,
|
44
44
|
});
|
45
45
|
//# sourceMappingURL=fields.js.map
|
@@ -177,11 +177,11 @@ declare const actions: {
|
|
177
177
|
type: import("@awell-health/extensions-core").FieldType.TEXT;
|
178
178
|
required: true;
|
179
179
|
};
|
180
|
-
|
180
|
+
onsetDate: {
|
181
181
|
id: string;
|
182
182
|
label: string;
|
183
183
|
description: string;
|
184
|
-
type: import("@awell-health/extensions-core").FieldType.
|
184
|
+
type: import("@awell-health/extensions-core").FieldType.DATE;
|
185
185
|
required: true;
|
186
186
|
};
|
187
187
|
}, {
|