Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions resources/fhir/NRLF-Retrieval-CodeSystem.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@
"definition": "This document can be retrieved via the National Document Repository proxy service."
}
]
},
{
"code": "Direct_InContext",
"display": "Direct using In-Context",
"definition": "This document can be retrieved in-context via the In-Context launch mechanism."
}
]
}
4 changes: 4 additions & 0 deletions resources/fhir/NRLF-RetrievalMechanism-ValueSet.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
{
"code": "NDR",
"display": "National Document Repository"
},
{
"code": "Direct_InContext",
"display": "Direct using In-Context"
}
]
}
Expand Down
105 changes: 105 additions & 0 deletions tests/data/samples/INCTX_IN_CONTEXT_LAUNCH_EXAMPLE.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
{
"resourceType": "DocumentReference",
"id": "INCTX-197ca0ca-f547-42b6-a68c-99b75a3a2df5",
"meta": {
"lastUpdated": "2025-02-10T16:48:27.326Z"
},
"masterIdentifier": {
"system": "urn:ietf:rfc:3986",
"value": "mid_197ca0ca-f547-42b6-a68c-99b75a3a2df5"
},
"status": "current",
"type": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "736253002",
"display": "Mental health crisis plan"
}
]
},
"category": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "734163000",
"display": "Care plan"
}
]
}
],
"subject": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9999999999"
}
},
"date": "2025-02-10T16:48:27.326Z",
"author": [
{
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "L85012"
}
}
],
"custodian": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "INCTX"
}
},
"content": [
{
"attachment": {
"contentType": "text/html",
"url": "https://supplier.inctxlaunch.example/content",
"creation": "2025-02-10T16:48:27.326Z"
},
"format": {
"system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode",
"code": "urn:nhs-ic:structured",
"display": "Structured Document"
},
"extension": [
{
"valueCodeableConcept": {
"coding": [
{
"system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLContentStability",
"code": "dynamic",
"display": "Dynamic"
}
]
},
"url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-ContentStability"
},
{
"url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-RetrievalMechanism",
"valueCodeableConcept": [
{
"system": "https://fhir.nhs.uk/England/CodeSystem/England-RetrievalMechanism",
"code": "Direct_InContext",
"display": "Direct using In-Context"
}
]
}
]
}
],
"context": {
"period": {
"start": "2025-02-10T16:48:27.326Z"
},
"practiceSetting": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "1060971000000108",
"display": "General practice service"
}
]
}
}
}
Loading