Skip to content

Commit e161b41

Browse files
[RAA-3163] Updates for version ID in A&G worklist
1 parent c5173ae commit e161b41

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

sandbox/src/mocks/stu3/retrieveAdviceAndGuidanceWorklist/responses/AdviceAndGuidanceRequests.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@
9191
}
9292
]
9393
}
94+
},
95+
{
96+
"url": "communicationRequestVersion",
97+
"valueInteger": 10
9498
}
9599
],
96100
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AdviceAndGuidanceRequests-WorkListItem-1"
@@ -183,6 +187,10 @@
183187
}
184188
]
185189
}
190+
},
191+
{
192+
"url": "communicationRequestVersion",
193+
"valueInteger": 10
186194
}
187195
],
188196
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AdviceAndGuidanceRequests-WorkListItem-1"

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,7 @@ properties:
598598
| `referrer` | `1..1` | |
599599
| `service` | `1..1` | |
600600
| `clinicType` | `0..1` | |
601+
| `communicationRequestVersion` | `0..1` | |
601602
items:
602603
anyOf:
603604
- $ref: './extensions/worklists/Extension-WorklistItem-Priority.yaml'
@@ -693,6 +694,20 @@ properties:
693694
- $ref: './extensions/worklists/Extension-WorklistItem-Referrer.yaml'
694695
- $ref: './extensions/worklists/Extension-WorklistItem-Service.yaml'
695696
- $ref: './extensions/worklists/Extension-WorklistItem-ClinicType.yaml'
697+
- title: communicationRequestVersion
698+
type: object
699+
required:
700+
- url
701+
- valueInteger
702+
properties:
703+
url:
704+
type: string
705+
enum:
706+
- communicationRequestVersion
707+
example: 'communicationRequestVersion'
708+
valueInteger:
709+
type: integer
710+
example: 0
696711
- title: Extension-eRS-RejectedTriageResponse-WorkListItem
697712
type: object
698713
required:

specification/components/stu3/schemas/endpoints/a023-retrieve-a&g-worklist.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ description: |
88
or to undertake an action, in order to avoid delays to patient care.
99
1010
Service provider organisations can retrieve the contents of their 'Advice and guidance requests' worklist using
11-
this endpoint. This worklist contains advice and guidance requests the provider has received and which need actioning.
11+
this endpoint. This worklist contains advice and guidance requests the provider has received and which need actioning. The version of each advice
12+
request in the worklist will also be returned. Note that the version can change due to admin/clinical changes as well as internal e-RS processes.
1213
1314
There are currently no advice and guidance related worklists available for referring organisations.
1415

0 commit comments

Comments
 (0)