@awell-health/awell-extensions 2.0.195 → 2.0.196
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.
- package/dist/extensions/elation/actions/cancelAppointments/__testdata__/Findappointments.mock.d.ts +12 -0
- package/dist/extensions/elation/actions/cancelAppointments/__testdata__/Findappointments.mock.js +32 -0
- package/dist/extensions/elation/actions/cancelAppointments/__testdata__/Findappointments.mock.js.map +1 -0
- package/dist/extensions/elation/actions/cancelAppointments/cancelAppointments.d.ts +4 -0
- package/dist/extensions/elation/actions/cancelAppointments/cancelAppointments.js +125 -0
- package/dist/extensions/elation/actions/cancelAppointments/cancelAppointments.js.map +1 -0
- package/dist/extensions/elation/actions/cancelAppointments/config/dataPoints.d.ts +10 -0
- package/dist/extensions/elation/actions/cancelAppointments/config/dataPoints.js +14 -0
- package/dist/extensions/elation/actions/cancelAppointments/config/dataPoints.js.map +1 -0
- package/dist/extensions/elation/actions/cancelAppointments/config/fields.d.ts +28 -0
- package/dist/extensions/elation/actions/cancelAppointments/config/fields.js +26 -0
- package/dist/extensions/elation/actions/cancelAppointments/config/fields.js.map +1 -0
- package/dist/extensions/elation/actions/cancelAppointments/config/index.d.ts +2 -0
- package/dist/extensions/elation/actions/cancelAppointments/config/index.js +9 -0
- package/dist/extensions/elation/actions/cancelAppointments/config/index.js.map +1 -0
- package/dist/extensions/elation/actions/cancelAppointments/index.d.ts +1 -0
- package/dist/extensions/elation/actions/cancelAppointments/index.js +6 -0
- package/dist/extensions/elation/actions/cancelAppointments/index.js.map +1 -0
- package/dist/extensions/elation/actions/index.d.ts +66 -0
- package/dist/extensions/elation/actions/index.js +2 -0
- package/dist/extensions/elation/actions/index.js.map +1 -1
- package/dist/extensions/elation/client.d.ts +2 -0
- package/dist/extensions/elation/client.js +12 -0
- package/dist/extensions/elation/client.js.map +1 -1
- package/dist/extensions/elation/types/appointment.d.ts +1 -0
- package/dist/extensions/markdown.json +1 -1
- package/package.json +1 -1
package/dist/extensions/elation/actions/cancelAppointments/__testdata__/Findappointments.mock.js
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.appointmentsMock = void 0;
|
4
|
+
const date_fns_1 = require("date-fns");
|
5
|
+
const now = new Date();
|
6
|
+
exports.appointmentsMock = [
|
7
|
+
{
|
8
|
+
id: 123,
|
9
|
+
scheduled_date: (0, date_fns_1.addDays)(now, 1).toISOString(),
|
10
|
+
reason: 'PCP: Est. Patient Office',
|
11
|
+
mode: 'VIDEO',
|
12
|
+
status: {
|
13
|
+
status: 'Scheduled',
|
14
|
+
},
|
15
|
+
patient: 12345,
|
16
|
+
physician: 141114870071298,
|
17
|
+
practice: 141114865745924,
|
18
|
+
},
|
19
|
+
{
|
20
|
+
id: 456,
|
21
|
+
scheduled_date: (0, date_fns_1.addDays)(now, 2).toISOString(),
|
22
|
+
mode: 'VIDEO',
|
23
|
+
reason: 'PCP: Est. Patient Office',
|
24
|
+
status: {
|
25
|
+
status: 'Scheduled',
|
26
|
+
},
|
27
|
+
patient: 12345,
|
28
|
+
physician: 141114870071298,
|
29
|
+
practice: 141114865745924,
|
30
|
+
},
|
31
|
+
];
|
32
|
+
//# sourceMappingURL=Findappointments.mock.js.map
|
package/dist/extensions/elation/actions/cancelAppointments/__testdata__/Findappointments.mock.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Findappointments.mock.js","sourceRoot":"","sources":["../../../../../../extensions/elation/actions/cancelAppointments/__testdata__/Findappointments.mock.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAIlC,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAA;AAET,QAAA,gBAAgB,GAAG;IAC9B;QACE,EAAE,EAAE,GAAG;QACP,cAAc,EAAE,IAAA,kBAAO,EAAC,GAAG,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;QAC7C,MAAM,EAAE,0BAA0B;QAClC,IAAI,EAAE,OAAO;QACb,MAAM,EAAE;YACN,MAAM,EAAE,WAAW;SACpB;QACD,OAAO,EAAE,KAAK;QACd,SAAS,EAAE,eAAe;QAC1B,QAAQ,EAAE,eAAe;KAC1B;IACD;QACE,EAAE,EAAE,GAAG;QACP,cAAc,EAAE,IAAA,kBAAO,EAAC,GAAG,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;QAC7C,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,0BAA0B;QAClC,MAAM,EAAE;YACN,MAAM,EAAE,WAAW;SACpB;QACD,OAAO,EAAE,KAAK;QACd,SAAS,EAAE,eAAe;QAC1B,QAAQ,EAAE,eAAe;KAC1B;CACgD,CAAA"}
|
@@ -0,0 +1,125 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.cancelAppointments = void 0;
|
4
|
+
const lodash_1 = require("lodash");
|
5
|
+
const extensions_core_1 = require("@awell-health/extensions-core");
|
6
|
+
const addEventLog_1 = require("../../../../src/lib/awell/addEventLog");
|
7
|
+
const client_1 = require("../../client");
|
8
|
+
const createOpenAIModel_1 = require("../../../../src/lib/llm/openai/createOpenAIModel");
|
9
|
+
const config_1 = require("./config");
|
10
|
+
const findAppointmentsWithLLM_1 = require("../../lib/findAppointmentsWithLLM/findAppointmentsWithLLM");
|
11
|
+
const utils_1 = require("../../../../src/utils");
|
12
|
+
exports.cancelAppointments = {
|
13
|
+
key: 'cancelAppointments',
|
14
|
+
category: extensions_core_1.Category.EHR_INTEGRATIONS,
|
15
|
+
title: '✨ Cancel appointments',
|
16
|
+
description: 'Cancel appointments for a patient using natural language.',
|
17
|
+
fields: config_1.fields,
|
18
|
+
previewable: false,
|
19
|
+
dataPoints: config_1.dataPoints,
|
20
|
+
onEvent: async ({ payload, onComplete, onError, helpers }) => {
|
21
|
+
const { prompt, patientId } = config_1.FieldsValidationSchema.parse(payload.fields);
|
22
|
+
const api = (0, client_1.makeAPIClient)(payload.settings);
|
23
|
+
/**
|
24
|
+
* Fetch all upcoming appointments for the patient.
|
25
|
+
* We're only interested in the upcoming appointments, so we set the from_date to the current date.
|
26
|
+
*/
|
27
|
+
const appointments = await api.findAppointments({
|
28
|
+
patient: patientId,
|
29
|
+
from_date: new Date().toISOString(),
|
30
|
+
});
|
31
|
+
// Early return if no appointments found
|
32
|
+
if ((0, lodash_1.isNil)(appointments) || appointments.length === 0) {
|
33
|
+
const message = `No upcoming appointments found so none to cancel.`;
|
34
|
+
await onComplete({
|
35
|
+
data_points: {
|
36
|
+
explanation: message,
|
37
|
+
cancelledAppointments: JSON.stringify([]),
|
38
|
+
},
|
39
|
+
events: [
|
40
|
+
(0, addEventLog_1.addActivityEventLog)({
|
41
|
+
message,
|
42
|
+
}),
|
43
|
+
],
|
44
|
+
});
|
45
|
+
return;
|
46
|
+
}
|
47
|
+
try {
|
48
|
+
// Initialize OpenAI model for natural language processing
|
49
|
+
const { model, metadata, callbacks } = await (0, createOpenAIModel_1.createOpenAIModel)({
|
50
|
+
settings: {}, // we use built-in API key for OpenAI
|
51
|
+
helpers,
|
52
|
+
payload,
|
53
|
+
});
|
54
|
+
// Use LLM to find appointments matching the user's natural language prompt
|
55
|
+
const { appointmentIds, explanation } = await (0, findAppointmentsWithLLM_1.findAppointmentsWithLLM)({
|
56
|
+
model,
|
57
|
+
appointments,
|
58
|
+
prompt,
|
59
|
+
metadata,
|
60
|
+
callbacks,
|
61
|
+
});
|
62
|
+
const htmlExplanation = await (0, utils_1.markdownToHtml)(explanation);
|
63
|
+
const appointmentsToCancel = appointments.filter((appointment) => appointmentIds.includes(appointment.id));
|
64
|
+
/**
|
65
|
+
* Cancel the appointments
|
66
|
+
*/
|
67
|
+
const trace = await Promise.all(appointmentIds.map(async (appointmentId) => {
|
68
|
+
try {
|
69
|
+
await api.updateAppointment(appointmentId, {
|
70
|
+
status: { status: 'Cancelled' },
|
71
|
+
});
|
72
|
+
return { appointmentId, status: 'success' };
|
73
|
+
}
|
74
|
+
catch (error) {
|
75
|
+
return { appointmentId, status: 'error' };
|
76
|
+
}
|
77
|
+
}));
|
78
|
+
const failedCancellations = trace.filter((t) => t.status === 'error');
|
79
|
+
if (failedCancellations.length > 0) {
|
80
|
+
await onError({
|
81
|
+
events: [
|
82
|
+
(0, addEventLog_1.addActivityEventLog)({
|
83
|
+
message: `Successfully cancelled the following appointments: ${trace
|
84
|
+
.filter((t) => t.status === 'success')
|
85
|
+
.map((t) => t.appointmentId)
|
86
|
+
.join(', ')}`,
|
87
|
+
}),
|
88
|
+
(0, addEventLog_1.addActivityEventLog)({
|
89
|
+
message: `Failed to cancel the following appointments: ${failedCancellations
|
90
|
+
.map((t) => t.appointmentId)
|
91
|
+
.join(', ')}`,
|
92
|
+
}),
|
93
|
+
],
|
94
|
+
});
|
95
|
+
return;
|
96
|
+
}
|
97
|
+
await onComplete({
|
98
|
+
data_points: {
|
99
|
+
cancelledAppointments: JSON.stringify(appointmentsToCancel),
|
100
|
+
explanation: htmlExplanation,
|
101
|
+
},
|
102
|
+
events: [
|
103
|
+
(0, addEventLog_1.addActivityEventLog)({
|
104
|
+
message: `${appointmentsToCancel.length} appointments for patient ${patientId} were cancelled: ${appointmentIds.join(', ')}`,
|
105
|
+
}),
|
106
|
+
],
|
107
|
+
});
|
108
|
+
}
|
109
|
+
catch (error) {
|
110
|
+
await onError({
|
111
|
+
events: [
|
112
|
+
{
|
113
|
+
date: new Date().toISOString(),
|
114
|
+
text: { en: 'Failed to find and cancel appointments' },
|
115
|
+
error: {
|
116
|
+
category: 'SERVER_ERROR',
|
117
|
+
message: error instanceof Error ? error.message : 'Unknown error',
|
118
|
+
},
|
119
|
+
},
|
120
|
+
],
|
121
|
+
});
|
122
|
+
}
|
123
|
+
},
|
124
|
+
};
|
125
|
+
//# sourceMappingURL=cancelAppointments.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"cancelAppointments.js","sourceRoot":"","sources":["../../../../../extensions/elation/actions/cancelAppoint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J,CAAC;IACH,CAAC;CACF,CAAA"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.dataPoints = void 0;
|
4
|
+
exports.dataPoints = {
|
5
|
+
cancelledAppointments: {
|
6
|
+
key: 'cancelledAppointments',
|
7
|
+
valueType: 'json',
|
8
|
+
},
|
9
|
+
explanation: {
|
10
|
+
key: 'explanation',
|
11
|
+
valueType: 'string',
|
12
|
+
},
|
13
|
+
};
|
14
|
+
//# sourceMappingURL=dataPoints.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dataPoints.js","sourceRoot":"","sources":["../../../../../../extensions/elation/actions/cancelAppointments/config/dataPoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,qBAAqB,EAAE;QACrB,GAAG,EAAE,uBAAuB;QAC5B,SAAS,EAAE,MAAM;KAClB;IACD,WAAW,EAAE;QACX,GAAG,EAAE,aAAa;QAClB,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
import { FieldType } from '@awell-health/extensions-core';
|
3
|
+
export declare const fields: {
|
4
|
+
patientId: {
|
5
|
+
id: string;
|
6
|
+
label: string;
|
7
|
+
type: FieldType.NUMERIC;
|
8
|
+
required: true;
|
9
|
+
description: string;
|
10
|
+
};
|
11
|
+
prompt: {
|
12
|
+
id: string;
|
13
|
+
label: string;
|
14
|
+
type: FieldType.TEXT;
|
15
|
+
required: true;
|
16
|
+
description: string;
|
17
|
+
};
|
18
|
+
};
|
19
|
+
export declare const FieldsValidationSchema: z.ZodObject<{
|
20
|
+
patientId: z.ZodNumber;
|
21
|
+
prompt: z.ZodString;
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
23
|
+
patientId: number;
|
24
|
+
prompt: string;
|
25
|
+
}, {
|
26
|
+
patientId: number;
|
27
|
+
prompt: string;
|
28
|
+
}>;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.FieldsValidationSchema = exports.fields = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const extensions_core_1 = require("@awell-health/extensions-core");
|
6
|
+
exports.fields = {
|
7
|
+
patientId: {
|
8
|
+
id: 'patientId',
|
9
|
+
label: 'Elation patient ID',
|
10
|
+
type: extensions_core_1.FieldType.NUMERIC,
|
11
|
+
required: true,
|
12
|
+
description: 'The Elation patient ID of the patient you want to cancel appointments for.',
|
13
|
+
},
|
14
|
+
prompt: {
|
15
|
+
id: 'prompt',
|
16
|
+
label: 'Describe the appointments you would like to cancel',
|
17
|
+
type: extensions_core_1.FieldType.TEXT,
|
18
|
+
required: true,
|
19
|
+
description: 'Provide clear instructions about what appointments you want to cancel. You can search by appointment type (e.g., "Find all PCP visits"), status (e.g., "Find scheduled appointments"), or other criteria. Be as specific as possible for best results.',
|
20
|
+
},
|
21
|
+
};
|
22
|
+
exports.FieldsValidationSchema = zod_1.z.object({
|
23
|
+
patientId: extensions_core_1.NumericIdSchema,
|
24
|
+
prompt: zod_1.z.string().min(1),
|
25
|
+
});
|
26
|
+
//# sourceMappingURL=fields.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/elation/actions/cancelAppointments/config/fields.ts"],"names":[],"mappings":";;;AAAA,6BAAwC;AACxC,mEAIsC;AAEzB,QAAA,MAAM,GAAG;IACpB,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,oBAAoB;QAC3B,IAAI,EAAE,2BAAS,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,WAAW,EACT,4EAA4E;KAC/E;IACD,MAAM,EAAE;QACN,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,oDAAoD;QAC3D,IAAI,EAAE,2BAAS,CAAC,IAAI;QACpB,QAAQ,EAAE,IAAI;QACd,WAAW,EACT,wPAAwP;KAC3P;CAC8B,CAAA;AAEpB,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,SAAS,EAAE,iCAAe;IAC1B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACwB,CAAC,CAAA"}
|
@@ -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/cancelAppointments/config/index.ts"],"names":[],"mappings":";;;AAAA,2CAAyC;AAAhC,wGAAA,UAAU,OAAA;AACnB,mCAAyD;AAAhD,gGAAA,MAAM,OAAA;AAAE,gHAAA,sBAAsB,OAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { cancelAppointments } from './cancelAppointments';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.cancelAppointments = void 0;
|
4
|
+
var cancelAppointments_1 = require("./cancelAppointments");
|
5
|
+
Object.defineProperty(exports, "cancelAppointments", { enumerable: true, get: function () { return cancelAppointments_1.cancelAppointments; } });
|
6
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../extensions/elation/actions/cancelAppointments/index.ts"],"names":[],"mappings":";;;AAAA,2DAAyD;AAAhD,wHAAA,kBAAkB,OAAA"}
|
@@ -2906,4 +2906,70 @@ export declare const actions: {
|
|
2906
2906
|
required: false;
|
2907
2907
|
};
|
2908
2908
|
}, never>;
|
2909
|
+
cancelAppointments: import("@awell-health/extensions-core").Action<{
|
2910
|
+
patientId: {
|
2911
|
+
id: string;
|
2912
|
+
label: string;
|
2913
|
+
type: import("@awell-health/extensions-core").FieldType.NUMERIC;
|
2914
|
+
required: true;
|
2915
|
+
description: string;
|
2916
|
+
};
|
2917
|
+
prompt: {
|
2918
|
+
id: string;
|
2919
|
+
label: string;
|
2920
|
+
type: import("@awell-health/extensions-core").FieldType.TEXT;
|
2921
|
+
required: true;
|
2922
|
+
description: string;
|
2923
|
+
};
|
2924
|
+
}, {
|
2925
|
+
base_url: {
|
2926
|
+
key: string;
|
2927
|
+
label: string;
|
2928
|
+
obfuscated: false;
|
2929
|
+
description: string;
|
2930
|
+
required: true;
|
2931
|
+
};
|
2932
|
+
auth_url: {
|
2933
|
+
key: string;
|
2934
|
+
label: string;
|
2935
|
+
obfuscated: false;
|
2936
|
+
description: string;
|
2937
|
+
required: true;
|
2938
|
+
};
|
2939
|
+
client_id: {
|
2940
|
+
key: string;
|
2941
|
+
label: string;
|
2942
|
+
obfuscated: false;
|
2943
|
+
description: string;
|
2944
|
+
required: true;
|
2945
|
+
};
|
2946
|
+
client_secret: {
|
2947
|
+
key: string;
|
2948
|
+
label: string;
|
2949
|
+
obfuscated: true;
|
2950
|
+
description: string;
|
2951
|
+
required: true;
|
2952
|
+
};
|
2953
|
+
username: {
|
2954
|
+
key: string;
|
2955
|
+
label: string;
|
2956
|
+
obfuscated: false;
|
2957
|
+
description: string;
|
2958
|
+
required: false;
|
2959
|
+
};
|
2960
|
+
password: {
|
2961
|
+
key: string;
|
2962
|
+
label: string;
|
2963
|
+
obfuscated: true;
|
2964
|
+
description: string;
|
2965
|
+
required: false;
|
2966
|
+
};
|
2967
|
+
rateLimitDuration: {
|
2968
|
+
key: string;
|
2969
|
+
label: string;
|
2970
|
+
obfuscated: false;
|
2971
|
+
description: string;
|
2972
|
+
required: false;
|
2973
|
+
};
|
2974
|
+
}, "explanation" | "cancelledAppointments">;
|
2909
2975
|
};
|
@@ -32,6 +32,7 @@ const findFutureAppointment_1 = require("./findFutureAppointment");
|
|
32
32
|
const findAppointmentsWithAI_1 = require("./findAppointmentsWithAI");
|
33
33
|
const signNonVisitNote_1 = require("./signNonVisitNote/signNonVisitNote");
|
34
34
|
const updateReferralOrderResolution_1 = require("./updateReferralOrderResolution");
|
35
|
+
const cancelAppointments_1 = require("./cancelAppointments/cancelAppointments");
|
35
36
|
exports.actions = {
|
36
37
|
getPatient: getPatient_1.getPatient,
|
37
38
|
createPatient: createPatient_1.createPatient,
|
@@ -64,5 +65,6 @@ exports.actions = {
|
|
64
65
|
findAppointmentsWithAI: findAppointmentsWithAI_1.findAppointmentsWithAI,
|
65
66
|
signNonVisitNote: signNonVisitNote_1.signNonVisitNote,
|
66
67
|
updateReferralOrderResolution: updateReferralOrderResolution_1.updateReferralOrderResolution,
|
68
|
+
cancelAppointments: cancelAppointments_1.cancelAppointments,
|
67
69
|
};
|
68
70
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../extensions/elation/actions/index.ts"],"names":[],"mappings":";;;AAAA,wDAAoD;AACpD,mDAA+C;AAC/C,mDAA+C;AAC/C,2DAAuD;AACvD,qDAAiD;AACjD,+CAA2C;AAC3C,yDAAqD;AACrD,mDAA+C;AAC/C,6DAAyD;AACzD,6DAAyD;AACzD,uDAAmD;AACnD,6DAAyD;AACzD,iDAA6C;AAC7C,6CAAyC;AACzC,qDAAiD;AACjD,+DAA2D;AAC3D,6DAAyD;AACzD,wDAAoD;AACpD,wDAAoD;AACpD,uEAAmE;AACnE,qDAAiD;AACjD,2CAAuC;AACvC,+DAA2D;AAC3D,mDAA+C;AAC/C,iDAA6C;AAC7C,2DAAuD;AACvD,yDAAqD;AACrD,mEAA+D;AAC/D,qEAAiE;AACjE,0EAAsE;AACtE,mFAA+E;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../extensions/elation/actions/index.ts"],"names":[],"mappings":";;;AAAA,wDAAoD;AACpD,mDAA+C;AAC/C,mDAA+C;AAC/C,2DAAuD;AACvD,qDAAiD;AACjD,+CAA2C;AAC3C,yDAAqD;AACrD,mDAA+C;AAC/C,6DAAyD;AACzD,6DAAyD;AACzD,uDAAmD;AACnD,6DAAyD;AACzD,iDAA6C;AAC7C,6CAAyC;AACzC,qDAAiD;AACjD,+DAA2D;AAC3D,6DAAyD;AACzD,wDAAoD;AACpD,wDAAoD;AACpD,uEAAmE;AACnE,qDAAiD;AACjD,2CAAuC;AACvC,+DAA2D;AAC3D,mDAA+C;AAC/C,iDAA6C;AAC7C,2DAAuD;AACvD,yDAAqD;AACrD,mEAA+D;AAC/D,qEAAiE;AACjE,0EAAsE;AACtE,mFAA+E;AAC/E,gFAA4E;AAC/D,QAAA,OAAO,GAAG;IACrB,UAAU,EAAV,uBAAU;IACV,aAAa,EAAb,6BAAa;IACb,aAAa,EAAb,6BAAa;IACb,iBAAiB,EAAjB,qCAAiB;IACjB,cAAc,EAAd,+BAAc;IACd,gBAAgB,EAAhB,mCAAgB;IAChB,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,aAAa,EAAb,6BAAa;IACb,kBAAkB,EAAlB,uCAAkB;IAClB,kBAAkB,EAAlB,uCAAkB;IAClB,eAAe,EAAf,iCAAe;IACf,kBAAkB,EAAlB,uCAAkB;IAClB,eAAe,EAAf,iCAAe;IACf,SAAS,EAAT,qBAAS;IACT,UAAU,EAAV,uBAAU;IACV,UAAU,EAAV,uBAAU;IACV,UAAU,EAAV,uBAAU;IACV,cAAc,EAAd,+BAAc;IACd,mBAAmB,EAAnB,yCAAmB;IACnB,kBAAkB,EAAlB,uCAAkB;IAClB,SAAS,EAAT,qBAAS;IACT,mBAAmB,EAAnB,yCAAmB;IACnB,aAAa,EAAb,6BAAa;IACb,YAAY,EAAZ,2BAAY;IACZ,iBAAiB,EAAjB,qCAAiB;IACjB,gBAAgB,EAAhB,mCAAgB;IAChB,qBAAqB,EAArB,6CAAqB;IACrB,sBAAsB,EAAtB,+CAAsB;IACtB,gBAAgB,EAAhB,mCAAgB;IAChB,6BAA6B,EAA7B,6DAA6B;IAC7B,kBAAkB,EAAlB,uCAAkB;CACnB,CAAA"}
|
@@ -6,6 +6,7 @@ export declare class ElationDataWrapper extends DataWrapper {
|
|
6
6
|
findAppointments(params: FindAppointmentsParams): Promise<AppointmentResponse[]>;
|
7
7
|
getAppointment(id: number): Promise<AppointmentResponse>;
|
8
8
|
createAppointment(obj: Partial<AppointmentInput>): Promise<AppointmentResponse>;
|
9
|
+
updateAppointment(id: number, obj: Partial<AppointmentInput>): Promise<AppointmentResponse>;
|
9
10
|
getPatient(id: number): Promise<PatientResponse>;
|
10
11
|
createPatient(obj: Partial<PatientInput>): Promise<PatientResponse>;
|
11
12
|
updatePatient(id: number, obj: Partial<UpdatePatientInput>): Promise<PatientResponse>;
|
@@ -58,6 +59,7 @@ export declare class ElationAPIClient extends APIClient<ElationDataWrapper> {
|
|
58
59
|
findAppointments(params: FindAppointmentsParams): Promise<AppointmentResponse[]>;
|
59
60
|
getAppointment(id: number): Promise<AppointmentResponse>;
|
60
61
|
createAppointment(obj: Partial<AppointmentInput>): Promise<AppointmentResponse>;
|
62
|
+
updateAppointment(id: number, obj: Partial<AppointmentInput>): Promise<AppointmentResponse>;
|
61
63
|
getPatient(id: number): Promise<PatientResponse>;
|
62
64
|
createPatient(obj: Partial<PatientInput>): Promise<PatientResponse>;
|
63
65
|
updatePatient(id: number, obj: Partial<UpdatePatientInput>): Promise<PatientResponse>;
|
@@ -33,6 +33,15 @@ class ElationDataWrapper extends extensions_core_1.DataWrapper {
|
|
33
33
|
const res = await req;
|
34
34
|
return res;
|
35
35
|
}
|
36
|
+
async updateAppointment(id, obj) {
|
37
|
+
const req = this.Request({
|
38
|
+
method: 'PATCH',
|
39
|
+
url: `/appointments/${id}`,
|
40
|
+
data: obj,
|
41
|
+
});
|
42
|
+
const res = await req;
|
43
|
+
return res;
|
44
|
+
}
|
36
45
|
async getPatient(id) {
|
37
46
|
const req = this.Request({
|
38
47
|
method: 'GET',
|
@@ -303,6 +312,9 @@ class ElationAPIClient extends extensions_core_1.APIClient {
|
|
303
312
|
async createAppointment(obj) {
|
304
313
|
return await this.FetchData(async (dw) => await dw.createAppointment(obj));
|
305
314
|
}
|
315
|
+
async updateAppointment(id, obj) {
|
316
|
+
return await this.FetchData(async (dw) => await dw.updateAppointment(id, obj));
|
317
|
+
}
|
306
318
|
async getPatient(id) {
|
307
319
|
return await this.FetchData(async (dw) => await dw.getPatient(id));
|
308
320
|
}
|
@@ -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,MAA8B;QAE9B,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAyC;YAC/D,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,gBAAgB;YACrB,MAAM;SACP,CAAC,CAAA;QACF,MAAM,GAAG,GAAG,MAAM,GAAG,CAAA;QACrB,OAAO,GAAG,CAAC,OAAO,CAAA;IACpB,CAAC;IAEM,KAAK,CAAC,cAAc,CAAC,EAAU;QACpC,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAsB;YAC5C,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,iBAAiB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AE,qBAAqB,CAAC,aAAa;YAClD,QAAQ,EAAE,qBAAqB,CAAC,QAAkB;YAClD,QAAQ,EAAE,qBAAqB,CAAC,QAAkB;SACK,CAAA;IAC3D,CAAC,CAAA;IAED,OAAO,IAAI,gBAAgB,CAAC;QAC1B,OAAO,EAAE,QAAQ;QACjB,OAAO,EAAE,QAAQ;QACjB,aAAa,EAAE,gBAAgB,EAAE;KAClC,CAAC,CAAA;AACJ,CAAC,CAAA;AApDY,QAAA,aAAa,iBAoDzB"}
|
@@ -19,6 +19,7 @@ export interface AppointmentResponse extends Omit<AppointmentInput, 'service_loc
|
|
19
19
|
created_date: string;
|
20
20
|
last_modified_date: string;
|
21
21
|
deleted_date?: string | null;
|
22
|
+
mode: string;
|
22
23
|
}
|
23
24
|
interface Status extends z.infer<typeof statusSchema> {
|
24
25
|
status_date: string;
|
@@ -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\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",
|
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\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### ✨ Cancel appointments\n\nGiven a prompt, this action retrieves a patient's upcoming appointments matching the prompt and cancels them.\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": {
|