...
- Verify transaction identifiers
- Call Get Enterprise Client ID to validate if client exists
- Call Get Enterprise Provider ID to validate is provider exists
- Call Get HC Facility to validate if the facility exists
- Verify that coded used are valid.
- Call Verify Code to verify terminology
- If the identifiers and terms check out
- Enrich transaction to contain ECID and EPID
- Call Save Patient Encounter
- If patient doesn't exist in SHR
- Else
- Send transaction to error queue
...