Skip to content

Commit

Permalink
Update the status type in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-szlapa committed Jul 4, 2024
1 parent 8e038d7 commit f72fec6
Showing 1 changed file with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ properties:
type: string
example: 24F5DA-A83008-7EFE6Z
status:
type: string
description: Indicator to identify when the prescription id status is a terminal status, one for which no further patient action is required. If the prescription item status is a terminal status, the Task.status value must be set to 'completed', otherwise the value must be set to 'in-progress'.
enum: [in-progress, completed]
type: boolean
description: Indicator to identify when the prescription id status is a terminal status, one for which no further patient action is required. If the prescription item status is a terminal status, the Task.status value must be set to 'true', otherwise the value must be set to 'false'.
enum: [true, false]
businessStatus:
type: object
description: "The tracking status for the prescription id. Updates should only be provided when the prescription id is 'ready to collect' in which case the status value will be 'ready to collect', or when the patient has received the prescription item and there are no more actions for the patient, in this case the status value could be 'Collected' or 'Dispatched'. The dispensing system may update the prescription item status with any of the following values to correct a status update which has been made in error or where the status has since reverted: 'With Pharmacy', 'Ready to collect', 'Collected' or 'Dispatched'. Note: The 'With Pharmacy' status can be determined using the EPS record status for business as usual processing and is not required from the dispensing system unless the status needs to be rolled back."
Expand All @@ -45,16 +45,16 @@ properties:
enum: [https://fhir.nhs.uk/CodeSystem/task-businessStatus-nppt]
code:
type: string
enum:
- With Pharmacy
- With Pharmacy - Preparing Remainder
- Ready to Collect
- Ready to Collect - Partial
- Collected
- Dispatched
- Not Dispensed
- Ready to Dispatch
- Ready to Dispatch - Partial
enum:
- With Pharmacy
- With Pharmacy - Preparing Remainder
- Ready to Collect
- Ready to Collect - Partial
- Collected
- Dispatched
- Not Dispensed
- Ready to Dispatch
- Ready to Dispatch - Partial
intent:
type: string
description: Order is the allowed value to indicate the update informs an actionable task.
Expand Down Expand Up @@ -116,7 +116,7 @@ properties:
type: object
required: [_type, valueInteger]
properties:
_type:
_type:
type: object
required: [text]
properties:
Expand All @@ -126,4 +126,4 @@ properties:
valueInteger:
type: integer
minimum: 1
maximum: 6
maximum: 6

0 comments on commit f72fec6

Please sign in to comment.