@awell-health/awell-extensions 2.0.226 → 2.0.227

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 (29) hide show
  1. package/dist/extensions/elation/actions/createPatient/__testdata__/createPatient.mock.d.ts +53 -0
  2. package/dist/extensions/elation/actions/createPatient/__testdata__/createPatient.mock.js +57 -0
  3. package/dist/extensions/elation/actions/createPatient/__testdata__/createPatient.mock.js.map +1 -0
  4. package/dist/extensions/elation/actions/createPatient/config/dataPoints.d.ts +6 -0
  5. package/dist/extensions/elation/actions/createPatient/config/dataPoints.js +10 -0
  6. package/dist/extensions/elation/actions/createPatient/config/dataPoints.js.map +1 -0
  7. package/dist/extensions/elation/actions/createPatient/config/fields.d.ts +258 -0
  8. package/dist/extensions/elation/actions/{createPatient.js → createPatient/config/fields.js} +81 -116
  9. package/dist/extensions/elation/actions/createPatient/config/fields.js.map +1 -0
  10. package/dist/extensions/elation/actions/createPatient/config/index.d.ts +2 -0
  11. package/dist/extensions/elation/actions/createPatient/config/index.js +9 -0
  12. package/dist/extensions/elation/actions/createPatient/config/index.js.map +1 -0
  13. package/dist/extensions/elation/actions/createPatient/createPatient.d.ts +4 -0
  14. package/dist/extensions/elation/actions/createPatient/createPatient.js +79 -0
  15. package/dist/extensions/elation/actions/createPatient/createPatient.js.map +1 -0
  16. package/dist/extensions/elation/actions/createPatient/index.d.ts +1 -0
  17. package/dist/extensions/elation/actions/createPatient/index.js +6 -0
  18. package/dist/extensions/elation/actions/createPatient/index.js.map +1 -0
  19. package/dist/extensions/elation/actions/index.d.ts +42 -0
  20. package/dist/extensions/elation/client.d.ts +2 -2
  21. package/dist/extensions/elation/client.js +1 -1
  22. package/dist/extensions/elation/client.js.map +1 -1
  23. package/dist/extensions/elation/validation/patient.zod.d.ts +8 -0
  24. package/dist/extensions/elation/validation/patient.zod.js +25 -25
  25. package/dist/extensions/elation/validation/patient.zod.js.map +1 -1
  26. package/dist/extensions/markdown.json +1 -1
  27. package/package.json +1 -1
  28. package/dist/extensions/elation/actions/createPatient.d.ts +0 -153
  29. package/dist/extensions/elation/actions/createPatient.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ export { dataPoints } from './dataPoints';
2
+ export { fields, FieldsValidationSchema } from './fields';
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FieldsValidationSchema = exports.fields = exports.dataPoints = void 0;
4
+ var dataPoints_1 = require("./dataPoints");
5
+ Object.defineProperty(exports, "dataPoints", { enumerable: true, get: function () { return dataPoints_1.dataPoints; } });
6
+ var fields_1 = require("./fields");
7
+ Object.defineProperty(exports, "fields", { enumerable: true, get: function () { return fields_1.fields; } });
8
+ Object.defineProperty(exports, "FieldsValidationSchema", { enumerable: true, get: function () { return fields_1.FieldsValidationSchema; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../extensions/elation/actions/createPatient/config/index.ts"],"names":[],"mappings":";;;AAAA,2CAAyC;AAAhC,wGAAA,UAAU,OAAA;AACnB,mCAAyD;AAAhD,gGAAA,MAAM,OAAA;AAAE,gHAAA,sBAAsB,OAAA"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from '@awell-health/extensions-core';
2
+ import { type settings } from '../../settings';
3
+ import { fields, dataPoints } from './config';
4
+ export declare const createPatient: Action<typeof fields, typeof settings, keyof typeof dataPoints>;
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createPatient = void 0;
4
+ const extensions_core_1 = require("@awell-health/extensions-core");
5
+ const client_1 = require("../../client");
6
+ const patient_zod_1 = require("../../validation/patient.zod");
7
+ const lodash_1 = require("lodash");
8
+ const config_1 = require("./config");
9
+ const axios_1 = require("axios");
10
+ const addEventLog_1 = require("../../../../src/lib/awell/addEventLog");
11
+ exports.createPatient = {
12
+ key: 'createPatient',
13
+ category: extensions_core_1.Category.EHR_INTEGRATIONS,
14
+ title: 'Create Patient',
15
+ description: "Create a patient profile using Elation's patient API.",
16
+ fields: config_1.fields,
17
+ previewable: true,
18
+ dataPoints: config_1.dataPoints,
19
+ onEvent: async ({ payload, onComplete, onError }) => {
20
+ var _a, _b, _c;
21
+ const { firstName, lastName, actualName, caregiverPracticeId, genderIdentity, legalGenderMarker, middleName, preferredLanguage, previousFirstName, previousLastName, primaryPhysicianId, sexualOrientation, dob, sex, email, mobilePhone, pronouns, ssn, ethnicity, race, notes, tags, } = config_1.FieldsValidationSchema.parse(payload.fields);
22
+ const api = (0, client_1.makeAPIClient)(payload.settings);
23
+ const patientEmail = (0, lodash_1.isNil)(email) || (0, lodash_1.isEmpty)(email) ? undefined : [{ email }];
24
+ const patientMobilePhone = (0, lodash_1.isNil)(mobilePhone) || (0, lodash_1.isEmpty)(mobilePhone)
25
+ ? undefined
26
+ : [{ phone: mobilePhone, phone_type: 'Mobile' }];
27
+ const patient = patient_zod_1.patientSchema.parse({
28
+ first_name: firstName,
29
+ last_name: lastName,
30
+ primary_physician: primaryPhysicianId,
31
+ caregiver_practice: caregiverPracticeId,
32
+ middle_name: middleName,
33
+ actual_name: actualName,
34
+ gender_identity: genderIdentity,
35
+ legal_gender_marker: legalGenderMarker,
36
+ sexual_orientation: sexualOrientation,
37
+ preferred_language: preferredLanguage,
38
+ previous_first_name: previousFirstName,
39
+ previous_last_name: previousLastName,
40
+ emails: patientEmail,
41
+ phones: patientMobilePhone,
42
+ dob,
43
+ sex,
44
+ pronouns,
45
+ ssn,
46
+ ethnicity,
47
+ race,
48
+ notes,
49
+ tags,
50
+ });
51
+ try {
52
+ const { data } = await api.createPatient(patient);
53
+ await onComplete({
54
+ data_points: {
55
+ patientId: String(data.id),
56
+ },
57
+ });
58
+ }
59
+ catch (err) {
60
+ // Handle the patient exists already specifically. Every other validation or axios error is handled
61
+ // by the default error handler in extensions-core.
62
+ if (err instanceof axios_1.AxiosError && ((_a = err.response) === null || _a === void 0 ? void 0 : _a.status) === 409) {
63
+ await onComplete({
64
+ data_points: {
65
+ patientId: String((_c = (_b = err.response) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.redirect),
66
+ },
67
+ events: [
68
+ (0, addEventLog_1.addActivityEventLog)({
69
+ message: `Patient already exists. Returning the existing patient id.`,
70
+ }),
71
+ ],
72
+ });
73
+ return;
74
+ }
75
+ throw err;
76
+ }
77
+ },
78
+ };
79
+ //# sourceMappingURL=createPatient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createPatient.js","sourceRoot":"","sources":["../../../../../extensions/elation/actions/createPatient/createPatient.ts"],"names":[],"mappings":";;;AACA,mEAAwD;AAExD,yCAA4C;AAC5C,8DAA4D;AAC5D,mCAAuC;AACvC,qCAAqE;AACrE,iCAAkC;AAClC,uEAA2E;AAE9D,QAAA,aAAa,GAItB;IACF,GAAG,EAAE,eAAe;IACpB,QAAQ,EAAE,0BAAQ,CAAC,gBAAgB;IACnC,KAAK,EAAE,gBAAgB;IACvB,WAAW,EAAE,uDAAuD;IACpE,MAAM,EAAN,eAAM;IACN,WAAW,EAAE,IAAI;IACjB,UAAU,EAAV,mBAAU;IACV,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,EAAiB,EAAE;;QACjE,MAAM,EACJ,SAAS,EACT,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,GAAG,EACH,GAAG,EACH,KAAK,EACL,WAAW,EACX,QAAQ,EACR,GAAG,EACH,SAAS,EACT,IAAI,EACJ,KAAK,EACL,IAAI,GACL,GAAG,+BAAsB,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;QAChD,MAAM,GAAG,GAAG,IAAA,sBAAa,EAAC,OAAO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D;YACnD,IAAI,GAAG,YAAY,kBAAU,IAAI,CAAA,MAAA,GAAG,CAAC,QAAQ,0CAAE,MAAM,MAAK,GAAG,EAAE,CAAC;gBAC9D,MAAM,UAAU,CAAC;oBACf,WAAW,EAAE;wBACX,SAAS,EAAE,MAAM,CAAC,MAAA,MAAA,GAAG,CAAC,QAAQ,0CAAE,IAAI,0CAAE,QAAQ,CAAC;qBAChD;oBACD,MAAM,EAAE;wBACN,IAAA,iCAAmB,EAAC;4BAClB,OAAO,EAAE,4DAA4D;yBACtE,CAAC;qBACH;iBACF,CAAC,CAAA;gBACF,OAAM;YACR,CAAC;YAED,MAAM,GAAG,CAAA;QACX,CAAC;IACH,CAAC;CACF,CAAA"}
@@ -0,0 +1 @@
1
+ export { createPatient } from './createPatient';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createPatient = void 0;
4
+ var createPatient_1 = require("./createPatient");
5
+ Object.defineProperty(exports, "createPatient", { enumerable: true, get: function () { return createPatient_1.createPatient; } });
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../extensions/elation/actions/createPatient/index.ts"],"names":[],"mappings":";;;AAAA,iDAA+C;AAAtC,8GAAA,aAAa,OAAA"}
@@ -86,6 +86,12 @@ export declare const actions: {
86
86
  description: string;
87
87
  type: import("@awell-health/extensions-core").FieldType.STRING;
88
88
  required: true;
89
+ options: {
90
+ dropdownOptions: {
91
+ label: "Male" | "Female" | "Other" | "Unknown";
92
+ value: "Male" | "Female" | "Other" | "Unknown";
93
+ }[];
94
+ };
89
95
  };
90
96
  primaryPhysicianId: {
91
97
  id: string;
@@ -133,24 +139,48 @@ export declare const actions: {
133
139
  label: string;
134
140
  description: string;
135
141
  type: import("@awell-health/extensions-core").FieldType.STRING;
142
+ options: {
143
+ dropdownOptions: {
144
+ label: string;
145
+ value: "unknown" | "man" | "woman" | "transgender_man" | "transgender_woman" | "nonbinary" | "option_not_listed" | "prefer_not_to_say" | "two_spirit";
146
+ }[];
147
+ };
136
148
  };
137
149
  legalGenderMarker: {
138
150
  id: string;
139
151
  label: string;
140
152
  description: string;
141
153
  type: import("@awell-health/extensions-core").FieldType.STRING;
154
+ options: {
155
+ dropdownOptions: {
156
+ label: string;
157
+ value: "M" | "F" | "X" | "U";
158
+ }[];
159
+ };
142
160
  };
143
161
  pronouns: {
144
162
  id: string;
145
163
  label: string;
146
164
  description: string;
147
165
  type: import("@awell-health/extensions-core").FieldType.STRING;
166
+ options: {
167
+ dropdownOptions: {
168
+ label: string;
169
+ value: "he_him_his" | "she_her_hers" | "they_them_theirs" | "not_listed";
170
+ }[];
171
+ };
148
172
  };
149
173
  sexualOrientation: {
150
174
  id: string;
151
175
  label: string;
152
176
  description: string;
153
177
  type: import("@awell-health/extensions-core").FieldType.STRING;
178
+ options: {
179
+ dropdownOptions: {
180
+ label: string;
181
+ value: "unknown" | "option_not_listed" | "prefer_not_to_say" | "straight" | "gay" | "bisexual" | "lesbian" | "queer" | "asexual";
182
+ }[];
183
+ };
154
184
  };
155
185
  ssn: {
156
186
  id: string;
@@ -163,12 +193,24 @@ export declare const actions: {
163
193
  label: string;
164
194
  description: string;
165
195
  type: import("@awell-health/extensions-core").FieldType.STRING;
196
+ options: {
197
+ dropdownOptions: {
198
+ label: string;
199
+ value: "Unknown" | "Declined to specify" | "No ethnicity specified" | "Hispanic or Latino" | "Not Hispanic or Latino";
200
+ }[];
201
+ };
166
202
  };
167
203
  race: {
168
204
  id: string;
169
205
  label: string;
170
206
  description: string;
171
207
  type: import("@awell-health/extensions-core").FieldType.STRING;
208
+ options: {
209
+ dropdownOptions: {
210
+ label: string;
211
+ value: "Other" | "No race specified" | "American Indian or Alaska Native" | "Asian" | "Black or African American" | "Native Hawaiian or Other Pacific Islander" | "White" | "Declined to specify";
212
+ }[];
213
+ };
172
214
  };
173
215
  preferredLanguage: {
174
216
  id: string;
@@ -8,7 +8,7 @@ export declare class ElationDataWrapper extends DataWrapper {
8
8
  createAppointment(obj: Partial<AppointmentInput>): Promise<AppointmentResponse>;
9
9
  updateAppointment(id: number, obj: Partial<AppointmentInput>): Promise<AppointmentResponse>;
10
10
  getPatient(id: number): Promise<PatientResponse>;
11
- createPatient(obj: Partial<PatientInput>): Promise<PatientResponse>;
11
+ createPatient(obj: Partial<PatientInput>): Promise<AxiosResponse<PatientResponse>>;
12
12
  updatePatient(id: number, obj: Partial<UpdatePatientInput>): Promise<PatientResponse>;
13
13
  findSubscriptions(): Promise<Subscription[]>;
14
14
  createSubscription(obj: SubscriptionRequest): Promise<Subscription>;
@@ -61,7 +61,7 @@ export declare class ElationAPIClient extends APIClient<ElationDataWrapper> {
61
61
  createAppointment(obj: Partial<AppointmentInput>): Promise<AppointmentResponse>;
62
62
  updateAppointment(id: number, obj: Partial<AppointmentInput>): Promise<AppointmentResponse>;
63
63
  getPatient(id: number): Promise<PatientResponse>;
64
- createPatient(obj: Partial<PatientInput>): Promise<PatientResponse>;
64
+ createPatient(obj: Partial<PatientInput>): Promise<AxiosResponse<PatientResponse>>;
65
65
  updatePatient(id: number, obj: Partial<UpdatePatientInput>): Promise<PatientResponse>;
66
66
  findSubscriptions(): Promise<Subscription[]>;
67
67
  createSubscription(obj: SubscriptionRequest): Promise<Subscription>;
@@ -51,7 +51,7 @@ class ElationDataWrapper extends extensions_core_1.DataWrapper {
51
51
  return res;
52
52
  }
53
53
  async createPatient(obj) {
54
- const req = this.Request({
54
+ const req = this.RequestRaw({
55
55
  method: 'POST',
56
56
  url: `/patients`,
57
57
  data: obj,
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../extensions/elation/client.ts"],"names":[],"mappings":";;;AAAA,mEASsC;AACtC,yCAAqD;AACrD,mCAwCgB;AAChB,mCAA6C;AAC7C,mCAAgC;AAIhC,MAAa,kBAAmB,SAAQ,6BAAW;IAC1C,KAAK,CAAC,gBAAgB,CAC3B,MAA8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um<["unknown", "man", "woman", "transgender_man", "transgender_woman", "nonbinary", "option_not_listed", "prefer_not_to_say", "two_spirit"]>;
3
+ export declare const legalGenderMarkerEnum: z.ZodEnum<["M", "F", "X", "U"]>;
4
+ export declare const pronounsEnum: z.ZodEnum<["he_him_his", "she_her_hers", "they_them_theirs", "not_listed"]>;
5
+ export declare const sexEnum: z.ZodEnum<["Male", "Female", "Other", "Unknown"]>;
6
+ export declare const sexualOrientationEnum: z.ZodEnum<["unknown", "straight", "gay", "bisexual", "option_not_listed", "prefer_not_to_say", "lesbian", "queer", "asexual"]>;
7
+ export declare const raceEnum: z.ZodEnum<["No race specified", "American Indian or Alaska Native", "Asian", "Black or African American", "Native Hawaiian or Other Pacific Islander", "White", "Other", "Declined to specify"]>;
8
+ export declare const ethnicityEnum: z.ZodEnum<["No ethnicity specified", "Hispanic or Latino", "Not Hispanic or Latino", "Unknown", "Declined to specify"]>;
9
+ export declare const phoneTypeEnum: z.ZodEnum<["Home", "Mobile", "Main", "Work", "Night", "Fax", "Other"]>;
2
10
  export declare const phoneSchema: z.ZodObject<{
3
11
  phone: z.ZodString;
4
12
  phone_type: z.ZodEnum<["Home", "Mobile", "Main", "Work", "Night", "Fax", "Other"]>;
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.updatePatientSchema = exports.patientSchema = exports.patientStatusSchema = exports.insuranceSchema = exports.guarantorSchema = exports.emailSchema = exports.phoneSchema = void 0;
3
+ exports.updatePatientSchema = exports.patientSchema = exports.patientStatusSchema = exports.insuranceSchema = exports.guarantorSchema = exports.emailSchema = exports.phoneSchema = exports.phoneTypeEnum = exports.ethnicityEnum = exports.raceEnum = exports.sexualOrientationEnum = exports.sexEnum = exports.pronounsEnum = exports.legalGenderMarkerEnum = exports.genderIdentityEnum = void 0;
4
4
  const extensions_core_1 = require("@awell-health/extensions-core");
5
5
  const zod_1 = require("zod");
6
6
  // Enums
7
- const genderIdentityEnum = zod_1.z.enum([
7
+ exports.genderIdentityEnum = zod_1.z.enum([
8
8
  'unknown',
9
9
  'man',
10
10
  'woman',
@@ -15,15 +15,15 @@ const genderIdentityEnum = zod_1.z.enum([
15
15
  'prefer_not_to_say',
16
16
  'two_spirit',
17
17
  ]);
18
- const legalGenderMarkerEnum = zod_1.z.enum(['M', 'F', 'X', 'U']);
19
- const pronounsEnum = zod_1.z.enum([
18
+ exports.legalGenderMarkerEnum = zod_1.z.enum(['M', 'F', 'X', 'U']);
19
+ exports.pronounsEnum = zod_1.z.enum([
20
20
  'he_him_his',
21
21
  'she_her_hers',
22
22
  'they_them_theirs',
23
23
  'not_listed',
24
24
  ]);
25
- const sexEnum = zod_1.z.enum(['Male', 'Female', 'Other', 'Unknown']);
26
- const sexualOrientationEnum = zod_1.z.enum([
25
+ exports.sexEnum = zod_1.z.enum(['Male', 'Female', 'Other', 'Unknown']);
26
+ exports.sexualOrientationEnum = zod_1.z.enum([
27
27
  'unknown',
28
28
  'straight',
29
29
  'gay',
@@ -34,7 +34,7 @@ const sexualOrientationEnum = zod_1.z.enum([
34
34
  'queer',
35
35
  'asexual',
36
36
  ]);
37
- const raceEnum = zod_1.z.enum([
37
+ exports.raceEnum = zod_1.z.enum([
38
38
  'No race specified',
39
39
  'American Indian or Alaska Native',
40
40
  'Asian',
@@ -44,14 +44,14 @@ const raceEnum = zod_1.z.enum([
44
44
  'Other',
45
45
  'Declined to specify',
46
46
  ]);
47
- const ethnicityEnum = zod_1.z.enum([
47
+ exports.ethnicityEnum = zod_1.z.enum([
48
48
  'No ethnicity specified',
49
49
  'Hispanic or Latino',
50
50
  'Not Hispanic or Latino',
51
51
  'Unknown',
52
52
  'Declined to specify',
53
53
  ]);
54
- const phoneTypeEnum = zod_1.z.enum([
54
+ exports.phoneTypeEnum = zod_1.z.enum([
55
55
  'Home',
56
56
  'Mobile',
57
57
  'Main',
@@ -99,7 +99,7 @@ const addressSchema = zod_1.z.object({
99
99
  });
100
100
  exports.phoneSchema = zod_1.z.object({
101
101
  phone: zod_1.z.string().max(20),
102
- phone_type: phoneTypeEnum,
102
+ phone_type: exports.phoneTypeEnum,
103
103
  });
104
104
  exports.emailSchema = zod_1.z.object({
105
105
  email: zod_1.z.string().email().max(75),
@@ -139,7 +139,7 @@ exports.insuranceSchema = zod_1.z.object({
139
139
  insured_person_zip: zod_1.z.string().max(9).nullish(),
140
140
  insured_person_id: zod_1.z.string().max(50).nullish(),
141
141
  insured_person_dob: extensions_core_1.DateOnlySchema.nullish(),
142
- insured_person_gender: legalGenderMarkerEnum.nullish(),
142
+ insured_person_gender: exports.legalGenderMarkerEnum.nullish(),
143
143
  insured_person_ssn: zod_1.z.string().max(9).nullish(),
144
144
  relationship_to_insured: zod_1.z.string().max(20).nullish(),
145
145
  });
@@ -175,19 +175,19 @@ exports.patientSchema = zod_1.z
175
175
  middle_name: zod_1.z.string().max(50).nullish(),
176
176
  last_name: zod_1.z.string().max(70), // required for POST and PUT
177
177
  actual_name: zod_1.z.string().max(150).nullish(),
178
- gender_identity: genderIdentityEnum.nullish(),
179
- legal_gender_marker: legalGenderMarkerEnum.nullish(),
180
- pronouns: pronounsEnum.nullish(),
181
- sex: sexEnum, // required for POST and PUT
182
- sexual_orientation: sexualOrientationEnum.nullish(),
178
+ gender_identity: exports.genderIdentityEnum.nullish(),
179
+ legal_gender_marker: exports.legalGenderMarkerEnum.nullish(),
180
+ pronouns: exports.pronounsEnum.nullish(),
181
+ sex: exports.sexEnum, // required for POST and PUT
182
+ sexual_orientation: exports.sexualOrientationEnum.nullish(),
183
183
  primary_physician: extensions_core_1.NumericIdSchema, // required for POST and PUT
184
184
  caregiver_practice: extensions_core_1.NumericIdSchema, // required for POST and PUT
185
185
  preferred_service_location: extensions_core_1.NumericIdSchema.optional().nullish(),
186
186
  dob: extensions_core_1.DateOnlySchema, // required for POST and PUT
187
187
  ssn: zod_1.z.string().length(9).nullish(),
188
- race: raceEnum.nullish(),
188
+ race: exports.raceEnum.nullish(),
189
189
  preferred_language: zod_1.z.string().nullish(),
190
- ethnicity: ethnicityEnum.nullish(),
190
+ ethnicity: exports.ethnicityEnum.nullish(),
191
191
  notes: zod_1.z.string().max(500).nullish(),
192
192
  vip: zod_1.z.boolean().nullish(),
193
193
  address: addressSchema.strict().nullish(),
@@ -214,18 +214,18 @@ exports.updatePatientSchema = zod_1.z
214
214
  middle_name: zod_1.z.string().max(50).nullish(),
215
215
  last_name: zod_1.z.string().max(70).nullish(),
216
216
  actual_name: zod_1.z.string().max(150).nullish(),
217
- gender_identity: genderIdentityEnum.nullish(),
218
- legal_gender_marker: legalGenderMarkerEnum.nullish(),
219
- pronouns: pronounsEnum.nullish(),
220
- sex: sexEnum.nullish(),
221
- sexual_orientation: sexualOrientationEnum.nullish(),
217
+ gender_identity: exports.genderIdentityEnum.nullish(),
218
+ legal_gender_marker: exports.legalGenderMarkerEnum.nullish(),
219
+ pronouns: exports.pronounsEnum.nullish(),
220
+ sex: exports.sexEnum.nullish(),
221
+ sexual_orientation: exports.sexualOrientationEnum.nullish(),
222
222
  primary_physician: extensions_core_1.NumericIdSchema.nullish(),
223
223
  caregiver_practice: extensions_core_1.NumericIdSchema.nullish(),
224
224
  dob: extensions_core_1.DateOnlySchema.nullish(),
225
225
  ssn: zod_1.z.string().length(9).nullish(),
226
- race: raceEnum.nullish(),
226
+ race: exports.raceEnum.nullish(),
227
227
  preferred_language: zod_1.z.string().nullish(),
228
- ethnicity: ethnicityEnum.nullish(),
228
+ ethnicity: exports.ethnicityEnum.nullish(),
229
229
  notes: zod_1.z.string().max(500).nullish(),
230
230
  vip: zod_1.z.boolean().nullish(),
231
231
  address: addressSchema.strict().nullish(),
@@ -1 +1 @@
1
- {"version":3,"file":"patient.zod.js","sourceRoot":"","sources":["../../../../extensions/elation/validation/patient.zod.ts"],"names":[],"mappings":";;;AAAA,mEAA+E;AAC/E,6BAAuB;AAEvB,QAAQ;AACR,MAAM,kBAAkB,GAAG,OAAC,CAAC,IAAI,CAAC;IAChC,SAAS;IACT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Ae,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC7C,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,uBAAe,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACvD,kBAAkB,EAAE,OAAC,CAAC,KAAK,CAAC,uBAAe,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IAC/D,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE;IACpD,cAAc,EAAE,2BAAmB,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACtD,UAAU,EAAE,gBAAgB,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC/C,iBAAiB,EAAE,sBAAsB,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC5D,yBAAyB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE;IAC1D,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE;IACjD,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE;IAChD,cAAc,EAAE,iCAAe,CAAC,OAAO,EAAE,EAAE,qBAAqB;IAChE,QAAQ,EAAE,cAAc,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC3C,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC,OAAO,EAAE;CAC/C,CAAC;KACD,MAAM,EAAE,CAAA"}
@@ -60,7 +60,7 @@
60
60
  "changelog": "# Dropbox Sign changelog"
61
61
  },
62
62
  "elation": {
63
- "readme": "---\ntitle: Elation\ndescription: Elation is a cloud-based health record system designed for healthcare providers, clinics, and medical practices.\n---\n# Elation\n\nElation is a cloud-based health record system designed for healthcare providers, clinics, and medical practices. It offers a range of features including patient scheduling, charting, e-prescribing, billing, and telemedicine. Overall, Elation is designed to streamline the workflow of medical practices, improve patient care, and increase efficiency.\n\n## Setup\n\n### Webhooks\n\nThe integration of webhooks with Elation presents unique challenges and considerations:\n\n- **Non-Discriminative Triggers**: Elation does not differentiate between the creation or update of a resource. Both actions will set off webhook with action `saved`, which might not provide enough discriminative information for some use cases.\n- **Programmatic Setup**: Elation webhooks can only be configured programmatically, as there's no dedicated user interface in Elation to set up webhooks. View [this demo video](https://youtu.be/v8u6E8MEI8E) for a step-by-step guide on how to set up your webhooks in Elation.\n- **Limitation on user-triggered actions**: Elation has a concept called \"Preventing echo\". This means that that any action carried out by the user affiliated with the API credentials that created the subscription doesn't trigger a webhook. You can read more about this behaviour [here](https://docs.elationhealth.com/reference/webhooks). If you are not receiving any webhooks from Elation after setting up your subscription, then this is the reason. A feasible workaround to the above limitation is creating a dedicated user not meant for human interactions but serves the sole purpose of facilitating M2M communication.\n\nIf you need help setting up your webhooks in Elation, reach out! We are happy to help you.\n\n### Extension settings\n\nIn order to use this extension you will need to provide the extension with the following settings:\n\n- Base URL / endpoint URL of the API\n- Authorization URL\n- Client ID for OAuth2 Password authentication\n- Client Secret for OAuth2 Password authentication\n- API Username for OAuth2 Password authentication\n- API Password for OAuth2 Password authentication\n\nNot sure where you can find all of this information? Click [here](https://docs.elationhealth.com/reference/introduction) to have a look at Elation's Developer documentation.\n\n## Actions\n\nThe following actions are supported with Elation today:\n\n### Create Patient\n\nThis action creates a patient in Elation.\n\n**When creating a patient, you will have to specifiy the primary physician and caregiver practice ID:**\n- Primary physician ID: you can retrieve this ID by using the [Find Physicians](https://docs.elationhealth.com/reference/find-physicians) API call, or by using the `Find Physician` action\n- Caregiver Practice ID: similar to the primary physician ID, you can find this ID by using the same API call or action\n\n### Get Patient\n\nUsing a patient identifier, retrieve a patient object from Elation. \n\nNote that when retrieve the mobile phone number, we are tranforming the number to an international format. We apply a heuristic and assume all mobile numbers in Elation are in US national format so we prepend the number with the +1 country code. Having the number in international format unlocks more powerful functionality like sending text messages with 3rd party services like Twilio and MessageBird.\n\n### Update Patient\n\nUpdate a patient in Elation using any fields available in create patient. We use Elation's `PATCH` method to apply partial modifications to a the patient resource (i.e. update only what is needed).\n\n### Create Appointment\n\nEasily create a patient appointment in Elation.\n\nCreating an appointment requires a few strings to be well-formulated:\n- `Scheduled date` must be a datetime string (ISO-8601). For example, January 1, 2023 at noon, Pacific Time (-8 hours) would be shown as such: `2023-01-01T12:00:00.000-08:00`\n- `Reason` must not be free text. This value comes from the following list of appointment types (`Follow-Up`, `Office Visit`, `Physical Exam`, etc.):\n![Appointment types](./assets/elation-appointment-reason.png?raw=true \"Elation Appointment Types\")\n- `Patient` is the patient ID.\n- `Physician` is the physician ID (see `Find Physician`)\n- `Practice` is the practice ID (again, see `Find Physician`)\n\nYou can also include a duration (default to 15 minutes, or whatever has been set in your EHR)\n\n### Get Appointment\n\nRetrieve appointment details using an appointment ID. \n\n### Create Non-Visit Note\n\nThe non-visit note is a special kind of note that, as the name suggests, is not associated with a visit. These notes, in their simplest form, provide a chronological account of information about the patient.\n\n**Additional documentation for some of the action fields:**\n1. Category: The default category is \"Problem\" but you can choose any of \"Past\", \"Family\", \"Social\", \"Instr\", \"PE\", \"ROS\", \"Med\", \"Data\", \"Assessment\", \"Test\", \"Tx\", \"Narrative\", \"Followup\", \"Reason\", \"Plan\", \"Objective\", \"Hpi\", \"Allergies\", \"Habits\", \"Assessplan\", \"Consultant\", \"Attending\", \"Dateprocedure\", \"Surgical\", \"Orders\", \"Referenced\", \"Procedure\".\n2. Chart and document date automatically get set to the current date, i.e. the date when the action is orchestrated.\n\n### Delete Non-Visit Note\n\nDeletes the non-visit note identified by an ID.\n\n### Get Non-Visit Note\n\nRetrieve the details of a non-visit note identified by an ID.\n### Get physician\n\nUsing a physician identifier, retrieve a physician object from Elation.\n\n### Find physicians\n\nSearch a physician based on a set of parameters. The ID of the physician matching the search parameters will be returned. To retrieve the details of the physician, you can use the the \"Get physician\" action.\n\nNote that this action can only support finding one physician so if your search criteria match multiple physicians the action will throw an error.\n\n### ✨ Find Future Appointment\n\nTries to find a **single future appointment** for a patient based on a prompt in natural language. These are the steps executed by the action:\n\n1. All future appointments with status `Scheduled` or `Confirmed` for the patient are retrieved from Elation.\n2. Based on the provided prompt, an LLM tries to find a single appointment from the list of future appointments that matches the prompt.\n3. If multiple appointments exist that match the instructions, only the first one is returned.\n\nIf a matching appointment is found, the action returns the full appointment resource and an explanation of why the LLM chose this appointment.\n\n### ✨ Find Appointments\n\nTries to find **all appointments** for a patient based on a prompt in natural language. These are the steps executed by the action:\n\n1. All appointments, independent their date or status, for the patient are retrieved from Elation.\n2. Based on the provided prompt, an LLM tries to find all appointments from the list appointments that matches the prompt.\n\nThe action returns the full appointment resources of all appointments matching the prompt and an explanation of why the LLM chose these appointments. Additionally, the action returns a count of appointments by status.\n\nExample data points output below.\n\nAppointments (note: only displaying a partial appointment resource)```json\n[\n {\n \"id\": 456,\n \"scheduled_date\": \"2023-07-12T20:44:22Z\",\n \"status\": {\n \"status\": \"Scheduled\",\n },\n },\n {\n \"id\": 456,\n \"scheduled_date\": \"2023-08-12T20:44:22Z\",\n \"status\": {\n \"status\": \"Confirmed\",\n },\n }\n]```\n\nAppointment counts by status\n```json\n{\n \"Scheduled\": 1,\n \"Confirmed\": 1,\n}\n```\n\n### ✨ Update Patient Tags\n\nUses AI to manage patient tags in Elation based on natural language instructions. The action executes the following steps:\n\n1. Retrieves existing patient tags from Elation\n2. Uses an LLM to interpret natural language instructions and determine required tag changes\n3. Updates patient tags in Elation according to the interpreted changes\n\nThe action returns:\n- Complete list of updated tags after changes\n- Detailed explanation of what changes were made and why\n\n**Important Notes:**\n- When adding new tags, specify them in single quotes (e.g., 'Diabetes', 'High-Risk'). Tags must exist in your Elation database\n- Due to Elation API limitations, clearing all tags is implemented by setting a single space tag (' '). This is the recommended workaround from Elation's team\n\n### ✨ Check Patient Tags\n\nUses AI to check if a patient's tags match given instructions in natural language. The action executes the following steps:\n\n1. Retrieves existing patient tags from Elation\n2. Uses an LLM to interpret natural language instructions and check if the patient's tags match the requirements\n3. Returns a boolean result and explanation of the check\n\nThe action returns:\n- `tagsFound`: Boolean indicating if the patient's tags match the instructions\n- `explanation`: Detailed explanation of why the tags match or don't match the instructions\n\n\n**Important Notes:**\n- When specifying exact tag matches, use double quotes (e.g., \"Diabetes\", \"High-Risk\"). Tags must exist in your Elation database\n- The LLM can understand complex logical conditions like \"either/or\", \"both\", \"not\", \"any of\", \"none of\"\n\n### ✨ Cancel Appointments\n\nUses AI to identify and cancel patient appointments based on natural language instructions. The action executes the following steps:\n\n1. Retrieves all upcoming appointments for the patient from Elation\n2. Uses an LLM to interpret the prompt and identify which appointments should be canceled\n3. Processes the cancellation for matched appointments and handles partial success scenarios\n\nThe action returns:\n- `cancelledAppointments`: Array of appointment IDs that were successfully canceled\n- `explanation`: Detailed explanation of which appointments were canceled and why they matched the criteria\n\n",
63
+ "readme": "---\ntitle: Elation\ndescription: Elation is a cloud-based health record system designed for healthcare providers, clinics, and medical practices.\n---\n# Elation\n\nElation is a cloud-based health record system designed for healthcare providers, clinics, and medical practices. It offers a range of features including patient scheduling, charting, e-prescribing, billing, and telemedicine. Overall, Elation is designed to streamline the workflow of medical practices, improve patient care, and increase efficiency.\n\n## Setup\n\n### Webhooks\n\nThe integration of webhooks with Elation presents unique challenges and considerations:\n\n- **Non-Discriminative Triggers**: Elation does not differentiate between the creation or update of a resource. Both actions will set off webhook with action `saved`, which might not provide enough discriminative information for some use cases.\n- **Programmatic Setup**: Elation webhooks can only be configured programmatically, as there's no dedicated user interface in Elation to set up webhooks. View [this demo video](https://youtu.be/v8u6E8MEI8E) for a step-by-step guide on how to set up your webhooks in Elation.\n- **Limitation on user-triggered actions**: Elation has a concept called \"Preventing echo\". This means that that any action carried out by the user affiliated with the API credentials that created the subscription doesn't trigger a webhook. You can read more about this behaviour [here](https://docs.elationhealth.com/reference/webhooks). If you are not receiving any webhooks from Elation after setting up your subscription, then this is the reason. A feasible workaround to the above limitation is creating a dedicated user not meant for human interactions but serves the sole purpose of facilitating M2M communication.\n\nIf you need help setting up your webhooks in Elation, reach out! We are happy to help you.\n\n### Extension settings\n\nIn order to use this extension you will need to provide the extension with the following settings:\n\n- Base URL / endpoint URL of the API\n- Authorization URL\n- Client ID for OAuth2 Password authentication\n- Client Secret for OAuth2 Password authentication\n- API Username for OAuth2 Password authentication\n- API Password for OAuth2 Password authentication\n\nNot sure where you can find all of this information? Click [here](https://docs.elationhealth.com/reference/introduction) to have a look at Elation's Developer documentation.\n\n## Actions\n\nThe following actions are supported with Elation today:\n\n### Create Patient\n\nThis action creates a patient in Elation.\n\n**When creating a patient, you will have to specifiy the primary physician and caregiver practice ID:**\n- Primary physician ID: you can retrieve this ID by using the [Find Physicians](https://docs.elationhealth.com/reference/find-physicians) API call, or by using the `Find Physician` action\n- Caregiver Practice ID: similar to the primary physician ID, you can find this ID by using the same API call or action\n\nIf the Elation API throws an error indicating the patient with the provided information already exists, the action will succeed and the ID of the existing patient will be returned.\n\n### Get Patient\n\nUsing a patient identifier, retrieve a patient object from Elation. \n\nNote that when retrieve the mobile phone number, we are tranforming the number to an international format. We apply a heuristic and assume all mobile numbers in Elation are in US national format so we prepend the number with the +1 country code. Having the number in international format unlocks more powerful functionality like sending text messages with 3rd party services like Twilio and MessageBird.\n\n### Update Patient\n\nUpdate a patient in Elation using any fields available in create patient. We use Elation's `PATCH` method to apply partial modifications to a the patient resource (i.e. update only what is needed).\n\n### Create Appointment\n\nEasily create a patient appointment in Elation.\n\nCreating an appointment requires a few strings to be well-formulated:\n- `Scheduled date` must be a datetime string (ISO-8601). For example, January 1, 2023 at noon, Pacific Time (-8 hours) would be shown as such: `2023-01-01T12:00:00.000-08:00`\n- `Reason` must not be free text. This value comes from the following list of appointment types (`Follow-Up`, `Office Visit`, `Physical Exam`, etc.):\n![Appointment types](./assets/elation-appointment-reason.png?raw=true \"Elation Appointment Types\")\n- `Patient` is the patient ID.\n- `Physician` is the physician ID (see `Find Physician`)\n- `Practice` is the practice ID (again, see `Find Physician`)\n\nYou can also include a duration (default to 15 minutes, or whatever has been set in your EHR)\n\n### Get Appointment\n\nRetrieve appointment details using an appointment ID. \n\n### Create Non-Visit Note\n\nThe non-visit note is a special kind of note that, as the name suggests, is not associated with a visit. These notes, in their simplest form, provide a chronological account of information about the patient.\n\n**Additional documentation for some of the action fields:**\n1. Category: The default category is \"Problem\" but you can choose any of \"Past\", \"Family\", \"Social\", \"Instr\", \"PE\", \"ROS\", \"Med\", \"Data\", \"Assessment\", \"Test\", \"Tx\", \"Narrative\", \"Followup\", \"Reason\", \"Plan\", \"Objective\", \"Hpi\", \"Allergies\", \"Habits\", \"Assessplan\", \"Consultant\", \"Attending\", \"Dateprocedure\", \"Surgical\", \"Orders\", \"Referenced\", \"Procedure\".\n2. Chart and document date automatically get set to the current date, i.e. the date when the action is orchestrated.\n\n### Delete Non-Visit Note\n\nDeletes the non-visit note identified by an ID.\n\n### Get Non-Visit Note\n\nRetrieve the details of a non-visit note identified by an ID.\n### Get physician\n\nUsing a physician identifier, retrieve a physician object from Elation.\n\n### Find physicians\n\nSearch a physician based on a set of parameters. The ID of the physician matching the search parameters will be returned. To retrieve the details of the physician, you can use the the \"Get physician\" action.\n\nNote that this action can only support finding one physician so if your search criteria match multiple physicians the action will throw an error.\n\n### ✨ Find Future Appointment\n\nTries to find a **single future appointment** for a patient based on a prompt in natural language. These are the steps executed by the action:\n\n1. All future appointments with status `Scheduled` or `Confirmed` for the patient are retrieved from Elation.\n2. Based on the provided prompt, an LLM tries to find a single appointment from the list of future appointments that matches the prompt.\n3. If multiple appointments exist that match the instructions, only the first one is returned.\n\nIf a matching appointment is found, the action returns the full appointment resource and an explanation of why the LLM chose this appointment.\n\n### ✨ Find Appointments\n\nTries to find **all appointments** for a patient based on a prompt in natural language. These are the steps executed by the action:\n\n1. All appointments, independent their date or status, for the patient are retrieved from Elation.\n2. Based on the provided prompt, an LLM tries to find all appointments from the list appointments that matches the prompt.\n\nThe action returns the full appointment resources of all appointments matching the prompt and an explanation of why the LLM chose these appointments. Additionally, the action returns a count of appointments by status.\n\nExample data points output below.\n\nAppointments (note: only displaying a partial appointment resource)```json\n[\n {\n \"id\": 456,\n \"scheduled_date\": \"2023-07-12T20:44:22Z\",\n \"status\": {\n \"status\": \"Scheduled\",\n },\n },\n {\n \"id\": 456,\n \"scheduled_date\": \"2023-08-12T20:44:22Z\",\n \"status\": {\n \"status\": \"Confirmed\",\n },\n }\n]```\n\nAppointment counts by status\n```json\n{\n \"Scheduled\": 1,\n \"Confirmed\": 1,\n}\n```\n\n### ✨ Update Patient Tags\n\nUses AI to manage patient tags in Elation based on natural language instructions. The action executes the following steps:\n\n1. Retrieves existing patient tags from Elation\n2. Uses an LLM to interpret natural language instructions and determine required tag changes\n3. Updates patient tags in Elation according to the interpreted changes\n\nThe action returns:\n- Complete list of updated tags after changes\n- Detailed explanation of what changes were made and why\n\n**Important Notes:**\n- When adding new tags, specify them in single quotes (e.g., 'Diabetes', 'High-Risk'). Tags must exist in your Elation database\n- Due to Elation API limitations, clearing all tags is implemented by setting a single space tag (' '). This is the recommended workaround from Elation's team\n\n### ✨ Check Patient Tags\n\nUses AI to check if a patient's tags match given instructions in natural language. The action executes the following steps:\n\n1. Retrieves existing patient tags from Elation\n2. Uses an LLM to interpret natural language instructions and check if the patient's tags match the requirements\n3. Returns a boolean result and explanation of the check\n\nThe action returns:\n- `tagsFound`: Boolean indicating if the patient's tags match the instructions\n- `explanation`: Detailed explanation of why the tags match or don't match the instructions\n\n\n**Important Notes:**\n- When specifying exact tag matches, use double quotes (e.g., \"Diabetes\", \"High-Risk\"). Tags must exist in your Elation database\n- The LLM can understand complex logical conditions like \"either/or\", \"both\", \"not\", \"any of\", \"none of\"\n\n### ✨ Cancel Appointments\n\nUses AI to identify and cancel patient appointments based on natural language instructions. The action executes the following steps:\n\n1. Retrieves all upcoming appointments for the patient from Elation\n2. Uses an LLM to interpret the prompt and identify which appointments should be canceled\n3. Processes the cancellation for matched appointments and handles partial success scenarios\n\nThe action returns:\n- `cancelledAppointments`: Array of appointment IDs that were successfully canceled\n- `explanation`: Detailed explanation of which appointments were canceled and why they matched the criteria\n\n",
64
64
  "changelog": "# Elation Changelog\n\n## January 30, 2024\n\n- New actions\n - Post letter: Using patient and practice identifier, post a new letter to either Provider, Patient or associate it with an existing Referral.\n\n## October 3, 2023\n\n- The README is now more concise with less unneeded detail. A section on the particularities of Elation subscriptions (webhooks) was added.\n- Misc. updates to labels, descriptions, action fields order\n- Action updates\n - Create Non-Visit Note:\n - Simplify the action by removing some optional action fields (we can always expand later)\n - `document_date` and `chart_date` are now automatically set to the date of today so that the corresponding action fields could be removed\n - Create patient\n - `dob` is now a `date` field type (was a string)\n - You can pass a mobile phone number and email when creating a patient\n - Find physician\n - Only returns the physician ID instead of all the details of the physician. To retrieve the details one can use the new `Get physician` action\n - Update patient\n - `dob` is now a `date` field type (was a string)\n - We are now using `PATCH` instead of `PUT` which allows for a partial update, i.e. only update the fields that are needed.\n- New actions\n - Get physician: Using a physician identifier, retrieve a physician object from Elation.\n- Removed actions\n - Update Non-Visit Note\n- Webhooks\n - Fix the type of `patientId` in `patientCreatedOrUpdated` webhook\n - Added `appointmentCreatedOrUpdated` webhook\n\n## September 4, 2023\n\n- rename `onCreatePatient` webhook to `patientCreatedOrUpdated`\n- filter non `saved` actions for this webhook\n\n## August 21, 2023\n\n- make non-visit note text a large input (`StringType.TEXT`)\n\n## May 23, 2024\n\n- add patient_status.status to patient object in getPatient action\n- add status to updatePatient action\n"
65
65
  },
66
66
  "epic": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awell-health/awell-extensions",
3
- "version": "2.0.226",
3
+ "version": "2.0.227",
4
4
  "packageManager": "yarn@4.5.3",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": {