The MediRecords FHIR API supports the following EpisodeOfCare operations.
GET {API_URL}/v1/EpisodeOfCare/{id}
This API interface enables the client to read an EpisodeOfCare resource from MediRecords repository which is compliant with the supported MediRecords EpisodeOfCare.
In an error situation, server SHALL return OperationOutcome detailing the error with the appropriate HTTP Error code as follows.
Status | Text |
---|---|
200 | OK |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Internal Server Error |
The following table provides the FHIR Webhook event types generated for the EpisodeOfCare resource.
Hub Event | Application Trigger Event | |
---|---|---|
episode-of-care.created | Occurs whenever an episode of care record is created | |
episode-of-care.updated | Occurs whenever an episode of care record is updated |
Bundle
EpisodeOfCare (1)
Condition (0..*)
Patient (1)
Organization (0..*)
Practitioner (0..*)
PractitionerRole (0..*)
DocumentReferenceOut (0..*)
Encounter (0..*)
EpisodeOfCare (0..*)
episode-of-care.deleted | Occurs whenever an episode of care record is deleted |
Bundle
request (1)
url: DELETE EpisodeOfCare/{id}