@awell-health/awell-extensions 2.0.113 → 2.0.115
Sign up to get free protection for your applications and to get access to all the features.
@@ -2099,4 +2099,163 @@ export declare const actions: {
|
|
2099
2099
|
required: false;
|
2100
2100
|
};
|
2101
2101
|
}, "id">;
|
2102
|
+
createCareGap: import("@awell-health/extensions-core").Action<{
|
2103
|
+
quality_program: {
|
2104
|
+
id: string;
|
2105
|
+
label: string;
|
2106
|
+
type: import("@awell-health/extensions-core").FieldType.STRING;
|
2107
|
+
required: true;
|
2108
|
+
description: string;
|
2109
|
+
};
|
2110
|
+
definition_id: {
|
2111
|
+
id: string;
|
2112
|
+
label: string;
|
2113
|
+
type: import("@awell-health/extensions-core").FieldType.STRING;
|
2114
|
+
required: true;
|
2115
|
+
description: string;
|
2116
|
+
};
|
2117
|
+
patient_id: {
|
2118
|
+
id: string;
|
2119
|
+
label: string;
|
2120
|
+
type: import("@awell-health/extensions-core").FieldType.STRING;
|
2121
|
+
required: true;
|
2122
|
+
description: string;
|
2123
|
+
};
|
2124
|
+
practice_id: {
|
2125
|
+
id: string;
|
2126
|
+
label: string;
|
2127
|
+
type: import("@awell-health/extensions-core").FieldType.STRING;
|
2128
|
+
required: true;
|
2129
|
+
description: string;
|
2130
|
+
};
|
2131
|
+
created_date: {
|
2132
|
+
id: string;
|
2133
|
+
label: string;
|
2134
|
+
type: import("@awell-health/extensions-core").FieldType.DATE;
|
2135
|
+
required: true;
|
2136
|
+
description: string;
|
2137
|
+
};
|
2138
|
+
status: {
|
2139
|
+
id: string;
|
2140
|
+
label: string;
|
2141
|
+
type: import("@awell-health/extensions-core").FieldType.STRING;
|
2142
|
+
required: true;
|
2143
|
+
description: string;
|
2144
|
+
options: {
|
2145
|
+
dropdownOptions: {
|
2146
|
+
label: string;
|
2147
|
+
value: string;
|
2148
|
+
}[];
|
2149
|
+
};
|
2150
|
+
};
|
2151
|
+
detail: {
|
2152
|
+
id: string;
|
2153
|
+
label: string;
|
2154
|
+
type: import("@awell-health/extensions-core").FieldType.TEXT;
|
2155
|
+
required: false;
|
2156
|
+
description: string;
|
2157
|
+
};
|
2158
|
+
}, {
|
2159
|
+
base_url: {
|
2160
|
+
key: string;
|
2161
|
+
label: string;
|
2162
|
+
obfuscated: false;
|
2163
|
+
description: string;
|
2164
|
+
required: true;
|
2165
|
+
};
|
2166
|
+
auth_url: {
|
2167
|
+
key: string;
|
2168
|
+
label: string;
|
2169
|
+
obfuscated: false;
|
2170
|
+
description: string;
|
2171
|
+
required: true;
|
2172
|
+
};
|
2173
|
+
client_id: {
|
2174
|
+
key: string;
|
2175
|
+
label: string;
|
2176
|
+
obfuscated: false;
|
2177
|
+
description: string;
|
2178
|
+
required: true;
|
2179
|
+
};
|
2180
|
+
client_secret: {
|
2181
|
+
key: string;
|
2182
|
+
label: string;
|
2183
|
+
obfuscated: true;
|
2184
|
+
description: string;
|
2185
|
+
required: true;
|
2186
|
+
};
|
2187
|
+
username: {
|
2188
|
+
key: string;
|
2189
|
+
label: string;
|
2190
|
+
obfuscated: false;
|
2191
|
+
description: string;
|
2192
|
+
required: false;
|
2193
|
+
};
|
2194
|
+
password: {
|
2195
|
+
key: string;
|
2196
|
+
label: string;
|
2197
|
+
obfuscated: true;
|
2198
|
+
description: string;
|
2199
|
+
required: false;
|
2200
|
+
};
|
2201
|
+
}, "id">;
|
2202
|
+
closeCareGap: import("@awell-health/extensions-core").Action<{
|
2203
|
+
quality_program: {
|
2204
|
+
id: string;
|
2205
|
+
label: string;
|
2206
|
+
type: import("@awell-health/extensions-core").FieldType.STRING;
|
2207
|
+
required: true;
|
2208
|
+
description: string;
|
2209
|
+
};
|
2210
|
+
caregap_id: {
|
2211
|
+
id: string;
|
2212
|
+
label: string;
|
2213
|
+
type: import("@awell-health/extensions-core").FieldType.STRING;
|
2214
|
+
required: true;
|
2215
|
+
description: string;
|
2216
|
+
};
|
2217
|
+
}, {
|
2218
|
+
base_url: {
|
2219
|
+
key: string;
|
2220
|
+
label: string;
|
2221
|
+
obfuscated: false;
|
2222
|
+
description: string;
|
2223
|
+
required: true;
|
2224
|
+
};
|
2225
|
+
auth_url: {
|
2226
|
+
key: string;
|
2227
|
+
label: string;
|
2228
|
+
obfuscated: false;
|
2229
|
+
description: string;
|
2230
|
+
required: true;
|
2231
|
+
};
|
2232
|
+
client_id: {
|
2233
|
+
key: string;
|
2234
|
+
label: string;
|
2235
|
+
obfuscated: false;
|
2236
|
+
description: string;
|
2237
|
+
required: true;
|
2238
|
+
};
|
2239
|
+
client_secret: {
|
2240
|
+
key: string;
|
2241
|
+
label: string;
|
2242
|
+
obfuscated: true;
|
2243
|
+
description: string;
|
2244
|
+
required: true;
|
2245
|
+
};
|
2246
|
+
username: {
|
2247
|
+
key: string;
|
2248
|
+
label: string;
|
2249
|
+
obfuscated: false;
|
2250
|
+
description: string;
|
2251
|
+
required: false;
|
2252
|
+
};
|
2253
|
+
password: {
|
2254
|
+
key: string;
|
2255
|
+
label: string;
|
2256
|
+
obfuscated: true;
|
2257
|
+
description: string;
|
2258
|
+
required: false;
|
2259
|
+
};
|
2260
|
+
}, never>;
|
2102
2261
|
};
|
@@ -23,6 +23,8 @@ const createVisitNote_1 = require("./createVisitNote/createVisitNote");
|
|
23
23
|
const addVitals_1 = require("./addVitals/addVitals");
|
24
24
|
const getLetter_1 = require("./getLetter");
|
25
25
|
const createReferralOrder_1 = require("./createReferralOrder");
|
26
|
+
const createCareGap_1 = require("./createCareGap");
|
27
|
+
const closeCareGap_1 = require("./closeCareGap");
|
26
28
|
exports.actions = {
|
27
29
|
getPatient: getPatient_1.getPatient,
|
28
30
|
createPatient: createPatient_1.createPatient,
|
@@ -46,5 +48,7 @@ exports.actions = {
|
|
46
48
|
createMessageThread: createMessageThread_1.createMessageThread,
|
47
49
|
getLetter: getLetter_1.getLetter,
|
48
50
|
createReferralOrder: createReferralOrder_1.createReferralOrder,
|
51
|
+
createCareGap: createCareGap_1.createCareGap,
|
52
|
+
closeCareGap: closeCareGap_1.closeCareGap,
|
49
53
|
};
|
50
54
|
//# 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,wDAAoD;AACpD,wDAAoD;AACpD,uEAAmE;AACnE,qDAAiD;AACjD,2CAAuC;AACvC,+DAA2D;
|
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,wDAAoD;AACpD,wDAAoD;AACpD,uEAAmE;AACnE,qDAAiD;AACjD,2CAAuC;AACvC,+DAA2D;AAC3D,mDAA+C;AAC/C,iDAA6C;AAEhC,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,SAAS,EAAT,qBAAS;IACT,mBAAmB,EAAnB,yCAAmB;IACnB,aAAa,EAAb,6BAAa;IACb,YAAY,EAAZ,2BAAY;CACb,CAAA"}
|
@@ -32,7 +32,7 @@
|
|
32
32
|
"changelog": "# CM.com changelog\n"
|
33
33
|
},
|
34
34
|
"collectData": {
|
35
|
-
"readme": "---\ntitle: Advanced data collection\ndescription: Collect data from your users using a variety of input types and data sources\n---\n\nThis extension allows you to collect data from your users using a variety of more advanced input types and data sources.\n\n## Extension settings\n\nIn order to set up this extension, no settings are required.\n\n## Custom Actions\n\n### Dynamic choice selector\n\nStandard select questions in Awell forms have a discrete set of choices to select from that are defined at the time that the form is created. If the list of choices to present to your responders isn't known at the time the form is being built, or changes often, this action allows you to load choices dynamically from a remote data source.\n\nDynamically-loaded choices must adhere to the following format in a list form (i.e. an array):\n\n```json\n
|
35
|
+
"readme": "---\ntitle: Advanced data collection\ndescription: Collect data from your users using a variety of input types and data sources\n---\n\nThis extension allows you to collect data from your users using a variety of more advanced input types and data sources.\n\n## Extension settings\n\nIn order to set up this extension, no settings are required.\n\n## Custom Actions\n\n### Dynamic choice selector\n\nStandard select questions in Awell forms have a discrete set of choices to select from that are defined at the time that the form is created. If the list of choices to present to your responders isn't known at the time the form is being built, or changes often, this action allows you to load choices dynamically from a remote data source.\n\nDynamically-loaded choices must minimally adhere to the following format in a list form (i.e. an array):\n\n```json\n[\n {\n \"id\": \"unique-id-1\",\n \"label\": \"Choice label 1\",\n \"value\": \"Choice value 1\"\n },\n {\n \"id\": \"unique-id-2\",\n \"label\": \"Choice label 2\",\n \"value\": \"Choice value 2\"\n }\n]\n```\n\nThe `id`, `label`, and `value` fields are required. However, additional fields can be added to the object. Besides the `label` and `value`, which are available as distinct data points, the additional data of the selected choice will also be returned as a data point.\n\nExample:\n\n```json\n[\n {\n \"id\": \"unique-id-1\",\n \"label\": \"Choice label 1\",\n \"value\": \"Choice value 1\",\n \"additionalData\": \"Additional data\",\n \"nestedData\": {\n \"nested\": \"value\"\n }\n }\n]\n```\n\nAdditionally, you can specify a free text search field (`Options - Search query param` field) to allow users to search through the choices. This is optional but highly recommended. If not specified, the choices will be fetched on question load and presented in a static list that cannot be filtered.\n\nAs an example, using the endpoint `https://example.com/choices` with a query parameter `search` (e.g. `https://example.com/choices?search=QUERY` where `QUERY` is whatever the user typed into the input), then the API is expected to return the choices based on that match the search term.\n\nWe recommend that your search logic returns an _alphabetically-sorted_ list of all options where the _lowercase_ label names _contain_ the _lowercase_ search term.\n\n```js\n// Example search logic\nconst searchTerm = req.query.search\nconst results = []\n\noptions.forEach((option) => {\n if (option.label.toLowerCase().includes(searchTerm.toLowerCase())) {\n results.push({\n label: option.label,\n value: option.value,\n id: option.id,\n })\n }\n})\n\nconst sortedResults = results.sort((a, b) => a.label.localeCompare(b.label))\nres.json(results)\n```\n\n### Collect medication\n\nThis action enables patients to list their medications. They can add multiple medications, providing the name, dosage, and any specific instructions for each one.\n",
|
36
36
|
"changelog": "# Collect Data changelog\n"
|
37
37
|
},
|
38
38
|
"dockHealth": {
|