|
2 | 2 | "resourceType": "StructureDefinition", |
3 | 3 | "id": "NHSEngland-Patient-Genomics", |
4 | 4 | "url": "https://fhir.nhs.uk/StructureDefinition/NHSEngland-Patient-Genomics", |
5 | | - "version": "0.3.0", |
| 5 | + "version": "0.3.1", |
6 | 6 | "name": "NHSEngland_Patient_Genomics", |
7 | 7 | "title": "NHSEngland Patient Genomics", |
8 | 8 | "status": "active", |
9 | | - "date": "2026-04-16", |
| 9 | + "date": "2026-08-25", |
10 | 10 | "publisher": "NHS England", |
11 | 11 | "contact": [ |
12 | 12 | { |
|
77 | 77 | "id": "Patient.extension:fetalStatus", |
78 | 78 | "path": "Patient.extension", |
79 | 79 | "sliceName": "fetalStatus", |
80 | | - "definition": "Extension used for determining the life status of the fetus. SHOULD always be present for a fetal patient record to help with identification." |
| 80 | + "definition": "Extension used for determining the life status of the fetus. SHOULD always be present for a fetal patient record to help with identification.", |
| 81 | + "constraint": [ |
| 82 | + { |
| 83 | + "key": "gen-3", |
| 84 | + "severity": "warning", |
| 85 | + "human": "fetalStatus SHOULD be provided if a birthDate is not present, indicating the patient resource is likely for a fetus.", |
| 86 | + "expression": "(Patient.extension(fetalStatus).exists() and Patient.birthDate.notExists()) or Patient.birthDate.exists()" |
| 87 | + } |
| 88 | + ] |
81 | 89 | }, |
82 | 90 | { |
83 | 91 | "id": "Patient.extension:residentialStatus", |
|
107 | 115 | { |
108 | 116 | "id": "Patient.identifier", |
109 | 117 | "path": "Patient.identifier", |
| 118 | + "slicing": { |
| 119 | + "discriminator": [ |
| 120 | + { |
| 121 | + "type": "pattern", |
| 122 | + "path": "$this" |
| 123 | + } |
| 124 | + ], |
| 125 | + "rules": "open" |
| 126 | + }, |
110 | 127 | "definition": "SHALL be present for Patients within the Genomic Order Management ecosystem. It is preferred that all patients with an NHS number have this included within the Patient resource upon submission of a test order. Patient who do not have an NHS number SHOULD have a temporary one registered/assigned with PDS.\r\nFor patient records where the NHS number has been traced from PDS, the trace status SHOULD be provided within the NHS Number identifier slice.\r\n\r\nAdditional identifiers SHOULD include an appropriate naming system scheme which clearly identifies the assigner (to disambiguate the identifier from other resources where these are not nationally unique). Alternatively, the OID for local identifier MAY be used, with the 'assigner' organization explicitly referenced.", |
111 | 128 | "min": 1 |
112 | 129 | }, |
|
118 | 135 | { |
119 | 136 | "id": "Patient.identifier:nhsNumber.assigner", |
120 | 137 | "path": "Patient.identifier.assigner", |
121 | | - "type": [ |
122 | | - { |
123 | | - "code": "Reference", |
124 | | - "targetProfile": [ |
125 | | - "https://fhir.nhs.uk/StructureDefinition/NHSEngland-Organization-Genomics" |
126 | | - ] |
127 | | - } |
128 | | - ] |
| 138 | + "max": "0" |
129 | 139 | }, |
130 | 140 | { |
131 | 141 | "id": "Patient.identifier:localIdentifier", |
132 | 142 | "path": "Patient.identifier", |
133 | | - "sliceName": "localIdentifier" |
| 143 | + "sliceName": "localIdentifier", |
| 144 | + "constraint": [ |
| 145 | + { |
| 146 | + "key": "gen-4", |
| 147 | + "severity": "error", |
| 148 | + "human": "localIdentifier MUST be provided when no NHS number is present", |
| 149 | + "expression": "(Patient.identifier(localIdentifier).exists() and Patient.identifier(nhsNumber).notExists()) or Patient.identifier(nhsNumber).exists() or Patient.identifier(localIdentifier).exists()" |
| 150 | + } |
| 151 | + ] |
134 | 152 | }, |
135 | 153 | { |
136 | 154 | "id": "Patient.identifier:localIdentifier.assigner", |
|
0 commit comments