Skip to content

Commit 8d6e427

Browse files
committed
Extension for AdditionalContact on ServiceRequest
1 parent 70aafb2 commit 8d6e427

2 files changed

Lines changed: 83 additions & 0 deletions

File tree

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"resourceType": "StructureDefinition",
3+
"url": "https://example.org/fhir/StructureDefinition/Extension-Genomics-AdditionalContact",
4+
"version": "0.1.0",
5+
"name": "ExtensionGenomicsAdditionalContact",
6+
"status": "draft",
7+
"date": "2022-12-05",
8+
"publisher": "NHS Digital",
9+
"fhirVersion": "4.0.1",
10+
"kind": "complex-type",
11+
"abstract": false,
12+
"context": [
13+
{
14+
"type": "element",
15+
"expression": "ServiceRequest"
16+
}
17+
],
18+
"type": "Extension",
19+
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
20+
"derivation": "constraint",
21+
"differential": {
22+
"element": [
23+
{
24+
"id": "Extension",
25+
"path": "Extension",
26+
"short": "Additional contacts for the ServiceRequest",
27+
"definition": "To know who additionally should be contacted with questions or clinical results and how they should be contacted."
28+
},
29+
{
30+
"id": "Extension.url",
31+
"path": "Extension.url",
32+
"fixedUri": "https://example.org/fhir/StructureDefinition/Extension-Genomics-AdditionalContact"
33+
},
34+
{
35+
"id": "Extension.value[x]",
36+
"path": "Extension.value[x]",
37+
"min": 1,
38+
"type": [
39+
{
40+
"code": "Reference",
41+
"targetProfile": [
42+
"https://fhir.nhs.uk/StructureDefinition/NHSDigital-PractitionerRole-Genomics"
43+
],
44+
"aggregation": [
45+
"referenced",
46+
"bundled"
47+
]
48+
}
49+
]
50+
}
51+
]
52+
}
53+
}

StructureDefinition/NHSDigital-ServiceRequest-Genomics.StructureDefinition.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,36 @@
1212
"derivation": "constraint",
1313
"differential": {
1414
"element": [
15+
{
16+
"id": "ServiceRequest.extension",
17+
"path": "ServiceRequest.extension",
18+
"slicing": {
19+
"discriminator": [
20+
{
21+
"type": "value",
22+
"path": "url"
23+
}
24+
],
25+
"rules": "open"
26+
},
27+
"min": 0
28+
},
29+
{
30+
"id": "ServiceRequest.extension:additionalContact",
31+
"path": "ServiceRequest.extension",
32+
"sliceName": "additionalContact",
33+
"min": 0,
34+
"max": "*",
35+
"type": [
36+
{
37+
"code": "Extension",
38+
"profile": [
39+
"https://example.org/fhir/StructureDefinition/Extension-Genomics-AdditionalContact"
40+
]
41+
}
42+
],
43+
"isModifier": false
44+
},
1545
{
1646
"id": "ServiceRequest.identifier",
1747
"path": "ServiceRequest.identifier",

0 commit comments

Comments
 (0)