Skip to content

Commit 5c07a44

Browse files
NRL-1491 Add in context retrieval mechanism example
1 parent b0bfcac commit 5c07a44

File tree

3 files changed

+114
-0
lines changed

3 files changed

+114
-0
lines changed

resources/fhir/NRLF-Retrieval-CodeSystem.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@
5858
"definition": "This document can be retrieved via the National Document Repository proxy service."
5959
}
6060
]
61+
},
62+
{
63+
"code": "Direct_InContext",
64+
"display": "Direct using In-Context",
65+
"definition": "This document can be retrieved in-context via the In-Context launch mechanism."
6166
}
6267
]
6368
}

resources/fhir/NRLF-RetrievalMechanism-ValueSet.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
{
3434
"code": "NDR",
3535
"display": "National Document Repository"
36+
},
37+
{
38+
"code": "Direct_InContext",
39+
"display": "Direct using In-Context"
3640
}
3741
]
3842
}
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
{
2+
"resourceType": "DocumentReference",
3+
"id": "INCTX-197ca0ca-f547-42b6-a68c-99b75a3a2df5",
4+
"meta": {
5+
"lastUpdated": "2025-02-10T16:48:27.326Z"
6+
},
7+
"masterIdentifier": {
8+
"system": "urn:ietf:rfc:3986",
9+
"value": "mid_197ca0ca-f547-42b6-a68c-99b75a3a2df5"
10+
},
11+
"status": "current",
12+
"type": {
13+
"coding": [
14+
{
15+
"system": "http://snomed.info/sct",
16+
"code": "736253002",
17+
"display": "Mental health crisis plan"
18+
}
19+
]
20+
},
21+
"category": [
22+
{
23+
"coding": [
24+
{
25+
"system": "http://snomed.info/sct",
26+
"code": "734163000",
27+
"display": "Care plan"
28+
}
29+
]
30+
}
31+
],
32+
"subject": {
33+
"identifier": {
34+
"system": "https://fhir.nhs.uk/Id/nhs-number",
35+
"value": "9999999999"
36+
}
37+
},
38+
"date": "2025-02-10T16:48:27.326Z",
39+
"author": [
40+
{
41+
"identifier": {
42+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
43+
"value": "L85012"
44+
}
45+
}
46+
],
47+
"custodian": {
48+
"identifier": {
49+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
50+
"value": "INCTX"
51+
}
52+
},
53+
"content": [
54+
{
55+
"attachment": {
56+
"contentType": "text/html",
57+
"url": "https://supplier.inctxlaunch.example/content",
58+
"creation": "2025-02-10T16:48:27.326Z"
59+
},
60+
"format": {
61+
"system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode",
62+
"code": "urn:nhs-ic:structured",
63+
"display": "Structured Document"
64+
},
65+
"extension": [
66+
{
67+
"valueCodeableConcept": {
68+
"coding": [
69+
{
70+
"system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLContentStability",
71+
"code": "dynamic",
72+
"display": "Dynamic"
73+
}
74+
]
75+
},
76+
"url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-ContentStability"
77+
},
78+
{
79+
"url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-RetrievalMechanism",
80+
"valueCodeableConcept": [
81+
{
82+
"system": "https://fhir.nhs.uk/England/CodeSystem/England-RetrievalMechanism",
83+
"code": "Direct_InContext",
84+
"display": "Direct using In-Context"
85+
}
86+
]
87+
}
88+
]
89+
}
90+
],
91+
"context": {
92+
"period": {
93+
"start": "2025-02-10T16:48:27.326Z"
94+
},
95+
"practiceSetting": {
96+
"coding": [
97+
{
98+
"system": "http://snomed.info/sct",
99+
"code": "1060971000000108",
100+
"display": "General practice service"
101+
}
102+
]
103+
}
104+
}
105+
}

0 commit comments

Comments
 (0)