Skip to content

Commit 4640a22

Browse files
[ERSSUP-80429]-[SB]-[Update documentation]-[AP]
1 parent 7fd4826 commit 4640a22

File tree

35 files changed

+902
-20
lines changed

35 files changed

+902
-20
lines changed

sandbox/src/mocks/stu3/acceptReferral/responses/ExampleResponse.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,32 @@
249249
"value": "103264992985"
250250
}
251251
}
252+
},
253+
{
254+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AvailabilityStatus-1",
255+
"valueCoding":
256+
{
257+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-AvailabilityStatus-1",
258+
"code": "AVAILABLE"
259+
}
260+
},
261+
{
262+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedByOrganisation-1",
263+
"valueReference": {
264+
"identifier": {
265+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
266+
"value": "R69"
267+
}
268+
}
269+
},
270+
{
271+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedOnBehalfOf-1",
272+
"valueReference": {
273+
"identifier": {
274+
"system": "http://fhir.nhs.net/Id/sds-user-id",
275+
"value": "021600556111"
276+
}
277+
}
252278
}
253279
],
254280
"contentType": "image/png",

sandbox/src/mocks/stu3/cancelAppointmentActionLater/responses/MinimalExampleDBS.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,33 @@
249249
"value": "103264992985"
250250
}
251251
}
252-
}
252+
},
253+
{
254+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AvailabilityStatus-1",
255+
"valueCoding":
256+
{
257+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-AvailabilityStatus-1",
258+
"code": "AVAILABLE"
259+
}
260+
},
261+
{
262+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedByOrganisation-1",
263+
"valueReference": {
264+
"identifier": {
265+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
266+
"value": "R69"
267+
}
268+
}
269+
},
270+
{
271+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedOnBehalfOf-1",
272+
"valueReference": {
273+
"identifier": {
274+
"system": "http://fhir.nhs.net/Id/sds-user-id",
275+
"value": "021600556111"
276+
}
277+
}
278+
}
253279
],
254280
"contentType": "image/png",
255281
"url": "Binary/857b901d-1491-47d3-90e2-6c9f13f744dc",

sandbox/src/mocks/stu3/cancelAppointmentActionLater/responses/MinimalExampleIBS.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,24 @@
240240
"value": "021600556514"
241241
}
242242
}
243-
}
243+
},
244+
{
245+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AvailabilityStatus-1",
246+
"valueCoding":
247+
{
248+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-AvailabilityStatus-1",
249+
"code": "AVAILABLE"
250+
}
251+
},
252+
{
253+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedByOrganisation-1",
254+
"valueReference": {
255+
"identifier": {
256+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
257+
"value": "R69"
258+
}
259+
}
260+
}
244261
],
245262
"contentType": "image/png",
246263
"url": "Binary/857b901d-1491-47d3-90e2-6c9f13f744dc",

sandbox/src/mocks/stu3/cancelAppointmentActionLater/responses/PriorityChangeAndWithAttachmentsDBS.json

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,24 @@
249249
"value": "103264992985"
250250
}
251251
}
252-
}
252+
},
253+
{
254+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AvailabilityStatus-1",
255+
"valueCoding":
256+
{
257+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-AvailabilityStatus-1",
258+
"code": "PENDING"
259+
}
260+
},
261+
{
262+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedByOrganisation-1",
263+
"valueReference": {
264+
"identifier": {
265+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
266+
"value": "R69"
267+
}
268+
}
269+
}
253270
],
254271
"contentType": "image/png",
255272
"url": "Binary/857b901d-1491-47d3-90e2-6c9f13f744dc",
@@ -293,7 +310,24 @@
293310
"value": "021600556514"
294311
}
295312
}
296-
}
313+
},
314+
{
315+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AvailabilityStatus-1",
316+
"valueCoding":
317+
{
318+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-AvailabilityStatus-1",
319+
"code": "AVAILABLE"
320+
}
321+
},
322+
{
323+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedByOrganisation-1",
324+
"valueReference": {
325+
"identifier": {
326+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
327+
"value": "R69"
328+
}
329+
}
330+
}
297331
],
298332
"contentType": "application/pdf",
299333
"url": "Binary/89d0521b-057e-4d5c-8630-f5ba2728843e",
@@ -337,7 +371,24 @@
337371
"value": "021600556514"
338372
}
339373
}
340-
}
374+
},
375+
{
376+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AvailabilityStatus-1",
377+
"valueCoding":
378+
{
379+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-AvailabilityStatus-1",
380+
"code": "AVAILABLE"
381+
}
382+
},
383+
{
384+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedByOrganisation-1",
385+
"valueReference": {
386+
"identifier": {
387+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
388+
"value": "R69"
389+
}
390+
}
391+
}
341392
],
342393
"contentType": "application/pdf",
343394
"url": "Binary/badaf6fc-90f4-411d-999f-04ccd79fa166",

sandbox/src/mocks/stu3/cancelReferral/responses/CancelledReferralResolvedDeferralIntendPrivateWithComment.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,23 @@
239239
"value": "103264992985"
240240
}
241241
}
242+
},
243+
{
244+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AvailabilityStatus-1",
245+
"valueCoding":
246+
{
247+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-AvailabilityStatus-1",
248+
"code": "AVAILABLE"
249+
}
250+
},
251+
{
252+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedByOrganisation-1",
253+
"valueReference": {
254+
"identifier": {
255+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
256+
"value": "R69"
257+
}
258+
}
242259
}
243260
],
244261
"contentType": "text/plain",
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
{
2+
"resourceType": "Parameters",
3+
"meta": {
4+
"profile": [
5+
"https://fhir.nhs.uk/STU3/StructureDefinition/eRS-ChangeShortlist-Parameters-1"
6+
]
7+
},
8+
"parameter": [
9+
{
10+
"name": "intentionToAddReferralLetter",
11+
"valueCoding": {
12+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-ReferralLetterIntention-1",
13+
"code": "NOT_INTENDING_TO_ADD"
14+
}
15+
},
16+
{
17+
"name": "firstReminderLetterFollowUpDays",
18+
"valueUnsignedInt": 1
19+
},
20+
{
21+
"name": "shortlist",
22+
"resource": {
23+
"meta": {
24+
"profile": [
25+
"https://fhir.nhs.uk/STU3/StructureDefinition/eRS-Shortlist-List-1"
26+
]
27+
},
28+
"resourceType": "List",
29+
"status": "current",
30+
"mode": "snapshot",
31+
"contained": [
32+
{
33+
"resourceType": "Parameters",
34+
"meta": {
35+
"profile": [
36+
"https://fhir.nhs.uk/STU3/StructureDefinition/eRS-ServiceSearchCriteria-Parameters-1"
37+
]
38+
},
39+
"id": "ServiceSearchCriteria-1",
40+
"parameter": [
41+
{
42+
"name": "priority",
43+
"valueCoding": {
44+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-Priority-1",
45+
"code": "ROUTINE"
46+
}
47+
},
48+
{
49+
"name": "specialty",
50+
"valueCoding": {
51+
"system": "_baseUrl_/STU3/CodeSystem/SPECIALTY",
52+
"code": "CARDIOLOGY"
53+
}
54+
},
55+
{
56+
"name": "clinicType",
57+
"valueCoding": {
58+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-ClinicType-1",
59+
"code": "HEART_FAILURE"
60+
}
61+
},
62+
{
63+
"name": "commissioningProvisioning",
64+
"valueCoding": {
65+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-CommissioningProvisioning-1",
66+
"code": "ALL_AVAILABLE_FOR_BOOKING"
67+
}
68+
},
69+
{
70+
"name": "ageAndGenderAppropriate",
71+
"valueBoolean": false
72+
}
73+
]
74+
}
75+
],
76+
"entry": [
77+
{
78+
"item": {
79+
"identifier": {
80+
"system": "http://fhir.nhs.net/Id/ers-service",
81+
"value": "11004"
82+
}
83+
}
84+
},
85+
{
86+
"item": {
87+
"identifier": {
88+
"system": "http://fhir.nhs.net/Id/ers-service",
89+
"value": "11002"
90+
}
91+
}
92+
}
93+
],
94+
"extension": [
95+
{
96+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-Shortlist-SearchCriteria-1",
97+
"valueReference": {
98+
"reference": "#ServiceSearchCriteria-1"
99+
}
100+
}
101+
]
102+
}
103+
}
104+
]
105+
}

0 commit comments

Comments
 (0)