Skip to content

Commit 52d4567

Browse files
committed
Correction to Patient profile and StructureDefinition
1 parent 1172c4f commit 52d4567

2 files changed

Lines changed: 101 additions & 60 deletions

File tree

Bundle/UKCore-Bundle-MichaelJonesRequest-Example_v3_message.json

Lines changed: 48 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,10 @@
368368
"resourceType": "Patient",
369369
"id": "41e4b604-37f3-4799-a6b3-ab5b104f3c97",
370370
"extension": [
371+
{
372+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex",
373+
"valueCode": "M"
374+
},
371375
{
372376
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory",
373377
"valueCodeableConcept": {
@@ -379,6 +383,18 @@
379383
}
380384
]
381385
}
386+
},
387+
{
388+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ResidentialStatus",
389+
"valueCodeableConcept": {
390+
"coding": [
391+
{
392+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-ResidentialStatus",
393+
"code": "H",
394+
"display": "UK Resident"
395+
}
396+
]
397+
}
382398
}
383399
],
384400
"identifier": [
@@ -433,15 +449,6 @@
433449
"postalCode": "CV4 9ZY"
434450
}
435451
],
436-
"maritalStatus": {
437-
"coding": [
438-
{
439-
"system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus",
440-
"code": "M",
441-
"display": "Married"
442-
}
443-
]
444-
},
445452
"multipleBirthBoolean": false,
446453
"contact": [
447454
{
@@ -483,20 +490,6 @@
483490
"gender": "female"
484491
}
485492
],
486-
"communication": [
487-
{
488-
"language": {
489-
"coding": [
490-
{
491-
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage",
492-
"code": "en",
493-
"display": "English"
494-
}
495-
]
496-
},
497-
"preferred": true
498-
}
499-
],
500493
"generalPractitioner": [
501494
{
502495
"reference": "urn:uuid:2b94aed1-02bd-4f68-b5f4-df5aaceecdb1",
@@ -515,37 +508,6 @@
515508
}
516509
}
517510
},
518-
{
519-
"fullUrl": "urn:uuid:3462583a-536c-4bad-99d3-44dc553921fd",
520-
"resource": {
521-
"resourceType": "PractitionerRole",
522-
"id": "3462583a-536c-4bad-99d3-44dc553921fd",
523-
"identifier": [
524-
{
525-
"system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
526-
"value": "100102238986"
527-
}
528-
],
529-
"practitioner": {
530-
"reference": "urn:uuid:6e1a8ea3-3a59-40aa-b943-5c896a30e43a"
531-
},
532-
"organization": {
533-
"reference": "urn:uuid:9af435fd-4bbf-4cc6-81c6-9f2800c2c513"
534-
},
535-
"telecom" : [
536-
{
537-
"system": "email",
538-
"value": "lucy.hale@nhs.net",
539-
"use": "work"
540-
},
541-
{
542-
"system": "phone",
543-
"value": "02476151602",
544-
"use": "work"
545-
}
546-
]
547-
}
548-
},
549511
{
550512
"fullUrl": "urn:uuid:66c519dd-423f-4238-89c8-91c5be52f330",
551513
"resource": {
@@ -599,7 +561,7 @@
599561
},
600562
"authoredOn": "2022-07-11T09:00:00Z",
601563
"requester": {
602-
"reference": "3462583a-536c-4bad-99d3-44dc553921fd"
564+
"reference": "urn:uuid:3462583a-536c-4bad-99d3-44dc553921fd"
603565
},
604566
"performer": [
605567
{
@@ -619,6 +581,37 @@
619581
]
620582
}
621583
},
584+
{
585+
"fullUrl": "urn:uuid:3462583a-536c-4bad-99d3-44dc553921fd",
586+
"resource": {
587+
"resourceType": "PractitionerRole",
588+
"id": "3462583a-536c-4bad-99d3-44dc553921fd",
589+
"identifier": [
590+
{
591+
"system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
592+
"value": "100102238986"
593+
}
594+
],
595+
"practitioner": {
596+
"reference": "urn:uuid:6e1a8ea3-3a59-40aa-b943-5c896a30e43a"
597+
},
598+
"organization": {
599+
"reference": "urn:uuid:9af435fd-4bbf-4cc6-81c6-9f2800c2c513"
600+
},
601+
"telecom" : [
602+
{
603+
"system": "email",
604+
"value": "lucy.hale@nhs.net",
605+
"use": "work"
606+
},
607+
{
608+
"system": "phone",
609+
"value": "02476151602",
610+
"use": "work"
611+
}
612+
]
613+
}
614+
},
622615
{
623616
"fullUrl": "urn:uuid:840d075e-0480-4134-ae51-27f572731cc8",
624617
"resource": {

StructureDefinition/NHSDigital-Patient-Genomics.StructureDefinition.json

Lines changed: 53 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,23 @@
8686
"min": 0,
8787
"max": "0"
8888
},
89+
{
90+
"id": "Patient.identifier:nhsNumber",
91+
"path": "Patient.identifier",
92+
"sliceName": "nhsNumber"
93+
},
94+
{
95+
"id": "Patient.identifier:nhsNumber.assigner",
96+
"path": "Patient.identifier.assigner",
97+
"type": [
98+
{
99+
"code": "Reference",
100+
"targetProfile": [
101+
"https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization-Genomics"
102+
]
103+
}
104+
]
105+
},
89106
{
90107
"id": "Patient.identifier:otherUniqueIdentifier",
91108
"path": "Patient.identifier",
@@ -99,6 +116,18 @@
99116
"path": "Patient.identifier.value",
100117
"min": 1
101118
},
119+
{
120+
"id": "Patient.identifier:otherUniqueIdentifier.assigner",
121+
"path": "Patient.identifier.assigner",
122+
"type": [
123+
{
124+
"code": "Reference",
125+
"targetProfile": [
126+
"https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization-Genomics"
127+
]
128+
}
129+
]
130+
},
102131
{
103132
"id": "Patient.name",
104133
"path": "Patient.name",
@@ -137,11 +166,6 @@
137166
"path": "Patient.maritalStatus",
138167
"max": "0"
139168
},
140-
{
141-
"id": "Patient.multipleBirth[x]",
142-
"path": "Patient.multipleBirth[x]",
143-
"max": "0"
144-
},
145169
{
146170
"id": "Patient.photo",
147171
"path": "Patient.photo",
@@ -152,6 +176,30 @@
152176
"path": "Patient.contact",
153177
"min": 1
154178
},
179+
{
180+
"id": "Patient.contact.organization",
181+
"path": "Patient.contact.organization",
182+
"type": [
183+
{
184+
"code": "Reference",
185+
"targetProfile": [
186+
"https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization-Genomics"
187+
]
188+
}
189+
]
190+
},
191+
{
192+
"id": "Patient.contact.organization.identifier.assigner",
193+
"path": "Patient.contact.organization.identifier.assigner",
194+
"type": [
195+
{
196+
"code": "Reference",
197+
"targetProfile": [
198+
"https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization-Genomics"
199+
]
200+
}
201+
]
202+
},
155203
{
156204
"id": "Patient.communication",
157205
"path": "Patient.communication",

0 commit comments

Comments
 (0)