@awell-health/awell-extensions 1.0.244 → 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/avaAi/common/sdk/openAiSdk.d.ts +2 -0
- package/dist/extensions/avaAi/common/sdk/openAiSdk.js +5 -0
- package/dist/extensions/avaAi/common/sdk/openAiSdk.js.map +1 -0
- package/dist/extensions/avaAi/index.d.ts +2 -0
- package/dist/extensions/avaAi/index.js +21 -0
- package/dist/extensions/avaAi/index.js.map +1 -0
- package/dist/extensions/avaAi/settings.d.ts +18 -0
- package/dist/extensions/avaAi/settings.js +22 -0
- package/dist/extensions/avaAi/settings.js.map +1 -0
- package/dist/extensions/{awell/v1/actions/getPatientByIdentifier → avaAi/v1/actions/generatePatientSummary}/config/dataPoints.d.ts +3 -3
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/dataPoints.js +15 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/dataPoints.js.map +1 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.d.ts +29 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.js +46 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.js.map +1 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/index.d.ts +2 -0
- package/dist/extensions/{awell/v1/actions/getPatientByIdentifier → avaAi/v1/actions/generatePatientSummary}/config/index.js +2 -2
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/index.js.map +1 -0
- package/dist/extensions/{awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.d.ts → avaAi/v1/actions/generatePatientSummary/generatePatientSummary.d.ts} +2 -2
- package/dist/extensions/{awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.js → avaAi/v1/actions/generatePatientSummary/generatePatientSummary.js} +31 -33
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.js.map +1 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.test.js +27 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.test.js.map +1 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/index.d.ts +1 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/index.js +6 -0
- package/dist/extensions/{awell/v1/actions/addIdentifierToPatient → avaAi/v1/actions/generatePatientSummary}/index.js.map +1 -1
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.d.ts +3 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.js +43 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.js.map +1 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.test.js +133 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.test.js.map +1 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/index.d.ts +1 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/index.js +6 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/index.js.map +1 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/index.d.ts +1 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/index.js +6 -0
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/index.js.map +1 -0
- package/dist/extensions/avaAi/v1/actions/index.d.ts +1 -0
- package/dist/extensions/avaAi/v1/actions/index.js +6 -0
- package/dist/extensions/avaAi/v1/actions/index.js.map +1 -0
- package/dist/extensions/awell/index.js +0 -2
- package/dist/extensions/awell/index.js.map +1 -1
- package/dist/extensions/awell/v1/actions/index.d.ts +0 -2
- package/dist/extensions/awell/v1/actions/index.js +1 -5
- package/dist/extensions/awell/v1/actions/index.js.map +1 -1
- package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.js +1 -1
- package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.js.map +1 -1
- package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.test.js.map +1 -1
- package/dist/extensions/awell/v1/gql/fragment-masking.d.ts +13 -0
- package/dist/extensions/awell/v1/gql/fragment-masking.js +12 -0
- package/dist/extensions/awell/v1/gql/fragment-masking.js.map +1 -0
- package/dist/extensions/awell/v1/gql/gql.d.ts +36 -0
- package/dist/extensions/awell/v1/gql/gql.js +47 -0
- package/dist/extensions/awell/v1/gql/gql.js.map +1 -0
- package/dist/extensions/awell/v1/gql/graphql.d.ts +525 -1066
- package/dist/extensions/awell/v1/gql/graphql.js +17 -46
- package/dist/extensions/awell/v1/gql/graphql.js.map +1 -1
- package/dist/extensions/awell/v1/gql/index.d.ts +2 -0
- package/dist/extensions/awell/v1/gql/index.js +19 -0
- package/dist/extensions/awell/v1/gql/index.js.map +1 -0
- package/dist/extensions/awell/v1/sdk/awellSdk.d.ts +1 -6
- package/dist/extensions/awell/v1/sdk/awellSdk.js +0 -11
- package/dist/extensions/awell/v1/sdk/awellSdk.js.map +1 -1
- package/dist/extensions/awell/v1/sdk/graphql/index.d.ts +0 -2
- package/dist/extensions/awell/v1/sdk/graphql/index.js +1 -5
- package/dist/extensions/awell/v1/sdk/graphql/index.js.map +1 -1
- package/dist/extensions/canvasMedical/v1/actions/createClaim/config/fields.d.ts +2 -2
- package/dist/extensions/canvasMedical/v1/validation/patient.zod.d.ts +44 -44
- 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/index.d.ts +1 -1
- package/dist/extensions/index.js +9 -2
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/markdown.json +6 -2
- 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 +4 -3
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.js +0 -74
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.js.map +0 -1
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.test.js +0 -36
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.test.js.map +0 -1
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/dataPoints.d.ts +0 -1
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/dataPoints.js +0 -5
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/dataPoints.js.map +0 -1
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/fields.d.ts +0 -28
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/fields.js +0 -26
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/fields.js.map +0 -1
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/index.d.ts +0 -3
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/index.js +0 -11
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/index.js.map +0 -1
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/patient.d.ts +0 -8
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/patient.js +0 -6
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/patient.js.map +0 -1
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/index.d.ts +0 -1
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/index.js +0 -6
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/dataPoints.js +0 -14
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/dataPoints.js.map +0 -1
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/fields.d.ts +0 -28
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/fields.js +0 -26
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/fields.js.map +0 -1
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/index.d.ts +0 -2
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/index.js.map +0 -1
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.d.ts +0 -4
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.js.map +0 -1
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.test.js +0 -43
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.test.js.map +0 -1
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/index.d.ts +0 -1
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/index.js +0 -6
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/index.js.map +0 -1
- package/dist/extensions/awell/v1/sdk/graphql/addIdentifier.mutation.d.ts +0 -1
- package/dist/extensions/awell/v1/sdk/graphql/addIdentifier.mutation.js +0 -15
- package/dist/extensions/awell/v1/sdk/graphql/addIdentifier.mutation.js.map +0 -1
- package/dist/extensions/awell/v1/sdk/graphql/getPatientByIdentifier.query.d.ts +0 -1
- package/dist/extensions/awell/v1/sdk/graphql/getPatientByIdentifier.query.js +0 -37
- package/dist/extensions/awell/v1/sdk/graphql/getPatientByIdentifier.query.js.map +0 -1
- /package/dist/extensions/{awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.test.d.ts → avaAi/v1/actions/generatePatientSummary/generatePatientSummary.test.d.ts} +0 -0
- /package/dist/extensions/{awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.test.d.ts → avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.test.d.ts} +0 -0
@@ -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
|
};
|
@@ -3,4 +3,4 @@ export type Markdown = Record<string, {
|
|
3
3
|
changelog: string;
|
4
4
|
}>;
|
5
5
|
export declare const markdown: Markdown;
|
6
|
-
export declare const extensions: import("@awell-health/extensions-core").Extension
|
6
|
+
export declare const extensions: import("@awell-health/extensions-core").Extension[];
|
package/dist/extensions/index.js
CHANGED
@@ -24,6 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
24
24
|
};
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
26
|
exports.extensions = exports.markdown = void 0;
|
27
|
+
// import { AvaAi } from './avaAi'
|
27
28
|
const awell_1 = require("./awell");
|
28
29
|
const calDotCom_1 = require("./calDotCom");
|
29
30
|
const calendly_1 = require("./calendly");
|
@@ -41,6 +42,7 @@ const math_1 = require("./math");
|
|
41
42
|
const messagebird_1 = require("./messagebird");
|
42
43
|
const metriport_1 = require("./metriport");
|
43
44
|
const twilio_1 = require("./twilio");
|
45
|
+
// import { Wellinks } from './wellinks-public'
|
44
46
|
const sendgrid_extension_1 = require("./sendgrid-extension");
|
45
47
|
const cmDotCom_1 = require("./cmDotCom");
|
46
48
|
const talkDesk_1 = require("./talkDesk");
|
@@ -61,6 +63,9 @@ const json = __importStar(require("./markdown.json"));
|
|
61
63
|
const external_server_1 = require("./external-server");
|
62
64
|
exports.markdown = json;
|
63
65
|
exports.extensions = [
|
66
|
+
// AvaAi, Best to disable this until we cleared out data privacy & HIPAA with OpenAI
|
67
|
+
// ZusHealth is not ready for public use yet
|
68
|
+
// ZusHealth,
|
64
69
|
awell_1.Awell,
|
65
70
|
athenahealth_1.athenahealth,
|
66
71
|
calDotCom_1.CalDotCom,
|
@@ -84,16 +89,18 @@ exports.extensions = [
|
|
84
89
|
mailgun_1.Mailgun,
|
85
90
|
math_1.MathExtension,
|
86
91
|
messagebird_1.MessageBird,
|
87
|
-
medplum_1.Medplum,
|
88
92
|
metriport_1.Metriport,
|
89
93
|
nexuzhealth_1.nexuzhealth,
|
90
94
|
sendbird_1.Sendbird,
|
91
95
|
sendgrid_extension_1.Sendgrid,
|
96
|
+
cmDotCom_1.CmDotCom,
|
92
97
|
talkDesk_1.TalkDesk,
|
93
|
-
textline_1.TextLine,
|
94
98
|
transform_1.Transform,
|
95
99
|
twilio_1.Twilio,
|
100
|
+
// Wellinks,
|
96
101
|
zendesk_1.Zendesk,
|
97
102
|
westFax_1.WestFax,
|
103
|
+
textline_1.TextLine,
|
104
|
+
medplum_1.Medplum,
|
98
105
|
];
|
99
106
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../extensions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAA+B;AAC/B,2CAAuC;AACvC,yCAAqC;AACrC,mDAA+C;AAC/C,6CAAyC;AACzC,+CAA2C;AAC3C,uCAAmC;AACnC,iDAA6C;AAC7C,yCAAqC;AACrC,yCAAqC;AACrC,+CAA0C;AAC1C,2CAAuC;AACvC,uCAAmC;AACnC,iCAAsC;AACtC,+CAA2C;AAC3C,2CAAuC;AACvC,qCAAiC;AACjC,6DAA+C;AAC/C,yCAAqC;AACrC,yCAAqC;AACrC,yCAAqC;AACrC,yCAAqC;AACrC,2CAAuC;AACvC,yCAAqC;AACrC,uCAAmC;AACnC,uCAAmC;AACnC,uCAAmC;AACnC,+CAA2C;AAC3C,+CAA2C;AAC3C,iDAA6C;AAC7C,+BAA2B;AAC3B,yCAAqC;AACrC,uCAAmC;AAEnC,sDAAuC;AACvC,uDAAkD;AAGrC,QAAA,QAAQ,GAAa,IAAI,CAAA;AAEzB,QAAA,UAAU,GAAG;IACxB,aAAK;IACL,2BAAY;IACZ,qBAAS;IACT,mBAAQ;IACR,6BAAa;IACb,uBAAU;IACV,mBAAQ;IACR,yBAAW;IACX,mBAAQ;IACR,yBAAW;IACX,iBAAO;IACP,2BAAY;IACZ,gCAAc;IACd,mBAAQ;IACR,mBAAQ;IACR,wBAAU;IACV,SAAG;IACH,iBAAO;IACP,mBAAQ;IACR,qBAAS;IACT,iBAAO;IACP,oBAAa;IACb,yBAAW;IACX,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../extensions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kCAAkC;AAClC,mCAA+B;AAC/B,2CAAuC;AACvC,yCAAqC;AACrC,mDAA+C;AAC/C,6CAAyC;AACzC,+CAA2C;AAC3C,uCAAmC;AACnC,iDAA6C;AAC7C,yCAAqC;AACrC,yCAAqC;AACrC,+CAA0C;AAC1C,2CAAuC;AACvC,uCAAmC;AACnC,iCAAsC;AACtC,+CAA2C;AAC3C,2CAAuC;AACvC,qCAAiC;AACjC,+CAA+C;AAC/C,6DAA+C;AAC/C,yCAAqC;AACrC,yCAAqC;AACrC,yCAAqC;AACrC,yCAAqC;AACrC,2CAAuC;AACvC,yCAAqC;AACrC,uCAAmC;AACnC,uCAAmC;AACnC,uCAAmC;AACnC,+CAA2C;AAC3C,+CAA2C;AAC3C,iDAA6C;AAC7C,+BAA2B;AAC3B,yCAAqC;AACrC,uCAAmC;AAEnC,sDAAuC;AACvC,uDAAkD;AAGrC,QAAA,QAAQ,GAAa,IAAI,CAAA;AAEzB,QAAA,UAAU,GAAG;IACxB,oFAAoF;IACpF,4CAA4C;IAC5C,aAAa;IACb,aAAK;IACL,2BAAY;IACZ,qBAAS;IACT,mBAAQ;IACR,6BAAa;IACb,uBAAU;IACV,mBAAQ;IACR,yBAAW;IACX,mBAAQ;IACR,yBAAW;IACX,iBAAO;IACP,2BAAY;IACZ,gCAAc;IACd,mBAAQ;IACR,mBAAQ;IACR,wBAAU;IACV,SAAG;IACH,iBAAO;IACP,mBAAQ;IACR,qBAAS;IACT,iBAAO;IACP,oBAAa;IACb,yBAAW;IACX,qBAAS;IACT,yBAAW;IACX,mBAAQ;IACR,6BAAQ;IACR,mBAAQ;IACR,mBAAQ;IACR,qBAAS;IACT,eAAM;IACN,YAAY;IACZ,iBAAO;IACP,iBAAO;IACP,mBAAQ;IACR,iBAAO;CACR,CAAA"}
|
@@ -3,9 +3,13 @@
|
|
3
3
|
"readme": "---\ntitle: Athena\ndescription: Athena offers medical groups, hospitals, and health systems cloud-based EHR, practice management, and patient engagement services that seamlessly connect care and drive results for every client. \n---\n\n## Athenahealth\n\nAthena offers medical groups, hospitals, and health systems cloud-based EHR, practice management, and patient engagement services that seamlessly connect care and drive results for every client.\n\n## Extension settings\n\nFor the extension to function correctly, you must configure the following settings:\n\n- Auth server URL (e.g. https://api.preview.platform.athenahealth.com/oauth2/v1/token)\n- Client ID\n- Client secret\n- API URL (https://api.preview.platform.athenahealth.com)\n- Scope\n- Practice ID\n\n\n## Actions\n\n### Create patient\n\nCreates a patient in athenahealth. First name, last name, date of birth, email, and department ID are required. If a patient with the same name, date of birth, and email already exists, a new patient record will not be created. Instead, the existing patient's ID will be returned.\n\n### Get patient\n\nRetrieve the details of a given patient within a given practice.\n\n### Get appointment\n\nRetrieve the details of an appointment.\n\n### Create appointment note\n\nCreate a note which will be appended to an appointment",
|
4
4
|
"changelog": "# Athena changelog"
|
5
5
|
},
|
6
|
+
"avaAi": {
|
7
|
+
"readme": "---\ntitle: AvaAI\ndescription: Experimental extension to introduce AI actions in care flows.\n---\n# Awell Virtual (AI) Assistant - Ava\n\n## Extension settings\n\nIn order to set up this extension, you will need to provide an Open AI API key.\n\n## Custom Actions\n\n### Generate patient summary\n\nGenerates a human-readable summary about the patient based on the characteristics in the patient's profile.\n\nYou can specify which characteristics of the patient you would like to include by providing a comma-separated string with the below possible options:\n\n- first_name\n- last_name\n- street\n- city\n- country\n- state\n- zip\n- birth_date\n- email\n- mobile_phone\n- phone\n- national_registry_number\n- patient_code\n- preferred_language\n- sex\n\nIf no characteristics are passed, by default a summary will be generated that includes all characteristics.",
|
8
|
+
"changelog": "# Ava changelog"
|
9
|
+
},
|
6
10
|
"awell": {
|
7
|
-
"readme": "---\ntitle: Awell Workflow\ndescription: Enrich your care flows with powerful Awell actions.\n---\n\n# Awell API extension\n\n## Extension settings\n\nYou will need to provide the [API URL](https://developers.awellhealth.com/awell-orchestration/api-reference/overview/endpoints) and an [API key](https://developers.awellhealth.com/awell-orchestration/api-reference/overview/authorization).\n\n## Custom Actions\n\n### Start care flow\n\nStarts a new care flow for the patient enrolled in your current care flow.\n\n**Passing baseline info:**\nPlease read the documentation on [our developer hub](https://developers.awellhealth.com/awell-orchestration/api-reference/mutations/start-pathway) to learn more about how to pass baseline info.\n\n**Example of how to configure a value for the baseline info action field:**\n\n```json\n[\n {\n \"data_point_definition_id\": \"age\",\n \"value\": \"29\"\n },\n {\n \"data_point_definition_id\": \"dob\",\n \"value\": \"1993-11-30\"\n }\n]\n```\n\n### Stop care flow\n\nStops the care flow the patient is currently enrolled in. A reason is why you are stopping the care flow is mandatory.\n\n### Update patient\n\nAllows updating patient data for the patient currently enrolled in the care flow.\n\n### Is patient already enrolled in care flow\n\nChecks whether the patient is already enrolled in a care flow definition. The care flow the patient is currently enrolled in does not count and is excluded from the results.\n\n**Action fields:**\n\n- pathwayStatus: a comma-separated string of care flow statuses that will be used when looking for care flows the patient is already enrolled in. By default, we only look at active care flows. Options: \"active\", \"completed\", \"missing_baseline_info\", \"starting\", and \"stopped\".\n- careFlowDefinitionIds: a comma-separated string of care flow definition ids that will be used when looking for care flows the patient is already enrolled in. By default, we only search for care flows that match the current care flow definition id (i.e. is the patient already included in the current care flow?).\n\n**Data points:**\n\n- result: a boolean indicating whether the patient is already enrolled in another care flow that matches your criteria (status & care flow definition id)\n- nbrOfResults: the number of care flows found for the patient that match the criteria.\n- careFlowIds: a comma-separated string of care flow ids that matched your search criteria. It will be empty when the result is `false` because then there are no other care flow ids that match your criteria.\n\n### Search patients by patient code\n\
|
8
|
-
"changelog": "# Awell changelog\n\n##
|
11
|
+
"readme": "---\ntitle: Awell Workflow\ndescription: Enrich your care flows with powerful Awell actions.\n---\n\n# Awell API extension\n\n## Extension settings\n\nYou will need to provide the [API URL](https://developers.awellhealth.com/awell-orchestration/api-reference/overview/endpoints) and an [API key](https://developers.awellhealth.com/awell-orchestration/api-reference/overview/authorization).\n\n## Custom Actions\n\n### Start care flow\n\nStarts a new care flow for the patient enrolled in your current care flow.\n\n**Passing baseline info:**\nPlease read the documentation on [our developer hub](https://developers.awellhealth.com/awell-orchestration/api-reference/mutations/start-pathway) to learn more about how to pass baseline info.\n\n**Example of how to configure a value for the baseline info action field:**\n\n```json\n[\n {\n \"data_point_definition_id\": \"age\",\n \"value\": \"29\"\n },\n {\n \"data_point_definition_id\": \"dob\",\n \"value\": \"1993-11-30\"\n }\n]\n```\n\n### Stop care flow\n\nStops the care flow the patient is currently enrolled in. A reason is why you are stopping the care flow is mandatory.\n\n### Update patient\n\nAllows updating patient data for the patient currently enrolled in the care flow.\n\n### Is patient already enrolled in care flow\n\nChecks whether the patient is already enrolled in a care flow definition. The care flow the patient is currently enrolled in does not count and is excluded from the results.\n\n**Action fields:**\n\n- pathwayStatus: a comma-separated string of care flow statuses that will be used when looking for care flows the patient is already enrolled in. By default, we only look at active care flows. Options: \"active\", \"completed\", \"missing_baseline_info\", \"starting\", and \"stopped\".\n- careFlowDefinitionIds: a comma-separated string of care flow definition ids that will be used when looking for care flows the patient is already enrolled in. By default, we only search for care flows that match the current care flow definition id (i.e. is the patient already included in the current care flow?).\n\n**Data points:**\n\n- result: a boolean indicating whether the patient is already enrolled in another care flow that matches your criteria (status & care flow definition id)\n- nbrOfResults: the number of care flows found for the patient that match the criteria.\n- careFlowIds: a comma-separated string of care flow ids that matched your search criteria. It will be empty when the result is `false` because then there are no other care flow ids that match your criteria.\n\n### Search patients by patient code\n\nSearch whether, apart from the patient currently enrolled in the care flow, another patient with the same `patient_code` already exists.\n\n**Data points:**\n\n1. patientAlreadyExists: a boolean which will be true if minimum one patient with the patient code already exists.\n2. numberOfPatientsFound: the number of patients found with the same patient code.\n3. awellPatientIds: a comma-separated string of all Awell patient ids (except the current patient) that have the same patient code as the patient currently enrolled in the care flow. Will return an empty string when there are no other patients with the same patient code.\n\n## Webhooks\n\nWebhooks in the Awell extension offer ways to trigger a care flow based on the end of another care flow, or from any event that happens in your system (via the pathwayStart webhook).\n",
|
12
|
+
"changelog": "# Awell changelog\n\n## October 26, 2023\n\nGeneric webhook to start a care flow added\n\n## April 19, 2023\n\nStop care flow action added.\nSearch patients by patient code action was added.\n\"Is patient enrolled in care flow\" action added.\n"
|
9
13
|
},
|
10
14
|
"calDotCom": {
|
11
15
|
"readme": "---\ntitle: Cal.com\ndescription: Cal.com is a modern and open source scheduling platform. With HIPAA, GDPR and SOC2 compliance, you can ensure that data is well-protected and that makes Cal.com a great fit for healthcare use cases.\n---\n\n# Cal.com\n\n[Cal.com](https://cal.com/) is a modern and **open source** scheduling platform. With HIPAA, GDPR and SOC2 compliance, you can ensure that data is well-protected and that makes Cal.com a great fit for healthcare use cases.\n\n## Cal.com x Awell\n\nThis extension allows you to let a stakeholder (eg: a patient) book an appointment as part of a care flow and to retrieve the booking details of an appointment.\n\n## Extension settings\n\nIn order to set up this extension, **you will need to provide a Cal.com API key**. You can obtain an API key via the Cal.com portal (`Settings > Developer > API keys`).\n\n## Custom Actions\n\n### Book appointment action\n\nYou can add this action to your care flow to enable a stakeholder (eg: a patient) to book an appointment in a predefined calendar. This is a **stakeholder-actionable action** which means it requires an actual user to book an appointment. Also note that this is a blocking action and that the care flow will not progress - unless there are parallel tracks or transitions - until the action/activity is completed (i.e. an appointment was booked).\n\n**The actual booking of the appointment can happen in two ways:**\n\n1. With Awell Hosted Pages: when the \"Book appointment\" action is activated, we serve the booking widget to the stakeholder so they can book an appointment directly from within Awell Hosted Pages.\n2. If you are not leveraging Awell Hosted Pages but have built a custom integration then we expose you all the details via our API so you can either create a Cal.com booking widget yourself or redirect the user to the Cal.com platform. Additionally, we expose a mutation that allows you to complete the activity and pass in the required data.\n\nBelow you can find an overview of all Awell Apps and whether they support rendering of the booking widget.\n\n| App | Supported |\n| ----------------------------- | --------- |\n| Awell Hosted Pages | Yes |\n| Your app (custom integration) | Yes |\n| Awell Care | No |\n| Awell MyCare | No |\n\n#### Data points\n\nAdding this action to your care flow will expose a new data point you can use in your care flow, the `bookingId`. When the care flow is orchestrated and the book appointment activity is completed, the id of the actual booking will be ingested as the value of that `bookingId` data point.\n\n### Get booking action\n\nThis action allows you to fetch the details of a booking based on the provided `bookingId`. This action will make the following data points available for you to use in your care flow:\n\n1. Event type ID\n2. Title\n3. Description\n4. Start time\n5. End time\n6. Status\n7. Cancel URL\n8. Reschedule URL\n9. Video call URL (if available)\n10. First Attendee's name\n12. First Attendee's timezone\n12. First Attendee's email\n13. Organizer's email\n\n### Update booking\n\nUpdates a booking and saves new `bookingId` and `bookingUid` as Data Points. Values possible to update:\n\n- Title - Title of Booking event\n- Description - Description of the meeting\n- Status - Status of the meeting to be set. Possible values: \"ACCEPTED\", \"PENDING\", \"CANCELLED\", \"REJECTED\".\n- Start - Start time of the Event in ISO 8601 format, e.g. 2023-05-24T13:00:00.000Z. Please note that start/end time must be within user's availability hours.\n- End - End time of the Event in ISO 8601 format, e.g. 2023-05-24T13:00:00.000Z. Please note that start/end time must be within user's availability hours.\n\n### Create booking\n\nCreates a booking and saves new `bookingId` as Data Points. Available fields:\n\n- Event Type ID - ID of the event type to book\n- Responses - Object containing email, name, location\n - ```json\n \"responses\": {\n \"name\": \"John Doe\",\n \"email\": \"john.doe@example.com\",\n \"location\": \"Calcom HQ\"\n },\n ```\n- Metadata - Any metadata associated with the booking\n- Timezone - Timezone of the Attendee\n- Language - Language of the Attendee\n- Recurring Event ID - Recurring Event ID if the event is recurring\n- Title - Title of Booking event\n- Description - Description of the meeting\n- Status - Status of the meeting to be set. Possible values: \"ACCEPTED\", \"PENDING\", \"CANCELLED\", \"REJECTED\".\n- Start - Start time of the Event in ISO 8601 format, e.g. 2023-05-24T13:00:00.000Z. Please note that start/end time must be within user's availability hours.\n- End - End time of the Event in ISO 8601 format, e.g. 2023-05-24T13:00:00.000Z. Please note that start/end time must be within user's availability hours.\n\n### Delete Boooking\n\nDeletes a Booking with a given ID.\n\n## Pricing\n\n**This extension is free** but keep in mind that you might need a paid plan for Cal.com depending on your needs.\n\n## Limitations\n\n### Rescheduling\n\nWhen a previously made booking is rescheduled, there is no way yet to get the new/updated booking details into the care flow or have the care flow react on the updated booking.\n\nAlso note that when a booking is rescheduled, Cal.com doesn't update the original booking resource but creates a new one instead. As far as we know, there is no reference from the old booking to the new (rescheduled) booking.\n\n#### Example\n\nAn appointment has been booked with Cal.com and we have the below booking resource:\n\n```json\n{\n ...,\n \"bookingId\": \"1\",\n \"date\": \"Jan 1, 2023\"\n}\n```\n\nHowever, the patient reschedules the booking to Jan 10, 2023. When querying Cal.com's API (`GET v1/bookings/{bookingId}`), it will still return the old booking date instead of the new/rescheduled date.\n\n```json\n{\n ...,\n \"bookingId\": \"1\",\n \"date\": \"Jan 1, 2023\"\n}\n```\n\n## Webhooks\n\nWebhooks offer a great way to automate the flow with Awell when invitees schedule, cancel, or reschedule events, or when the meeting ends.\n\n**Important notes:**\n\n1. An Awell webhook endpoint can only listen to one event type. So make sure that when you create a webhook in Cal.com, the subscriber URL and the event trigger match the Awell webhook endpoint. This also means there can only be one event type per subscriber URL.\n2. Using a secret to verify the authenticity of the received payload is not yet supported.\n3. Custom payload templates are not supported, please use the default ones.\n",
|
@@ -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.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.
|
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",
|
@@ -98,5 +98,6 @@
|
|
98
98
|
"xml2js": "^0.6.2",
|
99
99
|
"zod": "^3.23.5",
|
100
100
|
"zod-validation-error": "^3.2.0"
|
101
|
-
}
|
101
|
+
},
|
102
|
+
"stableVersion": "1.1.0"
|
102
103
|
}
|