@synanetics/profiles-pie 5.0.0-beta.1 → 5.0.1
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/codesystems/index.mjs +1 -1
- package/dist/codesystems/pieOutcome.cjs +51 -8
- package/dist/codesystems/pieOutcome.cjs.map +1 -1
- package/dist/codesystems/pieOutcome.d.cts +44 -1
- package/dist/codesystems/pieOutcome.d.cts.map +1 -1
- package/dist/codesystems/pieOutcome.d.mts +44 -1
- package/dist/codesystems/pieOutcome.d.mts.map +1 -1
- package/dist/codesystems/pieOutcome.mjs +51 -9
- package/dist/codesystems/pieOutcome.mjs.map +1 -1
- package/dist/codesystems.json +8 -8
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/search-parameters/RoutingRule-name.cjs +1 -1
- package/dist/search-parameters/RoutingRule-name.cjs.map +1 -1
- package/dist/search-parameters/RoutingRule-name.mjs +1 -1
- package/dist/search-parameters/RoutingRule-name.mjs.map +1 -1
- package/dist/search-parameters/RoutingRule-title.cjs +1 -1
- package/dist/search-parameters/RoutingRule-title.cjs.map +1 -1
- package/dist/search-parameters/RoutingRule-title.mjs +1 -1
- package/dist/search-parameters/RoutingRule-title.mjs.map +1 -1
- package/dist/search-parameters.json +2 -2
- package/package.json +18 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PieOutcomeCode, pieOutcomeCs } from "./pieOutcome.mjs";
|
|
1
|
+
import { PieOutcomeCode, pieOutcomeCoding, pieOutcomeCs } from "./pieOutcome.mjs";
|
|
2
2
|
import { RrStatusCode, routingRuleStatusCs, rrStatusCoding } from "./RoutingRule-status.mjs";
|
|
3
3
|
import { SrErrorCode, srErrorCoding, srErrorStatusCs } from "./ServiceRequest-error-status.mjs";
|
|
4
4
|
import { SrPostDispatchCode, srPostDispatchCoding, srPostDispatchStatusCs } from "./ServiceRequest-post-dispatch-status.mjs";
|
|
@@ -12,6 +12,48 @@ let PieOutcomeCode = /* @__PURE__ */ function(PieOutcomeCode$1) {
|
|
|
12
12
|
PieOutcomeCode$1["RESOURCE_DELETE_ERROR"] = "RESOURCE_DELETE_ERROR";
|
|
13
13
|
return PieOutcomeCode$1;
|
|
14
14
|
}({});
|
|
15
|
+
const pieOutcomeCoding = {
|
|
16
|
+
BAD_REQUEST: {
|
|
17
|
+
code: PieOutcomeCode.BAD_REQUEST,
|
|
18
|
+
display: "The provided input is invalid",
|
|
19
|
+
system: require_constants.CodeSystemURL.OUTCOME_CODE
|
|
20
|
+
},
|
|
21
|
+
RESOURCE_NOT_FOUND: {
|
|
22
|
+
code: PieOutcomeCode.RESOURCE_NOT_FOUND,
|
|
23
|
+
display: "A required resource could not be found",
|
|
24
|
+
system: require_constants.CodeSystemURL.OUTCOME_CODE
|
|
25
|
+
},
|
|
26
|
+
ELEMENT_NOT_FOUND: {
|
|
27
|
+
code: PieOutcomeCode.ELEMENT_NOT_FOUND,
|
|
28
|
+
display: "A required resource element could not be found",
|
|
29
|
+
system: require_constants.CodeSystemURL.OUTCOME_CODE
|
|
30
|
+
},
|
|
31
|
+
RESOURCE_CONFLICT: {
|
|
32
|
+
code: PieOutcomeCode.RESOURCE_CONFLICT,
|
|
33
|
+
display: "The input conflicts with an existing resource",
|
|
34
|
+
system: require_constants.CodeSystemURL.OUTCOME_CODE
|
|
35
|
+
},
|
|
36
|
+
ELEMENT_CONFLICT: {
|
|
37
|
+
code: PieOutcomeCode.ELEMENT_CONFLICT,
|
|
38
|
+
display: "The input conflicts with an existing resource element",
|
|
39
|
+
system: require_constants.CodeSystemURL.OUTCOME_CODE
|
|
40
|
+
},
|
|
41
|
+
RESOURCE_SEARCH_ERROR: {
|
|
42
|
+
code: PieOutcomeCode.RESOURCE_SEARCH_ERROR,
|
|
43
|
+
display: "There was an error whilst performing a resource search",
|
|
44
|
+
system: require_constants.CodeSystemURL.OUTCOME_CODE
|
|
45
|
+
},
|
|
46
|
+
RESOURCE_UPDATE_ERROR: {
|
|
47
|
+
code: PieOutcomeCode.RESOURCE_UPDATE_ERROR,
|
|
48
|
+
display: "There was an error whilst performing a resource update",
|
|
49
|
+
system: require_constants.CodeSystemURL.OUTCOME_CODE
|
|
50
|
+
},
|
|
51
|
+
RESOURCE_DELETE_ERROR: {
|
|
52
|
+
code: PieOutcomeCode.RESOURCE_DELETE_ERROR,
|
|
53
|
+
display: "There was an error whilst performing a resource deletion",
|
|
54
|
+
system: require_constants.CodeSystemURL.OUTCOME_CODE
|
|
55
|
+
}
|
|
56
|
+
};
|
|
15
57
|
const pieOutcomeCs = {
|
|
16
58
|
id: require_constants.CodeSystemId.OUTCOME_CODE,
|
|
17
59
|
resourceType: "CodeSystem",
|
|
@@ -24,40 +66,41 @@ const pieOutcomeCs = {
|
|
|
24
66
|
concept: [
|
|
25
67
|
{
|
|
26
68
|
code: PieOutcomeCode.BAD_REQUEST,
|
|
27
|
-
|
|
69
|
+
display: pieOutcomeCoding.BAD_REQUEST.display
|
|
28
70
|
},
|
|
29
71
|
{
|
|
30
72
|
code: PieOutcomeCode.RESOURCE_NOT_FOUND,
|
|
31
|
-
|
|
73
|
+
display: pieOutcomeCoding.RESOURCE_NOT_FOUND.display
|
|
32
74
|
},
|
|
33
75
|
{
|
|
34
76
|
code: PieOutcomeCode.ELEMENT_NOT_FOUND,
|
|
35
|
-
|
|
77
|
+
display: pieOutcomeCoding.ELEMENT_NOT_FOUND.display
|
|
36
78
|
},
|
|
37
79
|
{
|
|
38
80
|
code: PieOutcomeCode.RESOURCE_CONFLICT,
|
|
39
|
-
|
|
81
|
+
display: pieOutcomeCoding.RESOURCE_CONFLICT.display
|
|
40
82
|
},
|
|
41
83
|
{
|
|
42
84
|
code: PieOutcomeCode.ELEMENT_CONFLICT,
|
|
43
|
-
|
|
85
|
+
display: pieOutcomeCoding.ELEMENT_CONFLICT.display
|
|
44
86
|
},
|
|
45
87
|
{
|
|
46
88
|
code: PieOutcomeCode.RESOURCE_SEARCH_ERROR,
|
|
47
|
-
|
|
89
|
+
display: pieOutcomeCoding.RESOURCE_SEARCH_ERROR.display
|
|
48
90
|
},
|
|
49
91
|
{
|
|
50
92
|
code: PieOutcomeCode.RESOURCE_UPDATE_ERROR,
|
|
51
|
-
|
|
93
|
+
display: pieOutcomeCoding.RESOURCE_UPDATE_ERROR.display
|
|
52
94
|
},
|
|
53
95
|
{
|
|
54
96
|
code: PieOutcomeCode.RESOURCE_DELETE_ERROR,
|
|
55
|
-
|
|
97
|
+
display: pieOutcomeCoding.RESOURCE_DELETE_ERROR.display
|
|
56
98
|
}
|
|
57
99
|
]
|
|
58
100
|
};
|
|
59
101
|
|
|
60
102
|
//#endregion
|
|
61
103
|
exports.PieOutcomeCode = PieOutcomeCode;
|
|
104
|
+
exports.pieOutcomeCoding = pieOutcomeCoding;
|
|
62
105
|
exports.pieOutcomeCs = pieOutcomeCs;
|
|
63
106
|
//# sourceMappingURL=pieOutcome.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pieOutcome.cjs","names":["pieOutcomeCs: CodeSystem","CodeSystemId","
|
|
1
|
+
{"version":3,"file":"pieOutcome.cjs","names":["CodeSystemURL","pieOutcomeCs: CodeSystem","CodeSystemId","ValueSetURL"],"sources":["../../src/codesystems/pieOutcome.ts"],"sourcesContent":["import { CodeSystem, Coding } from 'fhir/r4.js';\nimport {\n CodeSystemId, CodeSystemURL, publisher, ValueSetURL,\n} from '../constants.js';\n\nexport enum PieOutcomeCode {\n BAD_REQUEST = 'BAD_REQUEST',\n RESOURCE_NOT_FOUND = 'RESOURCE_NOT_FOUND',\n ELEMENT_NOT_FOUND = 'ELEMENT_NOT_FOUND',\n RESOURCE_CONFLICT = 'RESOURCE_CONFLICT',\n ELEMENT_CONFLICT = 'ELEMENT_CONFLICT',\n RESOURCE_SEARCH_ERROR = 'RESOURCE_SEARCH_ERROR',\n RESOURCE_UPDATE_ERROR = 'RESOURCE_UPDATE_ERROR',\n RESOURCE_DELETE_ERROR = 'RESOURCE_DELETE_ERROR',\n}\n\nexport const pieOutcomeCoding = {\n BAD_REQUEST: {\n code: PieOutcomeCode.BAD_REQUEST,\n display: 'The provided input is invalid',\n system: CodeSystemURL.OUTCOME_CODE,\n },\n RESOURCE_NOT_FOUND: {\n code: PieOutcomeCode.RESOURCE_NOT_FOUND,\n display: 'A required resource could not be found',\n system: CodeSystemURL.OUTCOME_CODE,\n },\n ELEMENT_NOT_FOUND: {\n code: PieOutcomeCode.ELEMENT_NOT_FOUND,\n display: 'A required resource element could not be found',\n system: CodeSystemURL.OUTCOME_CODE,\n },\n RESOURCE_CONFLICT: {\n code: PieOutcomeCode.RESOURCE_CONFLICT,\n display: 'The input conflicts with an existing resource',\n system: CodeSystemURL.OUTCOME_CODE,\n },\n ELEMENT_CONFLICT: {\n code: PieOutcomeCode.ELEMENT_CONFLICT,\n display: 'The input conflicts with an existing resource element',\n system: CodeSystemURL.OUTCOME_CODE,\n },\n RESOURCE_SEARCH_ERROR: {\n code: PieOutcomeCode.RESOURCE_SEARCH_ERROR,\n display: 'There was an error whilst performing a resource search',\n system: CodeSystemURL.OUTCOME_CODE,\n },\n RESOURCE_UPDATE_ERROR: {\n code: PieOutcomeCode.RESOURCE_UPDATE_ERROR,\n display: 'There was an error whilst performing a resource update',\n system: CodeSystemURL.OUTCOME_CODE,\n },\n RESOURCE_DELETE_ERROR: {\n code: PieOutcomeCode.RESOURCE_DELETE_ERROR,\n display: 'There was an error whilst performing a resource deletion',\n system: CodeSystemURL.OUTCOME_CODE,\n },\n} as const satisfies Record<keyof typeof PieOutcomeCode, Coding>;\n\nexport const pieOutcomeCs: CodeSystem = {\n id: CodeSystemId.OUTCOME_CODE,\n resourceType: 'CodeSystem',\n url: CodeSystemURL.OUTCOME_CODE,\n status: 'active',\n date: '2025-11-20T10:00:00.000Z',\n publisher,\n content: 'complete',\n valueSet: ValueSetURL.OUTCOME_CODE,\n concept: [\n {\n code: PieOutcomeCode.BAD_REQUEST,\n display: pieOutcomeCoding.BAD_REQUEST.display,\n },\n {\n code: PieOutcomeCode.RESOURCE_NOT_FOUND,\n display: pieOutcomeCoding.RESOURCE_NOT_FOUND.display,\n },\n {\n code: PieOutcomeCode.ELEMENT_NOT_FOUND,\n display: pieOutcomeCoding.ELEMENT_NOT_FOUND.display,\n },\n {\n code: PieOutcomeCode.RESOURCE_CONFLICT,\n display: pieOutcomeCoding.RESOURCE_CONFLICT.display,\n },\n {\n code: PieOutcomeCode.ELEMENT_CONFLICT,\n display: pieOutcomeCoding.ELEMENT_CONFLICT.display,\n },\n {\n code: PieOutcomeCode.RESOURCE_SEARCH_ERROR,\n display: pieOutcomeCoding.RESOURCE_SEARCH_ERROR.display,\n },\n {\n code: PieOutcomeCode.RESOURCE_UPDATE_ERROR,\n display: pieOutcomeCoding.RESOURCE_UPDATE_ERROR.display,\n },\n {\n code: PieOutcomeCode.RESOURCE_DELETE_ERROR,\n display: pieOutcomeCoding.RESOURCE_DELETE_ERROR.display,\n },\n ],\n};\n"],"mappings":";;;AAKA,IAAY,4DAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGF,MAAa,mBAAmB;CAC9B,aAAa;EACX,MAAM,eAAe;EACrB,SAAS;EACT,QAAQA,gCAAc;EACvB;CACD,oBAAoB;EAClB,MAAM,eAAe;EACrB,SAAS;EACT,QAAQA,gCAAc;EACvB;CACD,mBAAmB;EACjB,MAAM,eAAe;EACrB,SAAS;EACT,QAAQA,gCAAc;EACvB;CACD,mBAAmB;EACjB,MAAM,eAAe;EACrB,SAAS;EACT,QAAQA,gCAAc;EACvB;CACD,kBAAkB;EAChB,MAAM,eAAe;EACrB,SAAS;EACT,QAAQA,gCAAc;EACvB;CACD,uBAAuB;EACrB,MAAM,eAAe;EACrB,SAAS;EACT,QAAQA,gCAAc;EACvB;CACD,uBAAuB;EACrB,MAAM,eAAe;EACrB,SAAS;EACT,QAAQA,gCAAc;EACvB;CACD,uBAAuB;EACrB,MAAM,eAAe;EACrB,SAAS;EACT,QAAQA,gCAAc;EACvB;CACF;AAED,MAAaC,eAA2B;CACtC,IAAIC,+BAAa;CACjB,cAAc;CACd,KAAKF,gCAAc;CACnB,QAAQ;CACR,MAAM;CACN;CACA,SAAS;CACT,UAAUG,8BAAY;CACtB,SAAS;EACP;GACE,MAAM,eAAe;GACrB,SAAS,iBAAiB,YAAY;GACvC;EACD;GACE,MAAM,eAAe;GACrB,SAAS,iBAAiB,mBAAmB;GAC9C;EACD;GACE,MAAM,eAAe;GACrB,SAAS,iBAAiB,kBAAkB;GAC7C;EACD;GACE,MAAM,eAAe;GACrB,SAAS,iBAAiB,kBAAkB;GAC7C;EACD;GACE,MAAM,eAAe;GACrB,SAAS,iBAAiB,iBAAiB;GAC5C;EACD;GACE,MAAM,eAAe;GACrB,SAAS,iBAAiB,sBAAsB;GACjD;EACD;GACE,MAAM,eAAe;GACrB,SAAS,iBAAiB,sBAAsB;GACjD;EACD;GACE,MAAM,eAAe;GACrB,SAAS,iBAAiB,sBAAsB;GACjD;EACF;CACF"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CodeSystemURL } from "../constants.cjs";
|
|
1
2
|
import { CodeSystem } from "fhir/r4.js";
|
|
2
3
|
|
|
3
4
|
//#region src/codesystems/pieOutcome.d.ts
|
|
@@ -11,7 +12,49 @@ declare enum PieOutcomeCode {
|
|
|
11
12
|
RESOURCE_UPDATE_ERROR = "RESOURCE_UPDATE_ERROR",
|
|
12
13
|
RESOURCE_DELETE_ERROR = "RESOURCE_DELETE_ERROR",
|
|
13
14
|
}
|
|
15
|
+
declare const pieOutcomeCoding: {
|
|
16
|
+
readonly BAD_REQUEST: {
|
|
17
|
+
readonly code: PieOutcomeCode.BAD_REQUEST;
|
|
18
|
+
readonly display: "The provided input is invalid";
|
|
19
|
+
readonly system: CodeSystemURL.OUTCOME_CODE;
|
|
20
|
+
};
|
|
21
|
+
readonly RESOURCE_NOT_FOUND: {
|
|
22
|
+
readonly code: PieOutcomeCode.RESOURCE_NOT_FOUND;
|
|
23
|
+
readonly display: "A required resource could not be found";
|
|
24
|
+
readonly system: CodeSystemURL.OUTCOME_CODE;
|
|
25
|
+
};
|
|
26
|
+
readonly ELEMENT_NOT_FOUND: {
|
|
27
|
+
readonly code: PieOutcomeCode.ELEMENT_NOT_FOUND;
|
|
28
|
+
readonly display: "A required resource element could not be found";
|
|
29
|
+
readonly system: CodeSystemURL.OUTCOME_CODE;
|
|
30
|
+
};
|
|
31
|
+
readonly RESOURCE_CONFLICT: {
|
|
32
|
+
readonly code: PieOutcomeCode.RESOURCE_CONFLICT;
|
|
33
|
+
readonly display: "The input conflicts with an existing resource";
|
|
34
|
+
readonly system: CodeSystemURL.OUTCOME_CODE;
|
|
35
|
+
};
|
|
36
|
+
readonly ELEMENT_CONFLICT: {
|
|
37
|
+
readonly code: PieOutcomeCode.ELEMENT_CONFLICT;
|
|
38
|
+
readonly display: "The input conflicts with an existing resource element";
|
|
39
|
+
readonly system: CodeSystemURL.OUTCOME_CODE;
|
|
40
|
+
};
|
|
41
|
+
readonly RESOURCE_SEARCH_ERROR: {
|
|
42
|
+
readonly code: PieOutcomeCode.RESOURCE_SEARCH_ERROR;
|
|
43
|
+
readonly display: "There was an error whilst performing a resource search";
|
|
44
|
+
readonly system: CodeSystemURL.OUTCOME_CODE;
|
|
45
|
+
};
|
|
46
|
+
readonly RESOURCE_UPDATE_ERROR: {
|
|
47
|
+
readonly code: PieOutcomeCode.RESOURCE_UPDATE_ERROR;
|
|
48
|
+
readonly display: "There was an error whilst performing a resource update";
|
|
49
|
+
readonly system: CodeSystemURL.OUTCOME_CODE;
|
|
50
|
+
};
|
|
51
|
+
readonly RESOURCE_DELETE_ERROR: {
|
|
52
|
+
readonly code: PieOutcomeCode.RESOURCE_DELETE_ERROR;
|
|
53
|
+
readonly display: "There was an error whilst performing a resource deletion";
|
|
54
|
+
readonly system: CodeSystemURL.OUTCOME_CODE;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
14
57
|
declare const pieOutcomeCs: CodeSystem;
|
|
15
58
|
//#endregion
|
|
16
|
-
export { PieOutcomeCode, pieOutcomeCs };
|
|
59
|
+
export { PieOutcomeCode, pieOutcomeCoding, pieOutcomeCs };
|
|
17
60
|
//# sourceMappingURL=pieOutcome.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pieOutcome.d.cts","names":[],"sources":["../../src/codesystems/pieOutcome.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pieOutcome.d.cts","names":[],"sources":["../../src/codesystems/pieOutcome.ts"],"sourcesContent":[],"mappings":";;;;aAKY,cAAA;;EAAA,kBAAc,GAAA,oBAAA;EAWb,iBAAA,GAyCmD,mBAAA;;;;;;;cAzCnD;;;;;;;;;;;EA2CA,SAAA,iBA2CZ,EA3C0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAd,cAAc"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CodeSystemURL } from "../constants.mjs";
|
|
1
2
|
import { CodeSystem } from "fhir/r4.js";
|
|
2
3
|
|
|
3
4
|
//#region src/codesystems/pieOutcome.d.ts
|
|
@@ -11,7 +12,49 @@ declare enum PieOutcomeCode {
|
|
|
11
12
|
RESOURCE_UPDATE_ERROR = "RESOURCE_UPDATE_ERROR",
|
|
12
13
|
RESOURCE_DELETE_ERROR = "RESOURCE_DELETE_ERROR",
|
|
13
14
|
}
|
|
15
|
+
declare const pieOutcomeCoding: {
|
|
16
|
+
readonly BAD_REQUEST: {
|
|
17
|
+
readonly code: PieOutcomeCode.BAD_REQUEST;
|
|
18
|
+
readonly display: "The provided input is invalid";
|
|
19
|
+
readonly system: CodeSystemURL.OUTCOME_CODE;
|
|
20
|
+
};
|
|
21
|
+
readonly RESOURCE_NOT_FOUND: {
|
|
22
|
+
readonly code: PieOutcomeCode.RESOURCE_NOT_FOUND;
|
|
23
|
+
readonly display: "A required resource could not be found";
|
|
24
|
+
readonly system: CodeSystemURL.OUTCOME_CODE;
|
|
25
|
+
};
|
|
26
|
+
readonly ELEMENT_NOT_FOUND: {
|
|
27
|
+
readonly code: PieOutcomeCode.ELEMENT_NOT_FOUND;
|
|
28
|
+
readonly display: "A required resource element could not be found";
|
|
29
|
+
readonly system: CodeSystemURL.OUTCOME_CODE;
|
|
30
|
+
};
|
|
31
|
+
readonly RESOURCE_CONFLICT: {
|
|
32
|
+
readonly code: PieOutcomeCode.RESOURCE_CONFLICT;
|
|
33
|
+
readonly display: "The input conflicts with an existing resource";
|
|
34
|
+
readonly system: CodeSystemURL.OUTCOME_CODE;
|
|
35
|
+
};
|
|
36
|
+
readonly ELEMENT_CONFLICT: {
|
|
37
|
+
readonly code: PieOutcomeCode.ELEMENT_CONFLICT;
|
|
38
|
+
readonly display: "The input conflicts with an existing resource element";
|
|
39
|
+
readonly system: CodeSystemURL.OUTCOME_CODE;
|
|
40
|
+
};
|
|
41
|
+
readonly RESOURCE_SEARCH_ERROR: {
|
|
42
|
+
readonly code: PieOutcomeCode.RESOURCE_SEARCH_ERROR;
|
|
43
|
+
readonly display: "There was an error whilst performing a resource search";
|
|
44
|
+
readonly system: CodeSystemURL.OUTCOME_CODE;
|
|
45
|
+
};
|
|
46
|
+
readonly RESOURCE_UPDATE_ERROR: {
|
|
47
|
+
readonly code: PieOutcomeCode.RESOURCE_UPDATE_ERROR;
|
|
48
|
+
readonly display: "There was an error whilst performing a resource update";
|
|
49
|
+
readonly system: CodeSystemURL.OUTCOME_CODE;
|
|
50
|
+
};
|
|
51
|
+
readonly RESOURCE_DELETE_ERROR: {
|
|
52
|
+
readonly code: PieOutcomeCode.RESOURCE_DELETE_ERROR;
|
|
53
|
+
readonly display: "There was an error whilst performing a resource deletion";
|
|
54
|
+
readonly system: CodeSystemURL.OUTCOME_CODE;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
14
57
|
declare const pieOutcomeCs: CodeSystem;
|
|
15
58
|
//#endregion
|
|
16
|
-
export { PieOutcomeCode, pieOutcomeCs };
|
|
59
|
+
export { PieOutcomeCode, pieOutcomeCoding, pieOutcomeCs };
|
|
17
60
|
//# sourceMappingURL=pieOutcome.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pieOutcome.d.mts","names":[],"sources":["../../src/codesystems/pieOutcome.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pieOutcome.d.mts","names":[],"sources":["../../src/codesystems/pieOutcome.ts"],"sourcesContent":[],"mappings":";;;;aAKY,cAAA;;EAAA,kBAAc,GAAA,oBAAA;EAWb,iBAAA,GAyCmD,mBAAA;;;;;;;cAzCnD;;;;;;;;;;;EA2CA,SAAA,iBA2CZ,EA3C0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAd,cAAc"}
|
|
@@ -12,6 +12,48 @@ let PieOutcomeCode = /* @__PURE__ */ function(PieOutcomeCode$1) {
|
|
|
12
12
|
PieOutcomeCode$1["RESOURCE_DELETE_ERROR"] = "RESOURCE_DELETE_ERROR";
|
|
13
13
|
return PieOutcomeCode$1;
|
|
14
14
|
}({});
|
|
15
|
+
const pieOutcomeCoding = {
|
|
16
|
+
BAD_REQUEST: {
|
|
17
|
+
code: PieOutcomeCode.BAD_REQUEST,
|
|
18
|
+
display: "The provided input is invalid",
|
|
19
|
+
system: CodeSystemURL.OUTCOME_CODE
|
|
20
|
+
},
|
|
21
|
+
RESOURCE_NOT_FOUND: {
|
|
22
|
+
code: PieOutcomeCode.RESOURCE_NOT_FOUND,
|
|
23
|
+
display: "A required resource could not be found",
|
|
24
|
+
system: CodeSystemURL.OUTCOME_CODE
|
|
25
|
+
},
|
|
26
|
+
ELEMENT_NOT_FOUND: {
|
|
27
|
+
code: PieOutcomeCode.ELEMENT_NOT_FOUND,
|
|
28
|
+
display: "A required resource element could not be found",
|
|
29
|
+
system: CodeSystemURL.OUTCOME_CODE
|
|
30
|
+
},
|
|
31
|
+
RESOURCE_CONFLICT: {
|
|
32
|
+
code: PieOutcomeCode.RESOURCE_CONFLICT,
|
|
33
|
+
display: "The input conflicts with an existing resource",
|
|
34
|
+
system: CodeSystemURL.OUTCOME_CODE
|
|
35
|
+
},
|
|
36
|
+
ELEMENT_CONFLICT: {
|
|
37
|
+
code: PieOutcomeCode.ELEMENT_CONFLICT,
|
|
38
|
+
display: "The input conflicts with an existing resource element",
|
|
39
|
+
system: CodeSystemURL.OUTCOME_CODE
|
|
40
|
+
},
|
|
41
|
+
RESOURCE_SEARCH_ERROR: {
|
|
42
|
+
code: PieOutcomeCode.RESOURCE_SEARCH_ERROR,
|
|
43
|
+
display: "There was an error whilst performing a resource search",
|
|
44
|
+
system: CodeSystemURL.OUTCOME_CODE
|
|
45
|
+
},
|
|
46
|
+
RESOURCE_UPDATE_ERROR: {
|
|
47
|
+
code: PieOutcomeCode.RESOURCE_UPDATE_ERROR,
|
|
48
|
+
display: "There was an error whilst performing a resource update",
|
|
49
|
+
system: CodeSystemURL.OUTCOME_CODE
|
|
50
|
+
},
|
|
51
|
+
RESOURCE_DELETE_ERROR: {
|
|
52
|
+
code: PieOutcomeCode.RESOURCE_DELETE_ERROR,
|
|
53
|
+
display: "There was an error whilst performing a resource deletion",
|
|
54
|
+
system: CodeSystemURL.OUTCOME_CODE
|
|
55
|
+
}
|
|
56
|
+
};
|
|
15
57
|
const pieOutcomeCs = {
|
|
16
58
|
id: CodeSystemId.OUTCOME_CODE,
|
|
17
59
|
resourceType: "CodeSystem",
|
|
@@ -24,39 +66,39 @@ const pieOutcomeCs = {
|
|
|
24
66
|
concept: [
|
|
25
67
|
{
|
|
26
68
|
code: PieOutcomeCode.BAD_REQUEST,
|
|
27
|
-
|
|
69
|
+
display: pieOutcomeCoding.BAD_REQUEST.display
|
|
28
70
|
},
|
|
29
71
|
{
|
|
30
72
|
code: PieOutcomeCode.RESOURCE_NOT_FOUND,
|
|
31
|
-
|
|
73
|
+
display: pieOutcomeCoding.RESOURCE_NOT_FOUND.display
|
|
32
74
|
},
|
|
33
75
|
{
|
|
34
76
|
code: PieOutcomeCode.ELEMENT_NOT_FOUND,
|
|
35
|
-
|
|
77
|
+
display: pieOutcomeCoding.ELEMENT_NOT_FOUND.display
|
|
36
78
|
},
|
|
37
79
|
{
|
|
38
80
|
code: PieOutcomeCode.RESOURCE_CONFLICT,
|
|
39
|
-
|
|
81
|
+
display: pieOutcomeCoding.RESOURCE_CONFLICT.display
|
|
40
82
|
},
|
|
41
83
|
{
|
|
42
84
|
code: PieOutcomeCode.ELEMENT_CONFLICT,
|
|
43
|
-
|
|
85
|
+
display: pieOutcomeCoding.ELEMENT_CONFLICT.display
|
|
44
86
|
},
|
|
45
87
|
{
|
|
46
88
|
code: PieOutcomeCode.RESOURCE_SEARCH_ERROR,
|
|
47
|
-
|
|
89
|
+
display: pieOutcomeCoding.RESOURCE_SEARCH_ERROR.display
|
|
48
90
|
},
|
|
49
91
|
{
|
|
50
92
|
code: PieOutcomeCode.RESOURCE_UPDATE_ERROR,
|
|
51
|
-
|
|
93
|
+
display: pieOutcomeCoding.RESOURCE_UPDATE_ERROR.display
|
|
52
94
|
},
|
|
53
95
|
{
|
|
54
96
|
code: PieOutcomeCode.RESOURCE_DELETE_ERROR,
|
|
55
|
-
|
|
97
|
+
display: pieOutcomeCoding.RESOURCE_DELETE_ERROR.display
|
|
56
98
|
}
|
|
57
99
|
]
|
|
58
100
|
};
|
|
59
101
|
|
|
60
102
|
//#endregion
|
|
61
|
-
export { PieOutcomeCode, pieOutcomeCs };
|
|
103
|
+
export { PieOutcomeCode, pieOutcomeCoding, pieOutcomeCs };
|
|
62
104
|
//# sourceMappingURL=pieOutcome.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pieOutcome.mjs","names":["pieOutcomeCs: CodeSystem"],"sources":["../../src/codesystems/pieOutcome.ts"],"sourcesContent":["import { CodeSystem } from 'fhir/r4.js';\nimport {\n CodeSystemId, CodeSystemURL, publisher, ValueSetURL,\n} from '../constants.js';\n\nexport enum PieOutcomeCode {\n BAD_REQUEST = 'BAD_REQUEST',\n RESOURCE_NOT_FOUND = 'RESOURCE_NOT_FOUND',\n ELEMENT_NOT_FOUND = 'ELEMENT_NOT_FOUND',\n RESOURCE_CONFLICT = 'RESOURCE_CONFLICT',\n ELEMENT_CONFLICT = 'ELEMENT_CONFLICT',\n RESOURCE_SEARCH_ERROR = 'RESOURCE_SEARCH_ERROR',\n RESOURCE_UPDATE_ERROR = 'RESOURCE_UPDATE_ERROR',\n RESOURCE_DELETE_ERROR = 'RESOURCE_DELETE_ERROR',\n}\n\nexport const
|
|
1
|
+
{"version":3,"file":"pieOutcome.mjs","names":["pieOutcomeCs: CodeSystem"],"sources":["../../src/codesystems/pieOutcome.ts"],"sourcesContent":["import { CodeSystem, Coding } from 'fhir/r4.js';\nimport {\n CodeSystemId, CodeSystemURL, publisher, ValueSetURL,\n} from '../constants.js';\n\nexport enum PieOutcomeCode {\n BAD_REQUEST = 'BAD_REQUEST',\n RESOURCE_NOT_FOUND = 'RESOURCE_NOT_FOUND',\n ELEMENT_NOT_FOUND = 'ELEMENT_NOT_FOUND',\n RESOURCE_CONFLICT = 'RESOURCE_CONFLICT',\n ELEMENT_CONFLICT = 'ELEMENT_CONFLICT',\n RESOURCE_SEARCH_ERROR = 'RESOURCE_SEARCH_ERROR',\n RESOURCE_UPDATE_ERROR = 'RESOURCE_UPDATE_ERROR',\n RESOURCE_DELETE_ERROR = 'RESOURCE_DELETE_ERROR',\n}\n\nexport const pieOutcomeCoding = {\n BAD_REQUEST: {\n code: PieOutcomeCode.BAD_REQUEST,\n display: 'The provided input is invalid',\n system: CodeSystemURL.OUTCOME_CODE,\n },\n RESOURCE_NOT_FOUND: {\n code: PieOutcomeCode.RESOURCE_NOT_FOUND,\n display: 'A required resource could not be found',\n system: CodeSystemURL.OUTCOME_CODE,\n },\n ELEMENT_NOT_FOUND: {\n code: PieOutcomeCode.ELEMENT_NOT_FOUND,\n display: 'A required resource element could not be found',\n system: CodeSystemURL.OUTCOME_CODE,\n },\n RESOURCE_CONFLICT: {\n code: PieOutcomeCode.RESOURCE_CONFLICT,\n display: 'The input conflicts with an existing resource',\n system: CodeSystemURL.OUTCOME_CODE,\n },\n ELEMENT_CONFLICT: {\n code: PieOutcomeCode.ELEMENT_CONFLICT,\n display: 'The input conflicts with an existing resource element',\n system: CodeSystemURL.OUTCOME_CODE,\n },\n RESOURCE_SEARCH_ERROR: {\n code: PieOutcomeCode.RESOURCE_SEARCH_ERROR,\n display: 'There was an error whilst performing a resource search',\n system: CodeSystemURL.OUTCOME_CODE,\n },\n RESOURCE_UPDATE_ERROR: {\n code: PieOutcomeCode.RESOURCE_UPDATE_ERROR,\n display: 'There was an error whilst performing a resource update',\n system: CodeSystemURL.OUTCOME_CODE,\n },\n RESOURCE_DELETE_ERROR: {\n code: PieOutcomeCode.RESOURCE_DELETE_ERROR,\n display: 'There was an error whilst performing a resource deletion',\n system: CodeSystemURL.OUTCOME_CODE,\n },\n} as const satisfies Record<keyof typeof PieOutcomeCode, Coding>;\n\nexport const pieOutcomeCs: CodeSystem = {\n id: CodeSystemId.OUTCOME_CODE,\n resourceType: 'CodeSystem',\n url: CodeSystemURL.OUTCOME_CODE,\n status: 'active',\n date: '2025-11-20T10:00:00.000Z',\n publisher,\n content: 'complete',\n valueSet: ValueSetURL.OUTCOME_CODE,\n concept: [\n {\n code: PieOutcomeCode.BAD_REQUEST,\n display: pieOutcomeCoding.BAD_REQUEST.display,\n },\n {\n code: PieOutcomeCode.RESOURCE_NOT_FOUND,\n display: pieOutcomeCoding.RESOURCE_NOT_FOUND.display,\n },\n {\n code: PieOutcomeCode.ELEMENT_NOT_FOUND,\n display: pieOutcomeCoding.ELEMENT_NOT_FOUND.display,\n },\n {\n code: PieOutcomeCode.RESOURCE_CONFLICT,\n display: pieOutcomeCoding.RESOURCE_CONFLICT.display,\n },\n {\n code: PieOutcomeCode.ELEMENT_CONFLICT,\n display: pieOutcomeCoding.ELEMENT_CONFLICT.display,\n },\n {\n code: PieOutcomeCode.RESOURCE_SEARCH_ERROR,\n display: pieOutcomeCoding.RESOURCE_SEARCH_ERROR.display,\n },\n {\n code: PieOutcomeCode.RESOURCE_UPDATE_ERROR,\n display: pieOutcomeCoding.RESOURCE_UPDATE_ERROR.display,\n },\n {\n code: PieOutcomeCode.RESOURCE_DELETE_ERROR,\n display: pieOutcomeCoding.RESOURCE_DELETE_ERROR.display,\n },\n ],\n};\n"],"mappings":";;;AAKA,IAAY,4DAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGF,MAAa,mBAAmB;CAC9B,aAAa;EACX,MAAM,eAAe;EACrB,SAAS;EACT,QAAQ,cAAc;EACvB;CACD,oBAAoB;EAClB,MAAM,eAAe;EACrB,SAAS;EACT,QAAQ,cAAc;EACvB;CACD,mBAAmB;EACjB,MAAM,eAAe;EACrB,SAAS;EACT,QAAQ,cAAc;EACvB;CACD,mBAAmB;EACjB,MAAM,eAAe;EACrB,SAAS;EACT,QAAQ,cAAc;EACvB;CACD,kBAAkB;EAChB,MAAM,eAAe;EACrB,SAAS;EACT,QAAQ,cAAc;EACvB;CACD,uBAAuB;EACrB,MAAM,eAAe;EACrB,SAAS;EACT,QAAQ,cAAc;EACvB;CACD,uBAAuB;EACrB,MAAM,eAAe;EACrB,SAAS;EACT,QAAQ,cAAc;EACvB;CACD,uBAAuB;EACrB,MAAM,eAAe;EACrB,SAAS;EACT,QAAQ,cAAc;EACvB;CACF;AAED,MAAaA,eAA2B;CACtC,IAAI,aAAa;CACjB,cAAc;CACd,KAAK,cAAc;CACnB,QAAQ;CACR,MAAM;CACN;CACA,SAAS;CACT,UAAU,YAAY;CACtB,SAAS;EACP;GACE,MAAM,eAAe;GACrB,SAAS,iBAAiB,YAAY;GACvC;EACD;GACE,MAAM,eAAe;GACrB,SAAS,iBAAiB,mBAAmB;GAC9C;EACD;GACE,MAAM,eAAe;GACrB,SAAS,iBAAiB,kBAAkB;GAC7C;EACD;GACE,MAAM,eAAe;GACrB,SAAS,iBAAiB,kBAAkB;GAC7C;EACD;GACE,MAAM,eAAe;GACrB,SAAS,iBAAiB,iBAAiB;GAC5C;EACD;GACE,MAAM,eAAe;GACrB,SAAS,iBAAiB,sBAAsB;GACjD;EACD;GACE,MAAM,eAAe;GACrB,SAAS,iBAAiB,sBAAsB;GACjD;EACD;GACE,MAAM,eAAe;GACrB,SAAS,iBAAiB,sBAAsB;GACjD;EACF;CACF"}
|
package/dist/codesystems.json
CHANGED
|
@@ -17,35 +17,35 @@
|
|
|
17
17
|
"concept": [
|
|
18
18
|
{
|
|
19
19
|
"code": "BAD_REQUEST",
|
|
20
|
-
"
|
|
20
|
+
"display": "The provided input is invalid"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"code": "RESOURCE_NOT_FOUND",
|
|
24
|
-
"
|
|
24
|
+
"display": "A required resource could not be found"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"code": "ELEMENT_NOT_FOUND",
|
|
28
|
-
"
|
|
28
|
+
"display": "A required resource element could not be found"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"code": "RESOURCE_CONFLICT",
|
|
32
|
-
"
|
|
32
|
+
"display": "The input conflicts with an existing resource"
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"code": "ELEMENT_CONFLICT",
|
|
36
|
-
"
|
|
36
|
+
"display": "The input conflicts with an existing resource element"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"code": "RESOURCE_SEARCH_ERROR",
|
|
40
|
-
"
|
|
40
|
+
"display": "There was an error whilst performing a resource search"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"code": "RESOURCE_UPDATE_ERROR",
|
|
44
|
-
"
|
|
44
|
+
"display": "There was an error whilst performing a resource update"
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"code": "RESOURCE_DELETE_ERROR",
|
|
48
|
-
"
|
|
48
|
+
"display": "There was an error whilst performing a resource deletion"
|
|
49
49
|
}
|
|
50
50
|
]
|
|
51
51
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -46,6 +46,7 @@ exports.baseUrl = require_constants.baseUrl;
|
|
|
46
46
|
exports.baseUrlR4 = require_constants.baseUrlR4;
|
|
47
47
|
exports.baseValueSetUrl = require_constants.baseValueSetUrl;
|
|
48
48
|
exports.mappingUsedBySp = require_mapping_used_by.mappingUsedBySp;
|
|
49
|
+
exports.pieOutcomeCoding = require_pieOutcome.pieOutcomeCoding;
|
|
49
50
|
exports.pieOutcomeCs = require_pieOutcome.pieOutcomeCs;
|
|
50
51
|
exports.publisher = require_constants.publisher;
|
|
51
52
|
exports.routingRule = require_RoutingRule.routingRule;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PieOutcomeCode, pieOutcomeCs } from "./codesystems/pieOutcome.cjs";
|
|
2
1
|
import { CodeSystemId, CodeSystemURL, SearchParameterId, SearchParameterURL, StructureDefinitionId, StructureDefinitionURL, ValueSetId, ValueSetURL, baseCodeSystemUrl, baseSearchParameterUrl, baseStructureDefinitionUrl, baseUrl, baseUrlR4, baseValueSetUrl, publisher } from "./constants.cjs";
|
|
2
|
+
import { PieOutcomeCode, pieOutcomeCoding, pieOutcomeCs } from "./codesystems/pieOutcome.cjs";
|
|
3
3
|
import { RrStatusCode, routingRuleStatusCs, rrStatusCoding } from "./codesystems/RoutingRule-status.cjs";
|
|
4
4
|
import { SrErrorCode, srErrorCoding, srErrorStatusCs } from "./codesystems/ServiceRequest-error-status.cjs";
|
|
5
5
|
import { SrPostDispatchCode, srPostDispatchCoding, srPostDispatchStatusCs } from "./codesystems/ServiceRequest-post-dispatch-status.cjs";
|
|
@@ -23,4 +23,4 @@ import { RoutingRule, RoutingRuleRule, RoutingRuleTarget, RoutingRuleTargetMappi
|
|
|
23
23
|
import { PieBundle, PieBundleEntry, PieResource, PieResourceTypes } from "./types/pieResource.cjs";
|
|
24
24
|
import { routingRuleStatusVs } from "./valuesets/RoutingRule-status.cjs";
|
|
25
25
|
import { srStatusDetailVs } from "./valuesets/ServiceRequest-status-detail.cjs";
|
|
26
|
-
export { CodeSystemId, CodeSystemURL, PieBundle, PieBundleEntry, PieOutcomeCode, PieResource, PieResourceTypes, RoutingRule, RoutingRuleRule, RoutingRuleTarget, RoutingRuleTargetMapping, RrStatusCode, SearchParameterId, SearchParameterURL, SrErrorCode, SrPostDispatchCode, SrPreDispatchCode, StructureDefinitionId, StructureDefinitionURL, ValueSetId, ValueSetURL, baseCodeSystemUrl, baseSearchParameterUrl, baseStructureDefinitionUrl, baseUrl, baseUrlR4, baseValueSetUrl, mappingUsedBySp, pieOutcomeCs, publisher, routingRule, routingRuleNameSp, routingRulePeriodSp, routingRuleProcessDefinitionSp, routingRuleReceiverSp, routingRuleSenderSp, routingRuleStatusCs, routingRuleStatusSp, routingRuleStatusVs, routingRuleTitleSp, rrStatusCoding, serviceRequestFillerGroupNumber, serviceRequestFillerGroupNumberSp, serviceRequestPlacerGroupNumber, serviceRequestPlacerGroupNumberSp, serviceRequestStatusDetail, srErrorCoding, srErrorStatusCs, srPostDispatchCoding, srPostDispatchStatusCs, srPreDispatchCoding, srPreDispatchStatusCs, srStatusDetailVs, usedBy };
|
|
26
|
+
export { CodeSystemId, CodeSystemURL, PieBundle, PieBundleEntry, PieOutcomeCode, PieResource, PieResourceTypes, RoutingRule, RoutingRuleRule, RoutingRuleTarget, RoutingRuleTargetMapping, RrStatusCode, SearchParameterId, SearchParameterURL, SrErrorCode, SrPostDispatchCode, SrPreDispatchCode, StructureDefinitionId, StructureDefinitionURL, ValueSetId, ValueSetURL, baseCodeSystemUrl, baseSearchParameterUrl, baseStructureDefinitionUrl, baseUrl, baseUrlR4, baseValueSetUrl, mappingUsedBySp, pieOutcomeCoding, pieOutcomeCs, publisher, routingRule, routingRuleNameSp, routingRulePeriodSp, routingRuleProcessDefinitionSp, routingRuleReceiverSp, routingRuleSenderSp, routingRuleStatusCs, routingRuleStatusSp, routingRuleStatusVs, routingRuleTitleSp, rrStatusCoding, serviceRequestFillerGroupNumber, serviceRequestFillerGroupNumberSp, serviceRequestPlacerGroupNumber, serviceRequestPlacerGroupNumberSp, serviceRequestStatusDetail, srErrorCoding, srErrorStatusCs, srPostDispatchCoding, srPostDispatchStatusCs, srPreDispatchCoding, srPreDispatchStatusCs, srStatusDetailVs, usedBy };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PieOutcomeCode, pieOutcomeCs } from "./codesystems/pieOutcome.mjs";
|
|
2
1
|
import { CodeSystemId, CodeSystemURL, SearchParameterId, SearchParameterURL, StructureDefinitionId, StructureDefinitionURL, ValueSetId, ValueSetURL, baseCodeSystemUrl, baseSearchParameterUrl, baseStructureDefinitionUrl, baseUrl, baseUrlR4, baseValueSetUrl, publisher } from "./constants.mjs";
|
|
2
|
+
import { PieOutcomeCode, pieOutcomeCoding, pieOutcomeCs } from "./codesystems/pieOutcome.mjs";
|
|
3
3
|
import { RrStatusCode, routingRuleStatusCs, rrStatusCoding } from "./codesystems/RoutingRule-status.mjs";
|
|
4
4
|
import { SrErrorCode, srErrorCoding, srErrorStatusCs } from "./codesystems/ServiceRequest-error-status.mjs";
|
|
5
5
|
import { SrPostDispatchCode, srPostDispatchCoding, srPostDispatchStatusCs } from "./codesystems/ServiceRequest-post-dispatch-status.mjs";
|
|
@@ -23,4 +23,4 @@ import { RoutingRule, RoutingRuleRule, RoutingRuleTarget, RoutingRuleTargetMappi
|
|
|
23
23
|
import { PieBundle, PieBundleEntry, PieResource, PieResourceTypes } from "./types/pieResource.mjs";
|
|
24
24
|
import { routingRuleStatusVs } from "./valuesets/RoutingRule-status.mjs";
|
|
25
25
|
import { srStatusDetailVs } from "./valuesets/ServiceRequest-status-detail.mjs";
|
|
26
|
-
export { CodeSystemId, CodeSystemURL, PieBundle, PieBundleEntry, PieOutcomeCode, PieResource, PieResourceTypes, RoutingRule, RoutingRuleRule, RoutingRuleTarget, RoutingRuleTargetMapping, RrStatusCode, SearchParameterId, SearchParameterURL, SrErrorCode, SrPostDispatchCode, SrPreDispatchCode, StructureDefinitionId, StructureDefinitionURL, ValueSetId, ValueSetURL, baseCodeSystemUrl, baseSearchParameterUrl, baseStructureDefinitionUrl, baseUrl, baseUrlR4, baseValueSetUrl, mappingUsedBySp, pieOutcomeCs, publisher, routingRule, routingRuleNameSp, routingRulePeriodSp, routingRuleProcessDefinitionSp, routingRuleReceiverSp, routingRuleSenderSp, routingRuleStatusCs, routingRuleStatusSp, routingRuleStatusVs, routingRuleTitleSp, rrStatusCoding, serviceRequestFillerGroupNumber, serviceRequestFillerGroupNumberSp, serviceRequestPlacerGroupNumber, serviceRequestPlacerGroupNumberSp, serviceRequestStatusDetail, srErrorCoding, srErrorStatusCs, srPostDispatchCoding, srPostDispatchStatusCs, srPreDispatchCoding, srPreDispatchStatusCs, srStatusDetailVs, usedBy };
|
|
26
|
+
export { CodeSystemId, CodeSystemURL, PieBundle, PieBundleEntry, PieOutcomeCode, PieResource, PieResourceTypes, RoutingRule, RoutingRuleRule, RoutingRuleTarget, RoutingRuleTargetMapping, RrStatusCode, SearchParameterId, SearchParameterURL, SrErrorCode, SrPostDispatchCode, SrPreDispatchCode, StructureDefinitionId, StructureDefinitionURL, ValueSetId, ValueSetURL, baseCodeSystemUrl, baseSearchParameterUrl, baseStructureDefinitionUrl, baseUrl, baseUrlR4, baseValueSetUrl, mappingUsedBySp, pieOutcomeCoding, pieOutcomeCs, publisher, routingRule, routingRuleNameSp, routingRulePeriodSp, routingRuleProcessDefinitionSp, routingRuleReceiverSp, routingRuleSenderSp, routingRuleStatusCs, routingRuleStatusSp, routingRuleStatusVs, routingRuleTitleSp, rrStatusCoding, serviceRequestFillerGroupNumber, serviceRequestFillerGroupNumberSp, serviceRequestPlacerGroupNumber, serviceRequestPlacerGroupNumberSp, serviceRequestStatusDetail, srErrorCoding, srErrorStatusCs, srPostDispatchCoding, srPostDispatchStatusCs, srPreDispatchCoding, srPreDispatchStatusCs, srStatusDetailVs, usedBy };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CodeSystemId, CodeSystemURL, SearchParameterId, SearchParameterURL, StructureDefinitionId, StructureDefinitionURL, ValueSetId, ValueSetURL, baseCodeSystemUrl, baseSearchParameterUrl, baseStructureDefinitionUrl, baseUrl, baseUrlR4, baseValueSetUrl, publisher } from "./constants.mjs";
|
|
2
|
-
import { PieOutcomeCode, pieOutcomeCs } from "./codesystems/pieOutcome.mjs";
|
|
2
|
+
import { PieOutcomeCode, pieOutcomeCoding, pieOutcomeCs } from "./codesystems/pieOutcome.mjs";
|
|
3
3
|
import { RrStatusCode, routingRuleStatusCs, rrStatusCoding } from "./codesystems/RoutingRule-status.mjs";
|
|
4
4
|
import { SrErrorCode, srErrorCoding, srErrorStatusCs } from "./codesystems/ServiceRequest-error-status.mjs";
|
|
5
5
|
import { SrPostDispatchCode, srPostDispatchCoding, srPostDispatchStatusCs } from "./codesystems/ServiceRequest-post-dispatch-status.mjs";
|
|
@@ -26,4 +26,4 @@ import { routingRuleStatusVs } from "./valuesets/RoutingRule-status.mjs";
|
|
|
26
26
|
import { srStatusDetailVs } from "./valuesets/ServiceRequest-status-detail.mjs";
|
|
27
27
|
import "./valuesets/index.mjs";
|
|
28
28
|
|
|
29
|
-
export { CodeSystemId, CodeSystemURL, PieOutcomeCode, RrStatusCode, SearchParameterId, SearchParameterURL, SrErrorCode, SrPostDispatchCode, SrPreDispatchCode, StructureDefinitionId, StructureDefinitionURL, ValueSetId, ValueSetURL, baseCodeSystemUrl, baseSearchParameterUrl, baseStructureDefinitionUrl, baseUrl, baseUrlR4, baseValueSetUrl, mappingUsedBySp, pieOutcomeCs, publisher, routingRule, routingRuleNameSp, routingRulePeriodSp, routingRuleProcessDefinitionSp, routingRuleReceiverSp, routingRuleSenderSp, routingRuleStatusCs, routingRuleStatusSp, routingRuleStatusVs, routingRuleTitleSp, rrStatusCoding, serviceRequestFillerGroupNumber, serviceRequestFillerGroupNumberSp, serviceRequestPlacerGroupNumber, serviceRequestPlacerGroupNumberSp, serviceRequestStatusDetail, srErrorCoding, srErrorStatusCs, srPostDispatchCoding, srPostDispatchStatusCs, srPreDispatchCoding, srPreDispatchStatusCs, srStatusDetailVs, usedBy };
|
|
29
|
+
export { CodeSystemId, CodeSystemURL, PieOutcomeCode, RrStatusCode, SearchParameterId, SearchParameterURL, SrErrorCode, SrPostDispatchCode, SrPreDispatchCode, StructureDefinitionId, StructureDefinitionURL, ValueSetId, ValueSetURL, baseCodeSystemUrl, baseSearchParameterUrl, baseStructureDefinitionUrl, baseUrl, baseUrlR4, baseValueSetUrl, mappingUsedBySp, pieOutcomeCoding, pieOutcomeCs, publisher, routingRule, routingRuleNameSp, routingRulePeriodSp, routingRuleProcessDefinitionSp, routingRuleReceiverSp, routingRuleSenderSp, routingRuleStatusCs, routingRuleStatusSp, routingRuleStatusVs, routingRuleTitleSp, rrStatusCoding, serviceRequestFillerGroupNumber, serviceRequestFillerGroupNumberSp, serviceRequestPlacerGroupNumber, serviceRequestPlacerGroupNumberSp, serviceRequestStatusDetail, srErrorCoding, srErrorStatusCs, srPostDispatchCoding, srPostDispatchStatusCs, srPreDispatchCoding, srPreDispatchStatusCs, srStatusDetailVs, usedBy };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoutingRule-name.cjs","names":["routingRuleNameSp: SearchParameter","SearchParameterId","SearchParameterURL"],"sources":["../../src/search-parameters/RoutingRule-name.ts"],"sourcesContent":["import { SearchParameter } from 'fhir/r4.js';\nimport { publisher, SearchParameterId, SearchParameterURL } from '../constants.js';\n\nexport const routingRuleNameSp: SearchParameter = {\n id: SearchParameterId.RR_NAME,\n resourceType: 'SearchParameter',\n url: SearchParameterURL.RR_NAME,\n name: 'name',\n status: 'draft',\n experimental: false,\n date: '2025-11-20T10:00:00.000Z',\n publisher,\n code: 'name',\n base: [\n 'RoutingRule',\n ],\n type: 'string',\n description: '',\n expression: 'RoutingRule.name',\n};\n"],"mappings":";;;AAGA,MAAaA,oBAAqC;CAChD,IAAIC,oCAAkB;CACtB,cAAc;CACd,KAAKC,qCAAmB;CACxB,MAAM;CACN,QAAQ;CACR,cAAc;CACd,MAAM;CACN;CACA,MAAM;CACN,MAAM,CACJ,cACD;CACD,MAAM;CACN,aAAa;CACb,YAAY;CACb"}
|
|
1
|
+
{"version":3,"file":"RoutingRule-name.cjs","names":["routingRuleNameSp: SearchParameter","SearchParameterId","SearchParameterURL"],"sources":["../../src/search-parameters/RoutingRule-name.ts"],"sourcesContent":["import { SearchParameter } from 'fhir/r4.js';\nimport { publisher, SearchParameterId, SearchParameterURL } from '../constants.js';\n\nexport const routingRuleNameSp: SearchParameter = {\n id: SearchParameterId.RR_NAME,\n resourceType: 'SearchParameter',\n url: SearchParameterURL.RR_NAME,\n name: 'name',\n status: 'draft',\n experimental: false,\n date: '2025-11-20T10:00:00.000Z',\n publisher,\n code: 'name',\n base: [\n 'RoutingRule',\n ],\n type: 'string',\n description: 'Computer friendly name, chosen by the sender, for this process.',\n expression: 'RoutingRule.name',\n};\n"],"mappings":";;;AAGA,MAAaA,oBAAqC;CAChD,IAAIC,oCAAkB;CACtB,cAAc;CACd,KAAKC,qCAAmB;CACxB,MAAM;CACN,QAAQ;CACR,cAAc;CACd,MAAM;CACN;CACA,MAAM;CACN,MAAM,CACJ,cACD;CACD,MAAM;CACN,aAAa;CACb,YAAY;CACb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoutingRule-name.mjs","names":["routingRuleNameSp: SearchParameter"],"sources":["../../src/search-parameters/RoutingRule-name.ts"],"sourcesContent":["import { SearchParameter } from 'fhir/r4.js';\nimport { publisher, SearchParameterId, SearchParameterURL } from '../constants.js';\n\nexport const routingRuleNameSp: SearchParameter = {\n id: SearchParameterId.RR_NAME,\n resourceType: 'SearchParameter',\n url: SearchParameterURL.RR_NAME,\n name: 'name',\n status: 'draft',\n experimental: false,\n date: '2025-11-20T10:00:00.000Z',\n publisher,\n code: 'name',\n base: [\n 'RoutingRule',\n ],\n type: 'string',\n description: '',\n expression: 'RoutingRule.name',\n};\n"],"mappings":";;;AAGA,MAAaA,oBAAqC;CAChD,IAAI,kBAAkB;CACtB,cAAc;CACd,KAAK,mBAAmB;CACxB,MAAM;CACN,QAAQ;CACR,cAAc;CACd,MAAM;CACN;CACA,MAAM;CACN,MAAM,CACJ,cACD;CACD,MAAM;CACN,aAAa;CACb,YAAY;CACb"}
|
|
1
|
+
{"version":3,"file":"RoutingRule-name.mjs","names":["routingRuleNameSp: SearchParameter"],"sources":["../../src/search-parameters/RoutingRule-name.ts"],"sourcesContent":["import { SearchParameter } from 'fhir/r4.js';\nimport { publisher, SearchParameterId, SearchParameterURL } from '../constants.js';\n\nexport const routingRuleNameSp: SearchParameter = {\n id: SearchParameterId.RR_NAME,\n resourceType: 'SearchParameter',\n url: SearchParameterURL.RR_NAME,\n name: 'name',\n status: 'draft',\n experimental: false,\n date: '2025-11-20T10:00:00.000Z',\n publisher,\n code: 'name',\n base: [\n 'RoutingRule',\n ],\n type: 'string',\n description: 'Computer friendly name, chosen by the sender, for this process.',\n expression: 'RoutingRule.name',\n};\n"],"mappings":";;;AAGA,MAAaA,oBAAqC;CAChD,IAAI,kBAAkB;CACtB,cAAc;CACd,KAAK,mBAAmB;CACxB,MAAM;CACN,QAAQ;CACR,cAAc;CACd,MAAM;CACN;CACA,MAAM;CACN,MAAM,CACJ,cACD;CACD,MAAM;CACN,aAAa;CACb,YAAY;CACb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoutingRule-title.cjs","names":["routingRuleTitleSp: SearchParameter","SearchParameterId","SearchParameterURL"],"sources":["../../src/search-parameters/RoutingRule-title.ts"],"sourcesContent":["import { SearchParameter } from 'fhir/r4.js';\nimport {\n publisher, SearchParameterId, SearchParameterURL,\n} from '../constants.js';\n\nexport const routingRuleTitleSp: SearchParameter = {\n id: SearchParameterId.RR_TITLE,\n resourceType: 'SearchParameter',\n url: SearchParameterURL.RR_TITLE,\n name: 'title',\n status: 'draft',\n experimental: false,\n date: '2025-11-20T10:00:00.000Z',\n publisher,\n code: 'title',\n base: [\n 'RoutingRule',\n ],\n type: 'string',\n description: '',\n expression: 'RoutingRule.title',\n};\n"],"mappings":";;;AAKA,MAAaA,qBAAsC;CACjD,IAAIC,oCAAkB;CACtB,cAAc;CACd,KAAKC,qCAAmB;CACxB,MAAM;CACN,QAAQ;CACR,cAAc;CACd,MAAM;CACN;CACA,MAAM;CACN,MAAM,CACJ,cACD;CACD,MAAM;CACN,aAAa;CACb,YAAY;CACb"}
|
|
1
|
+
{"version":3,"file":"RoutingRule-title.cjs","names":["routingRuleTitleSp: SearchParameter","SearchParameterId","SearchParameterURL"],"sources":["../../src/search-parameters/RoutingRule-title.ts"],"sourcesContent":["import { SearchParameter } from 'fhir/r4.js';\nimport {\n publisher, SearchParameterId, SearchParameterURL,\n} from '../constants.js';\n\nexport const routingRuleTitleSp: SearchParameter = {\n id: SearchParameterId.RR_TITLE,\n resourceType: 'SearchParameter',\n url: SearchParameterURL.RR_TITLE,\n name: 'title',\n status: 'draft',\n experimental: false,\n date: '2025-11-20T10:00:00.000Z',\n publisher,\n code: 'title',\n base: [\n 'RoutingRule',\n ],\n type: 'string',\n description: 'Human friendly title, chosen by the sender, for this process.',\n expression: 'RoutingRule.title',\n};\n"],"mappings":";;;AAKA,MAAaA,qBAAsC;CACjD,IAAIC,oCAAkB;CACtB,cAAc;CACd,KAAKC,qCAAmB;CACxB,MAAM;CACN,QAAQ;CACR,cAAc;CACd,MAAM;CACN;CACA,MAAM;CACN,MAAM,CACJ,cACD;CACD,MAAM;CACN,aAAa;CACb,YAAY;CACb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoutingRule-title.mjs","names":["routingRuleTitleSp: SearchParameter"],"sources":["../../src/search-parameters/RoutingRule-title.ts"],"sourcesContent":["import { SearchParameter } from 'fhir/r4.js';\nimport {\n publisher, SearchParameterId, SearchParameterURL,\n} from '../constants.js';\n\nexport const routingRuleTitleSp: SearchParameter = {\n id: SearchParameterId.RR_TITLE,\n resourceType: 'SearchParameter',\n url: SearchParameterURL.RR_TITLE,\n name: 'title',\n status: 'draft',\n experimental: false,\n date: '2025-11-20T10:00:00.000Z',\n publisher,\n code: 'title',\n base: [\n 'RoutingRule',\n ],\n type: 'string',\n description: '',\n expression: 'RoutingRule.title',\n};\n"],"mappings":";;;AAKA,MAAaA,qBAAsC;CACjD,IAAI,kBAAkB;CACtB,cAAc;CACd,KAAK,mBAAmB;CACxB,MAAM;CACN,QAAQ;CACR,cAAc;CACd,MAAM;CACN;CACA,MAAM;CACN,MAAM,CACJ,cACD;CACD,MAAM;CACN,aAAa;CACb,YAAY;CACb"}
|
|
1
|
+
{"version":3,"file":"RoutingRule-title.mjs","names":["routingRuleTitleSp: SearchParameter"],"sources":["../../src/search-parameters/RoutingRule-title.ts"],"sourcesContent":["import { SearchParameter } from 'fhir/r4.js';\nimport {\n publisher, SearchParameterId, SearchParameterURL,\n} from '../constants.js';\n\nexport const routingRuleTitleSp: SearchParameter = {\n id: SearchParameterId.RR_TITLE,\n resourceType: 'SearchParameter',\n url: SearchParameterURL.RR_TITLE,\n name: 'title',\n status: 'draft',\n experimental: false,\n date: '2025-11-20T10:00:00.000Z',\n publisher,\n code: 'title',\n base: [\n 'RoutingRule',\n ],\n type: 'string',\n description: 'Human friendly title, chosen by the sender, for this process.',\n expression: 'RoutingRule.title',\n};\n"],"mappings":";;;AAKA,MAAaA,qBAAsC;CACjD,IAAI,kBAAkB;CACtB,cAAc;CACd,KAAK,mBAAmB;CACxB,MAAM;CACN,QAAQ;CACR,cAAc;CACd,MAAM;CACN;CACA,MAAM;CACN,MAAM,CACJ,cACD;CACD,MAAM;CACN,aAAa;CACb,YAAY;CACb"}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"RoutingRule"
|
|
47
47
|
],
|
|
48
48
|
"type": "string",
|
|
49
|
-
"description": "",
|
|
49
|
+
"description": "Computer friendly name, chosen by the sender, for this process.",
|
|
50
50
|
"expression": "RoutingRule.name"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
"RoutingRule"
|
|
189
189
|
],
|
|
190
190
|
"type": "string",
|
|
191
|
-
"description": "",
|
|
191
|
+
"description": "Human friendly title, chosen by the sender, for this process.",
|
|
192
192
|
"expression": "RoutingRule.title"
|
|
193
193
|
}
|
|
194
194
|
},
|
package/package.json
CHANGED
|
@@ -1,15 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synanetics/profiles-pie",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "FHIR Profiles for the Synanetics Pathology Integration Engine (PIE)",
|
|
5
5
|
"author": "Lee Campbell <lee.campbell@synanetics.com>",
|
|
6
6
|
"homepage": "https://github.com/SynaneticsLtd/synanetics-core-common/packages/profiles-pie#readme",
|
|
7
7
|
"license": "MIT",
|
|
8
|
-
"
|
|
8
|
+
"exports": {
|
|
9
|
+
"./package.json": "./package.json",
|
|
10
|
+
".": {
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.mts",
|
|
13
|
+
"default": "./dist/index.mjs"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.cts",
|
|
17
|
+
"default": "./dist/index.cjs"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"types": "./dist/index.d.cts",
|
|
22
|
+
"module": "./dist/index.mjs",
|
|
23
|
+
"type": "module",
|
|
24
|
+
"main": "./dist/index.cjs",
|
|
9
25
|
"files": [
|
|
10
26
|
"dist"
|
|
11
27
|
],
|
|
12
|
-
"type": "module",
|
|
13
28
|
"scripts": {
|
|
14
29
|
"prepare": "tsdown --config ../../tsdown.config.ts && tsx src/build"
|
|
15
30
|
},
|
|
@@ -23,7 +38,6 @@
|
|
|
23
38
|
"bugs": {
|
|
24
39
|
"url": "https://github.com/SynaneticsLtd/synanetics-core-common/issues"
|
|
25
40
|
},
|
|
26
|
-
"types": "./dist/index.d.cts",
|
|
27
41
|
"dependencies": {
|
|
28
42
|
"@types/fhir": "^0.0.41"
|
|
29
43
|
}
|