@awell-health/awell-extensions 1.1.0-beta10 → 1.1.0-beta11
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/extensions/athenahealth/actions/index.d.ts +5 -5
- package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.test.js.map +1 -1
- package/dist/extensions/elation/actions/index.d.ts +12 -12
- package/dist/extensions/experimental/index.js +2 -0
- package/dist/extensions/experimental/index.js.map +1 -1
- package/dist/extensions/experimental/schemas.d.ts +2 -0
- package/dist/extensions/experimental/schemas.js +44 -0
- package/dist/extensions/experimental/schemas.js.map +1 -0
- package/dist/extensions/experimental/v1/actions/returnObject/index.d.ts +5 -1
- package/dist/extensions/experimental/v1/actions/returnObject/index.js +13 -2
- package/dist/extensions/experimental/v1/actions/returnObject/index.js.map +1 -1
- package/dist/extensions/healthie/actions/index.d.ts +23 -23
- package/dist/extensions/icd/actions/index.d.ts +1 -1
- package/dist/extensions/metriport/actions/index.d.ts +7 -7
- package/dist/extensions/talkDesk/actions/index.d.ts +1 -1
- package/dist/extensions/textline/actions/index.d.ts +3 -3
- package/dist/extensions/wellinks-public/actions/index.d.ts +9 -9
- package/dist/extensions/westFax/actions/index.d.ts +1 -1
- package/package.json +2 -2
@@ -50,7 +50,7 @@ declare const actions: {
|
|
50
50
|
required: true;
|
51
51
|
description: string;
|
52
52
|
};
|
53
|
-
}, "email" | "firstName" | "lastName" | "dob"
|
53
|
+
}, "email" | "firstName" | "lastName" | "dob">;
|
54
54
|
getAppointment: import("@awell-health/extensions-core").Action<{
|
55
55
|
appointmentId: {
|
56
56
|
id: string;
|
@@ -102,7 +102,7 @@ declare const actions: {
|
|
102
102
|
required: true;
|
103
103
|
description: string;
|
104
104
|
};
|
105
|
-
}, "startTime" | "status" | "date" | "duration" | "patientId" | "appointmentTypeId" | "appointmentTypeName"
|
105
|
+
}, "startTime" | "status" | "date" | "duration" | "patientId" | "appointmentTypeId" | "appointmentTypeName">;
|
106
106
|
createPatient: import("@awell-health/extensions-core").Action<{
|
107
107
|
departmentid: {
|
108
108
|
id: string;
|
@@ -182,7 +182,7 @@ declare const actions: {
|
|
182
182
|
required: true;
|
183
183
|
description: string;
|
184
184
|
};
|
185
|
-
}, "createdPatientId"
|
185
|
+
}, "createdPatientId">;
|
186
186
|
createAppointmentNote: import("@awell-health/extensions-core").Action<{
|
187
187
|
appointmentid: {
|
188
188
|
id: string;
|
@@ -248,7 +248,7 @@ declare const actions: {
|
|
248
248
|
required: true;
|
249
249
|
description: string;
|
250
250
|
};
|
251
|
-
}, never
|
251
|
+
}, never>;
|
252
252
|
addClinicalDocument: import("@awell-health/extensions-core").Action<{
|
253
253
|
departmentid: {
|
254
254
|
id: string;
|
@@ -314,6 +314,6 @@ declare const actions: {
|
|
314
314
|
required: true;
|
315
315
|
description: string;
|
316
316
|
};
|
317
|
-
}, "clinicalDocumentId"
|
317
|
+
}, "clinicalDocumentId">;
|
318
318
|
};
|
319
319
|
export default actions;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"searchPatientsByPatientCode.test.js","sourceRoot":"","sources":["../../../../../../extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.test.ts"],"names":[],"mappings":";;;;;AAAA,oDAA8D;
|
1
|
+
{"version":3,"file":"searchPatientsByPatientCode.test.js","sourceRoot":"","sources":["../../../../../../extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.test.ts"],"names":[],"mappings":";;;;;AAAA,oDAA8D;AAC9D,kEAAyC;AACzC,+EAA2E;AAE3E,IAAI,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAA;AAE/B,MAAM,MAAM,GAAG,IAAI;KAChB,KAAK,CAAC,kBAAQ,CAAC,SAAS,EAAE,6BAA6B,CAAC;KACxD,sBAAsB,CACrB,IAAI,CAAC,EAAE,EAAE,CAAC,iBAAiB,CAAC;IAC1B;QACE,EAAE,EAAE,cAAc;QAClB,OAAO,EAAE;YACP,YAAY,EAAE,KAAK;SACpB;KACF;IACD;QACE,EAAE,EAAE,cAAc;QAClB,OAAO,EAAE;YACP,YAAY,EAAE,KAAK;SACpB;KACF;CACF,CAAC,CACH,CAAA;AAEH,QAAQ,CAAC,iCAAiC,EAAE,GAAG,EAAE;IAC/C,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;IAC5B,MAAM,OAAO,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;IAEzB,UAAU,CAAC,GAAG,EAAE;QACd,UAAU,CAAC,SAAS,EAAE,CAAA;QACtB,OAAO,CAAC,SAAS,EAAE,CAAA;IACrB,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,qCAAqC,EAAE,KAAK,IAAI,EAAE;QACrD,MAAM,yDAA2B,CAAC,iBAAiB,CACjD,IAAA,2BAAmB,EAAC;YAClB,OAAO,EAAE;gBACP,EAAE,EAAE,cAAc;gBAClB,OAAO,EAAE;oBACP,YAAY,EAAE,KAAK;iBACpB;aACF;YACD,MAAM,EAAE;gBACN,mBAAmB,EAAE,yBAAyB;aAC/C;YACD,QAAQ,EAAE;gBACR,MAAM,EAAE,YAAY;gBACpB,MAAM,EAAE,YAAY;aACrB;SACF,CAAC,EACF,UAAU,EACV,OAAO,CACR,CAAA;QAED,MAAM,CAAC,MAAM,CAAC,CAAC,gBAAgB,EAAE,CAAA;QACjC,MAAM,CAAC,UAAU,CAAC,CAAC,oBAAoB,CAAC;YACtC,WAAW,EAAE;gBACX,oBAAoB,EAAE,MAAM;gBAC5B,qBAAqB,EAAE,GAAG;gBAC1B,eAAe,EAAE,cAAc;aAChC;SACF,CAAC,CAAA;QACF,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAA;IACxC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
@@ -50,7 +50,7 @@ export declare const actions: {
|
|
50
50
|
description: string;
|
51
51
|
required: true;
|
52
52
|
};
|
53
|
-
}, "email" | "sex" | "firstName" | "lastName" | "mobilePhone" | "preferredLanguage" | "notes" | "pronouns" | "dob" | "ssn" | "race" | "ethnicity" | "primaryPhysicianId" | "caregiverPracticeId" | "middleName" | "actualName" | "genderIdentity" | "legalGenderMarker" | "sexualOrientation" | "previousFirstName" | "previousLastName"
|
53
|
+
}, "email" | "sex" | "firstName" | "lastName" | "mobilePhone" | "preferredLanguage" | "notes" | "pronouns" | "dob" | "ssn" | "race" | "ethnicity" | "primaryPhysicianId" | "caregiverPracticeId" | "middleName" | "actualName" | "genderIdentity" | "legalGenderMarker" | "sexualOrientation" | "previousFirstName" | "previousLastName">;
|
54
54
|
createPatient: import("@awell-health/extensions-core").Action<{
|
55
55
|
firstName: {
|
56
56
|
id: string;
|
@@ -230,7 +230,7 @@ export declare const actions: {
|
|
230
230
|
description: string;
|
231
231
|
required: true;
|
232
232
|
};
|
233
|
-
}, "patientId"
|
233
|
+
}, "patientId">;
|
234
234
|
updatePatient: import("@awell-health/extensions-core").Action<{
|
235
235
|
patientId: {
|
236
236
|
id: string;
|
@@ -402,7 +402,7 @@ export declare const actions: {
|
|
402
402
|
description: string;
|
403
403
|
required: true;
|
404
404
|
};
|
405
|
-
}, never
|
405
|
+
}, never>;
|
406
406
|
createAppointment: import("@awell-health/extensions-core").Action<{
|
407
407
|
patientId: {
|
408
408
|
id: string;
|
@@ -506,7 +506,7 @@ export declare const actions: {
|
|
506
506
|
description: string;
|
507
507
|
required: true;
|
508
508
|
};
|
509
|
-
}, "appointmentId"
|
509
|
+
}, "appointmentId">;
|
510
510
|
getAppointment: import("@awell-health/extensions-core").Action<{
|
511
511
|
appointmentId: {
|
512
512
|
id: string;
|
@@ -558,7 +558,7 @@ export declare const actions: {
|
|
558
558
|
description: string;
|
559
559
|
required: true;
|
560
560
|
};
|
561
|
-
}, "reason" | "description" | "duration" | "patientId" | "scheduledDate" | "physicianId" | "practiceId" | "serviceLocationId" | "telehealthDetails"
|
561
|
+
}, "reason" | "description" | "duration" | "patientId" | "scheduledDate" | "physicianId" | "practiceId" | "serviceLocationId" | "telehealthDetails">;
|
562
562
|
getPhysician: import("@awell-health/extensions-core").Action<{
|
563
563
|
physicianId: {
|
564
564
|
id: string;
|
@@ -610,7 +610,7 @@ export declare const actions: {
|
|
610
610
|
description: string;
|
611
611
|
required: true;
|
612
612
|
};
|
613
|
-
}, "caregiverPracticeId" | "physicianFirstName" | "physicianLastName" | "physicianCredentials" | "physicianEmail" | "physicianNPI" | "physicianUserId"
|
613
|
+
}, "caregiverPracticeId" | "physicianFirstName" | "physicianLastName" | "physicianCredentials" | "physicianEmail" | "physicianNPI" | "physicianUserId">;
|
614
614
|
findPhysician: import("@awell-health/extensions-core").Action<{
|
615
615
|
firstName: {
|
616
616
|
id: string;
|
@@ -676,7 +676,7 @@ export declare const actions: {
|
|
676
676
|
description: string;
|
677
677
|
required: true;
|
678
678
|
};
|
679
|
-
}, "caregiverPracticeId" | "physicianId" | "physicianFirstName" | "physicianLastName" | "physicianCredentials" | "physicianEmail" | "physicianNPI" | "physicianUserId"
|
679
|
+
}, "caregiverPracticeId" | "physicianId" | "physicianFirstName" | "physicianLastName" | "physicianCredentials" | "physicianEmail" | "physicianNPI" | "physicianUserId">;
|
680
680
|
createNonVisitNote: import("@awell-health/extensions-core").Action<{
|
681
681
|
patientId: {
|
682
682
|
id: string;
|
@@ -756,7 +756,7 @@ export declare const actions: {
|
|
756
756
|
description: string;
|
757
757
|
required: true;
|
758
758
|
};
|
759
|
-
}, "nonVisitNoteId" | "nonVisitNoteBulletId"
|
759
|
+
}, "nonVisitNoteId" | "nonVisitNoteBulletId">;
|
760
760
|
getNonVisitNote: import("@awell-health/extensions-core").Action<{
|
761
761
|
nonVisitNoteId: {
|
762
762
|
id: string;
|
@@ -808,7 +808,7 @@ export declare const actions: {
|
|
808
808
|
description: string;
|
809
809
|
required: true;
|
810
810
|
};
|
811
|
-
}, "text" | "patientId" | "authorId" | "tags" | "practiceId" | "documentDate" | "chartDate"
|
811
|
+
}, "text" | "patientId" | "authorId" | "tags" | "practiceId" | "documentDate" | "chartDate">;
|
812
812
|
deleteNonVisitNote: import("@awell-health/extensions-core").Action<{
|
813
813
|
nonVisitNoteId: {
|
814
814
|
id: string;
|
@@ -860,7 +860,7 @@ export declare const actions: {
|
|
860
860
|
description: string;
|
861
861
|
required: true;
|
862
862
|
};
|
863
|
-
}, string
|
863
|
+
}, string>;
|
864
864
|
postLetter: import("@awell-health/extensions-core").Action<{
|
865
865
|
patientId: {
|
866
866
|
id: string;
|
@@ -954,7 +954,7 @@ export declare const actions: {
|
|
954
954
|
description: string;
|
955
955
|
required: true;
|
956
956
|
};
|
957
|
-
}, "letterId"
|
957
|
+
}, "letterId">;
|
958
958
|
createLabOrder: import("@awell-health/extensions-core").Action<{
|
959
959
|
patientId: {
|
960
960
|
id: string;
|
@@ -1055,5 +1055,5 @@ export declare const actions: {
|
|
1055
1055
|
description: string;
|
1056
1056
|
required: true;
|
1057
1057
|
};
|
1058
|
-
}, "labOrderId" | "printableLabOrderView"
|
1058
|
+
}, "labOrderId" | "printableLabOrderView">;
|
1059
1059
|
};
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Experimental = void 0;
|
4
4
|
const actions_1 = require("./v1/actions");
|
5
5
|
const settings_1 = require("./settings");
|
6
|
+
const schemas_1 = require("./schemas");
|
6
7
|
const extensions_core_1 = require("@awell-health/extensions-core");
|
7
8
|
exports.Experimental = {
|
8
9
|
key: 'experimental',
|
@@ -14,6 +15,7 @@ exports.Experimental = {
|
|
14
15
|
authorType: extensions_core_1.AuthorType.AWELL,
|
15
16
|
},
|
16
17
|
settings: settings_1.settings,
|
18
|
+
schemas: schemas_1.schemas,
|
17
19
|
actions: {
|
18
20
|
requestVideoVisit: actions_1.requestVideoVisit,
|
19
21
|
enterMedication: actions_1.enterMedication,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../extensions/experimental/index.ts"],"names":[],"mappings":";;;AAAA,0CAOqB;AAErB,yCAAqC;AACrC,mEAAoE;AAEvD,QAAA,YAAY,GAAc;IACrC,GAAG,EAAE,cAAc;IACnB,KAAK,EAAE,wBAAwB;IAC/B,QAAQ,EAAE,yDAAyD;IACnE,WAAW,EAAE,qCAAqC;IAClD,QAAQ,EAAE,0BAAQ,CAAC,QAAQ;IAC3B,MAAM,EAAE;QACN,UAAU,EAAE,4BAAU,CAAC,KAAK;KAC7B;IACD,QAAQ,EAAR,mBAAQ;IACR,OAAO,EAAE;QACP,iBAAiB,EAAjB,2BAAiB;QACjB,eAAe,EAAf,yBAAe;QACf,IAAI,EAAJ,cAAI;QACJ,qBAAqB,EAArB,+BAAqB;QACrB,QAAQ,EAAR,kBAAQ;QACR,YAAY,EAAZ,sBAAY;KACb;CACF,CAAA"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../extensions/experimental/index.ts"],"names":[],"mappings":";;;AAAA,0CAOqB;AAErB,yCAAqC;AACrC,uCAAmC;AACnC,mEAAoE;AAEvD,QAAA,YAAY,GAAc;IACrC,GAAG,EAAE,cAAc;IACnB,KAAK,EAAE,wBAAwB;IAC/B,QAAQ,EAAE,yDAAyD;IACnE,WAAW,EAAE,qCAAqC;IAClD,QAAQ,EAAE,0BAAQ,CAAC,QAAQ;IAC3B,MAAM,EAAE;QACN,UAAU,EAAE,4BAAU,CAAC,KAAK;KAC7B;IACD,QAAQ,EAAR,mBAAQ;IACR,OAAO,EAAP,iBAAO;IACP,OAAO,EAAE;QACP,iBAAiB,EAAjB,2BAAiB;QACjB,eAAe,EAAf,yBAAe;QACf,IAAI,EAAJ,cAAI;QACJ,qBAAqB,EAArB,+BAAqB;QACrB,QAAQ,EAAR,kBAAQ;QACR,YAAY,EAAZ,sBAAY;KACb;CACF,CAAA"}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.schemas = void 0;
|
4
|
+
exports.schemas = {
|
5
|
+
example: {
|
6
|
+
$schema: 'http://json-schema.org/draft-06/schema#',
|
7
|
+
title: 'example',
|
8
|
+
description: 'A schema for validating a mock object with various property types',
|
9
|
+
type: 'object',
|
10
|
+
properties: {
|
11
|
+
message: {
|
12
|
+
type: 'string',
|
13
|
+
description: 'A greeting message',
|
14
|
+
},
|
15
|
+
number: {
|
16
|
+
type: 'integer',
|
17
|
+
description: 'A numeric value',
|
18
|
+
},
|
19
|
+
array: {
|
20
|
+
type: 'array',
|
21
|
+
description: 'An array of integers',
|
22
|
+
items: {
|
23
|
+
type: 'integer',
|
24
|
+
},
|
25
|
+
},
|
26
|
+
nested: {
|
27
|
+
type: 'object',
|
28
|
+
description: 'A nested object with a key-value pair',
|
29
|
+
properties: {
|
30
|
+
key: {
|
31
|
+
type: 'string',
|
32
|
+
},
|
33
|
+
},
|
34
|
+
required: ['key'],
|
35
|
+
},
|
36
|
+
boolean: {
|
37
|
+
type: 'boolean',
|
38
|
+
description: 'A boolean value',
|
39
|
+
},
|
40
|
+
},
|
41
|
+
required: ['message', 'number', 'array', 'nested', 'boolean'],
|
42
|
+
},
|
43
|
+
};
|
44
|
+
//# sourceMappingURL=schemas.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../extensions/experimental/schemas.ts"],"names":[],"mappings":";;;AAEa,QAAA,OAAO,GAA2B;IAC7C,OAAO,EAAE;QACP,OAAO,EAAE,yCAAyC;QAClD,KAAK,EAAE,SAAS;QAChB,WAAW,EACT,mEAAmE;QACrE,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oBAAoB;aAClC;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,iBAAiB;aAC/B;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,sBAAsB;gBACnC,KAAK,EAAE;oBACL,IAAI,EAAE,SAAS;iBAChB;aACF;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uCAAuC;gBACpD,UAAU,EAAE;oBACV,GAAG,EAAE;wBACH,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,QAAQ,EAAE,CAAC,KAAK,CAAC;aAClB;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,iBAAiB;aAC/B;SACF;QACD,QAAQ,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC;KAC9D;CACF,CAAA"}
|
@@ -1,9 +1,13 @@
|
|
1
|
-
import { type Action, FieldType } from '@awell-health/extensions-core';
|
1
|
+
import { type Action, FieldType, JsonSchemaSourceSystem } from '@awell-health/extensions-core';
|
2
2
|
import { type settings } from '../../../settings';
|
3
3
|
export declare const dataPoints: {
|
4
4
|
object: {
|
5
5
|
key: string;
|
6
6
|
valueType: "json";
|
7
|
+
jsonSchemaSource: {
|
8
|
+
system: JsonSchemaSourceSystem.EXTENSION;
|
9
|
+
key: "example";
|
10
|
+
};
|
7
11
|
};
|
8
12
|
};
|
9
13
|
declare const fields: {
|
@@ -7,6 +7,10 @@ exports.dataPoints = {
|
|
7
7
|
object: {
|
8
8
|
key: 'object',
|
9
9
|
valueType: 'json',
|
10
|
+
jsonSchemaSource: {
|
11
|
+
system: extensions_core_1.JsonSchemaSourceSystem.EXTENSION,
|
12
|
+
key: 'example',
|
13
|
+
},
|
10
14
|
},
|
11
15
|
};
|
12
16
|
const fields = {
|
@@ -26,17 +30,24 @@ exports.returnObject = {
|
|
26
30
|
dataPoints: exports.dataPoints,
|
27
31
|
previewable: false,
|
28
32
|
onActivityCreated: async (payload, onComplete, onError) => {
|
33
|
+
const mockObject = {
|
34
|
+
message: 'Hello World',
|
35
|
+
number: 123,
|
36
|
+
array: [1, 2, 3],
|
37
|
+
nested: { key: 'value' },
|
38
|
+
boolean: true,
|
39
|
+
};
|
29
40
|
if (payload.fields.array === true) {
|
30
41
|
await onComplete({
|
31
42
|
data_points: {
|
32
|
-
object: JSON.stringify([
|
43
|
+
object: JSON.stringify([mockObject]),
|
33
44
|
},
|
34
45
|
});
|
35
46
|
}
|
36
47
|
else {
|
37
48
|
await onComplete({
|
38
49
|
data_points: {
|
39
|
-
object: JSON.stringify(
|
50
|
+
object: JSON.stringify(mockObject),
|
40
51
|
},
|
41
52
|
});
|
42
53
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../extensions/experimental/v1/actions/returnObject/index.ts"],"names":[],"mappings":";;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../extensions/experimental/v1/actions/returnObject/index.ts"],"names":[],"mappings":";;;AAAA,mEAMsC;AAEtC,mEAAwD;AAE3C,QAAA,UAAU,GAAG;IACxB,MAAM,EAAE;QACN,GAAG,EAAE,QAAQ;QACb,SAAS,EAAE,MAAM;QACjB,gBAAgB,EAAE;YAChB,MAAM,EAAE,wCAAsB,CAAC,SAAS;YACxC,GAAG,EAAE,SAAS;SACf;KACF;CACuD,CAAA;AAE1D,MAAM,MAAM,GAAG;IACb,KAAK,EAAE;QACL,EAAE,EAAE,OAAO;QACX,KAAK,EAAE,8BAA8B;QACrC,IAAI,EAAE,2BAAS,CAAC,OAAO;QACvB,QAAQ,EAAE,KAAK;KAChB;CAC8B,CAAA;AAEpB,QAAA,YAAY,GAA2C;IAClE,GAAG,EAAE,cAAc;IACnB,QAAQ,EAAE,0BAAQ,CAAC,QAAQ;IAC3B,KAAK,EAAE,eAAe;IACtB,WAAW,EAAE,8CAA8C;IAC3D,MAAM;IACN,UAAU,EAAV,kBAAU;IACV,WAAW,EAAE,KAAK;IAClB,iBAAiB,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAiB,EAAE;QACvE,MAAM,UAAU,GAAG;YACjB,OAAO,EAAE,aAAa;YACtB,MAAM,EAAE,GAAG;YACX,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;YAChB,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE;YACxB,OAAO,EAAE,IAAI;SACd,CAAA;QACD,IAAI,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,IAAI,EAAE;YACjC,MAAM,UAAU,CAAC;gBACf,WAAW,EAAE;oBACX,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,UAAU,CAAC,CAAC;iBACrC;aACF,CAAC,CAAA;SACH;aAAM;YACL,MAAM,UAAU,CAAC;gBACf,WAAW,EAAE;oBACX,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC;iBACnC;aACF,CAAC,CAAA;SACH;IACH,CAAC;CACF,CAAA"}
|
@@ -49,7 +49,7 @@ export declare const actions: {
|
|
49
49
|
required: true;
|
50
50
|
description: string;
|
51
51
|
};
|
52
|
-
}, "appointmentId"
|
52
|
+
}, "appointmentId">;
|
53
53
|
createTask: import("@awell-health/extensions-core").Action<{
|
54
54
|
patientId: {
|
55
55
|
id: string;
|
@@ -123,7 +123,7 @@ export declare const actions: {
|
|
123
123
|
required: true;
|
124
124
|
description: string;
|
125
125
|
};
|
126
|
-
}, "taskId"
|
126
|
+
}, "taskId">;
|
127
127
|
getAppointment: import("@awell-health/extensions-core").Action<{
|
128
128
|
appointmentId: {
|
129
129
|
id: string;
|
@@ -146,7 +146,7 @@ export declare const actions: {
|
|
146
146
|
required: true;
|
147
147
|
description: string;
|
148
148
|
};
|
149
|
-
}, "date" | "patientId" | "appointmentTypeId" | "appointmentTypeName" | "appointmentStatus" | "contactType"
|
149
|
+
}, "date" | "patientId" | "appointmentTypeId" | "appointmentTypeName" | "appointmentStatus" | "contactType">;
|
150
150
|
getPatient: import("@awell-health/extensions-core").Action<{
|
151
151
|
patientId: {
|
152
152
|
id: string;
|
@@ -169,7 +169,7 @@ export declare const actions: {
|
|
169
169
|
required: true;
|
170
170
|
description: string;
|
171
171
|
};
|
172
|
-
}, "email" | "firstName" | "lastName" | "gender" | "dob" | "isoSex" | "phoneNumber" | "primaryProviderId" | "groupName"
|
172
|
+
}, "email" | "firstName" | "lastName" | "gender" | "dob" | "isoSex" | "phoneNumber" | "primaryProviderId" | "groupName">;
|
173
173
|
sendChatMessage: import("@awell-health/extensions-core").Action<{
|
174
174
|
healthie_patient_id: {
|
175
175
|
id: string;
|
@@ -207,7 +207,7 @@ export declare const actions: {
|
|
207
207
|
required: true;
|
208
208
|
description: string;
|
209
209
|
};
|
210
|
-
}, "conversationId"
|
210
|
+
}, "conversationId">;
|
211
211
|
createPatient: import("@awell-health/extensions-core").Action<{
|
212
212
|
first_name: {
|
213
213
|
id: string;
|
@@ -276,7 +276,7 @@ export declare const actions: {
|
|
276
276
|
required: true;
|
277
277
|
description: string;
|
278
278
|
};
|
279
|
-
}, "healthiePatientId"
|
279
|
+
}, "healthiePatientId">;
|
280
280
|
updatePatient: import("@awell-health/extensions-core").Action<{
|
281
281
|
id: {
|
282
282
|
id: string;
|
@@ -384,7 +384,7 @@ export declare const actions: {
|
|
384
384
|
required: true;
|
385
385
|
description: string;
|
386
386
|
};
|
387
|
-
}, string
|
387
|
+
}, string>;
|
388
388
|
applyTagToPatient: import("@awell-health/extensions-core").Action<{
|
389
389
|
id: {
|
390
390
|
id: string;
|
@@ -415,7 +415,7 @@ export declare const actions: {
|
|
415
415
|
required: true;
|
416
416
|
description: string;
|
417
417
|
};
|
418
|
-
}, string
|
418
|
+
}, string>;
|
419
419
|
removeTagFromPatient: import("@awell-health/extensions-core").Action<{
|
420
420
|
id: {
|
421
421
|
id: string;
|
@@ -446,7 +446,7 @@ export declare const actions: {
|
|
446
446
|
required: true;
|
447
447
|
description: string;
|
448
448
|
};
|
449
|
-
}, string
|
449
|
+
}, string>;
|
450
450
|
createChartingNote: import("@awell-health/extensions-core").Action<{
|
451
451
|
healthie_patient_id: {
|
452
452
|
id: string;
|
@@ -498,7 +498,7 @@ export declare const actions: {
|
|
498
498
|
required: true;
|
499
499
|
description: string;
|
500
500
|
};
|
501
|
-
}, string
|
501
|
+
}, string>;
|
502
502
|
sendFormCompletionRequest: import("@awell-health/extensions-core").Action<{
|
503
503
|
healthie_patient_id: {
|
504
504
|
id: string;
|
@@ -585,7 +585,7 @@ export declare const actions: {
|
|
585
585
|
required: true;
|
586
586
|
description: string;
|
587
587
|
};
|
588
|
-
}, string
|
588
|
+
}, string>;
|
589
589
|
archivePatient: import("@awell-health/extensions-core").Action<{
|
590
590
|
id: {
|
591
591
|
id: string;
|
@@ -609,7 +609,7 @@ export declare const actions: {
|
|
609
609
|
required: true;
|
610
610
|
description: string;
|
611
611
|
};
|
612
|
-
}, string
|
612
|
+
}, string>;
|
613
613
|
/**
|
614
614
|
* There is bug in Healthie that prevents linking an address with a patient
|
615
615
|
* Waiting for fix
|
@@ -644,7 +644,7 @@ export declare const actions: {
|
|
644
644
|
required: true;
|
645
645
|
description: string;
|
646
646
|
};
|
647
|
-
}, string
|
647
|
+
}, string>;
|
648
648
|
deleteAppointment: import("@awell-health/extensions-core").Action<{
|
649
649
|
id: {
|
650
650
|
id: string;
|
@@ -668,7 +668,7 @@ export declare const actions: {
|
|
668
668
|
required: true;
|
669
669
|
description: string;
|
670
670
|
};
|
671
|
-
}, string
|
671
|
+
}, string>;
|
672
672
|
cancelAppointment: import("@awell-health/extensions-core").Action<{
|
673
673
|
id: {
|
674
674
|
id: string;
|
@@ -692,7 +692,7 @@ export declare const actions: {
|
|
692
692
|
required: true;
|
693
693
|
description: string;
|
694
694
|
};
|
695
|
-
}, string
|
695
|
+
}, string>;
|
696
696
|
/**
|
697
697
|
* Specs of this API endpoint are unclear so we are not sure what
|
698
698
|
* functional value it delivers in the current state. Needs to be revisited.
|
@@ -720,7 +720,7 @@ export declare const actions: {
|
|
720
720
|
required: true;
|
721
721
|
description: string;
|
722
722
|
};
|
723
|
-
}, string
|
723
|
+
}, string>;
|
724
724
|
completeTask: import("@awell-health/extensions-core").Action<{
|
725
725
|
id: {
|
726
726
|
id: string;
|
@@ -744,7 +744,7 @@ export declare const actions: {
|
|
744
744
|
required: true;
|
745
745
|
description: string;
|
746
746
|
};
|
747
|
-
}, string
|
747
|
+
}, string>;
|
748
748
|
assignPatientToGroup: import("@awell-health/extensions-core").Action<{
|
749
749
|
id: {
|
750
750
|
id: string;
|
@@ -775,7 +775,7 @@ export declare const actions: {
|
|
775
775
|
required: true;
|
776
776
|
description: string;
|
777
777
|
};
|
778
|
-
}, string
|
778
|
+
}, string>;
|
779
779
|
getMetricEntry: import("@awell-health/extensions-core").Action<{
|
780
780
|
patientId: {
|
781
781
|
id: string;
|
@@ -806,7 +806,7 @@ export declare const actions: {
|
|
806
806
|
required: true;
|
807
807
|
description: string;
|
808
808
|
};
|
809
|
-
}, "metricId" | "metricValue" | "createdAt"
|
809
|
+
}, "metricId" | "metricValue" | "createdAt">;
|
810
810
|
updatePatientQuickNote: import("@awell-health/extensions-core").Action<{
|
811
811
|
patientId: {
|
812
812
|
id: string;
|
@@ -842,7 +842,7 @@ export declare const actions: {
|
|
842
842
|
required: true;
|
843
843
|
description: string;
|
844
844
|
};
|
845
|
-
}, string
|
845
|
+
}, string>;
|
846
846
|
createMetricEntry: import("@awell-health/extensions-core").Action<{
|
847
847
|
userId: {
|
848
848
|
id: string;
|
@@ -880,7 +880,7 @@ export declare const actions: {
|
|
880
880
|
required: true;
|
881
881
|
description: string;
|
882
882
|
};
|
883
|
-
}, string
|
883
|
+
}, string>;
|
884
884
|
checkPatientTag: import("@awell-health/extensions-core").Action<{
|
885
885
|
id: {
|
886
886
|
id: string;
|
@@ -909,7 +909,7 @@ export declare const actions: {
|
|
909
909
|
required: true;
|
910
910
|
description: string;
|
911
911
|
};
|
912
|
-
}, "hasTag"
|
912
|
+
}, "hasTag">;
|
913
913
|
checkScheduledAppointments: import("@awell-health/extensions-core").Action<{
|
914
914
|
patientId: {
|
915
915
|
id: string;
|
@@ -939,5 +939,5 @@ export declare const actions: {
|
|
939
939
|
required: true;
|
940
940
|
description: string;
|
941
941
|
};
|
942
|
-
}, "isScheduled"
|
942
|
+
}, "isScheduled">;
|
943
943
|
};
|
@@ -22,7 +22,7 @@ export declare const actions: {
|
|
22
22
|
description: string;
|
23
23
|
required: false;
|
24
24
|
};
|
25
|
-
}, "state" | "email" | "phone" | "firstName" | "lastName" | "city" | "country" | "zip" | "dob" | "addressLine1" | "addressLine2" | "genderAtBirth" | "driversLicenseValue" | "driversLicenseState"
|
25
|
+
}, "state" | "email" | "phone" | "firstName" | "lastName" | "city" | "country" | "zip" | "dob" | "addressLine1" | "addressLine2" | "genderAtBirth" | "driversLicenseValue" | "driversLicenseState">;
|
26
26
|
createPatient: import("@awell-health/extensions-core").Action<{
|
27
27
|
phone: {
|
28
28
|
id: string;
|
@@ -139,7 +139,7 @@ export declare const actions: {
|
|
139
139
|
description: string;
|
140
140
|
required: false;
|
141
141
|
};
|
142
|
-
}, "patientId"
|
142
|
+
}, "patientId">;
|
143
143
|
updatePatient: import("@awell-health/extensions-core").Action<{
|
144
144
|
phone: {
|
145
145
|
id: string;
|
@@ -263,7 +263,7 @@ export declare const actions: {
|
|
263
263
|
description: string;
|
264
264
|
required: false;
|
265
265
|
};
|
266
|
-
}, string
|
266
|
+
}, string>;
|
267
267
|
deletePatient: import("@awell-health/extensions-core").Action<{
|
268
268
|
facilityId: {
|
269
269
|
id: string;
|
@@ -294,7 +294,7 @@ export declare const actions: {
|
|
294
294
|
description: string;
|
295
295
|
required: false;
|
296
296
|
};
|
297
|
-
}, string
|
297
|
+
}, string>;
|
298
298
|
listDocuments: import("@awell-health/extensions-core").Action<{
|
299
299
|
patientId: {
|
300
300
|
id: string;
|
@@ -325,7 +325,7 @@ export declare const actions: {
|
|
325
325
|
description: string;
|
326
326
|
required: false;
|
327
327
|
};
|
328
|
-
}, "queryStatus" | "queryProgressTotal" | "queryProgressComplete"
|
328
|
+
}, "queryStatus" | "queryProgressTotal" | "queryProgressComplete">;
|
329
329
|
queryDocs: import("@awell-health/extensions-core").Action<{
|
330
330
|
patientId: {
|
331
331
|
id: string;
|
@@ -356,7 +356,7 @@ export declare const actions: {
|
|
356
356
|
description: string;
|
357
357
|
required: false;
|
358
358
|
};
|
359
|
-
}, "queryStatus" | "queryProgressTotal" | "queryProgressComplete"
|
359
|
+
}, "queryStatus" | "queryProgressTotal" | "queryProgressComplete">;
|
360
360
|
getUrl: import("@awell-health/extensions-core").Action<{
|
361
361
|
fileName: {
|
362
362
|
id: string;
|
@@ -380,5 +380,5 @@ export declare const actions: {
|
|
380
380
|
description: string;
|
381
381
|
required: false;
|
382
382
|
};
|
383
|
-
}, "url"
|
383
|
+
}, "url">;
|
384
384
|
};
|
@@ -30,7 +30,7 @@ export declare const actions: {
|
|
30
30
|
required: true;
|
31
31
|
description: string;
|
32
32
|
};
|
33
|
-
}, string
|
33
|
+
}, string>;
|
34
34
|
getMessages: import("@awell-health/extensions-core").Action<{
|
35
35
|
phoneNumber: {
|
36
36
|
id: string;
|
@@ -62,7 +62,7 @@ export declare const actions: {
|
|
62
62
|
required: true;
|
63
63
|
description: string;
|
64
64
|
};
|
65
|
-
}, string
|
65
|
+
}, string>;
|
66
66
|
setContactConsent: import("@awell-health/extensions-core").Action<{
|
67
67
|
recipient: {
|
68
68
|
id: string;
|
@@ -87,5 +87,5 @@ export declare const actions: {
|
|
87
87
|
required: true;
|
88
88
|
description: string;
|
89
89
|
};
|
90
|
-
}, string
|
90
|
+
}, string>;
|
91
91
|
};
|
@@ -78,7 +78,7 @@ export declare const actions: {
|
|
78
78
|
required: false;
|
79
79
|
description: string;
|
80
80
|
};
|
81
|
-
}, "activeOverride" | "overrideDate"
|
81
|
+
}, "activeOverride" | "overrideDate">;
|
82
82
|
checkForScheduledAppointment: import("@awell-health/extensions-core").Action<{
|
83
83
|
appointmentTypeId: {
|
84
84
|
id: string;
|
@@ -165,7 +165,7 @@ export declare const actions: {
|
|
165
165
|
required: false;
|
166
166
|
description: string;
|
167
167
|
};
|
168
|
-
}, "appointmentScheduled"
|
168
|
+
}, "appointmentScheduled">;
|
169
169
|
checkForChat: import("@awell-health/extensions-core").Action<{
|
170
170
|
patientId: {
|
171
171
|
id: string;
|
@@ -259,7 +259,7 @@ export declare const actions: {
|
|
259
259
|
required: false;
|
260
260
|
description: string;
|
261
261
|
};
|
262
|
-
}, "messageSent"
|
262
|
+
}, "messageSent">;
|
263
263
|
checkForCheckInOverride: import("@awell-health/extensions-core").Action<{
|
264
264
|
patientId: {
|
265
265
|
id: string;
|
@@ -346,7 +346,7 @@ export declare const actions: {
|
|
346
346
|
required: false;
|
347
347
|
description: string;
|
348
348
|
};
|
349
|
-
}, "activeOverride"
|
349
|
+
}, "activeOverride">;
|
350
350
|
insertMemberListEvent: import("@awell-health/extensions-core").Action<{
|
351
351
|
eventName: {
|
352
352
|
id: string;
|
@@ -468,7 +468,7 @@ export declare const actions: {
|
|
468
468
|
required: false;
|
469
469
|
description: string;
|
470
470
|
};
|
471
|
-
}, "insertSuccessful"
|
471
|
+
}, "insertSuccessful">;
|
472
472
|
checkFlourishCustomer: import("@awell-health/extensions-core").Action<{
|
473
473
|
identifier: {
|
474
474
|
id: string;
|
@@ -548,7 +548,7 @@ export declare const actions: {
|
|
548
548
|
required: false;
|
549
549
|
description: string;
|
550
550
|
};
|
551
|
-
}, "userExists"
|
551
|
+
}, "userExists">;
|
552
552
|
submitPamSurvey: import("@awell-health/extensions-core").Action<{
|
553
553
|
language: {
|
554
554
|
id: string;
|
@@ -747,7 +747,7 @@ export declare const actions: {
|
|
747
747
|
required: false;
|
748
748
|
description: string;
|
749
749
|
};
|
750
|
-
}, "success" | "pamLevel" | "pamScore"
|
750
|
+
}, "success" | "pamLevel" | "pamScore">;
|
751
751
|
createFlourishCustomer: import("@awell-health/extensions-core").Action<{
|
752
752
|
firstName: {
|
753
753
|
id: string;
|
@@ -855,7 +855,7 @@ export declare const actions: {
|
|
855
855
|
required: false;
|
856
856
|
description: string;
|
857
857
|
};
|
858
|
-
}, "createSuccessful"
|
858
|
+
}, "createSuccessful">;
|
859
859
|
createChartingNoteAdvanced: import("@awell-health/extensions-core").Action<{
|
860
860
|
healthie_patient_id: {
|
861
861
|
id: string;
|
@@ -963,5 +963,5 @@ export declare const actions: {
|
|
963
963
|
required: false;
|
964
964
|
description: string;
|
965
965
|
};
|
966
|
-
}, string
|
966
|
+
}, string>;
|
967
967
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@awell-health/awell-extensions",
|
3
|
-
"version": "1.1.0-
|
3
|
+
"version": "1.1.0-beta11",
|
4
4
|
"packageManager": "yarn@3.4.1",
|
5
5
|
"main": "dist/src/index.js",
|
6
6
|
"repository": {
|
@@ -66,7 +66,7 @@
|
|
66
66
|
"typescript": "4.9.5"
|
67
67
|
},
|
68
68
|
"dependencies": {
|
69
|
-
"@awell-health/extensions-core": "0.2.0-beta.0-
|
69
|
+
"@awell-health/extensions-core": "0.2.0-beta.0-beta65",
|
70
70
|
"@dropbox/sign": "^1.1.3",
|
71
71
|
"@mailchimp/mailchimp_transactional": "^1.0.50",
|
72
72
|
"@medplum/core": "^3.1.4",
|