@awell-health/awell-extensions 1.0.89 → 1.0.91
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/canvasMedical/v1/actions/createClaim/config/dataPoints.d.ts +6 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/config/dataPoints.js +10 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/config/dataPoints.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/config/fields.d.ts +98 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/config/fields.js +84 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/config/fields.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/config/index.d.ts +2 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/config/index.js +19 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/config/index.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/createClaim.d.ts +4 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/createClaim.js +66 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/createClaim.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/createClaim.test.d.ts +1 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/createClaim.test.js +27 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/createClaim.test.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/index.d.ts +1 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/index.js +6 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/index.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/config/dataPoints.d.ts +6 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/config/dataPoints.js +10 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/config/dataPoints.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/config/fields.d.ts +118 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/config/fields.js +99 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/config/fields.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/config/index.d.ts +2 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/config/index.js +19 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/config/index.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/createCoverage.d.ts +4 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/createCoverage.js +70 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/createCoverage.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/createCoverage.test.d.ts +1 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/createCoverage.test.js +25 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/createCoverage.test.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/index.d.ts +1 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/index.js +6 -0
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/index.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/index.d.ts +3 -0
- package/dist/extensions/canvasMedical/v1/actions/index.js +7 -1
- package/dist/extensions/canvasMedical/v1/actions/index.js.map +1 -1
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/config/dataPoints.d.ts +6 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/config/dataPoints.js +10 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/config/dataPoints.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/config/fields.d.ts +128 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/config/fields.js +107 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/config/fields.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/config/index.d.ts +2 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/config/index.js +19 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/config/index.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/index.d.ts +1 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/index.js +6 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/index.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/updateCoverage.d.ts +4 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/updateCoverage.js +72 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/updateCoverage.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/updateCoverage.test.d.ts +1 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/updateCoverage.test.js +25 -0
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/updateCoverage.test.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/client/client.d.ts +8 -0
- package/dist/extensions/canvasMedical/v1/client/client.js +33 -0
- package/dist/extensions/canvasMedical/v1/client/client.js.map +1 -1
- package/dist/extensions/canvasMedical/v1/validation/claim.d.ts +52 -0
- package/dist/extensions/canvasMedical/v1/validation/claim.js +23 -0
- package/dist/extensions/canvasMedical/v1/validation/claim.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/validation/coverage.zod.d.ts +150 -0
- package/dist/extensions/canvasMedical/v1/validation/coverage.zod.js +30 -0
- package/dist/extensions/canvasMedical/v1/validation/coverage.zod.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/validation/index.d.ts +1 -0
- package/dist/extensions/canvasMedical/v1/validation/index.js +1 -0
- package/dist/extensions/canvasMedical/v1/validation/index.js.map +1 -1
- package/dist/extensions/canvasMedical/v1/validation/validation.d.ts +4 -0
- package/dist/extensions/canvasMedical/v1/validation/validation.js +36 -0
- package/dist/extensions/canvasMedical/v1/validation/validation.js.map +1 -0
- package/dist/extensions/markdown.json +1 -1
- package/package.json +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dataPoints.js","sourceRoot":"","sources":["../../../../../../../extensions/canvasMedical/v1/actions/createClaim/config/dataPoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,QAAQ,EAAE;QACR,GAAG,EAAE,UAAU;QACf,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA"}
|
@@ -0,0 +1,98 @@
|
|
1
|
+
import { FieldType } from '@awell-health/extensions-core';
|
2
|
+
import { z } from 'zod';
|
3
|
+
export declare const fields: {
|
4
|
+
status: {
|
5
|
+
id: string;
|
6
|
+
label: string;
|
7
|
+
description: string;
|
8
|
+
type: FieldType.STRING;
|
9
|
+
required: true;
|
10
|
+
};
|
11
|
+
type: {
|
12
|
+
id: string;
|
13
|
+
label: string;
|
14
|
+
description: string;
|
15
|
+
type: FieldType.JSON;
|
16
|
+
required: true;
|
17
|
+
};
|
18
|
+
patientId: {
|
19
|
+
id: string;
|
20
|
+
label: string;
|
21
|
+
description: string;
|
22
|
+
type: FieldType.STRING;
|
23
|
+
required: true;
|
24
|
+
};
|
25
|
+
created: {
|
26
|
+
id: string;
|
27
|
+
label: string;
|
28
|
+
description: string;
|
29
|
+
type: FieldType.DATE;
|
30
|
+
required: true;
|
31
|
+
};
|
32
|
+
provider: {
|
33
|
+
id: string;
|
34
|
+
label: string;
|
35
|
+
description: string;
|
36
|
+
type: FieldType.JSON;
|
37
|
+
required: true;
|
38
|
+
};
|
39
|
+
supportingInfo: {
|
40
|
+
id: string;
|
41
|
+
label: string;
|
42
|
+
description: string;
|
43
|
+
type: FieldType.JSON;
|
44
|
+
required: false;
|
45
|
+
};
|
46
|
+
diagnosis: {
|
47
|
+
id: string;
|
48
|
+
label: string;
|
49
|
+
description: string;
|
50
|
+
type: FieldType.JSON;
|
51
|
+
required: true;
|
52
|
+
};
|
53
|
+
insurance: {
|
54
|
+
id: string;
|
55
|
+
label: string;
|
56
|
+
description: string;
|
57
|
+
type: FieldType.JSON;
|
58
|
+
required: true;
|
59
|
+
};
|
60
|
+
item: {
|
61
|
+
id: string;
|
62
|
+
label: string;
|
63
|
+
description: string;
|
64
|
+
type: FieldType.JSON;
|
65
|
+
required: true;
|
66
|
+
};
|
67
|
+
};
|
68
|
+
export declare const fieldsValidationSchema: z.ZodObject<{
|
69
|
+
status: z.ZodString;
|
70
|
+
type: z.ZodEffects<z.ZodEffects<z.ZodString, Record<string, any>, string>, Record<string, any>, string>;
|
71
|
+
patientId: z.ZodString;
|
72
|
+
created: z.ZodEffects<z.ZodDate, string, Date>;
|
73
|
+
provider: z.ZodEffects<z.ZodEffects<z.ZodString, Record<string, any>, string>, Record<string, any>, string>;
|
74
|
+
supportingInfo: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, Record<string, any>, string>, Record<string, any>[], string>>;
|
75
|
+
diagnosis: z.ZodEffects<z.ZodEffects<z.ZodString, Record<string, any>, string>, Record<string, any>[], string>;
|
76
|
+
insurance: z.ZodEffects<z.ZodEffects<z.ZodString, Record<string, any>, string>, Record<string, any>[], string>;
|
77
|
+
item: z.ZodEffects<z.ZodEffects<z.ZodString, Record<string, any>, string>, Record<string, any>[], string>;
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
79
|
+
type: Record<string, any>;
|
80
|
+
item: Record<string, any>[];
|
81
|
+
status: string;
|
82
|
+
created: string;
|
83
|
+
provider: Record<string, any>;
|
84
|
+
diagnosis: Record<string, any>[];
|
85
|
+
insurance: Record<string, any>[];
|
86
|
+
patientId: string;
|
87
|
+
supportingInfo?: Record<string, any>[] | undefined;
|
88
|
+
}, {
|
89
|
+
type: string;
|
90
|
+
item: string;
|
91
|
+
status: string;
|
92
|
+
created: Date;
|
93
|
+
provider: string;
|
94
|
+
diagnosis: string;
|
95
|
+
insurance: string;
|
96
|
+
patientId: string;
|
97
|
+
supportingInfo?: string | undefined;
|
98
|
+
}>;
|
@@ -0,0 +1,84 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.fieldsValidationSchema = exports.fields = void 0;
|
4
|
+
const extensions_core_1 = require("@awell-health/extensions-core");
|
5
|
+
const zod_1 = require("zod");
|
6
|
+
const validation_1 = require("../../../validation");
|
7
|
+
// Note: https://docs.canvasmedical.com/reference/claim-create
|
8
|
+
exports.fields = {
|
9
|
+
status: {
|
10
|
+
id: 'status',
|
11
|
+
label: 'Status',
|
12
|
+
description: 'Accepts a value representing the status compliant with Canvas Medical.',
|
13
|
+
type: extensions_core_1.FieldType.STRING,
|
14
|
+
required: true,
|
15
|
+
},
|
16
|
+
type: {
|
17
|
+
id: 'type',
|
18
|
+
label: 'Type',
|
19
|
+
description: 'Accepts a JSON object representing the type compliant with Canvas Medical.',
|
20
|
+
type: extensions_core_1.FieldType.JSON,
|
21
|
+
required: true,
|
22
|
+
},
|
23
|
+
patientId: {
|
24
|
+
id: 'patientId',
|
25
|
+
label: 'Patient ID',
|
26
|
+
description: `The patient's unique resource ID (e.g. 865058f6654149bd921264d91519af9e)`,
|
27
|
+
type: extensions_core_1.FieldType.STRING,
|
28
|
+
required: true,
|
29
|
+
},
|
30
|
+
created: {
|
31
|
+
id: 'created',
|
32
|
+
label: 'Created',
|
33
|
+
description: 'The field indicating when this claim resource was created, accepting a date in the YYYY-MM-DD format.',
|
34
|
+
type: extensions_core_1.FieldType.DATE,
|
35
|
+
required: true,
|
36
|
+
},
|
37
|
+
provider: {
|
38
|
+
id: 'provider',
|
39
|
+
label: 'Provider',
|
40
|
+
description: 'The field related to determining personnel resources for services in the statement accepts a JSON object in accordance with the Canvas Medical format.',
|
41
|
+
type: extensions_core_1.FieldType.JSON,
|
42
|
+
required: true,
|
43
|
+
},
|
44
|
+
supportingInfo: {
|
45
|
+
id: 'supportingInfo',
|
46
|
+
label: 'Supporting Info',
|
47
|
+
description: 'Accepts a value representing the supporting info compliant with Canvas Medical.',
|
48
|
+
type: extensions_core_1.FieldType.JSON,
|
49
|
+
required: false,
|
50
|
+
},
|
51
|
+
diagnosis: {
|
52
|
+
id: 'diagnosis',
|
53
|
+
label: 'Diagnosis',
|
54
|
+
description: 'The field represents the list will create the Assessments in Canvas for this claim and accepts an array of JSON objects.',
|
55
|
+
type: extensions_core_1.FieldType.JSON,
|
56
|
+
required: true,
|
57
|
+
},
|
58
|
+
insurance: {
|
59
|
+
id: 'insurance',
|
60
|
+
label: 'Insurance',
|
61
|
+
description: 'The field represents the list of elements that defines what coverages are to be used when adjudicating the claim and accepts an array of JSON objects.',
|
62
|
+
type: extensions_core_1.FieldType.JSON,
|
63
|
+
required: true,
|
64
|
+
},
|
65
|
+
item: {
|
66
|
+
id: 'item',
|
67
|
+
label: 'Item',
|
68
|
+
description: 'The field represents the list of service charges to be used in the claim and accepts an array of JSON objects.',
|
69
|
+
type: extensions_core_1.FieldType.JSON,
|
70
|
+
required: true,
|
71
|
+
},
|
72
|
+
};
|
73
|
+
exports.fieldsValidationSchema = zod_1.z.object({
|
74
|
+
status: zod_1.z.string(),
|
75
|
+
type: validation_1.JsonSchema,
|
76
|
+
patientId: zod_1.z.string(),
|
77
|
+
created: extensions_core_1.DateOnlySchema,
|
78
|
+
provider: validation_1.JsonSchema,
|
79
|
+
supportingInfo: validation_1.JsonArraySchema.optional(),
|
80
|
+
diagnosis: validation_1.JsonArraySchema,
|
81
|
+
insurance: validation_1.JsonArraySchema,
|
82
|
+
item: validation_1.JsonArraySchema,
|
83
|
+
});
|
84
|
+
//# sourceMappingURL=fields.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../../extensions/canvasMedical/v1/actions/createClaim/config/fields.ts"],"names":[],"mappings":";;;AAAA,mEAIsC;AACtC,6BAAwC;AACxC,oDAAiE;AAEjE,8DAA8D;AACjD,QAAA,MAAM,GAAG;IACpB,MAAM,EAAE;QACN,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,QAAQ;QACf,WAAW,EACT,wEAAwE;QAC1E,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM;QACV,KAAK,EAAE,MAAM;QACb,WAAW,EACT,4EAA4E;QAC9E,IAAI,EAAE,2BAAS,CAAC,IAAI;QACpB,QAAQ,EAAE,IAAI;KACf;IACD,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,0EAA0E;QACvF,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,OAAO,EAAE;QACP,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,SAAS;QAChB,WAAW,EACT,uGAAuG;QACzG,IAAI,EAAE,2BAAS,CAAC,IAAI;QACpB,QAAQ,EAAE,IAAI;KACf;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,UAAU;QACd,KAAK,EAAE,UAAU;QACjB,WAAW,EACT,wJAAwJ;QAC1J,IAAI,EAAE,2BAAS,CAAC,IAAI;QACpB,QAAQ,EAAE,IAAI;KACf;IACD,cAAc,EAAE;QACd,EAAE,EAAE,gBAAgB;QACpB,KAAK,EAAE,iBAAiB;QACxB,WAAW,EACT,iFAAiF;QACnF,IAAI,EAAE,2BAAS,CAAC,IAAI;QACpB,QAAQ,EAAE,KAAK;KAChB;IACD,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,WAAW;QAClB,WAAW,EACT,0HAA0H;QAC5H,IAAI,EAAE,2BAAS,CAAC,IAAI;QACpB,QAAQ,EAAE,IAAI;KACf;IACD,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,WAAW;QAClB,WAAW,EACT,wJAAwJ;QAC1J,IAAI,EAAE,2BAAS,CAAC,IAAI;QACpB,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM;QACV,KAAK,EAAE,MAAM;QACb,WAAW,EACT,gHAAgH;QAClH,IAAI,EAAE,2BAAS,CAAC,IAAI;QACpB,QAAQ,EAAE,IAAI;KACf;CAC8B,CAAA;AAEpB,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,uBAAU;IAChB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,OAAO,EAAE,gCAAc;IACvB,QAAQ,EAAE,uBAAU;IACpB,cAAc,EAAE,4BAAe,CAAC,QAAQ,EAAE;IAC1C,SAAS,EAAE,4BAAe;IAC1B,SAAS,EAAE,4BAAe;IAC1B,IAAI,EAAE,4BAAe;CAC4B,CAAC,CAAA"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./dataPoints"), exports);
|
18
|
+
__exportStar(require("./fields"), exports);
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../extensions/canvasMedical/v1/actions/createClaim/config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,2CAAwB"}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.createClaim = void 0;
|
4
|
+
const extensions_core_1 = require("@awell-health/extensions-core");
|
5
|
+
const extensions_core_2 = require("@awell-health/extensions-core");
|
6
|
+
const config_1 = require("./config");
|
7
|
+
const utils_1 = require("../../utils");
|
8
|
+
const zod_1 = require("zod");
|
9
|
+
const client_1 = require("../../client");
|
10
|
+
exports.createClaim = {
|
11
|
+
key: 'createClaim',
|
12
|
+
category: extensions_core_2.Category.EHR_INTEGRATIONS,
|
13
|
+
title: 'Create claim',
|
14
|
+
description: 'Create a claim for a specific patient.',
|
15
|
+
fields: config_1.fields,
|
16
|
+
dataPoints: config_1.dataPoints,
|
17
|
+
previewable: true,
|
18
|
+
onActivityCreated: async (payload, onComplete, onError) => {
|
19
|
+
try {
|
20
|
+
const { fields: { status, type, patientId, created, provider, supportingInfo, diagnosis, insurance, item, }, } = (0, extensions_core_1.validate)({
|
21
|
+
schema: zod_1.z.object({
|
22
|
+
fields: config_1.fieldsValidationSchema,
|
23
|
+
}),
|
24
|
+
payload,
|
25
|
+
});
|
26
|
+
const api = (0, client_1.makeAPIClient)(payload.settings);
|
27
|
+
const claimId = await api.createClaim({
|
28
|
+
resourceType: 'Claim',
|
29
|
+
status,
|
30
|
+
type,
|
31
|
+
use: 'claim',
|
32
|
+
patient: {
|
33
|
+
reference: `Patient/${patientId}`,
|
34
|
+
},
|
35
|
+
created,
|
36
|
+
provider,
|
37
|
+
supportingInfo,
|
38
|
+
diagnosis,
|
39
|
+
insurance,
|
40
|
+
item,
|
41
|
+
});
|
42
|
+
await onComplete({
|
43
|
+
data_points: {
|
44
|
+
claimId,
|
45
|
+
},
|
46
|
+
});
|
47
|
+
}
|
48
|
+
catch (error) {
|
49
|
+
console.log(error);
|
50
|
+
let parsedError;
|
51
|
+
if ((0, utils_1.isZodError)(error)) {
|
52
|
+
parsedError = (0, utils_1.parseZodError)(error);
|
53
|
+
}
|
54
|
+
else if ((0, utils_1.isAxiosError)(error)) {
|
55
|
+
parsedError = (0, utils_1.parseAxiosError)(error);
|
56
|
+
}
|
57
|
+
else {
|
58
|
+
parsedError = (0, utils_1.parseUnknowError)(error);
|
59
|
+
}
|
60
|
+
await onError({
|
61
|
+
events: [parsedError],
|
62
|
+
});
|
63
|
+
}
|
64
|
+
},
|
65
|
+
};
|
66
|
+
//# sourceMappingURL=createClaim.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"createClaim.js","sourceRoot":"","sources":["../../../../../../extensions/canvasMedical/v1/actions/createClaim/createClaim.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AAErE,mEAAwD;AACxD,qCAAqE;AACrE,uCAMoB;AACpB,6BAAuB;AAEvB,yCAA4C;AAE/B,QAAA,WAAW,GAA2C;IACjE,GAAG,EAAE,aAAa;IAClB,QAAQ,EAAE,0BAAQ,CAAC,gBAAgB;IACnC,KAAK,EAAE,cAAc;IACrB,WAAW,EAAE,wCAAwC;IACrD,MAAM,EAAN,eAAM;IACN,UAAU,EAAV,mBAAU;IACV,WAAW,EAAE,IAAI;IACjB,iBAAiB,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE;QACxD,IAAI;YACF,MAAM,EACJ,MAAM,EAAE,EACN,MAAM,EACN,IAAI,EACJ,SAAS,EACT,OAAO,EACP,QAAQ,EACR,cAAc,EACd,SAAS,EACT,SAAS,EACT,IAAI,GACL,GACF,GAAG,IAAA,0BAAQ,EAAC;gBACX,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC;oBACf,MAAM,EAAE,+BAAsB;iBAC/B,CAAC;gBACF,OAAO;aACR,CAAC,CAAA;YAEF,MAAM,GAAG,GAAG,IAAA,sBAAa,EAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;YAC3C,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,WAAW,CAAC;gBACpC,YAAY,EAAE,OAAO;gBACrB,MAAM;gBACN,IAAI;gBACJ,GAAG,EAAE,OAAO;gBACZ,OAAO,EAAE;oBACP,SAAS,EAAE,WAAW,SAAS,EAAE;iBAClC;gBACD,OAAO;gBACP,QAAQ;gBACR,cAAc;gBACd,SAAS;gBACT,SAAS;gBACT,IAAI;aACL,CAAC,CAAA;YAEF,MAAM,UAAU,CAAC;gBACf,WAAW,EAAE;oBACX,OAAO;iBACR;aACF,CAAC,CAAA;SACH;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;YAClB,IAAI,WAAW,CAAA;YAEf,IAAI,IAAA,kBAAU,EAAC,KAAK,CAAC,EAAE;gBACrB,WAAW,GAAG,IAAA,qBAAa,EAAC,KAAK,CAAC,CAAA;aACnC;iBAAM,IAAI,IAAA,oBAAY,EAAC,KAAK,CAAC,EAAE;gBAC9B,WAAW,GAAG,IAAA,uBAAe,EAAC,KAAmB,CAAC,CAAA;aACnD;iBAAM;gBACL,WAAW,GAAG,IAAA,wBAAgB,EAAC,KAAc,CAAC,CAAA;aAC/C;YACD,MAAM,OAAO,CAAC;gBACZ,MAAM,EAAE,CAAC,WAAW,CAAC;aACtB,CAAC,CAAA;SACH;IACH,CAAC;CACF,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const tests_1 = require("../../../../../src/tests");
|
4
|
+
const __mocks__1 = require("../../client/__mocks__");
|
5
|
+
const createClaim_1 = require("./createClaim");
|
6
|
+
jest.mock('../../client', () => ({
|
7
|
+
...jest.requireActual('../../client'),
|
8
|
+
makeAPIClient: __mocks__1.mockedMakeAPIClient,
|
9
|
+
}));
|
10
|
+
describe('createClaim', () => {
|
11
|
+
const onComplete = jest.fn();
|
12
|
+
const onError = jest.fn();
|
13
|
+
const payload = {
|
14
|
+
settings: __mocks__1.mockedSettings,
|
15
|
+
fields: __mocks__1.mockedCreateClaimData,
|
16
|
+
};
|
17
|
+
it('should create claim', async () => {
|
18
|
+
await createClaim_1.createClaim.onActivityCreated((0, tests_1.generateTestPayload)(payload), onComplete, onError);
|
19
|
+
expect(onComplete).toHaveBeenCalledTimes(1);
|
20
|
+
expect(onComplete).toHaveBeenCalledWith({
|
21
|
+
data_points: {
|
22
|
+
claimId: __mocks__1.mockedClaimId,
|
23
|
+
},
|
24
|
+
});
|
25
|
+
});
|
26
|
+
});
|
27
|
+
//# sourceMappingURL=createClaim.test.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"createClaim.test.js","sourceRoot":"","sources":["../../../../../../extensions/canvasMedical/v1/actions/createClaim/createClaim.test.ts"],"names":[],"mappings":";;AAAA,oDAA8D;AAC9D,qDAK+B;AAC/B,+CAA2C;AAE3C,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/B,GAAG,IAAI,CAAC,aAAa,CAAC,cAAc,CAAC;IACrC,aAAa,EAAE,8BAAmB;CACnC,CAAC,CAAC,CAAA;AAEH,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;IAC5B,MAAM,OAAO,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;IACzB,MAAM,OAAO,GAAG;QACd,QAAQ,EAAE,yBAAc;QACxB,MAAM,EAAE,gCAAqB;KAC9B,CAAA;IAED,EAAE,CAAC,qBAAqB,EAAE,KAAK,IAAI,EAAE;QACnC,MAAM,yBAAW,CAAC,iBAAiB,CACjC,IAAA,2BAAmB,EAAC,OAAO,CAAC,EAC5B,UAAU,EACV,OAAO,CACR,CAAA;QACD,MAAM,CAAC,UAAU,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAA;QAC3C,MAAM,CAAC,UAAU,CAAC,CAAC,oBAAoB,CAAC;YACtC,WAAW,EAAE;gBACX,OAAO,EAAE,wBAAa;aACvB;SACF,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { createClaim } from './createClaim';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.createClaim = void 0;
|
4
|
+
var createClaim_1 = require("./createClaim");
|
5
|
+
Object.defineProperty(exports, "createClaim", { enumerable: true, get: function () { return createClaim_1.createClaim; } });
|
6
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../extensions/canvasMedical/v1/actions/createClaim/index.ts"],"names":[],"mappings":";;;AAAA,6CAA2C;AAAlC,0GAAA,WAAW,OAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dataPoints.js","sourceRoot":"","sources":["../../../../../../../extensions/canvasMedical/v1/actions/createCoverage/config/dataPoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,UAAU,EAAE;QACV,GAAG,EAAE,YAAY;QACjB,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA"}
|
@@ -0,0 +1,118 @@
|
|
1
|
+
import { FieldType } from '@awell-health/extensions-core';
|
2
|
+
import { z } from 'zod';
|
3
|
+
export declare const fields: {
|
4
|
+
order: {
|
5
|
+
id: string;
|
6
|
+
label: string;
|
7
|
+
description: string;
|
8
|
+
type: FieldType.NUMERIC;
|
9
|
+
required: true;
|
10
|
+
};
|
11
|
+
status: {
|
12
|
+
id: string;
|
13
|
+
label: string;
|
14
|
+
description: string;
|
15
|
+
type: FieldType.STRING;
|
16
|
+
required: true;
|
17
|
+
};
|
18
|
+
type: {
|
19
|
+
id: string;
|
20
|
+
label: string;
|
21
|
+
description: string;
|
22
|
+
type: FieldType.JSON;
|
23
|
+
required: false;
|
24
|
+
};
|
25
|
+
subscriber: {
|
26
|
+
id: string;
|
27
|
+
label: string;
|
28
|
+
description: string;
|
29
|
+
type: FieldType.STRING;
|
30
|
+
required: true;
|
31
|
+
};
|
32
|
+
subscriberId: {
|
33
|
+
id: string;
|
34
|
+
label: string;
|
35
|
+
description: string;
|
36
|
+
type: FieldType.STRING;
|
37
|
+
required: false;
|
38
|
+
};
|
39
|
+
beneficiary: {
|
40
|
+
id: string;
|
41
|
+
label: string;
|
42
|
+
description: string;
|
43
|
+
type: FieldType.STRING;
|
44
|
+
required: true;
|
45
|
+
};
|
46
|
+
relationship: {
|
47
|
+
id: string;
|
48
|
+
label: string;
|
49
|
+
description: string;
|
50
|
+
type: FieldType.JSON;
|
51
|
+
required: true;
|
52
|
+
};
|
53
|
+
periodStart: {
|
54
|
+
id: string;
|
55
|
+
label: string;
|
56
|
+
description: string;
|
57
|
+
type: FieldType.STRING;
|
58
|
+
required: true;
|
59
|
+
};
|
60
|
+
periodEnd: {
|
61
|
+
id: string;
|
62
|
+
label: string;
|
63
|
+
description: string;
|
64
|
+
type: FieldType.STRING;
|
65
|
+
required: false;
|
66
|
+
};
|
67
|
+
payor: {
|
68
|
+
id: string;
|
69
|
+
label: string;
|
70
|
+
description: string;
|
71
|
+
type: FieldType.JSON;
|
72
|
+
required: true;
|
73
|
+
};
|
74
|
+
classCoverage: {
|
75
|
+
id: string;
|
76
|
+
label: string;
|
77
|
+
description: string;
|
78
|
+
type: FieldType.JSON;
|
79
|
+
required: false;
|
80
|
+
};
|
81
|
+
};
|
82
|
+
export declare const fieldsValidationSchema: z.ZodObject<{
|
83
|
+
order: z.ZodNumber;
|
84
|
+
status: z.ZodString;
|
85
|
+
type: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, Record<string, any>, string>, Record<string, any>, string>>;
|
86
|
+
subscriber: z.ZodString;
|
87
|
+
subscriberId: z.ZodOptional<z.ZodString>;
|
88
|
+
beneficiary: z.ZodString;
|
89
|
+
relationship: z.ZodEffects<z.ZodEffects<z.ZodString, Record<string, any>, string>, Record<string, any>, string>;
|
90
|
+
periodStart: z.ZodEffects<z.ZodDate, string, Date>;
|
91
|
+
periodEnd: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
|
92
|
+
payor: z.ZodEffects<z.ZodEffects<z.ZodString, Record<string, any>, string>, Record<string, any>[], string>;
|
93
|
+
classCoverage: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, Record<string, any>, string>, Record<string, any>[], string>>;
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
95
|
+
order: number;
|
96
|
+
status: string;
|
97
|
+
relationship: Record<string, any>;
|
98
|
+
subscriber: string;
|
99
|
+
beneficiary: string;
|
100
|
+
payor: Record<string, any>[];
|
101
|
+
periodStart: string;
|
102
|
+
type?: Record<string, any> | undefined;
|
103
|
+
subscriberId?: string | undefined;
|
104
|
+
periodEnd?: string | undefined;
|
105
|
+
classCoverage?: Record<string, any>[] | undefined;
|
106
|
+
}, {
|
107
|
+
order: number;
|
108
|
+
status: string;
|
109
|
+
relationship: string;
|
110
|
+
subscriber: string;
|
111
|
+
beneficiary: string;
|
112
|
+
payor: string;
|
113
|
+
periodStart: Date;
|
114
|
+
type?: string | undefined;
|
115
|
+
subscriberId?: string | undefined;
|
116
|
+
periodEnd?: Date | undefined;
|
117
|
+
classCoverage?: string | undefined;
|
118
|
+
}>;
|
@@ -0,0 +1,99 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.fieldsValidationSchema = exports.fields = void 0;
|
4
|
+
const extensions_core_1 = require("@awell-health/extensions-core");
|
5
|
+
const zod_1 = require("zod");
|
6
|
+
const validation_1 = require("../../../validation");
|
7
|
+
exports.fields = {
|
8
|
+
order: {
|
9
|
+
id: 'order',
|
10
|
+
label: 'Order',
|
11
|
+
description: 'A numerical value from 1 to 5, representing the order in which insurance coverages should be used when processing claims.',
|
12
|
+
type: extensions_core_1.FieldType.NUMERIC,
|
13
|
+
required: true,
|
14
|
+
},
|
15
|
+
status: {
|
16
|
+
id: 'status',
|
17
|
+
label: 'Status',
|
18
|
+
description: 'The status of the coverage.',
|
19
|
+
type: extensions_core_1.FieldType.STRING,
|
20
|
+
required: true,
|
21
|
+
},
|
22
|
+
type: {
|
23
|
+
id: 'type',
|
24
|
+
label: 'Type',
|
25
|
+
description: `The Insurance Coverage Code Category, such as medical or accident, using values from http://hl7.org/fhir/ValueSet/coverage-type.`,
|
26
|
+
type: extensions_core_1.FieldType.JSON,
|
27
|
+
required: false,
|
28
|
+
},
|
29
|
+
subscriber: {
|
30
|
+
id: 'subscriber',
|
31
|
+
label: 'Subscriber',
|
32
|
+
description: `The resource for the subscriber of the coverage, formatted as a standard identifier "Patient/5350cd20de8a470aa570a852859ac87e".`,
|
33
|
+
type: extensions_core_1.FieldType.STRING,
|
34
|
+
required: true,
|
35
|
+
},
|
36
|
+
subscriberId: {
|
37
|
+
id: 'subscriberId',
|
38
|
+
label: 'Subscriber ID',
|
39
|
+
description: `The patient's unique ID.`,
|
40
|
+
type: extensions_core_1.FieldType.STRING,
|
41
|
+
required: false,
|
42
|
+
},
|
43
|
+
beneficiary: {
|
44
|
+
id: 'beneficiary',
|
45
|
+
label: 'Beneficiary',
|
46
|
+
description: `The patient the coverage is intended for, formatted as a standard identifier "Patient/5350cd20de8a470aa570a852859ac87e".`,
|
47
|
+
type: extensions_core_1.FieldType.STRING,
|
48
|
+
required: true,
|
49
|
+
},
|
50
|
+
relationship: {
|
51
|
+
id: 'relationship',
|
52
|
+
label: 'Relationship',
|
53
|
+
description: `The beneficiary's relationship to the subscriber, as defined in http://hl7.org/fhir/ValueSet/subscriber-relationship.`,
|
54
|
+
type: extensions_core_1.FieldType.JSON,
|
55
|
+
required: true,
|
56
|
+
},
|
57
|
+
periodStart: {
|
58
|
+
id: 'periodStart',
|
59
|
+
label: 'periodStart',
|
60
|
+
description: `When the coverage became active for the patient, expressed in FHIR Date format (YYYY-MM-DD).`,
|
61
|
+
type: extensions_core_1.FieldType.STRING,
|
62
|
+
required: true,
|
63
|
+
},
|
64
|
+
periodEnd: {
|
65
|
+
id: 'periodEnd',
|
66
|
+
label: 'periodEnd',
|
67
|
+
description: `When the coverage was no longer active for the patient, expressed in FHIR Date format (YYYY-MM-DD).`,
|
68
|
+
type: extensions_core_1.FieldType.STRING,
|
69
|
+
required: false,
|
70
|
+
},
|
71
|
+
payor: {
|
72
|
+
id: 'payor',
|
73
|
+
label: 'Payor',
|
74
|
+
description: `Details of the payor, as definded in https://docs.canvasmedical.com/reference/coverage-create`,
|
75
|
+
type: extensions_core_1.FieldType.JSON,
|
76
|
+
required: true,
|
77
|
+
},
|
78
|
+
classCoverage: {
|
79
|
+
id: 'classCoverage',
|
80
|
+
label: 'Class',
|
81
|
+
description: `Definition of the plan, subplan, group, and subgroup, as definded in https://docs.canvasmedical.com/reference/coverage-create`,
|
82
|
+
type: extensions_core_1.FieldType.JSON,
|
83
|
+
required: false,
|
84
|
+
},
|
85
|
+
};
|
86
|
+
exports.fieldsValidationSchema = zod_1.z.object({
|
87
|
+
order: zod_1.z.coerce.number().min(1).max(5),
|
88
|
+
status: zod_1.z.string(),
|
89
|
+
type: validation_1.JsonSchema.optional(),
|
90
|
+
subscriber: (0, validation_1.createReferenceSchema)('Patient'),
|
91
|
+
subscriberId: zod_1.z.string().optional(),
|
92
|
+
beneficiary: (0, validation_1.createReferenceSchema)('Patient'),
|
93
|
+
relationship: validation_1.JsonSchema,
|
94
|
+
periodStart: extensions_core_1.DateOnlySchema,
|
95
|
+
periodEnd: extensions_core_1.DateOnlySchema.optional(),
|
96
|
+
payor: validation_1.JsonArraySchema,
|
97
|
+
classCoverage: validation_1.JsonArraySchema.optional(),
|
98
|
+
});
|
99
|
+
//# sourceMappingURL=fields.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../../extensions/canvasMedical/v1/actions/createCoverage/config/fields.ts"],"names":[],"mappings":"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"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./dataPoints"), exports);
|
18
|
+
__exportStar(require("./fields"), exports);
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../extensions/canvasMedical/v1/actions/createCoverage/config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,2CAAwB"}
|