order-select
|
RESTful Web Service Inbound |
Receives a request in the form of an order-select CDS hook. |
order-sign
|
RESTful Web Service Inbound |
Receives a request in the form of an order-sign CDS hook. |
405 Method Not Allowed
|
RESTful Web Service Outbound |
Sends back an error message that the request type used is not allowed. |
Get code
|
Groovy |
Extracts the medication code from the hook. |
Request to outer Service
|
REST Client |
Sends a request to an external Coverage Requirement Discovery (CRD) service (emulated by the Da Vinci 3 CRD emulation route) and passes the medication code as a query parameter. |
Response 200?
|
Router |
Checks to see if the requested data has been successfully retrieved from the FHIR Server. |
Convert to CDS Cards
|
Groovy |
Converts the data into CDS Cards. |
503 Service Unavailable
|
RESTful Web Service Outbound |
Sends back a message that an error has occurred while performing a call to an external service to get the requested data. |
Response
|
RESTful Web Service Outbound |
Returns a set of JSON-formatted CDS cards with the requested information. |
Any Error
|
Error Channel Inbound |
Triggers the 500 Internal Server Error to send out an internal server error HTTP response when there are processing errors. |
500 Internal Server Error
|
RESTful Web Service Outbound |
Sends out an internal server error message. |
Errors
|
File System Inbound |
Saves all the processing error reports to the file system. |