Supply of Products for Healthcare (SUPPLY)
0.3.0 - ci-build
Supply of Products for Healthcare (SUPPLY), published by IHE Pharmacy Technical Committee. This guide is not an authorized publication; it is the continuous build for version 0.3.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/IHE/pharm-supply/ and changes regularly. See the Directory of published versions
This section corresponds to transaction [PHARM-S2] of the IHE Technical Framework. Transaction [PHARM-S2] is used by the Supply Requester and the Supply Request Filler actors, to query for the status of supply requests.
The Resupply Status [PHARM-S2] transaction queries the status of one or more supply requests.
Table X:Y.Z.2-1: Actor Roles
Actor | Role |
---|---|
Supply Requester | Query status of SupplyRequests from a Supply Request Filler |
Supply Request Filler | Provides the status of SupplyRequests to the Supply Requester |
FHIR-R5 HL7 FHIR Release 5.0
Figure X:Y.Z.4-1: Supply Status Interactions
The Supply Status transaction is initiated by the Supply Requester. This request is a query to check for the status of an individual request, or several requests at once - if allowed.
This method is invoked when the Supply Requester intends to query the Supply Request Filler about the status of the requests presented by the same Supply Requester or by another entity for which the Supply Request Filler is allowed to get updates.
The content type of the HTTP body shall be either application/fhir+json
or application/fhir+xml
.
The Supply Request Filler SHALL assure the request is consistent and actionable before any response, i.e. all authorizations and approvals are present.
The following search parameters SHALL be supported by the Supply Request Filler actor - but not necessarily supported for all queries, see confidentiality note below:
parameter | meaning | notes |
---|---|---|
identifier | request order by the assigned identifiers (placer identifiers or filled identifiers) | |
receiver | request orders by the intended receiver | |
item - | request the status of the orders for specific items or products | using the search parameter RequestedItem |
patient | request orders for a specific patient | NOTE: Even in a request, this parameter may expose personal patient identifiers and should therefore be subject to strict validation |
supplier | request orders that are intended to be supplied or handled by a specific entity |
The server SHALL ensure that the receiver is allowed to query the requests, given the policies and rules to ensure confidentiality and prevent exposure of unwanted information.
For example each organization can only search by receiver
if that organization is the receiver itself or somehow allowed to see the requests for the receiver. Failing to protect this information would expose potentially confidential information to other organizations.
Upon receiving a well-formed request, the Supply Request Filler actor
receiver
only with values that the requester is allowed to seeSHALL perform the query, using the aplicable business rules
MAY do additional processing e.g. checking that the response itself does not expose unwanted data, e.g. any patient information that is not intended to be presented to the requester
The Supply Request Filler always returns a HTTP Status code appropriate to the processing outcome.
This response is always expected and provides the Supply Requester with the ackowledgement and response to the request. The response shall immediately follow the request. In case any delayed validation of the Supply Request Filler is expected (for example manual verification of the status of the orders), such validation shall not impede the immediate response to the Supply Requester.
The response to a Supply Request Status request shall consist of:
200 (OK)
and the FHIR Bundle of type Search Result,202 (Accepted)
and no further information fot the moment.The Supply Request Status is informative for the Supply Requester, so no specific actions are required.