Skip to content

Commit e41dc87

Browse files
Merge pull request #1008 from NHSDigital/feature/kabo5-NRL-1573-shared-care-record
NRL-1573 add new shared care record pointer type
2 parents 3faa699 + 641b366 commit e41dc87

File tree

5 files changed

+24
-7
lines changed

5 files changed

+24
-7
lines changed

layer/nrlf/core/constants.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ class PointerTypes(Enum):
6767
MRA_UPPER_LIMB_ARTERY = "https://nicip.nhs.uk|MAULR"
6868
MRI_AXILLA_BOTH = "https://nicip.nhs.uk|MAXIB"
6969
APPOINTMENT = "http://snomed.info/sct|749001000000101"
70+
SHARED_CARE_RECORD = "http://snomed.info/sct|887181000000106"
7071

7172
@staticmethod
7273
def list():
@@ -86,6 +87,7 @@ class Categories(Enum):
8687
DIAGNOSTIC_STUDIES_REPORT = "http://snomed.info/sct|721981007"
8788
DIAGNOSTIC_PROCEDURE = "http://snomed.info/sct|103693007"
8889
RECORD_ARTIFACT = "http://snomed.info/sct|419891008"
90+
RECORD_HEADINGS = "http://snomed.info/sct|716931000000107"
8991

9092
@staticmethod
9193
def list():
@@ -115,6 +117,7 @@ def coding_value(self):
115117
"display": "Diagnostic procedure",
116118
},
117119
Categories.RECORD_ARTIFACT.value: {"display": "Record artifact"},
120+
Categories.RECORD_HEADINGS.value: {"display": "Record headings"},
118121
}
119122

120123
TYPE_ATTRIBUTES = {
@@ -163,6 +166,7 @@ def coding_value(self):
163166
PointerTypes.APPOINTMENT.value: {
164167
"display": "Appointment",
165168
},
169+
PointerTypes.SHARED_CARE_RECORD.value: {"display": "Clinical summary"},
166170
}
167171

168172
TYPE_CATEGORIES = {
@@ -191,6 +195,9 @@ def coding_value(self):
191195
#
192196
# Bookings and Referrals
193197
PointerTypes.APPOINTMENT.value: Categories.RECORD_ARTIFACT.value,
198+
#
199+
# Shared Care Records
200+
PointerTypes.SHARED_CARE_RECORD.value: Categories.RECORD_HEADINGS.value,
194201
}
195202

196203
PRACTICE_SETTING_VALUE_SET_URL = (

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.3",
5+
"version": "1.1.4",
66
"name": "NRLF Record Category",
77
"status": "draft",
8-
"date": "2025-05-25T00:00:00+00:00",
8+
"date": "2025-08-14T00:00:00+00:00",
99
"publisher": "NHS Digital",
1010
"contact": {
1111
"name": "NRL Team at NHS Digital",
@@ -45,6 +45,10 @@
4545
{
4646
"code": "419891008",
4747
"display": "Record artifact"
48+
},
49+
{
50+
"code": "716931000000107",
51+
"display": "Record headings"
4852
}
4953
]
5054
}

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.3",
5+
"version": "1.1.4",
66
"name": "NRLF Record Type",
77
"status": "draft",
8-
"date": "2025-05-22T00:00:00+00:00",
8+
"date": "2025-08-14T00:00:00+00:00",
99
"publisher": "NHS Digital",
1010
"contact": {
1111
"name": "NRL Team at NHS Digital",
@@ -73,6 +73,10 @@
7373
{
7474
"code": "749001000000101",
7575
"display": "Appointment"
76+
},
77+
{
78+
"code": "887181000000106",
79+
"display": "Clinical summary"
7680
}
7781
]
7882
},

tests/features/producer/createDocumentReference-success.feature

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,10 @@ Feature: Producer - createDocumentReference - Success Scenarios
223223
| pointer-type | pointer-category | type-name |
224224
| 824321000000109 | 823651000000106 | SUMMARY_RECORD |
225225

226-
Examples: Record Artifacts
227-
| pointer-type | pointer-category | type-name |
228-
| 749001000000101 | 419891008 | APPOINTMENT |
226+
Examples: Record Artifacts and Headings
227+
| pointer-type | pointer-category | type-name |
228+
| 749001000000101 | 419891008 | APPOINTMENT |
229+
| 887181000000106 | 716931000000107 | SHARED_CARE_RECORD |
229230

230231
# Create with content and contact details
231232
# Create with contact details only

tests/performance/environment.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class LogReference:
3333
"735324008": "Treatment Escalation Plan",
3434
"824321000000109": "Summary Record",
3535
"2181441000000107": "Personalised Care and Support Plan",
36+
"887181000000106": "Clinical summary",
3637
}
3738

3839

0 commit comments

Comments
 (0)