Validate and send patient data to remote monitoring
API toolWorkatoDeveloper ToolAPI Integration
What it does
When someone sends an API request to this endpoint, this automation validates the medical record number format. If the number is invalid, it returns a 400 error; otherwise it sends the request to the remote monitoring system and checks the response.
Who it's for
IT teams who manage remote monitoring integrations and need to ensure only valid patient records are posted.
Apps used
How teams use this
Reject invalid patient identifiers
When a request arrives with a malformed medical record number, the automation returns a 400 error immediately so the caller knows the data did not meet requirements and can correct it.
Integrate with patient enrollment workflows
Route valid patient records from enrollment systems to remote monitoring by posting to this endpoint. The validation step ensures only eligible patients are added to monitoring programs.
Add patient consent verification
Extend the validation to check a consent flag in addition to the medical record number format. Only patients with documented consent will be sent to remote monitoring.
How it works
- Receive the API request. An incoming request arrives at the connectApp endpoint with patient data including a medical record number for validation and processing.
- Validate the medical record number. Check that the medical record number is present and matches the required eight-digit format. Return a 400 error if validation fails so the caller knows the data did not meet requirements.
- Send the request to remote monitoring. Send the patient data to the remote monitoring system via Rest and monitor for errors during transmission to ensure delivery succeeds.
- Check the response status. Evaluate the status code from the remote monitoring system to confirm the request succeeded or identify a 400 error that needs handling.