@synanetics/profiles-pie 1.0.0-beta.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.
@@ -0,0 +1,273 @@
1
+ {
2
+ "resourceType": "Bundle",
3
+ "id": "searchParams",
4
+ "meta": {
5
+ "lastUpdated": "2025-02-07T08:00:00.000Z"
6
+ },
7
+ "type": "collection",
8
+ "entry": [
9
+ {
10
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-conceptMap",
11
+ "resource": {
12
+ "resourceType": "SearchParameter",
13
+ "id": "RoutingRule-conceptMap",
14
+ "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-conceptMap",
15
+ "name": "conceptMap",
16
+ "status": "draft",
17
+ "experimental": false,
18
+ "date": "2024-02-27T09:00:00.000Z",
19
+ "publisher": "Synanetics Ltd",
20
+ "code": "conceptMap",
21
+ "base": [
22
+ "RoutingRule"
23
+ ],
24
+ "type": "reference",
25
+ "target": [
26
+ "ConceptMap"
27
+ ],
28
+ "description": "",
29
+ "expression": "RoutingRule.conceptMap"
30
+ }
31
+ },
32
+ {
33
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-default",
34
+ "resource": {
35
+ "resourceType": "SearchParameter",
36
+ "id": "RoutingRule-default",
37
+ "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-default",
38
+ "name": "default",
39
+ "status": "draft",
40
+ "experimental": false,
41
+ "date": "2024-02-27T16:00:00.000Z",
42
+ "publisher": "Synanetics Ltd",
43
+ "code": "default",
44
+ "base": [
45
+ "RoutingRule"
46
+ ],
47
+ "type": "token",
48
+ "description": "",
49
+ "expression": "RoutingRule.default"
50
+ }
51
+ },
52
+ {
53
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-period",
54
+ "resource": {
55
+ "resourceType": "SearchParameter",
56
+ "id": "RoutingRule-period",
57
+ "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-period",
58
+ "name": "period",
59
+ "status": "draft",
60
+ "experimental": false,
61
+ "date": "2024-02-23T12:00:00.000Z",
62
+ "publisher": "Synanetics Ltd",
63
+ "code": "period",
64
+ "base": [
65
+ "RoutingRule"
66
+ ],
67
+ "type": "date",
68
+ "description": "",
69
+ "expression": "RoutingRule.period",
70
+ "comparator": [
71
+ "eq",
72
+ "ne",
73
+ "gt",
74
+ "ge",
75
+ "lt",
76
+ "le",
77
+ "sa",
78
+ "eb",
79
+ "ap"
80
+ ]
81
+ }
82
+ },
83
+ {
84
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-receiver",
85
+ "resource": {
86
+ "resourceType": "SearchParameter",
87
+ "id": "RoutingRule-receiver",
88
+ "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-receiver",
89
+ "name": "receiver",
90
+ "status": "draft",
91
+ "experimental": false,
92
+ "date": "2024-02-23T12:00:00.000Z",
93
+ "publisher": "Synanetics Ltd",
94
+ "code": "receiver",
95
+ "base": [
96
+ "RoutingRule"
97
+ ],
98
+ "type": "reference",
99
+ "target": [
100
+ "Organization"
101
+ ],
102
+ "description": "",
103
+ "expression": "RoutingRule.receiver"
104
+ }
105
+ },
106
+ {
107
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-sender",
108
+ "resource": {
109
+ "resourceType": "SearchParameter",
110
+ "id": "RoutingRule-sender",
111
+ "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-sender",
112
+ "name": "sender",
113
+ "status": "draft",
114
+ "experimental": false,
115
+ "date": "2024-02-23T12:00:00.000Z",
116
+ "publisher": "Synanetics Ltd",
117
+ "code": "sender",
118
+ "base": [
119
+ "RoutingRule"
120
+ ],
121
+ "type": "reference",
122
+ "target": [
123
+ "Organization"
124
+ ],
125
+ "description": "",
126
+ "expression": "RoutingRule.sender"
127
+ }
128
+ },
129
+ {
130
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-senderCode",
131
+ "resource": {
132
+ "resourceType": "SearchParameter",
133
+ "id": "RoutingRule-senderCode",
134
+ "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-senderCode",
135
+ "name": "senderCode",
136
+ "status": "draft",
137
+ "experimental": false,
138
+ "date": "2024-02-23T12:00:00.000Z",
139
+ "publisher": "Synanetics Ltd",
140
+ "code": "sender-code",
141
+ "base": [
142
+ "RoutingRule"
143
+ ],
144
+ "type": "token",
145
+ "description": "",
146
+ "expression": "RoutingRule.senderCode"
147
+ }
148
+ },
149
+ {
150
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-status",
151
+ "resource": {
152
+ "resourceType": "SearchParameter",
153
+ "id": "RoutingRule-status",
154
+ "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-status",
155
+ "name": "status",
156
+ "status": "draft",
157
+ "experimental": false,
158
+ "date": "2024-02-27T16:00:00.000Z",
159
+ "publisher": "Synanetics Ltd",
160
+ "code": "status",
161
+ "base": [
162
+ "RoutingRule"
163
+ ],
164
+ "type": "token",
165
+ "description": "",
166
+ "expression": "RoutingRule.status"
167
+ }
168
+ },
169
+ {
170
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/ServiceRequest-filler-group-number",
171
+ "resource": {
172
+ "resourceType": "SearchParameter",
173
+ "id": "ServiceRequest-filler-group-number",
174
+ "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/ServiceRequest-filler-group-number",
175
+ "name": "fillerGroupNumber",
176
+ "status": "active",
177
+ "experimental": false,
178
+ "date": "2025-02-07T08:00:00.000Z",
179
+ "publisher": "Synanetics Ltd",
180
+ "code": "-fgn",
181
+ "base": [
182
+ "ServiceRequest"
183
+ ],
184
+ "type": "token",
185
+ "description": "Search by filler group number",
186
+ "expression": "RoutingRule.extension.where(url='https://pie.synanetics.com/fhir/r4/StructureDefinition/ServiceRequest-filler-group-number').value"
187
+ }
188
+ },
189
+ {
190
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/ServiceRequest-placer-group-number",
191
+ "resource": {
192
+ "resourceType": "SearchParameter",
193
+ "id": "ServiceRequest-placer-group-number",
194
+ "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/ServiceRequest-placer-group-number",
195
+ "name": "placerGroupNumber",
196
+ "status": "active",
197
+ "experimental": false,
198
+ "date": "2025-02-07T08:00:00.000Z",
199
+ "publisher": "Synanetics Ltd",
200
+ "code": "-pgn",
201
+ "base": [
202
+ "ServiceRequest"
203
+ ],
204
+ "type": "token",
205
+ "description": "Search by placer group number",
206
+ "expression": "RoutingRule.extension.where(url='https://pie.synanetics.com/fhir/r4/StructureDefinition/ServiceRequest-placer-group-number').value"
207
+ }
208
+ },
209
+ {
210
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/SupplierList-provision",
211
+ "resource": {
212
+ "resourceType": "SearchParameter",
213
+ "id": "SupplierList-provision",
214
+ "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/SupplierList-provision",
215
+ "name": "provision",
216
+ "status": "draft",
217
+ "experimental": false,
218
+ "date": "2023-11-14T12:00:00.000Z",
219
+ "publisher": "Synanetics Ltd",
220
+ "code": "provision",
221
+ "base": [
222
+ "SupplierList"
223
+ ],
224
+ "type": "token",
225
+ "description": "",
226
+ "expression": "SupplierList.provision"
227
+ }
228
+ },
229
+ {
230
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/SupplierList-snomedCode",
231
+ "resource": {
232
+ "resourceType": "SearchParameter",
233
+ "id": "SupplierList-snomedCode",
234
+ "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/SupplierList-snomedCode",
235
+ "name": "snomedCode",
236
+ "status": "draft",
237
+ "experimental": false,
238
+ "date": "2024-02-22T15:00:00.000Z",
239
+ "publisher": "Synanetics Ltd",
240
+ "code": "snomed-code",
241
+ "base": [
242
+ "SupplierList"
243
+ ],
244
+ "type": "string",
245
+ "description": "",
246
+ "expression": "SupplierList.snomedCode"
247
+ }
248
+ },
249
+ {
250
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/SupplierList-supplier",
251
+ "resource": {
252
+ "resourceType": "SearchParameter",
253
+ "id": "SupplierList-supplier",
254
+ "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/SupplierList-supplier",
255
+ "name": "supplier",
256
+ "status": "draft",
257
+ "experimental": false,
258
+ "date": "2023-11-14T12:00:00.000Z",
259
+ "publisher": "Synanetics Ltd",
260
+ "code": "supplier",
261
+ "base": [
262
+ "SupplierList"
263
+ ],
264
+ "type": "reference",
265
+ "target": [
266
+ "Organization"
267
+ ],
268
+ "description": "",
269
+ "expression": "SupplierList.supplier"
270
+ }
271
+ }
272
+ ]
273
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "resourceType": "Bundle",
3
+ "id": "valuesets",
4
+ "meta": {
5
+ "lastUpdated": "2025-02-07T08:00:00.000Z"
6
+ },
7
+ "type": "collection",
8
+ "entry": [
9
+ {
10
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/ValueSet/RoutingRule-status",
11
+ "resource": {
12
+ "resourceType": "ValueSet",
13
+ "url": "https://pie.synanetics.com/fhir/r4/ValueSet/RoutingRule-status",
14
+ "status": "active",
15
+ "date": "2024-02-27T15:00:00.000Z",
16
+ "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
+ "compose": {
18
+ "include": [
19
+ {
20
+ "system": "https://pie.synanetics.com/fhir/r4/CodeSystem/RoutingRule-status"
21
+ }
22
+ ]
23
+ }
24
+ }
25
+ },
26
+ {
27
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/ServiceRequest-detailed-status",
28
+ "resource": {
29
+ "resourceType": "ValueSet",
30
+ "url": "https://pie.synanetics.com/fhir/r4/ServiceRequest-detailed-status",
31
+ "status": "active",
32
+ "date": "2025-02-06T17:00:00.000Z",
33
+ "description": "All of the values from the CodeSystems \"https://pie.synanetics.com/fhir/r4/CodeSystem/ServiceRequest-status-detail\" and \"https://pie.synanetics.com/fhir/r4/CodeSystem/ServiceRequest-order-release\". These provide a detailed PIE-specific status for the ServiceRequest.",
34
+ "compose": {
35
+ "include": [
36
+ {
37
+ "system": "https://pie.synanetics.com/fhir/r4/CodeSystem/ServiceRequest-status-detail"
38
+ },
39
+ {
40
+ "system": "https://pie.synanetics.com/fhir/r4/CodeSystem/ServiceRequest-order-release"
41
+ }
42
+ ]
43
+ }
44
+ }
45
+ }
46
+ ]
47
+ }
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "@synanetics/profiles-pie",
3
+ "version": "1.0.0-beta.1",
4
+ "description": "FHIR Profiles for the Synanetics Pathology Integration Engine (PIE)",
5
+ "author": "Lee Campbell <lee.campbell@synanetics.com>",
6
+ "homepage": "https://bitbucket.org/synanetics/synanetics-common/packages/profiles-pie#readme",
7
+ "license": "MIT",
8
+ "main": "./dist/index.js",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "scripts": {
13
+ "build": "NODE_OPTIONS='--loader ts-node/esm' npx ts-node src/build && tsc src/index.ts --outDir ./dist"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+ssh://git@bitbucket.org/synanetics/synanetics-common.git"
21
+ },
22
+ "bugs": {
23
+ "url": "https://bitbucket.org/synanetics/synanetics-common/issues"
24
+ },
25
+ "type": "module",
26
+ "dependencies": {
27
+ "@types/fhir": "^0.0.41"
28
+ }
29
+ }