@synanetics/profiles-pie 4.0.0-beta.0 → 5.0.0-beta.0
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/RoutingRule-status.cjs +45 -0
- package/dist/codesystems/RoutingRule-status.cjs.map +1 -0
- package/dist/codesystems/RoutingRule-status.d.cts +24 -0
- package/dist/codesystems/RoutingRule-status.d.cts.map +1 -0
- package/dist/codesystems/RoutingRule-status.d.mts +24 -0
- package/dist/codesystems/RoutingRule-status.d.mts.map +1 -0
- package/dist/codesystems/RoutingRule-status.mjs +43 -0
- package/dist/codesystems/RoutingRule-status.mjs.map +1 -0
- package/dist/codesystems/ServiceRequest-error-status.cjs +33 -0
- package/dist/codesystems/ServiceRequest-error-status.cjs.map +1 -0
- package/dist/codesystems/ServiceRequest-error-status.d.cts +18 -0
- package/dist/codesystems/ServiceRequest-error-status.d.cts.map +1 -0
- package/dist/codesystems/ServiceRequest-error-status.d.mts +18 -0
- package/dist/codesystems/ServiceRequest-error-status.d.mts.map +1 -0
- package/dist/codesystems/ServiceRequest-error-status.mjs +31 -0
- package/dist/codesystems/ServiceRequest-error-status.mjs.map +1 -0
- package/dist/codesystems/ServiceRequest-post-dispatch-status.cjs +70 -0
- package/dist/codesystems/ServiceRequest-post-dispatch-status.cjs.map +1 -0
- package/dist/codesystems/ServiceRequest-post-dispatch-status.d.cts +36 -0
- package/dist/codesystems/ServiceRequest-post-dispatch-status.d.cts.map +1 -0
- package/dist/codesystems/ServiceRequest-post-dispatch-status.d.mts +36 -0
- package/dist/codesystems/ServiceRequest-post-dispatch-status.d.mts.map +1 -0
- package/dist/codesystems/ServiceRequest-post-dispatch-status.mjs +68 -0
- package/dist/codesystems/ServiceRequest-post-dispatch-status.mjs.map +1 -0
- package/dist/codesystems/ServiceRequest-pre-dispatch-status.cjs +70 -0
- package/dist/codesystems/ServiceRequest-pre-dispatch-status.cjs.map +1 -0
- package/dist/codesystems/ServiceRequest-pre-dispatch-status.d.cts +36 -0
- package/dist/codesystems/ServiceRequest-pre-dispatch-status.d.cts.map +1 -0
- package/dist/codesystems/ServiceRequest-pre-dispatch-status.d.mts +36 -0
- package/dist/codesystems/ServiceRequest-pre-dispatch-status.d.mts.map +1 -0
- package/dist/codesystems/ServiceRequest-pre-dispatch-status.mjs +68 -0
- package/dist/codesystems/ServiceRequest-pre-dispatch-status.mjs.map +1 -0
- package/dist/codesystems/index.cjs +5 -0
- package/dist/codesystems/index.mjs +7 -0
- package/dist/codesystems/pieOutcome.cjs +63 -0
- package/dist/codesystems/pieOutcome.cjs.map +1 -0
- package/dist/codesystems/pieOutcome.d.cts +17 -0
- package/dist/codesystems/pieOutcome.d.cts.map +1 -0
- package/dist/codesystems/pieOutcome.d.mts +17 -0
- package/dist/codesystems/pieOutcome.d.mts.map +1 -0
- package/dist/codesystems/pieOutcome.mjs +62 -0
- package/dist/codesystems/pieOutcome.mjs.map +1 -0
- package/dist/codesystems.json +89 -21
- package/dist/constants.cjs +101 -0
- package/dist/constants.cjs.map +1 -0
- package/dist/constants.d.cts +77 -0
- package/dist/constants.d.cts.map +1 -0
- package/dist/constants.d.mts +77 -0
- package/dist/constants.d.mts.map +1 -0
- package/dist/constants.mjs +86 -0
- package/dist/constants.mjs.map +1 -0
- package/dist/index.cjs +74 -0
- package/dist/index.d.cts +26 -0
- package/dist/index.d.mts +26 -0
- package/dist/index.mjs +29 -0
- package/dist/profiles-resources/RoutingRule.cjs +349 -0
- package/dist/profiles-resources/RoutingRule.cjs.map +1 -0
- package/dist/profiles-resources/RoutingRule.d.cts +7 -0
- package/dist/profiles-resources/RoutingRule.d.cts.map +1 -0
- package/dist/profiles-resources/RoutingRule.d.mts +7 -0
- package/dist/profiles-resources/RoutingRule.d.mts.map +1 -0
- package/dist/profiles-resources/RoutingRule.mjs +349 -0
- package/dist/profiles-resources/RoutingRule.mjs.map +1 -0
- package/dist/profiles-resources/ServiceRequest-filler-group-number.cjs +58 -0
- package/dist/profiles-resources/ServiceRequest-filler-group-number.cjs.map +1 -0
- package/dist/profiles-resources/ServiceRequest-filler-group-number.d.cts +7 -0
- package/dist/profiles-resources/ServiceRequest-filler-group-number.d.cts.map +1 -0
- package/dist/profiles-resources/ServiceRequest-filler-group-number.d.mts +7 -0
- package/dist/profiles-resources/ServiceRequest-filler-group-number.d.mts.map +1 -0
- package/dist/profiles-resources/ServiceRequest-filler-group-number.mjs +58 -0
- package/dist/profiles-resources/ServiceRequest-filler-group-number.mjs.map +1 -0
- package/dist/profiles-resources/ServiceRequest-placer-group-number.cjs +58 -0
- package/dist/profiles-resources/ServiceRequest-placer-group-number.cjs.map +1 -0
- package/dist/profiles-resources/ServiceRequest-placer-group-number.d.cts +7 -0
- package/dist/profiles-resources/ServiceRequest-placer-group-number.d.cts.map +1 -0
- package/dist/profiles-resources/ServiceRequest-placer-group-number.d.mts +7 -0
- package/dist/profiles-resources/ServiceRequest-placer-group-number.d.mts.map +1 -0
- package/dist/profiles-resources/ServiceRequest-placer-group-number.mjs +58 -0
- package/dist/profiles-resources/ServiceRequest-placer-group-number.mjs.map +1 -0
- package/dist/profiles-resources/ServiceRequest-status-detail.cjs +95 -0
- package/dist/profiles-resources/ServiceRequest-status-detail.cjs.map +1 -0
- package/dist/profiles-resources/ServiceRequest-status-detail.d.cts +7 -0
- package/dist/profiles-resources/ServiceRequest-status-detail.d.cts.map +1 -0
- package/dist/profiles-resources/ServiceRequest-status-detail.d.mts +7 -0
- package/dist/profiles-resources/ServiceRequest-status-detail.d.mts.map +1 -0
- package/dist/profiles-resources/ServiceRequest-status-detail.mjs +95 -0
- package/dist/profiles-resources/ServiceRequest-status-detail.mjs.map +1 -0
- package/dist/profiles-resources/index.cjs +5 -0
- package/dist/profiles-resources/index.mjs +7 -0
- package/dist/profiles-resources/used-by.cjs +64 -0
- package/dist/profiles-resources/used-by.cjs.map +1 -0
- package/dist/profiles-resources/used-by.d.cts +7 -0
- package/dist/profiles-resources/used-by.d.cts.map +1 -0
- package/dist/profiles-resources/used-by.d.mts +7 -0
- package/dist/profiles-resources/used-by.d.mts.map +1 -0
- package/dist/profiles-resources/used-by.mjs +64 -0
- package/dist/profiles-resources/used-by.mjs.map +1 -0
- package/dist/profiles-resources.json +125 -324
- package/dist/search-parameters/RoutingRule-name.cjs +22 -0
- package/dist/search-parameters/RoutingRule-name.cjs.map +1 -0
- package/dist/search-parameters/RoutingRule-name.d.cts +7 -0
- package/dist/search-parameters/RoutingRule-name.d.cts.map +1 -0
- package/dist/search-parameters/RoutingRule-name.d.mts +7 -0
- package/dist/search-parameters/RoutingRule-name.d.mts.map +1 -0
- package/dist/search-parameters/RoutingRule-name.mjs +22 -0
- package/dist/search-parameters/RoutingRule-name.mjs.map +1 -0
- package/dist/search-parameters/RoutingRule-period.cjs +33 -0
- package/dist/search-parameters/RoutingRule-period.cjs.map +1 -0
- package/dist/search-parameters/RoutingRule-period.d.cts +7 -0
- package/dist/search-parameters/RoutingRule-period.d.cts.map +1 -0
- package/dist/search-parameters/RoutingRule-period.d.mts +7 -0
- package/dist/search-parameters/RoutingRule-period.d.mts.map +1 -0
- package/dist/search-parameters/RoutingRule-period.mjs +33 -0
- package/dist/search-parameters/RoutingRule-period.mjs.map +1 -0
- package/dist/search-parameters/RoutingRule-process.cjs +23 -0
- package/dist/search-parameters/RoutingRule-process.cjs.map +1 -0
- package/dist/search-parameters/RoutingRule-process.d.cts +7 -0
- package/dist/search-parameters/RoutingRule-process.d.cts.map +1 -0
- package/dist/search-parameters/RoutingRule-process.d.mts +7 -0
- package/dist/search-parameters/RoutingRule-process.d.mts.map +1 -0
- package/dist/search-parameters/RoutingRule-process.mjs +23 -0
- package/dist/search-parameters/RoutingRule-process.mjs.map +1 -0
- package/dist/search-parameters/RoutingRule-receiver.cjs +23 -0
- package/dist/search-parameters/RoutingRule-receiver.cjs.map +1 -0
- package/dist/search-parameters/RoutingRule-receiver.d.cts +7 -0
- package/dist/search-parameters/RoutingRule-receiver.d.cts.map +1 -0
- package/dist/search-parameters/RoutingRule-receiver.d.mts +7 -0
- package/dist/search-parameters/RoutingRule-receiver.d.mts.map +1 -0
- package/dist/search-parameters/RoutingRule-receiver.mjs +23 -0
- package/dist/search-parameters/RoutingRule-receiver.mjs.map +1 -0
- package/dist/search-parameters/RoutingRule-sender.cjs +23 -0
- package/dist/search-parameters/RoutingRule-sender.cjs.map +1 -0
- package/dist/search-parameters/RoutingRule-sender.d.cts +7 -0
- package/dist/search-parameters/RoutingRule-sender.d.cts.map +1 -0
- package/dist/search-parameters/RoutingRule-sender.d.mts +7 -0
- package/dist/search-parameters/RoutingRule-sender.d.mts.map +1 -0
- package/dist/search-parameters/RoutingRule-sender.mjs +23 -0
- package/dist/search-parameters/RoutingRule-sender.mjs.map +1 -0
- package/dist/search-parameters/RoutingRule-status.cjs +22 -0
- package/dist/search-parameters/RoutingRule-status.cjs.map +1 -0
- package/dist/search-parameters/RoutingRule-status.d.cts +7 -0
- package/dist/search-parameters/RoutingRule-status.d.cts.map +1 -0
- package/dist/search-parameters/RoutingRule-status.d.mts +7 -0
- package/dist/search-parameters/RoutingRule-status.d.mts.map +1 -0
- package/dist/search-parameters/RoutingRule-status.mjs +22 -0
- package/dist/search-parameters/RoutingRule-status.mjs.map +1 -0
- package/dist/search-parameters/RoutingRule-title.cjs +22 -0
- package/dist/search-parameters/RoutingRule-title.cjs.map +1 -0
- package/dist/search-parameters/RoutingRule-title.d.cts +7 -0
- package/dist/search-parameters/RoutingRule-title.d.cts.map +1 -0
- package/dist/search-parameters/RoutingRule-title.d.mts +7 -0
- package/dist/search-parameters/RoutingRule-title.d.mts.map +1 -0
- package/dist/search-parameters/RoutingRule-title.mjs +22 -0
- package/dist/search-parameters/RoutingRule-title.mjs.map +1 -0
- package/dist/search-parameters/ServiceRequest-filler-group-number.cjs +22 -0
- package/dist/search-parameters/ServiceRequest-filler-group-number.cjs.map +1 -0
- package/dist/search-parameters/ServiceRequest-filler-group-number.d.cts +7 -0
- package/dist/search-parameters/ServiceRequest-filler-group-number.d.cts.map +1 -0
- package/dist/search-parameters/ServiceRequest-filler-group-number.d.mts +7 -0
- package/dist/search-parameters/ServiceRequest-filler-group-number.d.mts.map +1 -0
- package/dist/search-parameters/ServiceRequest-filler-group-number.mjs +22 -0
- package/dist/search-parameters/ServiceRequest-filler-group-number.mjs.map +1 -0
- package/dist/search-parameters/ServiceRequest-placer-group-number.cjs +22 -0
- package/dist/search-parameters/ServiceRequest-placer-group-number.cjs.map +1 -0
- package/dist/search-parameters/ServiceRequest-placer-group-number.d.cts +7 -0
- package/dist/search-parameters/ServiceRequest-placer-group-number.d.cts.map +1 -0
- package/dist/search-parameters/ServiceRequest-placer-group-number.d.mts +7 -0
- package/dist/search-parameters/ServiceRequest-placer-group-number.d.mts.map +1 -0
- package/dist/search-parameters/ServiceRequest-placer-group-number.mjs +22 -0
- package/dist/search-parameters/ServiceRequest-placer-group-number.mjs.map +1 -0
- package/dist/search-parameters/index.cjs +10 -0
- package/dist/search-parameters/index.mjs +12 -0
- package/dist/search-parameters/mapping-used-by.cjs +28 -0
- package/dist/search-parameters/mapping-used-by.cjs.map +1 -0
- package/dist/search-parameters/mapping-used-by.d.cts +7 -0
- package/dist/search-parameters/mapping-used-by.d.cts.map +1 -0
- package/dist/search-parameters/mapping-used-by.d.mts +7 -0
- package/dist/search-parameters/mapping-used-by.d.mts.map +1 -0
- package/dist/search-parameters/mapping-used-by.mjs +28 -0
- package/dist/search-parameters/mapping-used-by.mjs.map +1 -0
- package/dist/search-parameters.json +71 -136
- package/dist/types/pieResource.d.cts +15 -0
- package/dist/types/pieResource.d.cts.map +1 -0
- package/dist/types/pieResource.d.mts +15 -0
- package/dist/types/pieResource.d.mts.map +1 -0
- package/dist/types/routingRule.d.cts +88 -0
- package/dist/types/routingRule.d.cts.map +1 -0
- package/dist/types/routingRule.d.mts +88 -0
- package/dist/types/routingRule.d.mts.map +1 -0
- package/dist/valuesets/RoutingRule-status.cjs +17 -0
- package/dist/valuesets/RoutingRule-status.cjs.map +1 -0
- package/dist/valuesets/RoutingRule-status.d.cts +7 -0
- package/dist/valuesets/RoutingRule-status.d.cts.map +1 -0
- package/dist/valuesets/RoutingRule-status.d.mts +7 -0
- package/dist/valuesets/RoutingRule-status.d.mts.map +1 -0
- package/dist/valuesets/RoutingRule-status.mjs +17 -0
- package/dist/valuesets/RoutingRule-status.mjs.map +1 -0
- package/dist/valuesets/ServiceRequest-status-detail.cjs +21 -0
- package/dist/valuesets/ServiceRequest-status-detail.cjs.map +1 -0
- package/dist/valuesets/ServiceRequest-status-detail.d.cts +7 -0
- package/dist/valuesets/ServiceRequest-status-detail.d.cts.map +1 -0
- package/dist/valuesets/ServiceRequest-status-detail.d.mts +7 -0
- package/dist/valuesets/ServiceRequest-status-detail.d.mts.map +1 -0
- package/dist/valuesets/ServiceRequest-status-detail.mjs +21 -0
- package/dist/valuesets/ServiceRequest-status-detail.mjs.map +1 -0
- package/dist/valuesets/index.cjs +2 -0
- package/dist/valuesets/index.mjs +4 -0
- package/dist/valuesets.json +21 -14
- package/package.json +3 -3
- package/dist/index.js +0 -14
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { DomainResource, Period, Reference } from "fhir/r4.js";
|
|
2
|
+
|
|
3
|
+
//#region src/types/routingRule.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Receiver system(s) and process(es) mapping
|
|
7
|
+
*/
|
|
8
|
+
interface RoutingRuleTargetMapping {
|
|
9
|
+
/**
|
|
10
|
+
* A reference to the receiving Organization/Endpoint
|
|
11
|
+
*/
|
|
12
|
+
receiver: Reference;
|
|
13
|
+
/**
|
|
14
|
+
* References to resources, created by the receiver,
|
|
15
|
+
* which define the processes to be performed (e.g. PlanDefinition)
|
|
16
|
+
*/
|
|
17
|
+
processDefinition: Reference[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* A collection of target mappings grouped by id
|
|
21
|
+
*/
|
|
22
|
+
interface RoutingRuleTarget {
|
|
23
|
+
/**
|
|
24
|
+
* Unique id for inter-element referencing
|
|
25
|
+
*/
|
|
26
|
+
targetId: string;
|
|
27
|
+
/**
|
|
28
|
+
* Mappings for the receiver system(s) and process(es)
|
|
29
|
+
*/
|
|
30
|
+
mapping: RoutingRuleTargetMapping[];
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The receiver details to which the sender message should be
|
|
34
|
+
* routed and mapped to for a defined period
|
|
35
|
+
*/
|
|
36
|
+
interface RoutingRuleRule {
|
|
37
|
+
/**
|
|
38
|
+
* Unique id for inter-element referencing
|
|
39
|
+
*/
|
|
40
|
+
ruleId: string;
|
|
41
|
+
/**
|
|
42
|
+
* The time period for which the routing rule is valid
|
|
43
|
+
*/
|
|
44
|
+
period: Period;
|
|
45
|
+
/**
|
|
46
|
+
* The internal element id for the rule's target
|
|
47
|
+
*/
|
|
48
|
+
targetId: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* RoutingRule defines rules for routing messages and mapping
|
|
52
|
+
* values between a sender and 0 to many receivers.
|
|
53
|
+
* The definition includes the sender's local name and title for a process,
|
|
54
|
+
* and a number of rules which contain:
|
|
55
|
+
* a reference to the action as defined by a receiver,
|
|
56
|
+
* and the time period for which the rule is valid.
|
|
57
|
+
*/
|
|
58
|
+
interface RoutingRule extends DomainResource {
|
|
59
|
+
/**
|
|
60
|
+
* The resourceType, always RoutingRule
|
|
61
|
+
*/
|
|
62
|
+
readonly resourceType: 'RoutingRule';
|
|
63
|
+
/**
|
|
64
|
+
* The status of the routing rule: active | inactive
|
|
65
|
+
*/
|
|
66
|
+
status: 'active' | 'inactive';
|
|
67
|
+
/**
|
|
68
|
+
* A reference to the sending Organization/Endpoint
|
|
69
|
+
*/
|
|
70
|
+
sender: Reference;
|
|
71
|
+
/**
|
|
72
|
+
* Computer friendly name, chosen by the sender, for this process
|
|
73
|
+
*/
|
|
74
|
+
name: string;
|
|
75
|
+
/**
|
|
76
|
+
* Human friendly title, chosen by the sender, for this process
|
|
77
|
+
*/
|
|
78
|
+
title: string;
|
|
79
|
+
/**
|
|
80
|
+
* The receiver details to which the sender message should be
|
|
81
|
+
* routed and mapped to for a defined period
|
|
82
|
+
*/
|
|
83
|
+
rule?: RoutingRuleRule[];
|
|
84
|
+
target?: RoutingRuleTarget[];
|
|
85
|
+
}
|
|
86
|
+
//#endregion
|
|
87
|
+
export { RoutingRule, RoutingRuleRule, RoutingRuleTarget, RoutingRuleTargetMapping };
|
|
88
|
+
//# sourceMappingURL=routingRule.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routingRule.d.cts","names":[],"sources":["../../src/types/routingRule.ts"],"sourcesContent":[],"mappings":";;;;;;AAOA;AAeiB,UAfA,wBAAA,CAuBN;EAOM;AAuBjB;;EAyBS,QAAA,EA1EG,SA0EH;EACE;;;;qBAtEU;;;;;UAMJ,iBAAA;;;;;;;;WAQN;;;;;;UAOM,eAAA;;;;;;;;UAQP;;;;;;;;;;;;;;UAeO,WAAA,SAAoB;;;;;;;;;;;;UAY3B;;;;;;;;;;;;;SAaD;WACE"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { DomainResource, Period, Reference } from "fhir/r4.js";
|
|
2
|
+
|
|
3
|
+
//#region src/types/routingRule.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Receiver system(s) and process(es) mapping
|
|
7
|
+
*/
|
|
8
|
+
interface RoutingRuleTargetMapping {
|
|
9
|
+
/**
|
|
10
|
+
* A reference to the receiving Organization/Endpoint
|
|
11
|
+
*/
|
|
12
|
+
receiver: Reference;
|
|
13
|
+
/**
|
|
14
|
+
* References to resources, created by the receiver,
|
|
15
|
+
* which define the processes to be performed (e.g. PlanDefinition)
|
|
16
|
+
*/
|
|
17
|
+
processDefinition: Reference[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* A collection of target mappings grouped by id
|
|
21
|
+
*/
|
|
22
|
+
interface RoutingRuleTarget {
|
|
23
|
+
/**
|
|
24
|
+
* Unique id for inter-element referencing
|
|
25
|
+
*/
|
|
26
|
+
targetId: string;
|
|
27
|
+
/**
|
|
28
|
+
* Mappings for the receiver system(s) and process(es)
|
|
29
|
+
*/
|
|
30
|
+
mapping: RoutingRuleTargetMapping[];
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The receiver details to which the sender message should be
|
|
34
|
+
* routed and mapped to for a defined period
|
|
35
|
+
*/
|
|
36
|
+
interface RoutingRuleRule {
|
|
37
|
+
/**
|
|
38
|
+
* Unique id for inter-element referencing
|
|
39
|
+
*/
|
|
40
|
+
ruleId: string;
|
|
41
|
+
/**
|
|
42
|
+
* The time period for which the routing rule is valid
|
|
43
|
+
*/
|
|
44
|
+
period: Period;
|
|
45
|
+
/**
|
|
46
|
+
* The internal element id for the rule's target
|
|
47
|
+
*/
|
|
48
|
+
targetId: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* RoutingRule defines rules for routing messages and mapping
|
|
52
|
+
* values between a sender and 0 to many receivers.
|
|
53
|
+
* The definition includes the sender's local name and title for a process,
|
|
54
|
+
* and a number of rules which contain:
|
|
55
|
+
* a reference to the action as defined by a receiver,
|
|
56
|
+
* and the time period for which the rule is valid.
|
|
57
|
+
*/
|
|
58
|
+
interface RoutingRule extends DomainResource {
|
|
59
|
+
/**
|
|
60
|
+
* The resourceType, always RoutingRule
|
|
61
|
+
*/
|
|
62
|
+
readonly resourceType: 'RoutingRule';
|
|
63
|
+
/**
|
|
64
|
+
* The status of the routing rule: active | inactive
|
|
65
|
+
*/
|
|
66
|
+
status: 'active' | 'inactive';
|
|
67
|
+
/**
|
|
68
|
+
* A reference to the sending Organization/Endpoint
|
|
69
|
+
*/
|
|
70
|
+
sender: Reference;
|
|
71
|
+
/**
|
|
72
|
+
* Computer friendly name, chosen by the sender, for this process
|
|
73
|
+
*/
|
|
74
|
+
name: string;
|
|
75
|
+
/**
|
|
76
|
+
* Human friendly title, chosen by the sender, for this process
|
|
77
|
+
*/
|
|
78
|
+
title: string;
|
|
79
|
+
/**
|
|
80
|
+
* The receiver details to which the sender message should be
|
|
81
|
+
* routed and mapped to for a defined period
|
|
82
|
+
*/
|
|
83
|
+
rule?: RoutingRuleRule[];
|
|
84
|
+
target?: RoutingRuleTarget[];
|
|
85
|
+
}
|
|
86
|
+
//#endregion
|
|
87
|
+
export { RoutingRule, RoutingRuleRule, RoutingRuleTarget, RoutingRuleTargetMapping };
|
|
88
|
+
//# sourceMappingURL=routingRule.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routingRule.d.mts","names":[],"sources":["../../src/types/routingRule.ts"],"sourcesContent":[],"mappings":";;;;;;AAOA;AAeiB,UAfA,wBAAA,CAuBN;EAOM;AAuBjB;;EAyBS,QAAA,EA1EG,SA0EH;EACE;;;;qBAtEU;;;;;UAMJ,iBAAA;;;;;;;;WAQN;;;;;;UAOM,eAAA;;;;;;;;UAQP;;;;;;;;;;;;;;UAeO,WAAA,SAAoB;;;;;;;;;;;;UAY3B;;;;;;;;;;;;;SAaD;WACE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const require_constants = require('../constants.cjs');
|
|
2
|
+
|
|
3
|
+
//#region src/valuesets/RoutingRule-status.ts
|
|
4
|
+
const routingRuleStatusVs = {
|
|
5
|
+
id: require_constants.ValueSetId.RR_STATUS,
|
|
6
|
+
resourceType: "ValueSet",
|
|
7
|
+
url: require_constants.ValueSetURL.RR_STATUS,
|
|
8
|
+
status: "active",
|
|
9
|
+
date: "2024-02-27T15:00:00.000Z",
|
|
10
|
+
publisher: require_constants.publisher,
|
|
11
|
+
description: `All of the values from the CodeSystem: ${require_constants.CodeSystemURL.RR_STATUS}. These define the allowed RoutingRule active/inactive status.`,
|
|
12
|
+
compose: { include: [{ system: require_constants.CodeSystemURL.RR_STATUS }] }
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.routingRuleStatusVs = routingRuleStatusVs;
|
|
17
|
+
//# sourceMappingURL=RoutingRule-status.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoutingRule-status.cjs","names":["routingRuleStatusVs: ValueSet","ValueSetId","ValueSetURL","CodeSystemURL"],"sources":["../../src/valuesets/RoutingRule-status.ts"],"sourcesContent":["import { ValueSet } from 'fhir/r4.js';\nimport {\n CodeSystemURL, publisher, ValueSetId, ValueSetURL,\n} from '../constants.js';\n\nexport const routingRuleStatusVs: ValueSet = {\n id: ValueSetId.RR_STATUS,\n resourceType: 'ValueSet',\n url: ValueSetURL.RR_STATUS,\n status: 'active',\n date: '2024-02-27T15:00:00.000Z',\n publisher,\n description: `All of the values from the CodeSystem: ${CodeSystemURL.RR_STATUS}. These define the allowed RoutingRule active/inactive status.`,\n compose: {\n include: [\n {\n system: CodeSystemURL.RR_STATUS,\n },\n ],\n },\n};\n"],"mappings":";;;AAKA,MAAaA,sBAAgC;CAC3C,IAAIC,6BAAW;CACf,cAAc;CACd,KAAKC,8BAAY;CACjB,QAAQ;CACR,MAAM;CACN;CACA,aAAa,0CAA0CC,gCAAc,UAAU;CAC/E,SAAS,EACP,SAAS,CACP,EACE,QAAQA,gCAAc,WACvB,CACF,EACF;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoutingRule-status.d.cts","names":[],"sources":["../../src/valuesets/RoutingRule-status.ts"],"sourcesContent":[],"mappings":";;;cAKa,qBAAqB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoutingRule-status.d.mts","names":[],"sources":["../../src/valuesets/RoutingRule-status.ts"],"sourcesContent":[],"mappings":";;;cAKa,qBAAqB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CodeSystemURL, ValueSetId, ValueSetURL, publisher } from "../constants.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/valuesets/RoutingRule-status.ts
|
|
4
|
+
const routingRuleStatusVs = {
|
|
5
|
+
id: ValueSetId.RR_STATUS,
|
|
6
|
+
resourceType: "ValueSet",
|
|
7
|
+
url: ValueSetURL.RR_STATUS,
|
|
8
|
+
status: "active",
|
|
9
|
+
date: "2024-02-27T15:00:00.000Z",
|
|
10
|
+
publisher,
|
|
11
|
+
description: `All of the values from the CodeSystem: ${CodeSystemURL.RR_STATUS}. These define the allowed RoutingRule active/inactive status.`,
|
|
12
|
+
compose: { include: [{ system: CodeSystemURL.RR_STATUS }] }
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { routingRuleStatusVs };
|
|
17
|
+
//# sourceMappingURL=RoutingRule-status.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoutingRule-status.mjs","names":["routingRuleStatusVs: ValueSet"],"sources":["../../src/valuesets/RoutingRule-status.ts"],"sourcesContent":["import { ValueSet } from 'fhir/r4.js';\nimport {\n CodeSystemURL, publisher, ValueSetId, ValueSetURL,\n} from '../constants.js';\n\nexport const routingRuleStatusVs: ValueSet = {\n id: ValueSetId.RR_STATUS,\n resourceType: 'ValueSet',\n url: ValueSetURL.RR_STATUS,\n status: 'active',\n date: '2024-02-27T15:00:00.000Z',\n publisher,\n description: `All of the values from the CodeSystem: ${CodeSystemURL.RR_STATUS}. These define the allowed RoutingRule active/inactive status.`,\n compose: {\n include: [\n {\n system: CodeSystemURL.RR_STATUS,\n },\n ],\n },\n};\n"],"mappings":";;;AAKA,MAAaA,sBAAgC;CAC3C,IAAI,WAAW;CACf,cAAc;CACd,KAAK,YAAY;CACjB,QAAQ;CACR,MAAM;CACN;CACA,aAAa,0CAA0C,cAAc,UAAU;CAC/E,SAAS,EACP,SAAS,CACP,EACE,QAAQ,cAAc,WACvB,CACF,EACF;CACF"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_constants = require('../constants.cjs');
|
|
2
|
+
|
|
3
|
+
//#region src/valuesets/ServiceRequest-status-detail.ts
|
|
4
|
+
const srStatusDetailVs = {
|
|
5
|
+
id: require_constants.ValueSetId.SR_STATUS_DETAIL,
|
|
6
|
+
resourceType: "ValueSet",
|
|
7
|
+
url: require_constants.ValueSetURL.SR_STATUS_DETAIL,
|
|
8
|
+
status: "active",
|
|
9
|
+
date: "2025-02-06T17:00:00.000Z",
|
|
10
|
+
publisher: require_constants.publisher,
|
|
11
|
+
description: `All of the values from the CodeSystems "${require_constants.CodeSystemURL.SR_PRE_DISPATCH_STATUS}" and "${require_constants.CodeSystemURL.SR_POST_DISPATCH_STATUS}". These provide a detailed PIE-specific status for the ServiceRequest.`,
|
|
12
|
+
compose: { include: [
|
|
13
|
+
{ system: require_constants.CodeSystemURL.SR_PRE_DISPATCH_STATUS },
|
|
14
|
+
{ system: require_constants.CodeSystemURL.SR_POST_DISPATCH_STATUS },
|
|
15
|
+
{ system: require_constants.CodeSystemURL.SR_ERROR_STATUS }
|
|
16
|
+
] }
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.srStatusDetailVs = srStatusDetailVs;
|
|
21
|
+
//# sourceMappingURL=ServiceRequest-status-detail.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServiceRequest-status-detail.cjs","names":["srStatusDetailVs: ValueSet","ValueSetId","ValueSetURL","CodeSystemURL"],"sources":["../../src/valuesets/ServiceRequest-status-detail.ts"],"sourcesContent":["import { ValueSet } from 'fhir/r4.js';\nimport {\n CodeSystemURL, publisher, ValueSetId, ValueSetURL,\n} from '../constants.js';\n\nexport const srStatusDetailVs: ValueSet = {\n id: ValueSetId.SR_STATUS_DETAIL,\n resourceType: 'ValueSet',\n url: ValueSetURL.SR_STATUS_DETAIL,\n status: 'active',\n date: '2025-02-06T17:00:00.000Z',\n publisher,\n description: `All of the values from the CodeSystems \"${CodeSystemURL.SR_PRE_DISPATCH_STATUS}\" and \"${CodeSystemURL.SR_POST_DISPATCH_STATUS}\". These provide a detailed PIE-specific status for the ServiceRequest.`,\n compose: {\n include: [\n {\n system: CodeSystemURL.SR_PRE_DISPATCH_STATUS,\n },\n {\n system: CodeSystemURL.SR_POST_DISPATCH_STATUS,\n },\n {\n system: CodeSystemURL.SR_ERROR_STATUS,\n },\n ],\n },\n};\n"],"mappings":";;;AAKA,MAAaA,mBAA6B;CACxC,IAAIC,6BAAW;CACf,cAAc;CACd,KAAKC,8BAAY;CACjB,QAAQ;CACR,MAAM;CACN;CACA,aAAa,2CAA2CC,gCAAc,uBAAuB,SAASA,gCAAc,wBAAwB;CAC5I,SAAS,EACP,SAAS;EACP,EACE,QAAQA,gCAAc,wBACvB;EACD,EACE,QAAQA,gCAAc,yBACvB;EACD,EACE,QAAQA,gCAAc,iBACvB;EACF,EACF;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServiceRequest-status-detail.d.cts","names":[],"sources":["../../src/valuesets/ServiceRequest-status-detail.ts"],"sourcesContent":[],"mappings":";;;cAKa,kBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServiceRequest-status-detail.d.mts","names":[],"sources":["../../src/valuesets/ServiceRequest-status-detail.ts"],"sourcesContent":[],"mappings":";;;cAKa,kBAAkB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CodeSystemURL, ValueSetId, ValueSetURL, publisher } from "../constants.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/valuesets/ServiceRequest-status-detail.ts
|
|
4
|
+
const srStatusDetailVs = {
|
|
5
|
+
id: ValueSetId.SR_STATUS_DETAIL,
|
|
6
|
+
resourceType: "ValueSet",
|
|
7
|
+
url: ValueSetURL.SR_STATUS_DETAIL,
|
|
8
|
+
status: "active",
|
|
9
|
+
date: "2025-02-06T17:00:00.000Z",
|
|
10
|
+
publisher,
|
|
11
|
+
description: `All of the values from the CodeSystems "${CodeSystemURL.SR_PRE_DISPATCH_STATUS}" and "${CodeSystemURL.SR_POST_DISPATCH_STATUS}". These provide a detailed PIE-specific status for the ServiceRequest.`,
|
|
12
|
+
compose: { include: [
|
|
13
|
+
{ system: CodeSystemURL.SR_PRE_DISPATCH_STATUS },
|
|
14
|
+
{ system: CodeSystemURL.SR_POST_DISPATCH_STATUS },
|
|
15
|
+
{ system: CodeSystemURL.SR_ERROR_STATUS }
|
|
16
|
+
] }
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { srStatusDetailVs };
|
|
21
|
+
//# sourceMappingURL=ServiceRequest-status-detail.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServiceRequest-status-detail.mjs","names":["srStatusDetailVs: ValueSet"],"sources":["../../src/valuesets/ServiceRequest-status-detail.ts"],"sourcesContent":["import { ValueSet } from 'fhir/r4.js';\nimport {\n CodeSystemURL, publisher, ValueSetId, ValueSetURL,\n} from '../constants.js';\n\nexport const srStatusDetailVs: ValueSet = {\n id: ValueSetId.SR_STATUS_DETAIL,\n resourceType: 'ValueSet',\n url: ValueSetURL.SR_STATUS_DETAIL,\n status: 'active',\n date: '2025-02-06T17:00:00.000Z',\n publisher,\n description: `All of the values from the CodeSystems \"${CodeSystemURL.SR_PRE_DISPATCH_STATUS}\" and \"${CodeSystemURL.SR_POST_DISPATCH_STATUS}\". These provide a detailed PIE-specific status for the ServiceRequest.`,\n compose: {\n include: [\n {\n system: CodeSystemURL.SR_PRE_DISPATCH_STATUS,\n },\n {\n system: CodeSystemURL.SR_POST_DISPATCH_STATUS,\n },\n {\n system: CodeSystemURL.SR_ERROR_STATUS,\n },\n ],\n },\n};\n"],"mappings":";;;AAKA,MAAaA,mBAA6B;CACxC,IAAI,WAAW;CACf,cAAc;CACd,KAAK,YAAY;CACjB,QAAQ;CACR,MAAM;CACN;CACA,aAAa,2CAA2C,cAAc,uBAAuB,SAAS,cAAc,wBAAwB;CAC5I,SAAS,EACP,SAAS;EACP,EACE,QAAQ,cAAc,wBACvB;EACD,EACE,QAAQ,cAAc,yBACvB;EACD,EACE,QAAQ,cAAc,iBACvB;EACF,EACF;CACF"}
|
package/dist/valuesets.json
CHANGED
|
@@ -1,47 +1,54 @@
|
|
|
1
1
|
{
|
|
2
|
-
"resourceType": "Bundle",
|
|
3
2
|
"id": "valuesets",
|
|
4
|
-
"
|
|
5
|
-
"lastUpdated": "2025-02-07T08:00:00.000Z"
|
|
6
|
-
},
|
|
3
|
+
"resourceType": "Bundle",
|
|
7
4
|
"type": "collection",
|
|
8
5
|
"entry": [
|
|
9
6
|
{
|
|
10
|
-
"fullUrl": "https://pie.synanetics.com/fhir/r4
|
|
7
|
+
"fullUrl": "https://pie.synanetics.com/fhir/r4//ValueSet/RoutingRule-status",
|
|
11
8
|
"resource": {
|
|
9
|
+
"id": "RoutingRule-status",
|
|
12
10
|
"resourceType": "ValueSet",
|
|
13
|
-
"url": "https://pie.synanetics.com/fhir/r4
|
|
11
|
+
"url": "https://pie.synanetics.com/fhir/r4//ValueSet/RoutingRule-status",
|
|
14
12
|
"status": "active",
|
|
15
13
|
"date": "2024-02-27T15:00:00.000Z",
|
|
16
|
-
"
|
|
14
|
+
"publisher": "Synanetics Ltd",
|
|
15
|
+
"description": "All of the values from the CodeSystem: https://pie.synanetics.com/fhir/r4//CodeSystem/RoutingRule-status. These define the allowed RoutingRule active/inactive status.",
|
|
17
16
|
"compose": {
|
|
18
17
|
"include": [
|
|
19
18
|
{
|
|
20
|
-
"system": "https://pie.synanetics.com/fhir/r4
|
|
19
|
+
"system": "https://pie.synanetics.com/fhir/r4//CodeSystem/RoutingRule-status"
|
|
21
20
|
}
|
|
22
21
|
]
|
|
23
22
|
}
|
|
24
23
|
}
|
|
25
24
|
},
|
|
26
25
|
{
|
|
27
|
-
"fullUrl": "https://pie.synanetics.com/fhir/r4/ServiceRequest-
|
|
26
|
+
"fullUrl": "https://pie.synanetics.com/fhir/r4//ValueSet/ServiceRequest-status-detail",
|
|
28
27
|
"resource": {
|
|
28
|
+
"id": "ServiceRequest-status-detail",
|
|
29
29
|
"resourceType": "ValueSet",
|
|
30
|
-
"url": "https://pie.synanetics.com/fhir/r4/ServiceRequest-
|
|
30
|
+
"url": "https://pie.synanetics.com/fhir/r4//ValueSet/ServiceRequest-status-detail",
|
|
31
31
|
"status": "active",
|
|
32
32
|
"date": "2025-02-06T17:00:00.000Z",
|
|
33
|
-
"
|
|
33
|
+
"publisher": "Synanetics Ltd",
|
|
34
|
+
"description": "All of the values from the CodeSystems \"https://pie.synanetics.com/fhir/r4//CodeSystem/ServiceRequest-pre-dispatch-status\" and \"https://pie.synanetics.com/fhir/r4//CodeSystem/ServiceRequest-post-dispatch-status\". These provide a detailed PIE-specific status for the ServiceRequest.",
|
|
34
35
|
"compose": {
|
|
35
36
|
"include": [
|
|
36
37
|
{
|
|
37
|
-
"system": "https://pie.synanetics.com/fhir/r4
|
|
38
|
+
"system": "https://pie.synanetics.com/fhir/r4//CodeSystem/ServiceRequest-pre-dispatch-status"
|
|
38
39
|
},
|
|
39
40
|
{
|
|
40
|
-
"system": "https://pie.synanetics.com/fhir/r4
|
|
41
|
+
"system": "https://pie.synanetics.com/fhir/r4//CodeSystem/ServiceRequest-post-dispatch-status"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"system": "https://pie.synanetics.com/fhir/r4//CodeSystem/ServiceRequest-error-status"
|
|
41
45
|
}
|
|
42
46
|
]
|
|
43
47
|
}
|
|
44
48
|
}
|
|
45
49
|
}
|
|
46
|
-
]
|
|
50
|
+
],
|
|
51
|
+
"meta": {
|
|
52
|
+
"lastUpdated": "2025-11-14T17:00:00.000Z"
|
|
53
|
+
}
|
|
47
54
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synanetics/profiles-pie",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-beta.0",
|
|
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",
|
|
@@ -11,8 +11,7 @@
|
|
|
11
11
|
],
|
|
12
12
|
"type": "module",
|
|
13
13
|
"scripts": {
|
|
14
|
-
"
|
|
15
|
-
"prepublishOnly": "npm run build"
|
|
14
|
+
"prepare": "tsdown --config ../../tsdown.config.ts && tsx src/build"
|
|
16
15
|
},
|
|
17
16
|
"publishConfig": {
|
|
18
17
|
"access": "public"
|
|
@@ -24,6 +23,7 @@
|
|
|
24
23
|
"bugs": {
|
|
25
24
|
"url": "https://github.com/SynaneticsLtd/synanetics-core-common/issues"
|
|
26
25
|
},
|
|
26
|
+
"types": "./types/index.ts",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@types/fhir": "^0.0.41"
|
|
29
29
|
}
|
package/dist/index.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var fs = require("fs");
|
|
4
|
-
var path = require("path");
|
|
5
|
-
var profilesDir = __dirname;
|
|
6
|
-
// Read all JSON files in the directory
|
|
7
|
-
var files = fs.readdirSync(profilesDir)
|
|
8
|
-
.filter(function (file) { return file.endsWith('.json'); })
|
|
9
|
-
.reduce(function (acc, file) {
|
|
10
|
-
var fileName = file.replace('.json', '');
|
|
11
|
-
acc[fileName] = JSON.parse(fs.readFileSync(path.join(profilesDir, file), 'utf-8'));
|
|
12
|
-
return acc;
|
|
13
|
-
}, {});
|
|
14
|
-
exports.default = files;
|