Da Vinci 3 CRD emulation other codes

This route is an example of a Coverage Requirements Discovery (CRD) web service. The route creates response messages for the E0433 and other codes based on the Velocity templates, triggers a subroute to process the C8928 code to also create a response message, and then returns a JSON-formatted response that contains the service/ device description, costs, and other requirements.

Route Structure

Da Vinci 3-4 External Request Processing Route

Route Components Description

Component Name Component Type Description
RESTful Web Service Inbound RESTful Web Service Inbound Receives a GET request with the patient's first and last names passed as a query parameter.
Get Code Groovy Extracts the service/ device codes from the request path.
Router Router Checks the requested codes C8928, E0433, and others.
code C8928 processing Subroute Triggers the subroute to process the C8928 code for services provided to the patient.
Response Creation Velocity Creates a response message for the E0433 code for devices based on the Velocity template available.
Response Creation_2 Velocity Creates a response message for the other codes based on the Velocity template available.
RESTful Web Service Outbound RESTful Web Service Outbound Returns a JSON-formatted response that contains the service/ device descriptions, costs, and other requirements.
Any Error Error Channel Inbound Triggers an 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.