@awell-health/awell-extensions 2.0.79 → 2.0.80

Sign up to get free protection for your applications and to get access to all the features.
@@ -57,8 +57,8 @@ exports.addVitals = {
57
57
  const body = {
58
58
  patient: fields.patientId,
59
59
  practice: fields.practiceId,
60
- visit_node: fields === null || fields === void 0 ? void 0 : fields.visitNoteId,
61
- non_visit_node: fields === null || fields === void 0 ? void 0 : fields.nonVisitNoteId,
60
+ visit_note: fields === null || fields === void 0 ? void 0 : fields.visitNoteId,
61
+ non_visit_note: fields === null || fields === void 0 ? void 0 : fields.nonVisitNoteId,
62
62
  bmi: fields.bmi,
63
63
  ...validMeasurements,
64
64
  };
@@ -12,8 +12,8 @@ export declare const measurementInputSchema: z.ZodObject<{
12
12
  export declare const AddVitalsInputSchema: z.ZodObject<{
13
13
  patient: z.ZodNumber;
14
14
  practice: z.ZodNumber;
15
- visit_node: z.ZodOptional<z.ZodNumber>;
16
- non_visit_node: z.ZodOptional<z.ZodNumber>;
15
+ visit_note: z.ZodOptional<z.ZodNumber>;
16
+ non_visit_note: z.ZodOptional<z.ZodNumber>;
17
17
  bmi: z.ZodOptional<z.ZodNumber>;
18
18
  height: z.ZodOptional<z.ZodArray<z.ZodObject<{
19
19
  value: z.ZodString;
@@ -142,8 +142,8 @@ export declare const AddVitalsInputSchema: z.ZodObject<{
142
142
  value: string;
143
143
  note?: string | undefined;
144
144
  }[] | undefined;
145
- visit_node?: number | undefined;
146
- non_visit_node?: number | undefined;
145
+ visit_note?: number | undefined;
146
+ non_visit_note?: number | undefined;
147
147
  bmi?: number | undefined;
148
148
  height?: {
149
149
  value: string;
@@ -196,8 +196,8 @@ export declare const AddVitalsInputSchema: z.ZodObject<{
196
196
  value: string;
197
197
  note?: string | undefined;
198
198
  }[] | undefined;
199
- visit_node?: number | undefined;
200
- non_visit_node?: number | undefined;
199
+ visit_note?: number | undefined;
200
+ non_visit_note?: number | undefined;
201
201
  bmi?: number | undefined;
202
202
  height?: {
203
203
  value: string;
@@ -42,8 +42,8 @@ exports.AddVitalsInputSchema = z
42
42
  .object({
43
43
  patient: extensions_core_1.NumericIdSchema,
44
44
  practice: extensions_core_1.NumericIdSchema,
45
- visit_node: extensions_core_1.NumericIdSchema.optional(),
46
- non_visit_node: extensions_core_1.NumericIdSchema.optional(),
45
+ visit_note: extensions_core_1.NumericIdSchema.optional(),
46
+ non_visit_note: extensions_core_1.NumericIdSchema.optional(),
47
47
  bmi: z.number().optional(),
48
48
  height: z
49
49
  .array(exports.measurementInputSchema)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awell-health/awell-extensions",
3
- "version": "2.0.79",
3
+ "version": "2.0.80",
4
4
  "packageManager": "yarn@3.4.1",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": {