@synanetics/profiles-pie 2.1.0 → 4.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.
@@ -12,7 +12,7 @@
12
12
  "resourceType": "StructureDefinition",
13
13
  "id": "RoutingRule",
14
14
  "meta": {
15
- "lastUpdated": "2025-09-18T12:00:00.000Z"
15
+ "lastUpdated": "2025-10-21T14:00:00.000Z"
16
16
  },
17
17
  "extension": [
18
18
  {
@@ -24,7 +24,7 @@
24
24
  "name": "RoutingRule",
25
25
  "status": "draft",
26
26
  "experimental": true,
27
- "date": "2025-09-18T12:00:00.000Z",
27
+ "date": "2025-10-21T14:00:00.000Z",
28
28
  "publisher": "Synanetics Ltd",
29
29
  "contact": [
30
30
  {
@@ -37,7 +37,7 @@
37
37
  }
38
38
  ],
39
39
  "description": "Base StructureDefinition for RoutingRule resource",
40
- "purpose": "RoutingRule defines rules for routing ServiceRequest resources between two Organizations/Endpoints (the 'sender' and the 'receiver'). The definition includes the sender's local code for the process, the receiver's local code and selected snomed code, and the time period for which the rule is valid.",
40
+ "purpose": "RoutingRule defines rules for routing messages and mapping values between a sender and 0 to many receivers. The definition includes the sender's local name and title for a process, and a number of rules which contain: a reference to the action as defined by a receiver, and the time period for which the rule is valid.",
41
41
  "fhirVersion": "4.3.0",
42
42
  "kind": "resource",
43
43
  "abstract": false,
@@ -49,8 +49,8 @@
49
49
  {
50
50
  "id": "RoutingRule",
51
51
  "path": "RoutingRule",
52
- "short": "Information about a supplier list",
53
- "definition": "Information about a supplier list",
52
+ "short": "Information about a routing rule",
53
+ "definition": "Information about a routing rule",
54
54
  "min": 0,
55
55
  "max": "*"
56
56
  },
@@ -313,61 +313,106 @@
313
313
  "isSummary": true
314
314
  },
315
315
  {
316
- "id": "RoutingRule.receiver",
317
- "path": "RoutingRule.receiver",
318
- "short": "The receiving organization/endpoint",
319
- "definition": "The organization/endpoint that is routed to by a sender",
316
+ "id": "RoutingRule.name",
317
+ "path": "RoutingRule.name",
318
+ "short": "The sender's name for the process.",
319
+ "definition": "Computer friendly name, chosen by the sender, for this process.",
320
320
  "min": 1,
321
321
  "max": "1",
322
322
  "type": [
323
323
  {
324
- "code": "Reference",
325
- "targetProfile": [
326
- "http://hl7.org/fhir/StructureDefinition/Endpoint",
327
- "http://hl7.org/fhir/StructureDefinition/Organization"
328
- ]
324
+ "code": "string"
329
325
  }
330
326
  ],
331
327
  "isSummary": true
332
328
  },
333
329
  {
334
- "id": "RoutingRule.period",
335
- "path": "RoutingRule.period",
336
- "short": "The period for which the routing rule is effective.",
337
- "definition": "The start dateTime for when a routing rule comes into effect, and the dateTime for when it ends.",
330
+ "id": "RoutingRule.title",
331
+ "path": "RoutingRule.title",
332
+ "short": "The sender's title for the process.",
333
+ "definition": "Human friendly title, chosen by the sender, for this process.",
338
334
  "min": 1,
339
335
  "max": "1",
340
336
  "type": [
341
337
  {
342
- "code": "Period"
338
+ "code": "string"
343
339
  }
344
340
  ],
345
341
  "isSummary": true
346
342
  },
347
343
  {
348
- "id": "RoutingRule.senderCode",
349
- "path": "RoutingRule.senderCode",
350
- "short": "The sender's code(s) for the process.",
351
- "definition": "A code chosen by the sender, that can be used to identify that this RoutingRule is to be used.",
344
+ "id": "RoutingRule.rule",
345
+ "path": "RoutingRule.rule",
346
+ "short": "A single RoutingRule",
347
+ "definition": "The receiver details to which the sender message should be routed and mapped to for a defined period",
348
+ "min": 0,
349
+ "max": "*",
350
+ "type": [
351
+ {
352
+ "code": "BackboneElement"
353
+ }
354
+ ],
355
+ "isSummary": true
356
+ },
357
+ {
358
+ "id": "RoutingRule.rule.id",
359
+ "path": "RoutingRule.rule.id",
360
+ "short": "Unique id for inter-element referencing",
361
+ "definition": "Unique id for the element within a resource (for internal references)",
352
362
  "min": 1,
353
363
  "max": "1",
354
364
  "type": [
355
365
  {
356
- "code": "CodeableConcept"
366
+ "code": "id"
357
367
  }
358
368
  ],
359
369
  "isSummary": true
360
370
  },
361
371
  {
362
- "id": "RoutingRule.receiverCode",
363
- "path": "RoutingRule.receiverCode",
364
- "short": "The receiver's code for the process.",
365
- "definition": "A code defined by the receiver, and chosen by the sender, which informs the receiver which process to perform.",
372
+ "id": "RoutingRule.rule.receiver",
373
+ "path": "RoutingRule.rule.receiver",
374
+ "short": "The receiving organization/endpoint",
375
+ "definition": "The organization/endpoint that is routed to by the sender",
366
376
  "min": 1,
367
377
  "max": "1",
368
378
  "type": [
369
379
  {
370
- "code": "CodeableConcept"
380
+ "code": "Reference",
381
+ "targetProfile": [
382
+ "http://hl7.org/fhir/StructureDefinition/Endpoint",
383
+ "http://hl7.org/fhir/StructureDefinition/Organization"
384
+ ]
385
+ }
386
+ ],
387
+ "isSummary": true
388
+ },
389
+ {
390
+ "id": "RoutingRule.rule.period",
391
+ "path": "RoutingRule.rule.period",
392
+ "short": "The period for which the routing rule is effective.",
393
+ "definition": "The start dateTime for when a routing rule comes into effect, and the dateTime for when it ends",
394
+ "min": 1,
395
+ "max": "1",
396
+ "type": [
397
+ {
398
+ "code": "Period"
399
+ }
400
+ ],
401
+ "isSummary": true
402
+ },
403
+ {
404
+ "id": "RoutingRule.rule.process",
405
+ "path": "RoutingRule.rule.process",
406
+ "short": "The receiver's definition of the process.",
407
+ "definition": "A reference to a resource, created by the receiver, which defines the process to be performed",
408
+ "min": 1,
409
+ "max": "1",
410
+ "type": [
411
+ {
412
+ "code": "Reference",
413
+ "targetProfile": [
414
+ "http://hl7.org/fhir/StructureDefinition/PlanDefinition"
415
+ ]
371
416
  }
372
417
  ],
373
418
  "isSummary": true
@@ -2,7 +2,7 @@
2
2
  "resourceType": "Bundle",
3
3
  "id": "searchParams",
4
4
  "meta": {
5
- "lastUpdated": "2025-02-07T08:00:00.000Z"
5
+ "lastUpdated": "2025-10-20T16:00:00.000Z"
6
6
  },
7
7
  "type": "collection",
8
8
  "entry": [
@@ -42,7 +42,7 @@
42
42
  "name": "period",
43
43
  "status": "draft",
44
44
  "experimental": false,
45
- "date": "2024-02-23T12:00:00.000Z",
45
+ "date": "2025-10-21T14:00:00.000Z",
46
46
  "publisher": "Synanetics Ltd",
47
47
  "code": "period",
48
48
  "base": [
@@ -50,7 +50,7 @@
50
50
  ],
51
51
  "type": "date",
52
52
  "description": "",
53
- "expression": "RoutingRule.period",
53
+ "expression": "RoutingRule.rule.period",
54
54
  "comparator": [
55
55
  "eq",
56
56
  "ne",
@@ -73,7 +73,7 @@
73
73
  "name": "receiver",
74
74
  "status": "draft",
75
75
  "experimental": false,
76
- "date": "2025-09-18T12:00:00.000Z",
76
+ "date": "2025-10-21T14:00:00.000Z",
77
77
  "publisher": "Synanetics Ltd",
78
78
  "code": "receiver",
79
79
  "base": [
@@ -85,27 +85,30 @@
85
85
  "Organization"
86
86
  ],
87
87
  "description": "",
88
- "expression": "RoutingRule.receiver"
88
+ "expression": "RoutingRule.rule.receiver"
89
89
  }
90
90
  },
91
91
  {
92
- "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-receiverCode",
92
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-process",
93
93
  "resource": {
94
94
  "resourceType": "SearchParameter",
95
- "id": "RoutingRule-receiverCode",
96
- "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-receiverCode",
97
- "name": "receiverCode",
95
+ "id": "RoutingRule-process",
96
+ "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-process",
97
+ "name": "process",
98
98
  "status": "draft",
99
99
  "experimental": false,
100
- "date": "2024-02-23T12:00:00.000Z",
100
+ "date": "2025-10-21T14:00:00.000Z",
101
101
  "publisher": "Synanetics Ltd",
102
- "code": "receiver-code",
102
+ "code": "process",
103
103
  "base": [
104
104
  "RoutingRule"
105
105
  ],
106
- "type": "token",
106
+ "type": "reference",
107
+ "target": [
108
+ "PlanDefinition"
109
+ ],
107
110
  "description": "",
108
- "expression": "RoutingRule.receiverCode"
111
+ "expression": "RoutingRule.rule.process"
109
112
  }
110
113
  },
111
114
  {
@@ -133,23 +136,44 @@
133
136
  }
134
137
  },
135
138
  {
136
- "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-senderCode",
139
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-name",
137
140
  "resource": {
138
141
  "resourceType": "SearchParameter",
139
- "id": "RoutingRule-senderCode",
140
- "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-senderCode",
141
- "name": "senderCode",
142
+ "id": "RoutingRule-name",
143
+ "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-name",
144
+ "name": "name",
142
145
  "status": "draft",
143
146
  "experimental": false,
144
- "date": "2024-02-23T12:00:00.000Z",
147
+ "date": "2025-10-20T16:00:00.000Z",
145
148
  "publisher": "Synanetics Ltd",
146
- "code": "sender-code",
149
+ "code": "name",
147
150
  "base": [
148
151
  "RoutingRule"
149
152
  ],
150
- "type": "token",
153
+ "type": "string",
154
+ "description": "",
155
+ "expression": "RoutingRule.name"
156
+ }
157
+ },
158
+ {},
159
+ {
160
+ "fullUrl": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-title",
161
+ "resource": {
162
+ "resourceType": "SearchParameter",
163
+ "id": "RoutingRule-title",
164
+ "url": "https://pie.synanetics.com/fhir/r4/SearchParameter/RoutingRule-title",
165
+ "name": "title",
166
+ "status": "draft",
167
+ "experimental": false,
168
+ "date": "2025-10-20T16:00:00.000Z",
169
+ "publisher": "Synanetics Ltd",
170
+ "code": "title",
171
+ "base": [
172
+ "RoutingRule"
173
+ ],
174
+ "type": "string",
151
175
  "description": "",
152
- "expression": "RoutingRule.senderCode"
176
+ "expression": "RoutingRule.title"
153
177
  }
154
178
  },
155
179
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synanetics/profiles-pie",
3
- "version": "2.1.0",
3
+ "version": "4.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",