Skip to content

Commit c24b0b1

Browse files
[ERSSUP-81431]-[]-[Refactor Worklists before update]-[DMW]
1 parent eff0b68 commit c24b0b1

File tree

29 files changed

+779
-796
lines changed

29 files changed

+779
-796
lines changed

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

Lines changed: 8 additions & 796 deletions
Large diffs are not rendered by default.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
title: Extension-eRS-AdviceAndGuidanceRequests-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-AdviceAndGuidanceRequests-WorkListItem-1'
11+
example: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AdviceAndGuidanceRequests-WorkListItem-1'
12+
extension:
13+
type: array
14+
description: |
15+
| Field | Cardinality | Notes |
16+
| ------------------------------ | ----------- | ------------------------------------------ |
17+
| `priority` | `1..1` | |
18+
| `specialty` | `1..1` | |
19+
| `patient` | `1..1` | |
20+
| `namedClinician` | `0..1` | |
21+
| `category` | `1..1` | |
22+
| `adviceFirstRequested` | `1..1` | |
23+
| `adviceLastUpdated` | `1..1` | |
24+
| `referrer` | `1..1` | |
25+
| `service` | `1..1` | |
26+
| `clinicType` | `0..1` | |
27+
items:
28+
anyOf:
29+
- $ref: './worklists/Extension-WorklistItem-Priority.yaml'
30+
- $ref: './worklists/Extension-WorklistItem-Specialty.yaml'
31+
- $ref: './worklists/Extension-WorklistItem-Patient.yaml'
32+
- $ref: './worklists/Extension-WorklistItem-NamedClinician.yaml'
33+
- $ref: './worklists/Extension-WorklistItem-Category.yaml'
34+
- $ref: './worklists/Extension-WorklistItem-AdviceFirstRequested.yaml'
35+
- $ref: './worklists/Extension-WorklistItem-AdviceLastUpdated.yaml'
36+
- $ref: './worklists/Extension-WorklistItem-Referrer.yaml'
37+
- $ref: './worklists/Extension-WorklistItem-Service.yaml'
38+
- $ref: './worklists/Extension-WorklistItem-ClinicType.yaml'
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
title: Extension-eRS-AppointmentSlotIssues-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-AppointmentSlotIssues-WorkListItem-1'
11+
example: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AppointmentSlotIssues-WorkListItem-1'
12+
extension:
13+
type: array
14+
description: |
15+
| Field | Cardinality | Notes |
16+
| ------------------------------ | ----------- | ------------------------------------------ |
17+
| `priority` | `1..1` | |
18+
| `specialty` | `1..1` | |
19+
| `patient` | `1..1` | |
20+
| `namedClinician` | `0..1` | |
21+
| `eReferralPathwayStart` | `1..1` | |
22+
| `clinicalInfoPrinted` | `1..1` | |
23+
| `ubrnReceived` | `0..1` | |
24+
| `patientContactExpected` | `0..1` | |
25+
| `clinicalInformationStatus` | `0..1` | |
26+
| `reason` | `0..1` | |
27+
| `lastContact` | `0..1` | |
28+
| `service` | `1..1` | |
29+
items:
30+
anyOf:
31+
- $ref: './worklists/Extension-WorklistItem-Priority.yaml'
32+
- $ref: './worklists/Extension-WorklistItem-Specialty.yaml'
33+
- $ref: './worklists/Extension-WorklistItem-Patient.yaml'
34+
- $ref: './worklists/Extension-WorklistItem-NamedClinician.yaml'
35+
- $ref: './worklists/Extension-WorklistItem-ReferralPathwayStart.yaml'
36+
- $ref: './worklists/Extension-WorklistItem-ClinicalInfoPrinted.yaml'
37+
- $ref: './worklists/Extension-WorklistItem-UbrnReceived.yaml'
38+
- $ref: './worklists/Extension-WorklistItem-PatientContactExpected.yaml'
39+
- $ref: './worklists/Extension-WorklistItem-ClinicalInformationStatus.yaml'
40+
- $ref: './worklists/Extension-WorklistItem-ReviewReason.yaml'
41+
- $ref: './worklists/Extension-WorklistItem-LastContact.yaml'
42+
- $ref: './worklists/Extension-WorklistItem-Service.yaml'
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
title: 'Extension-eRS-AssessmentReturnedCancelledDna-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-AssessmentReturnedCancelledDna-WorkListItem-1'
11+
example: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AssessmentReturnedCancelledDna-WorkListItem-1'
12+
extension:
13+
description: |
14+
| Field | Cardinality | Notes |
15+
| ------------------------------ | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
16+
| `patient` | `1..1` | The patient associated with the `ReferralRequest` |
17+
| `priority` | `1..1` | The priority associated with the `ReferralRequest` |
18+
| `referralCreated` | `1..1` | The Date and Time the `ReferralRequest` was initiated |
19+
| `clinicalContext` | `1..1` | The clinical context for the `ReferralRequest` |
20+
| `referrer` | `1..1` | The `Practitioner` who initially creates the `ReferralRequest` |
21+
| `referralLastUpdated` | `1..1` | The `dateTime` the `ReferralRequest` was last updated |
22+
| `status` | `1..1` | The status of the `ReferralRequest` |
23+
| `reason` | `0..1` | The reason the `ReferralRequest` is on the Assessment Returned / Cancelled / DNA worklist, only included if `status` is `CANCELLED_REFERRAL` |
24+
type: array
25+
items:
26+
anyOf:
27+
- $ref: './worklists/Extension-WorklistItem-Patient.yaml'
28+
- $ref: './worklists/Extension-WorklistItem-Priority.yaml'
29+
- $ref: './worklists/Extension-WorklistItem-ReferralCreated.yaml'
30+
- $ref: './worklists/Extension-WorklistItem-ClinicalContext.yaml'
31+
- $ref: './worklists/Extension-WorklistItem-Referrer.yaml'
32+
- $ref: './worklists/Extension-WorklistItem-ReferralLastUpdated.yaml'
33+
- $ref: './worklists/Extension-WorklistItem-Status.yaml'
34+
- $ref: './worklists/Extension-WorklistItem-ReferralCancellationReason.yaml'
35+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
title: 'Extension-eRS-AwaitingBooking-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-AwaitingBooking-WorkListItem-1'
11+
example: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AwaitingBooking-WorkListItem-1'
12+
extension:
13+
description: |
14+
| Field | Cardinality | Notes |
15+
| ------------------------------ | ----------- | -------------------------------------------------------------------------------------------------------------------------- |
16+
| `patient` | `1..1` | The patient associated with the `ReferralRequest` |
17+
| `priority` | `1..1` | The priority associated with the `ReferralRequest` |
18+
| `referralCreated` | `1..1` | The Date and Time the `ReferralRequest` was initiated |
19+
| `clinicalContext` | `1..1` | The clinical context for the `ReferralRequest` |
20+
| `referrer` | `1..1` | The `Practitioner` who initially creates the `ReferralRequest` |
21+
| `referralLastUpdated` | `1..1` | The `dateTime` the `ReferralRequest` was last updated |
22+
| `status` | `1..1` | The status of the `ReferralRequest` |
23+
| `reason` | `0..1` | The reason the `ReferralRequest` is on the Awaiting Booking worklist, only included if `status` is `APPOINTMENT_CANCELLED_BY_PROVIDER` or `APPOINTMENT_CANCELLED_BY_PATIENT` |
24+
type: array
25+
items:
26+
anyOf:
27+
- $ref: './worklists/Extension-WorklistItem-Patient.yaml'
28+
- $ref: './worklists/Extension-WorklistItem-Priority.yaml'
29+
- $ref: './worklists/Extension-WorklistItem-ReferralCreated.yaml'
30+
- $ref: './worklists/Extension-WorklistItem-ClinicalContext.yaml'
31+
- $ref: './worklists/Extension-WorklistItem-Referrer.yaml'
32+
- $ref: './worklists/Extension-WorklistItem-ReferralLastUpdated.yaml'
33+
- $ref: './worklists/Extension-WorklistItem-Status.yaml'
34+
- $ref: './worklists/Extension-WorklistItem-AppointmentCancellationReason.yaml'
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
title: Extension-eRS-LettersOutstanding-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-LettersOutstanding-WorkListItem-1'
11+
example: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-LettersOutstanding-WorkListItem-1'
12+
extension:
13+
description: |
14+
| Field | Cardinality | Notes |
15+
| ------------------------------ | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
16+
| `patient` | `1..1` | The patient associated with the `ReferralRequest` |
17+
| `priority` | `1..1` | The priority associated with the `ReferralRequest` |
18+
| `referralCreated` | `1..1` | The Date and Time the `ReferralRequest` was initiated |
19+
| `clinicalContext` | `1..1` | The clinical context for the `ReferralRequest` |
20+
| `referrer` | `1..1` | The `Practitioner` who initially creates the `ReferralRequest` |
21+
| `letterDue` | `1..1` | The `date` a referral letter is due for the `ReferralRequest` |
22+
type: array
23+
items:
24+
anyOf:
25+
- $ref: './worklists/Extension-WorklistItem-Patient.yaml'
26+
- $ref: './worklists/Extension-WorklistItem-Priority.yaml'
27+
- $ref: './worklists/Extension-WorklistItem-ReferralCreated.yaml'
28+
- $ref: './worklists/Extension-WorklistItem-ClinicalContext.yaml'
29+
- $ref: './worklists/Extension-WorklistItem-Referrer.yaml'
30+
- $ref: './worklists/Extension-WorklistItem-LetterDue.yaml'
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
title: Extension-eRS-ReferralsforReview-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-ReferralsforReview-WorkListItem-1'
11+
example: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-ReferralsforReview-WorkListItem-1'
12+
extension:
13+
type: array
14+
description: |
15+
| Field | Cardinality | Notes |
16+
| ------------------------------ | ----------- | ------------------------------------------ |
17+
| `priority` | `1..1` | |
18+
| `specialty` | `1..1` | |
19+
| `patient` | `1..1` | |
20+
| `namedClinician` | `0..1` | |
21+
| `eReferralPathwayStart` | `1..1` | |
22+
| `clinicalInfoPrinted` | `1..1` | |
23+
| `requestContextStatus` | `1..1` | |
24+
| `clinicalInfoFirstSubmitted` | `0..1` | |
25+
| `clinicalInfoLastUpdated` | `0..1` | |
26+
| `referralType` | `0..1` | |
27+
| `appointmentStart` | `0..1` | |
28+
| `allocatedClinician` | `0..1` | |
29+
| `service` | `1..1` | |
30+
items:
31+
anyOf:
32+
- $ref: './worklists/Extension-WorklistItem-Priority.yaml'
33+
- $ref: './worklists/Extension-WorklistItem-Specialty.yaml'
34+
- $ref: './worklists/Extension-WorklistItem-PatientReference.yaml'
35+
- $ref: './worklists/Extension-WorklistItem-NamedClinicianReference.yaml'
36+
- $ref: './worklists/Extension-WorklistItem-ReferralPathwayStart.yaml'
37+
- $ref: './worklists/Extension-WorklistItem-ClinicalInfoPrinted.yaml'
38+
- $ref: './worklists/Extension-WorklistItem-RequestContextStatus.yaml'
39+
- $ref: './worklists/Extension-WorklistItem-ClinicalInfoFirstSubmitted.yaml'
40+
- $ref: './worklists/Extension-WorklistItem-ClinicalInfoLastUpdated.yaml'
41+
- $ref: './worklists/Extension-WorklistItem-ReferralType.yaml'
42+
- $ref: './worklists/Extension-WorklistItem-AppointmentStart.yaml'
43+
- $ref: './worklists/Extension-WorklistItem-AllocatedClinician.yaml'
44+
- $ref: './worklists/Extension-WorklistItem-Service.yaml'
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
title: Extension-eRS-RejectedTriageResponse-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-RejectedTriageResponse-WorkListItem-1'
11+
example: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-RejectedTriageResponse-WorkListItem-1'
12+
extension:
13+
type: array
14+
description: |
15+
| Field | Cardinality | Notes |
16+
| ------------------------------ | ----------- | -------------------------------------------------------------------------------------------------------------------------- |
17+
| `patient` | `1..1` | The patient associated with the `ReferralRequest` |
18+
| `priority` | `1..1` | The priority associated with the `ReferralRequest` |
19+
| `referralCreated` | `1..1` | The Date and Time the `ReferralRequest` was initiated |
20+
| `clinicalContext` | `1..1` | The clinical context for the `ReferralRequest` |
21+
| `referrer` | `1..1` | The `Practitioner` who initially creates the `ReferralRequest` |
22+
| `referralLastUpdated` | `1..1` | The `dateTime` the `ReferralRequest` was last updated |
23+
| `status` | `1..1` | The status of the `ReferralRequest` |
24+
| `reason` | `0..1` | The reason the `ReferralRequest` is on the Rejected/TriageRequest worklist, only included if `status` is `TRIAGE_RESPONSE` |
25+
items:
26+
anyOf:
27+
- $ref: './worklists/Extension-WorklistItem-Patient.yaml'
28+
- $ref: './worklists/Extension-WorklistItem-Priority.yaml'
29+
- $ref: './worklists/Extension-WorklistItem-ReferralCreated.yaml'
30+
- $ref: './worklists/Extension-WorklistItem-ClinicalContext.yaml'
31+
- $ref: './worklists/Extension-WorklistItem-Referrer.yaml'
32+
- $ref: './worklists/Extension-WorklistItem-ReferralLastUpdated.yaml'
33+
- $ref: './worklists/Extension-WorklistItem-Status.yaml'
34+
- $ref: './worklists/Extension-WorklistItem-AppointmentCancellationReason.yaml'
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
title: adviceFirstRequested
2+
type: object
3+
required:
4+
- url
5+
- valueDateTime
6+
properties:
7+
url:
8+
type: string
9+
enum:
10+
- adviceFirstRequested
11+
example: 'adviceFirstRequested'
12+
valueDateTime:
13+
type: string
14+
format: date-time
15+
example: '2021-09-01T14:26:18.314Z'
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
title: adviceLastUpdated
2+
type: object
3+
required:
4+
- url
5+
- valueDateTime
6+
properties:
7+
url:
8+
type: string
9+
enum:
10+
- adviceLastUpdated
11+
example: 'adviceLastUpdated'
12+
valueDateTime:
13+
type: string
14+
format: date-time
15+
example: '2021-09-01T14:26:18.314Z'

0 commit comments

Comments
 (0)