Skip to content

Commit 36ec48e

Browse files
[ERSSUP-81432]-[]-[Fetch Appointments for booking worklist OAS changes]-[DMW]
1 parent 95818ae commit 36ec48e

File tree

5 files changed

+124
-37
lines changed

5 files changed

+124
-37
lines changed

specification/components/stu3/schemas/eRS-FetchWorklist-List.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ properties:
144144
| `Extension-eRS-AssessmentReturnedCancelledDna-WorklistItem` | `0..1` | Type of worklist items depends on the worklist type requested |
145145
| `Extension-eRS-AwaitingBooking-WorklistItem` | `0..1` | Type of worklist items depends on the worklist type requested |
146146
| `Extension-eRS-LettersOutstanding-WorklistItem` | `0..1` | Type of worklist items depends on the worklist type requested |
147+
| `Extension-eRS-AppointmentsForBooking-WorklistItem` | `0..1` | Type of worklist items depends on the worklist type requested |
147148
items:
148149
anyOf:
149150
- $ref: 'extensions/Extension-eRS-ReferralsforReview-WorkListItem.yaml'
@@ -153,4 +154,5 @@ properties:
153154
- $ref: 'extensions/Extension-eRS-AssessmentReturnedCancelledDna-WorklistItem.yaml'
154155
- $ref: 'extensions/Extension-eRS-AwaitingBooking-WorklistItem.yaml'
155156
- $ref: 'extensions/Extension-eRS-LettersOutstanding-WorklistItem.yaml'
157+
- $ref: 'extensions/Extension-eRS-AppointmentsForBooking-WorklistItem.yaml'
156158

specification/components/stu3/schemas/eRS-FetchWorklist-Parameters.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ properties:
3737
| `location` | `0..1` | |
3838
| `clinicianAssignedIndicator` | `0..1` | |
3939
| `clinician` | `0..1` | |
40+
| `reason` | `0..*` | |
41+
4042
items:
4143
anyOf:
4244
- $ref: 'parameters/ListType.yaml'
@@ -46,3 +48,4 @@ properties:
4648
- $ref: 'parameters/Location.yaml'
4749
- $ref: 'parameters/ClinicianAssignedIndicator.yaml'
4850
- $ref: 'parameters/Clinician.yaml'
51+
- $ref: 'parameters/BookingReasons.yaml'
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
title: 'Extension-eRS-AppointmentsForBooking-WorklistItem'
2+
type: object
3+
required:
4+
- url
5+
- extension
6+
properties:
7+
url:
8+
type: string
9+
enum:
10+
- 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AppointmentsForBooking-WorkListItem-1'
11+
example: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AppointmentsForBooking-WorkListItem-1'
12+
extension:
13+
description: |
14+
| Field | Cardinality | Notes |
15+
| ------------------------------ | ----------- | -------------------------------------------------------------------------------------------------------------------------- |
16+
| `patient` | `1..1` | The patient associated with the `ReferralRequest` |
17+
| `appointmentStart` | `0..1` | The current appointment start time |
18+
| `eReferralPathwayStart` | `1..1` | The start time of the referral pathway |
19+
| `referrer` | `1..1` | The `Practitioner` who initially creates the `ReferralRequest` |
20+
| `priority` | `1..1` | The priority associated with the `ReferralRequest` |
21+
| `service` | `1..1` | The Service Name of the deferred-to Service associated with the Appointment Request. |
22+
| `reason` | `1..1` | Reason that Appointment requires booking |
23+
| `specialty` | `1..1` | The speciality of the current booking |
24+
25+
type: array
26+
items:
27+
anyOf:
28+
- $ref: './worklists/Extension-WorklistItem-Patient.yaml'
29+
- $ref: './worklists/Extension-WorklistItem-AppointmentStart.yaml'
30+
- $ref: './worklists/Extension-WorklistItem-ReferralPathwayStart.yaml'
31+
- $ref: './worklists/Extension-WorklistItem-Referrer.yaml'
32+
- $ref: './worklists/Extension-WorklistItem-Priority.yaml'
33+
- $ref: './worklists/Extension-WorklistItem-Service.yaml'
34+
- $ref: './worklists/Extension-WorklistItem-BookingReason.yaml'
35+
- $ref: './worklists/Extension-WorklistItem-Specialty.yaml'
36+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
title: reason
2+
type: object
3+
required:
4+
- url
5+
- valueCodeableConcept
6+
properties:
7+
url:
8+
type: string
9+
enum:
10+
- reason
11+
example: 'reason'
12+
valueCodeableConcept:
13+
type: object
14+
required:
15+
- coding
16+
properties:
17+
coding:
18+
type: array
19+
minItems: 1
20+
maxItems: 1
21+
items:
22+
type: object
23+
required:
24+
- system
25+
- code
26+
properties:
27+
system:
28+
type: string
29+
enum:
30+
- https://fhir.nhs.uk/STU3/CodeSystem/eRS-BookingReason-1
31+
example: 'https://fhir.nhs.uk/STU3/CodeSystem/eRS-BookingReason-1'
32+
code:
33+
type: string
34+
enum:
35+
- REBOOKING
36+
- CANCELLED_APPOINTMENT_ADMIN_REBOOK
37+
- CANCELLED_BY_PATIENT
38+
- CANCELLED_BY_PROVIDER
39+
- DEFERRED_TO_PROVIDER
40+
- ONWARD_REFERRAL
41+
- DNA
42+
- TRIAGE_TO_BE_BOOKED
43+
- TRIAGE_SEE_COMMENTS
44+
- TRIAGE_ANG_CONVERTED_SEE_COMMENTS
45+
example: 'TRIAGE_TO_BE_BOOKED'
Lines changed: 38 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,38 @@
1-
- title: bookingReason
2-
description: Parameter to supply a booking reason
3-
type: object
4-
required:
5-
- name
6-
- valueCoding
7-
properties:
8-
name:
9-
type: string
10-
enum:
11-
- bookingReason
12-
example: 'bookingReason'
13-
valueCoding:
14-
type: object
15-
required:
16-
- system
17-
- code
18-
properties:
19-
system:
20-
type: string
21-
enum:
22-
- https://fhir.nhs.uk/STU3/CodeSystem/eRS-BookingReason-1
23-
example: https://fhir.nhs.uk/STU3/CodeSystem/eRS-BookingReason-1
24-
code:
25-
type: string
26-
enum:
27-
- REBOOKING
28-
- CANCELLED_APPOINTMENT_ADMIN_REBOOK
29-
- CANCELLED_BY_PATIENT
30-
- CANCELLED_BY_PROVIDER
31-
- DEFERRED_TO_PROVIDER
32-
- ONWARD_REFERRAL
33-
- DNA
34-
- TRIAGE_TO_BE_BOOKED
35-
- TRIAGE_SEE_COMMENTS
36-
- TRIAGE_ANG_CONVERTED_SEE_COMMENTS
37-
example: TRIAGE_TO_BE_BOOKED
1+
title: bookingReason
2+
description: Parameter to supply a booking reason
3+
type: object
4+
required:
5+
- name
6+
- valueCoding
7+
properties:
8+
name:
9+
type: string
10+
enum:
11+
- bookingReason
12+
13+
example: 'bookingReason'
14+
valueCoding:
15+
type: object
16+
required:
17+
- system
18+
- code
19+
properties:
20+
system:
21+
type: string
22+
enum:
23+
- https://fhir.nhs.uk/STU3/CodeSystem/eRS-BookingReason-1
24+
example: https://fhir.nhs.uk/STU3/CodeSystem/eRS-BookingReason-1
25+
code:
26+
type: string
27+
enum:
28+
- REBOOKING
29+
- CANCELLED_APPOINTMENT_ADMIN_REBOOK
30+
- CANCELLED_BY_PATIENT
31+
- CANCELLED_BY_PROVIDER
32+
- DEFERRED_TO_PROVIDER
33+
- ONWARD_REFERRAL
34+
- DNA
35+
- TRIAGE_TO_BE_BOOKED
36+
- TRIAGE_SEE_COMMENTS
37+
- TRIAGE_ANG_CONVERTED_SEE_COMMENTS
38+
example: TRIAGE_TO_BE_BOOKED

0 commit comments

Comments
 (0)