| Get Patient-Conditions-Encounters
|
Parent Route Input |
Picks up data from the parent route. |
| Build Bundle
|
Groovy |
Transforms the patient's data (conditions, encounters, coverage, and observations resources) into an Alert Message Bundle. |
| Bundle building error
|
RESTful Web Service Outbound |
Sends back an internal server error message. |
| Contains Patient
|
Router |
Checks to see if the bundle contains the property hasPatient. |
| 404 No Patient
|
RESTful Web Service Outbound |
Sends back an error message that the patient data could not be retrieved. |
| Contains entries
|
Router |
Checks to see if the bundle contains any data on conditions, encounters, coverage, and observations. |
| 400 Bad Request
|
RESTful Web Service Outbound |
Sends back an error message that the request body could not be processed. |
| Save Bundle
|
FHIR System Action |
Submits the bundle to the Payer's FHIR Server. |
| If Debug Mode_1
|
Router |
Checks to see if the debug mode is enabled. By default, the value of the property DebugMode in the profile environment is set to false. |
| Log Bundle
|
FS Outbound |
Saves the bundle to the file system, if the debug mode is enabled. |
| Get Bundle ID
|
JSON Value Extractor |
Extracts the bundle ID and the bundle creation date from the incoming request and passes the data as message properties. |
| Return Bundle
|
Parent Route Output |
Sends the Alert Message Bundle for further processing on the parent route. |
| Build DocRef
|
Groovy |
Creates a DocumentReference with metadata on the Alert Message Bundle. |
| Save DocRef
|
FHIR System Action |
Submits the DocumentReference to the Payer's FHIR Server. |
| If Debug Mode
|
Router |
Checks to see if the debug mode is enabled. |
| Log DocRef
|
FS Outbound |
Saves the DocumentReference to the file system, if the debug mode is enabled. |