-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: [AEA-4005] - Update PSU Validation to allow 'Ready to Dispatc…
…h' and 'Ready to Rispatch - Partial' status (#193) ## Summary 🎫 [AEA-4005](https://nhsd-jira.digital.nhs.uk/browse/AEA-4005) Update PSU Validation to allow 'Ready to Dispatch' and 'Ready to Rispatch - Partial' status - Routine Change ### Details A list of what the solution must do: - The solution must update the OAS file for the Patient Status Update API specification to include the following additional values to the permitted status updates in the Task.businessStatus (Prescription line item tracking status): - Ready to Dispatch - Ready to Dispatch - Partial - Provide updated examples to illustrate the updates to the specification specified in the user story - Accept a business status of 'Ready to Dispatch' in a POST to the PSU api. - Accept a business status of 'Ready to Dispatch - Partial' in a POST to the PSU api.
- Loading branch information
1 parent
4b4c1fd
commit d0f40cc
Showing
6 changed files
with
73 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
packages/specification/examples/request-ready-to-dispatch-partial.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"resourceType": "Bundle", | ||
"type": "transaction", | ||
"entry": [ | ||
{ | ||
"fullUrl": "urn:uuid:4d70678c-81e4-4ff4-8c67-17596fd0aa46", | ||
"resource": { | ||
"resourceType": "Task", | ||
"id": "4d70678c-81e4-4ff4-8c67-17596fd0aa46", | ||
"basedOn": [ | ||
{ | ||
"identifier": { | ||
"system": "https://fhir.nhs.uk/Id/prescription-order-number", | ||
"value": "076E17-A83008-01F564" | ||
} | ||
} | ||
], | ||
"status": "in-progress", | ||
"businessStatus": { | ||
"coding": [ | ||
{ | ||
"system": "https://fhir.nhs.uk/CodeSystem/task-businessStatus-nppt", | ||
"code": "Ready to Dispatch - Partial" | ||
} | ||
] | ||
}, | ||
"intent": "order", | ||
"focus": { | ||
"identifier": { | ||
"system": "https://fhir.nhs.uk/Id/prescription-order-item-number", | ||
"value": "6989b7bd-8db6-428c-a593-4022e3044c00" | ||
} | ||
}, | ||
"for": { | ||
"identifier": { | ||
"system": "https://fhir.nhs.uk/Id/nhs-number", | ||
"value": "9449304130" | ||
} | ||
}, | ||
"lastModified": "2024-01-30T12:01:24Z", | ||
"owner": { | ||
"identifier": { | ||
"system": "https://fhir.nhs.uk/Id/ods-organization-code", | ||
"value": "C9Z1O" | ||
} | ||
} | ||
}, | ||
"request": { | ||
"method": "POST", | ||
"url": "Task" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters