diff --git a/CodeSystem/CodeSystem-Genomics-Patient-Role.json b/CodeSystem/CodeSystem-Genomics-Patient-Role.json new file mode 100644 index 0000000..f77ba0b --- /dev/null +++ b/CodeSystem/CodeSystem-Genomics-Patient-Role.json @@ -0,0 +1,40 @@ +{ + "resourceType": "CodeSystem", + "id": "patient-role-genomics", + "url": "https://fhir.nhs.uk/CodeSystem/patient-role-genomics", + "version": "0.1.0", + "name": "PatientRoleGenomics", + "title": "Patient Role Genomics", + "status": "draft", + "date": "2025-12-18T00:00:00.000Z", + "publisher": "NHS England", + "contact": [ + { + "name": "NHS England", + "telecom": [ + { + "system": "email", + "value": "interoperabilityteam@nhs.net", + "use": "work", + "rank": 1 + } + ] + } + ], + "description": "CodeSystem used to specify the role of the subject patient in the genomic test (proband vs consultand)", + "copyright": "Copyright © 2025+ NHS England Licensed under the Apache License, Version 2.0 (the \\\"License\\\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \\\"AS IS\\\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html.", + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "proband", + "display": "Proband", + "definition": "The primary subject for the genomic testing" + }, + { + "code": "consultand", + "display": "Consultand", + "definition": "Family member" + } + ] +} \ No newline at end of file diff --git a/StructureDefinition/Extension-Genomic-Patient-Role.json b/StructureDefinition/Extension-Genomic-Patient-Role.json new file mode 100644 index 0000000..a0d7e47 --- /dev/null +++ b/StructureDefinition/Extension-Genomic-Patient-Role.json @@ -0,0 +1,73 @@ +{ + "resourceType": "StructureDefinition", + "id": "Extension-Genomic-Patient-Role", + "url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-Genomic-Patient-Role", + "version": "0.1.0", + "name": "ExtensionGenomicPatientRole", + "title": "Extension Genomic Patient Role", + "status": "draft", + "date": "2025-12-17", + "publisher": "NHS England", + "contact": [ + { + "name": "NHS England", + "telecom": [ + { + "system": "email", + "value": "interoperabilityteam@nhs.net", + "use": "work", + "rank": 1 + } + ] + } + ], + "description": "An Extension used to identify the role of the patient (ServiceRequest.subject) in a genomic test (e.g. either as proband or consultand).", + "purpose": "This is a use case from Genomics, used to record the role of the patient (ServiceRequest.subject) in a genomic test .", + "copyright": "Copyright © 2025+ NHS England Licensed under the Apache License, Version 2.0 (the \\\\\\\"License\\\\\\\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \\\\\\\"AS IS\\\\\\\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html.", + "fhirVersion": "4.0.1", + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "ServiceRequest" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "max": "1" + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "max": "0" + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "https://fhir.nhs.uk/England/StructureDefinition/Extension-Genomic-Patient-Role" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "An Extension used to identify the role of the subject patient in the genomic test (proband vs consultand)", + "min": 1, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSet": "https://fhir.nhs.uk/ValueSet/genomics-patient-role" + } + } + ] + } +} \ No newline at end of file diff --git a/ValueSet/ValueSet-Genomics-patient-role.json b/ValueSet/ValueSet-Genomics-patient-role.json new file mode 100644 index 0000000..d330e39 --- /dev/null +++ b/ValueSet/ValueSet-Genomics-patient-role.json @@ -0,0 +1,51 @@ +{ + "resourceType": "ValueSet", + "id": "genomics-patient-role", + "url": "https://fhir.nhs.uk/ValueSet/genomics-patient-role", + "version": "0.1.0", + "name": "GenomicsPatientRole", + "title": "Genomics Patient Role", + "status": "draft", + "date": "2025-12-18T00:00:00.000Z", + "publisher": "NHS England", + "contact": [ + { + "name": "NHS England", + "telecom": [ + { + "system": "email", + "value": "interoperabilityteam@nhs.net", + "use": "work", + "rank": 1 + } + ] + } + ], + "description": "A ValueSet used to identify the role of the subject patient in the genomic test (proband vs consultand)", + "copyright": "Copyright © 2025+ NHS England Licensed under the Apache License, Version 2.0 (the \\\\\\\"License\\\\\\\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \\\\\\\"AS IS\\\\\\\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html.", + "compose": { + "include": [ + { + "system": "https://fhir.nhs.uk/CodeSystem/patient-role-genomics", + "version": "0.1.0" + } + ] + }, + "expansion": { + "timestamp": "2025-12-18T00:00:00Z", + "total": 2, + "offset": 0, + "contains": [ + { + "system": "https://fhir.nhs.uk/CodeSystem/patient-role-genomics", + "code": "proband", + "display": "Proband" + }, + { + "system": "https://fhir.nhs.uk/CodeSystem/patient-role-genomics", + "code": "consultand", + "display": "Consultand" + } + ] + } +} \ No newline at end of file diff --git a/fhirpkg.lock.json b/fhirpkg.lock.json index d0e79c6..024fdfd 100644 --- a/fhirpkg.lock.json +++ b/fhirpkg.lock.json @@ -1,19 +1,17 @@ { - "updated": "2025-10-21T09:54:09.9912765+01:00", + "updated": "2025-12-17T17:33:35.7803726+00:00", "dependencies": { - "fhir.r4.ukcore.stu3.currentbuild": "0.24.0-pre-release", "hl7.fhir.r4.core": "4.0.1", - "hl7.fhir.r5.core": "5.0.0", "hl7.fhir.uv.genomics-reporting": "3.0.0-ballot", - "hl7.terminology.r4": "5.3.0", - "hl7.fhir.uv.extensions.r4": "1.0.0", "hl7.fhir.uv.ips": "1.1.0", "fhir.dicom": "2022.4.20221006", "hl7.fhir.eu.laboratory": "0.1.0-ballot", + "fhir.r4.ukcore.stu3.currentbuild": "0.24.0-pre-release", "ihe.iti.pcf": "1.0.0-comment", - "hl7.fhir.r4b.core": "4.3.0", "us.nlm.vsac": "0.9.0", - "ihe.iti.balp": "1.1.1" + "ihe.iti.balp": "1.1.1", + "hl7.terminology.r4": "6.5.0", + "hl7.fhir.uv.extensions.r4": "5.2.0" }, "missing": {} } diff --git a/package.json b/package.json index f056a1d..d81fd4e 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,11 @@ "description": "FHIR Genomics Implementation Guide", "author": "nhsdigital", "dependencies": { - "fhir.r4.ukcore.stu3.currentbuild": "0.24.0-pre-release", "hl7.fhir.r4.core": "4.0.1", "hl7.fhir.uv.genomics-reporting": "3.0.0-ballot", "hl7.fhir.uv.ips": "1.1.0", "hl7.fhir.eu.laboratory": "0.1.0-ballot", + "fhir.r4.ukcore.stu3.currentbuild": "0.24.0-pre-release", "ihe.iti.pcf": "1.0.0-comment" }, "fhirVersions": [