Skip to content

Commit 1ffb4da

Browse files
committed
NRL-1472 add requisite new entries to ValueSets
1 parent 6fb1ed1 commit 1ffb4da

File tree

5 files changed

+34
-8
lines changed

5 files changed

+34
-8
lines changed

layer/nrlf/core/constants.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ class PointerTypes(Enum):
6666
PERSONALISED_CARE_AND_SUPPORT_PLAN = "http://snomed.info/sct|2181441000000107"
6767
MRA_UPPER_LIMB_ARTERY = "https://nicip.nhs.uk|MAULR"
6868
MRI_AXILLA_BOTH = "https://nicip.nhs.uk|MAXIB"
69+
APPOINTMENT = "http://snomed.info/sct|749001000000101"
6970

7071
@staticmethod
7172
def list():
@@ -84,6 +85,7 @@ class Categories(Enum):
8485
CLINICAL_NOTE = "http://snomed.info/sct|823651000000106"
8586
DIAGNOSTIC_STUDIES_REPORT = "http://snomed.info/sct|721981007"
8687
DIAGNOSTIC_PROCEDURE = "http://snomed.info/sct|103693007"
88+
RECORD_ARTIFACT = "http://snomed.info/sct|419891008"
8789

8890
@staticmethod
8991
def list():
@@ -112,6 +114,7 @@ def coding_value(self):
112114
Categories.DIAGNOSTIC_PROCEDURE.value: {
113115
"display": "Diagnostic procedure",
114116
},
117+
Categories.RECORD_ARTIFACT.value: {"display": "Record artifact"},
115118
}
116119

117120
TYPE_ATTRIBUTES = {
@@ -157,6 +160,9 @@ def coding_value(self):
157160
PointerTypes.MRI_AXILLA_BOTH.value: {
158161
"display": "MRI Axilla Both",
159162
},
163+
PointerTypes.APPOINTMENT.value: {
164+
"display": "Appointment",
165+
},
160166
}
161167

162168
TYPE_CATEGORIES = {
@@ -182,6 +188,9 @@ def coding_value(self):
182188
# Imaging
183189
PointerTypes.MRA_UPPER_LIMB_ARTERY.value: Categories.DIAGNOSTIC_STUDIES_REPORT.value,
184190
PointerTypes.MRI_AXILLA_BOTH.value: Categories.DIAGNOSTIC_PROCEDURE.value,
191+
#
192+
# Bookings and Referrals
193+
PointerTypes.APPOINTMENT.value: Categories.RECORD_ARTIFACT.value,
185194
}
186195

187196
PRACTICE_SETTING_VALUE_SET_URL = (
@@ -653,6 +662,7 @@ def coding_value(self):
653662
"24291000087104": "Geriatric chronic pain management service",
654663
"1323501000000109": "Special care dentistry service",
655664
"1423561000000102": "Acute oncology service",
665+
"394802001": "General medicine",
656666
}
657667

658668

resources/fhir/NRLF-FormatCode-ValueSet.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"resourceType": "ValueSet",
33
"id": "NRLF-FormatCode",
44
"url": "https://fhir.nhs.uk/England/ValueSet/England-NRLFormatCode",
5-
"version": "1.0.0",
5+
"version": "1.0.3",
66
"name": "NRLF Format Code",
77
"status": "draft",
8-
"date": "2025-01-28T00:00:00+00:00",
8+
"date": "2025-05-22T00:00:00+00:00",
99
"publisher": "NHS Digital",
1010
"contact": {
1111
"name": "NRL Team at NHS Digital",
@@ -29,6 +29,10 @@
2929
{
3030
"code": "urn:nhs-ic:unstructured",
3131
"display": "Unstructured Document"
32+
},
33+
{
34+
"code": "urn:nhs-ic:structured",
35+
"display": "Structured Document"
3236
}
3337
]
3438
}

resources/fhir/NRLF-PracticeSetting-ValueSet.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"resourceType": "ValueSet",
33
"id": "NRLF-PracticeSetting",
44
"url": "https://fhir.nhs.uk/England/ValueSet/England-NRLPracticeSetting",
5-
"version": "1.1.2",
5+
"version": "1.1.3",
66
"name": "NRLF Record Practice Setting",
77
"status": "draft",
8-
"date": "2025-01-28T00:00:00+00:00",
8+
"date": "2025-05-22T00:00:00+00:00",
99
"publisher": "NHS Digital",
1010
"contact": {
1111
"name": "NRL Team at NHS Digital",
@@ -1881,6 +1881,10 @@
18811881
{
18821882
"code": "1423561000000102",
18831883
"display": "Acute oncology service"
1884+
},
1885+
{
1886+
"code": "394802001",
1887+
"display": "General medicine"
18841888
}
18851889
]
18861890
}

resources/fhir/NRLF-RecordCategory-ValueSet.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"resourceType": "ValueSet",
33
"id": "NRLF-RecordCategory",
44
"url": "https://fhir.nhs.uk/England/ValueSet/England-NRLRecordCategory",
5-
"version": "1.1.2",
5+
"version": "1.1.3",
66
"name": "NRLF Record Category",
77
"status": "draft",
8-
"date": "2025-01-28T00:00:00+00:00",
8+
"date": "2025-05-25T00:00:00+00:00",
99
"publisher": "NHS Digital",
1010
"contact": {
1111
"name": "NRL Team at NHS Digital",
@@ -41,6 +41,10 @@
4141
{
4242
"code": "103693007",
4343
"display": "Diagnostic procedure"
44+
},
45+
{
46+
"code": "419891008",
47+
"display": "Record artifact"
4448
}
4549
]
4650
}

resources/fhir/NRLF-RecordType-ValueSet.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"resourceType": "ValueSet",
33
"id": "NRLF-RecordType",
44
"url": "https://fhir.nhs.uk/England/ValueSet/England-NRLRecordType",
5-
"version": "1.1.1",
5+
"version": "1.1.3",
66
"name": "NRLF Record Type",
77
"status": "draft",
8-
"date": "2025-01-28T00:00:00+00:00",
8+
"date": "2025-05-22T00:00:00+00:00",
99
"publisher": "NHS Digital",
1010
"contact": {
1111
"name": "NRL Team at NHS Digital",
@@ -69,6 +69,10 @@
6969
{
7070
"code": "2181441000000107",
7171
"display": "Personalised Care and Support Plan"
72+
},
73+
{
74+
"code": "749001000000101",
75+
"display": "Appointment"
7276
}
7377
]
7478
},

0 commit comments

Comments
 (0)