From 7f8adc7addc3353d628a080b3d597d9a13937f4f Mon Sep 17 00:00:00 2001 From: eesa456 Date: Tue, 5 Aug 2025 12:02:40 +0100 Subject: [PATCH 1/3] NRL-1548 add lloyd george test pointer --- ...3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug05.json | 88 +++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 tests/data/samples/G3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug05.json diff --git a/tests/data/samples/G3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug05.json b/tests/data/samples/G3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug05.json new file mode 100644 index 000000000..95d20ae7a --- /dev/null +++ b/tests/data/samples/G3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug05.json @@ -0,0 +1,88 @@ +{ + "resourceType": "DocumentReference", + "id": "G3H9E-1c9c2030-6ef4-4564-ac62-c9c321659cc9", + "meta": { + "lastUpdated": "2025-01-06T16:04:28.966Z" + }, + "status": "current", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "16521000000101", + "display": "Lloyd George record folder" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "734163000", + "display": "Care plan" + } + ] + } + ], + "subject": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9730326991" + } + }, + "date": "2025-01-06T16:04:28.966Z", + "author": [ + { + "identifier": { + "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "value": "G3H9E" + } + } + ], + "custodian": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "value": "G3H9E" + } + }, + "content": [ + { + "attachment": { + "contentType": "application/pdf", + "language": "en-UK", + "url": "https://dev.api.service.nhs.uk/national-document-repository/FHIR/R4/DocumentReference/f0c41c3a-d43d-4c7a-9d96-61c6903bf2bd" + }, + "format": { + "system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode", + "code": "urn:nhs-ic:unstructured", + "display": "Unstructured document" + }, + "extension": [ + { + "valueCodeableConcept": { + "coding": [ + { + "system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLContentStability", + "code": "static", + "display": "Static" + } + ] + }, + "url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-ContentStability" + } + ] + } + ], + "context": { + "practiceSetting": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1060971000000108", + "display": "General practice service" + } + ] + } + } +} From 6e3b66c7b4cb347f7a02a3206784cc74db1c2a2b Mon Sep 17 00:00:00 2001 From: eesa456 Date: Tue, 5 Aug 2025 12:05:44 +0100 Subject: [PATCH 2/3] NRL-1548 rename file --- ...DER_Aug05.json => G3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug25.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/data/samples/{G3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug05.json => G3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug25.json} (100%) diff --git a/tests/data/samples/G3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug05.json b/tests/data/samples/G3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug25.json similarity index 100% rename from tests/data/samples/G3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug05.json rename to tests/data/samples/G3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug25.json From 4cb5a72c3b1c24e62883fb426f52bd7410ad2573 Mon Sep 17 00:00:00 2001 From: eesa456 Date: Tue, 5 Aug 2025 13:02:16 +0100 Subject: [PATCH 3/3] NRL-1548 fix display value --- tests/data/samples/G3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug25.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/data/samples/G3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug25.json b/tests/data/samples/G3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug25.json index 95d20ae7a..a3d2afe5c 100644 --- a/tests/data/samples/G3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug25.json +++ b/tests/data/samples/G3H9E_LLOYD_GEORGE_RECORD_FOLDER_Aug25.json @@ -56,7 +56,7 @@ "format": { "system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode", "code": "urn:nhs-ic:unstructured", - "display": "Unstructured document" + "display": "Unstructured Document" }, "extension": [ {