Skip to content

Commit b479f7b

Browse files
committed
exception TC
1 parent c4f7c93 commit b479f7b

2 files changed

Lines changed: 421 additions & 1 deletion

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,368 @@
1+
{
2+
"resourceType": "Patient",
3+
"id": "9990237166",
4+
"identifier": [
5+
{
6+
"system": "https://fhir.nhs.uk/Id/nhs-number",
7+
"value": "9990237166",
8+
"extension": [
9+
{
10+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus",
11+
"valueCodeableConcept": {
12+
"coding": [
13+
{
14+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatus",
15+
"version": "1.0.0",
16+
"code": "01",
17+
"display": "Number present and verified"
18+
}
19+
]
20+
}
21+
}
22+
]
23+
}
24+
],
25+
"meta": {
26+
"versionId": "2",
27+
"security": [
28+
{
29+
"system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
30+
"code": "U",
31+
"display": "unrestricted"
32+
}
33+
]
34+
},
35+
"name": [
36+
{
37+
"id": "123",
38+
"use": "usual",
39+
"period": {
40+
"start": "2020-01-01",
41+
"end": "2021-12-31"
42+
},
43+
"given": [
44+
"Jane"
45+
],
46+
"family": "Smith",
47+
"prefix": [
48+
"Mrs"
49+
]
50+
}
51+
],
52+
"gender": "female",
53+
"birthDate": "1980-10-22",
54+
"multipleBirthInteger": 1,
55+
"deceasedDateTime": "2010-10-22T00:00:00+00:00",
56+
"generalPractitioner": [
57+
{
58+
"id": "254406A3",
59+
"type": "Organization",
60+
"identifier": {
61+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
62+
"value": "Y12345",
63+
"period": {
64+
"start": "2020-01-01",
65+
"end": "2021-12-31"
66+
}
67+
}
68+
}
69+
],
70+
"managingOrganization": {
71+
"type": "Organization",
72+
"identifier": {
73+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
74+
"value": "Y12345",
75+
"period": {
76+
"start": "2020-01-01",
77+
"end": "2021-12-31"
78+
}
79+
}
80+
},
81+
"extension": [
82+
{
83+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NominatedPharmacy",
84+
"valueReference": {
85+
"identifier": {
86+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
87+
"value": "Y12345"
88+
}
89+
}
90+
},
91+
{
92+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-PreferredDispenserOrganization",
93+
"valueReference": {
94+
"identifier": {
95+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
96+
"value": "Y23456"
97+
}
98+
}
99+
},
100+
{
101+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicalApplianceSupplier",
102+
"valueReference": {
103+
"identifier": {
104+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
105+
"value": "Y34567"
106+
}
107+
}
108+
},
109+
{
110+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSCommunication",
111+
"extension": [
112+
{
113+
"url": "language",
114+
"valueCodeableConcept": {
115+
"coding": [
116+
{
117+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage",
118+
"version": "1.0.0",
119+
"code": "fr",
120+
"display": "French"
121+
}
122+
]
123+
}
124+
},
125+
{
126+
"url": "interpreterRequired",
127+
"valueBoolean": false
128+
}
129+
]
130+
},
131+
{
132+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactPreference",
133+
"extension": [
134+
{
135+
"url": "PreferredWrittenCommunicationFormat",
136+
"valueCodeableConcept": {
137+
"coding": [
138+
{
139+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredWrittenCommunicationFormat",
140+
"code": "12",
141+
"display": "Braille"
142+
}
143+
]
144+
}
145+
},
146+
{
147+
"url": "PreferredContactMethod",
148+
"valueCodeableConcept": {
149+
"coding": [
150+
{
151+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredContactMethod",
152+
"code": "1",
153+
"display": "Letter"
154+
}
155+
]
156+
}
157+
},
158+
{
159+
"url": "PreferredContactTimes",
160+
"valueString": "Not after 7pm"
161+
}
162+
]
163+
},
164+
{
165+
"url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
166+
"valueAddress": {
167+
"city": "Manchester",
168+
"district": "Greater Manchester",
169+
"country": "GBR"
170+
}
171+
},
172+
{
173+
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-PDS-RemovalFromRegistration",
174+
"extension": [
175+
{
176+
"url": "removalFromRegistrationCode",
177+
"valueCodeableConcept": {
178+
"coding": [
179+
{
180+
"system": "https://fhir.nhs.uk/CodeSystem/PDS-RemovalReasonExitCode",
181+
"code": "SCT",
182+
"display": "Transferred to Scotland"
183+
}
184+
]
185+
}
186+
},
187+
{
188+
"url": "effectiveTime",
189+
"valuePeriod": {
190+
"start": "2020-01-01T00:00:00+00:00",
191+
"end": "2021-12-31T00:00:00+00:00"
192+
}
193+
}
194+
]
195+
}
196+
],
197+
"telecom": [
198+
{
199+
"id": "789",
200+
"period": {
201+
"start": "2020-01-01",
202+
"end": "2021-12-31"
203+
},
204+
"system": "phone",
205+
"value": "01632960587",
206+
"use": "home"
207+
},
208+
{
209+
"id": "790",
210+
"period": {
211+
"start": "2019-01-01",
212+
"end": "2022-12-31"
213+
},
214+
"system": "email",
215+
"value": "jane.smith@example.com",
216+
"use": "home"
217+
},
218+
{
219+
"id": "OC789",
220+
"period": {
221+
"start": "2020-01-01",
222+
"end": "2021-12-31"
223+
},
224+
"system": "other",
225+
"value": "01632960587",
226+
"use": "home",
227+
"extension": [
228+
{
229+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-OtherContactSystem",
230+
"valueCoding": {
231+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-OtherContactSystem",
232+
"code": "textphone",
233+
"display": "Minicom (Textphone)"
234+
}
235+
}
236+
]
237+
}
238+
],
239+
"contact": [
240+
{
241+
"id": "C123",
242+
"period": {
243+
"start": "2020-01-01",
244+
"end": "2021-12-31"
245+
},
246+
"relationship": [
247+
{
248+
"coding": [
249+
{
250+
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
251+
"code": "C",
252+
"display": "Emergency Contact"
253+
}
254+
]
255+
}
256+
],
257+
"telecom": [
258+
{
259+
"system": "phone",
260+
"value": "01632960587"
261+
}
262+
]
263+
}
264+
],
265+
"address": [
266+
{
267+
"id": "456",
268+
"period": {
269+
"start": "2020-01-01",
270+
"end": "2021-12-31"
271+
},
272+
"use": "home",
273+
"line": [
274+
"1 Trevelyan Square",
275+
"Boar Lane",
276+
"City Centre",
277+
"Leeds",
278+
"West Yorkshire"
279+
],
280+
"postalCode": "XY12 324",
281+
"extension": [
282+
{
283+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AddressKey",
284+
"extension": [
285+
{
286+
"url": "type",
287+
"valueCoding": {
288+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-AddressKeyType",
289+
"code": "PAF"
290+
}
291+
},
292+
{
293+
"url": "value",
294+
"valueString": "12345678"
295+
}
296+
]
297+
},
298+
{
299+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AddressKey",
300+
"extension": [
301+
{
302+
"url": "type",
303+
"valueCoding": {
304+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-AddressKeyType",
305+
"code": "UPRN"
306+
}
307+
},
308+
{
309+
"url": "value",
310+
"valueString": "123456789012"
311+
}
312+
]
313+
}
314+
]
315+
},
316+
{
317+
"id": "T456",
318+
"period": {
319+
"start": "2020-01-01",
320+
"end": "2021-12-31"
321+
},
322+
"use": "temp",
323+
"text": "Student Accommodation",
324+
"line": [
325+
"1 Trevelyan Square",
326+
"Boar Lane",
327+
"City Centre",
328+
"Leeds",
329+
"West Yorkshire"
330+
],
331+
"postalCode": "LS1 6AE",
332+
"extension": [
333+
{
334+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AddressKey",
335+
"extension": [
336+
{
337+
"url": "type",
338+
"valueCoding": {
339+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-AddressKeyType",
340+
"code": "PAF"
341+
}
342+
},
343+
{
344+
"url": "value",
345+
"valueString": "12345678"
346+
}
347+
]
348+
},
349+
{
350+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AddressKey",
351+
"extension": [
352+
{
353+
"url": "type",
354+
"valueCoding": {
355+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-AddressKeyType",
356+
"code": "UPRN"
357+
}
358+
},
359+
{
360+
"url": "value",
361+
"valueString": "123456789012"
362+
}
363+
]
364+
}
365+
]
366+
}
367+
]
368+
}

0 commit comments

Comments
 (0)