@awell-health/awell-extensions 1.0.191 → 1.0.192
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/extensions/icd/actions/tfu/config/helperFunctions.d.ts +1 -0
- package/dist/extensions/icd/actions/tfu/config/helperFunctions.js +22 -0
- package/dist/extensions/icd/actions/tfu/config/helperFunctions.js.map +1 -0
- package/dist/extensions/icd/actions/tfu/icd.js +12 -86
- package/dist/extensions/icd/actions/tfu/icd.js.map +1 -1
- package/dist/extensions/icd/client.d.ts +83 -0
- package/dist/extensions/icd/client.js +74 -0
- package/dist/extensions/icd/client.js.map +1 -0
- package/dist/extensions/icd/index.js +1 -1
- package/package.json +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
export declare const checkICDCode: (code: string) => boolean;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.checkICDCode = void 0;
|
4
|
+
const checkICDCode = (code) => {
|
5
|
+
const diseases = [
|
6
|
+
'hypertension',
|
7
|
+
'asthma',
|
8
|
+
'diabetes mellitus',
|
9
|
+
'heart failure',
|
10
|
+
'copd',
|
11
|
+
'cad',
|
12
|
+
'coronary artery disease',
|
13
|
+
];
|
14
|
+
if (diseases.includes(code.toLowerCase())) {
|
15
|
+
return true;
|
16
|
+
}
|
17
|
+
else {
|
18
|
+
return false;
|
19
|
+
}
|
20
|
+
};
|
21
|
+
exports.checkICDCode = checkICDCode;
|
22
|
+
//# sourceMappingURL=helperFunctions.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"helperFunctions.js","sourceRoot":"","sources":["../../../../../../extensions/icd/actions/tfu/config/helperFunctions.ts"],"names":[],"mappings":";;;AAAO,MAAM,YAAY,GAAG,CAAC,IAAY,EAAW,EAAE;IACpD,MAAM,QAAQ,GAAG;QACf,cAAc;QACd,QAAQ;QACR,mBAAmB;QACnB,eAAe;QACf,MAAM;QACN,KAAK;QACL,yBAAyB;KAC1B,CAAA;IACD,IAAI,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,EAAE;QACzC,OAAO,IAAI,CAAA;KACZ;SAAM;QACL,OAAO,KAAK,CAAA;KACb;AACH,CAAC,CAAA;AAfY,QAAA,YAAY,gBAexB"}
|
@@ -5,11 +5,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.icd = void 0;
|
7
7
|
const extensions_core_1 = require("@awell-health/extensions-core");
|
8
|
-
const axios_1 = __importDefault(require("axios"));
|
9
|
-
const lodash_1 = require("lodash");
|
10
8
|
const zod_1 = __importDefault(require("zod"));
|
11
9
|
const fields_1 = require("./config/fields");
|
12
10
|
const dataPoints_1 = require("./config/dataPoints");
|
11
|
+
const client_1 = require("../../client");
|
12
|
+
const helperFunctions_1 = require("./config/helperFunctions");
|
13
13
|
const settings = {};
|
14
14
|
const SettingSchema = zod_1.default.unknown();
|
15
15
|
const PayloadSchema = zod_1.default.object({
|
@@ -18,7 +18,7 @@ const PayloadSchema = zod_1.default.object({
|
|
18
18
|
});
|
19
19
|
exports.icd = {
|
20
20
|
key: 'icd',
|
21
|
-
category: extensions_core_1.Category.
|
21
|
+
category: extensions_core_1.Category.DATA,
|
22
22
|
title: 'ICD-10 Code Lookup',
|
23
23
|
description: 'Lookup ICD-10 codes and return the parent disease',
|
24
24
|
fields: fields_1.fields,
|
@@ -36,9 +36,15 @@ exports.icd = {
|
|
36
36
|
});
|
37
37
|
return;
|
38
38
|
}
|
39
|
-
const
|
40
|
-
const icdCodes = await
|
41
|
-
|
39
|
+
const IDPClient = (0, client_1.makeAPIClient)();
|
40
|
+
const icdCodes = await Promise.all(icd_codes.map(async (code) => {
|
41
|
+
const response = await IDPClient.getCode(code);
|
42
|
+
if (response.parent !== undefined) {
|
43
|
+
const parent = await IDPClient.getCode(response.parent);
|
44
|
+
return parent.title;
|
45
|
+
}
|
46
|
+
}));
|
47
|
+
const resp = icdCodes.some(helperFunctions_1.checkICDCode);
|
42
48
|
await onComplete({
|
43
49
|
data_points: {
|
44
50
|
codes: JSON.stringify(icdCodes),
|
@@ -47,84 +53,4 @@ exports.icd = {
|
|
47
53
|
});
|
48
54
|
},
|
49
55
|
};
|
50
|
-
const ICDSchema = zod_1.default
|
51
|
-
.object({
|
52
|
-
parent: zod_1.default.array(zod_1.default.string()),
|
53
|
-
title: zod_1.default.object({
|
54
|
-
'@language': zod_1.default.string(),
|
55
|
-
'@value': zod_1.default.string(),
|
56
|
-
}),
|
57
|
-
})
|
58
|
-
.refine(({ parent }) => parent.length !== 0)
|
59
|
-
.transform((data) => {
|
60
|
-
return {
|
61
|
-
parent: data.parent[0],
|
62
|
-
title: data.title['@value'],
|
63
|
-
};
|
64
|
-
})
|
65
|
-
.refine(({ parent }) => !(0, lodash_1.isNil)(parent) && !(0, lodash_1.isEmpty)(parent))
|
66
|
-
.refine(({ title }) => !(0, lodash_1.isNil)(title) && !(0, lodash_1.isEmpty)(title));
|
67
|
-
const checkICDCode = (code) => {
|
68
|
-
const diseases = [
|
69
|
-
'hypertension',
|
70
|
-
'asthma',
|
71
|
-
'diabetes mellitus',
|
72
|
-
'heart failure',
|
73
|
-
'copd',
|
74
|
-
'cad',
|
75
|
-
'coronary artery disease',
|
76
|
-
];
|
77
|
-
if (diseases.includes(code.toLowerCase())) {
|
78
|
-
return true;
|
79
|
-
}
|
80
|
-
else {
|
81
|
-
return false;
|
82
|
-
}
|
83
|
-
};
|
84
|
-
const grabAccessToken = async () => {
|
85
|
-
const token_endpoint = 'https://icdaccessmanagement.who.int/connect/token';
|
86
|
-
const client_id = 'ee7ba0bd-5da7-4c9a-8623-6084fa92d8d0_7a6a5bb2-2dde-4a6b-b104-04aec6387536';
|
87
|
-
const client_secret = 'Dz2n/CzI/EYFMKgqgBRZa0zZjkUUZYFEf8lh1EbAS4I=';
|
88
|
-
const scope = 'icdapi_access';
|
89
|
-
const grant_type = 'client_credentials';
|
90
|
-
// Prepare the data as URLSearchParams
|
91
|
-
const params = new URLSearchParams();
|
92
|
-
params.append('client_id', client_id);
|
93
|
-
params.append('client_secret', client_secret);
|
94
|
-
params.append('scope', scope);
|
95
|
-
params.append('grant_type', grant_type);
|
96
|
-
const token_response = await axios_1.default.post(token_endpoint, params, {
|
97
|
-
headers: {
|
98
|
-
'Content-Type': 'application/x-www-form-urlencoded',
|
99
|
-
},
|
100
|
-
});
|
101
|
-
const accessToken = token_response.data.access_token;
|
102
|
-
return accessToken;
|
103
|
-
};
|
104
|
-
const grabICDCodes = async (accessToken, icd_codes) => {
|
105
|
-
/**
|
106
|
-
* First Api call to get the parent of the ICD code, so E10 will return E10-E14
|
107
|
-
* Second Api call to get the title of the parent, so E10-E14 will return Diabetes mellitus
|
108
|
-
*
|
109
|
-
*/
|
110
|
-
const headers = {
|
111
|
-
Authorization: `Bearer ${accessToken}`,
|
112
|
-
Accept: 'application/json',
|
113
|
-
'Accept-Language': 'en',
|
114
|
-
'API-Version': 'v2',
|
115
|
-
};
|
116
|
-
const icdCodes = await Promise.all(icd_codes.map(async (code) => {
|
117
|
-
const response = await axios_1.default.get(`https://id.who.int/icd/release/10/2019/${code}`, {
|
118
|
-
headers,
|
119
|
-
});
|
120
|
-
const { parent } = ICDSchema.parse(response.data);
|
121
|
-
const parentUrl = parent.replace('http', 'https');
|
122
|
-
const parentResponse = await axios_1.default.get(parentUrl, {
|
123
|
-
headers,
|
124
|
-
});
|
125
|
-
const { title } = ICDSchema.parse(parentResponse.data);
|
126
|
-
return title;
|
127
|
-
}));
|
128
|
-
return icdCodes;
|
129
|
-
};
|
130
56
|
//# sourceMappingURL=icd.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"icd.js","sourceRoot":"","sources":["../../../../../extensions/icd/actions/tfu/icd.ts"],"names":[],"mappings":";;;;;;AACA,mEAAwD;AACxD,
|
1
|
+
{"version":3,"file":"icd.js","sourceRoot":"","sources":["../../../../../extensions/icd/actions/tfu/icd.ts"],"names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,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAA;gBACvD,OAAO,MAAM,CAAC,KAAK,CAAA;aACpB;QACH,CAAC,CAAC,CACH,CAAA;QAED,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,8BAAY,CAAC,CAAA;QAExC,MAAM,UAAU,CAAC;YACf,WAAW,EAAE;gBACX,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC;gBAC/B,cAAc,EAAE,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK;aACrC;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA"}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
import { APIClient, DataWrapper, type OAuthGrantClientCredentialsRequest, type DataWrapperCtor } from '@awell-health/extensions-core';
|
2
|
+
import z from 'zod';
|
3
|
+
type ICDOutput = z.output<typeof ICDSchema>;
|
4
|
+
export declare class ICDDataWrapper extends DataWrapper {
|
5
|
+
getCode(code: string): Promise<ICDOutput>;
|
6
|
+
}
|
7
|
+
interface ICDAPIClientConstructorProps {
|
8
|
+
authUrl: string;
|
9
|
+
requestConfig: Omit<OAuthGrantClientCredentialsRequest, 'client_credentials'>;
|
10
|
+
baseUrl: string;
|
11
|
+
headers: Record<string, string>;
|
12
|
+
}
|
13
|
+
export declare class ICDAPIClient extends APIClient<ICDDataWrapper> {
|
14
|
+
readonly ctor: DataWrapperCtor<ICDDataWrapper>;
|
15
|
+
constructor({ authUrl, requestConfig, ...opts }: ICDAPIClientConstructorProps);
|
16
|
+
getCode(code: string): Promise<ICDOutput>;
|
17
|
+
}
|
18
|
+
export declare const makeAPIClient: () => ICDAPIClient;
|
19
|
+
declare const ICDSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
20
|
+
parent: z.ZodArray<z.ZodString, "many">;
|
21
|
+
title: z.ZodObject<{
|
22
|
+
'@language': z.ZodString;
|
23
|
+
'@value': z.ZodString;
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
25
|
+
'@language': string;
|
26
|
+
'@value': string;
|
27
|
+
}, {
|
28
|
+
'@language': string;
|
29
|
+
'@value': string;
|
30
|
+
}>;
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
32
|
+
title: {
|
33
|
+
'@language': string;
|
34
|
+
'@value': string;
|
35
|
+
};
|
36
|
+
parent: string[];
|
37
|
+
}, {
|
38
|
+
title: {
|
39
|
+
'@language': string;
|
40
|
+
'@value': string;
|
41
|
+
};
|
42
|
+
parent: string[];
|
43
|
+
}>, {
|
44
|
+
title: {
|
45
|
+
'@language': string;
|
46
|
+
'@value': string;
|
47
|
+
};
|
48
|
+
parent: string[];
|
49
|
+
}, {
|
50
|
+
title: {
|
51
|
+
'@language': string;
|
52
|
+
'@value': string;
|
53
|
+
};
|
54
|
+
parent: string[];
|
55
|
+
}>, {
|
56
|
+
parent: string | undefined;
|
57
|
+
title: string;
|
58
|
+
}, {
|
59
|
+
title: {
|
60
|
+
'@language': string;
|
61
|
+
'@value': string;
|
62
|
+
};
|
63
|
+
parent: string[];
|
64
|
+
}>, {
|
65
|
+
parent: string | undefined;
|
66
|
+
title: string;
|
67
|
+
}, {
|
68
|
+
title: {
|
69
|
+
'@language': string;
|
70
|
+
'@value': string;
|
71
|
+
};
|
72
|
+
parent: string[];
|
73
|
+
}>, {
|
74
|
+
parent: string | undefined;
|
75
|
+
title: string;
|
76
|
+
}, {
|
77
|
+
title: {
|
78
|
+
'@language': string;
|
79
|
+
'@value': string;
|
80
|
+
};
|
81
|
+
parent: string[];
|
82
|
+
}>;
|
83
|
+
export {};
|
@@ -0,0 +1,74 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.makeAPIClient = exports.ICDAPIClient = exports.ICDDataWrapper = void 0;
|
7
|
+
const extensions_core_1 = require("@awell-health/extensions-core");
|
8
|
+
const zod_1 = __importDefault(require("zod"));
|
9
|
+
const lodash_1 = require("lodash");
|
10
|
+
class ICDDataWrapper extends extensions_core_1.DataWrapper {
|
11
|
+
async getCode(code) {
|
12
|
+
const req = this.Request({
|
13
|
+
method: 'GET',
|
14
|
+
url: `release/10/2019/${code}`,
|
15
|
+
headers: {
|
16
|
+
'Accept-Language': 'en',
|
17
|
+
'API-Version': 'v2',
|
18
|
+
},
|
19
|
+
});
|
20
|
+
const res = await req;
|
21
|
+
return ICDSchema.parse(res);
|
22
|
+
}
|
23
|
+
}
|
24
|
+
exports.ICDDataWrapper = ICDDataWrapper;
|
25
|
+
class ICDAPIClient extends extensions_core_1.APIClient {
|
26
|
+
constructor({ authUrl, requestConfig, ...opts }) {
|
27
|
+
super({
|
28
|
+
...opts,
|
29
|
+
auth: new extensions_core_1.OAuthClientCredentials({
|
30
|
+
auth_url: authUrl,
|
31
|
+
request_config: requestConfig,
|
32
|
+
}),
|
33
|
+
});
|
34
|
+
this.ctor = (token, baseUrl) => new ICDDataWrapper(token, baseUrl);
|
35
|
+
}
|
36
|
+
async getCode(code) {
|
37
|
+
return await this.FetchData(async (dw) => await dw.getCode(code));
|
38
|
+
}
|
39
|
+
}
|
40
|
+
exports.ICDAPIClient = ICDAPIClient;
|
41
|
+
const makeAPIClient = () => {
|
42
|
+
return new ICDAPIClient({
|
43
|
+
authUrl: 'https://icdaccessmanagement.who.int/connect/token',
|
44
|
+
requestConfig: {
|
45
|
+
client_id: 'ee7ba0bd-5da7-4c9a-8623-6084fa92d8d0_7a6a5bb2-2dde-4a6b-b104-04aec6387536',
|
46
|
+
client_secret: 'Dz2n/CzI/EYFMKgqgBRZa0zZjkUUZYFEf8lh1EbAS4I=',
|
47
|
+
scope: 'icdapi_access',
|
48
|
+
grant_type: 'client_credentials',
|
49
|
+
},
|
50
|
+
baseUrl: 'https://id.who.int/icd/',
|
51
|
+
headers: {
|
52
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
53
|
+
},
|
54
|
+
});
|
55
|
+
};
|
56
|
+
exports.makeAPIClient = makeAPIClient;
|
57
|
+
const ICDSchema = zod_1.default
|
58
|
+
.object({
|
59
|
+
parent: zod_1.default.array(zod_1.default.string()),
|
60
|
+
title: zod_1.default.object({
|
61
|
+
'@language': zod_1.default.string(),
|
62
|
+
'@value': zod_1.default.string(),
|
63
|
+
}),
|
64
|
+
})
|
65
|
+
.refine(({ parent }) => parent.length !== 0)
|
66
|
+
.transform((data) => {
|
67
|
+
return {
|
68
|
+
parent: data.parent[0].split('/').pop(),
|
69
|
+
title: data.title['@value'],
|
70
|
+
};
|
71
|
+
})
|
72
|
+
.refine(({ parent }) => !(0, lodash_1.isNil)(parent) && !(0, lodash_1.isEmpty)(parent))
|
73
|
+
.refine(({ title }) => !(0, lodash_1.isNil)(title) && !(0, lodash_1.isEmpty)(title));
|
74
|
+
//# sourceMappingURL=client.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../extensions/icd/client.ts"],"names":[],"mappings":";;;;;;AAAA,mEAMsC;AACtC,8CAAmB;AACnB,mCAAuC;AAKvC,MAAa,cAAe,SAAQ,6BAAW;IACtC,KAAK,CAAC,OAAO,CAAC,IAAY;QAC/B,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAc;YACpC,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mBAAmB,IAAI,EAAE;YAC9B,OAAO,EAAE;gBACP,iBAAiB,EAAE,IAAI;gBACvB,aAAa,EAAE,IAAI;aACpB;SACF,CAAC,CAAA;QACF,MAAM,GAAG,GAAG,MAAM,GAAG,CAAA;QACrB,OAAO,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAC7B,CAAC;CACF;AAbD,wCAaC;AASD,MAAa,YAAa,SAAQ,2BAAyB;IAMzD,YAAmB,EACjB,OAAO,EACP,aAA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C3C,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE;IAClB,OAAO;QACL,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE;QACvC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;KAC5B,CAAA;AACH,CAAC,CAAC;KACD,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,IAAA,cAAK,EAAC,MAAM,CAAC,IAAI,CAAC,IAAA,gBAAO,EAAC,MAAM,CAAC,CAAC;KAC1D,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAA,cAAK,EAAC,KAAK,CAAC,IAAI,CAAC,IAAA,gBAAO,EAAC,KAAK,CAAC,CAAC,CAAA"}
|
@@ -11,7 +11,7 @@ exports.icd = {
|
|
11
11
|
title: 'An ICD extension!',
|
12
12
|
description: 'An example extension developers can look at to get started with building their first extension.',
|
13
13
|
icon_url: 'https://res.cloudinary.com/da7x4rzl4/image/upload/v1678870116/Awell%20Extensions/Awell_Logo.png',
|
14
|
-
category: extensions_core_1.Category.
|
14
|
+
category: extensions_core_1.Category.DATA,
|
15
15
|
author: {
|
16
16
|
authorType: extensions_core_1.AuthorType.AWELL,
|
17
17
|
},
|