MediRecords FHIR Implementation Guide
1.3.0 - release


ServiceRequest

The MediRecords FHIR API supports the following ServiceRequest operations.

Read

GET {API_URL}/v1/ServiceRequest/{id}

This API interface enables the client to read a ServiceRequest resource from MediRecords repository which is compliant with the supported resources:

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

Webhook

Webhook for Diagnostic Request

The following table provides the FHIR Webhook event types generated for the DiagnosticRequest resource.

Hub Event Application Trigger Event  
diagnostic-request.created Occurs whenever an diagnostic request record is created  
diagnostic-request.updated Occurs whenever an diagnostic request record is updated  
Bundle
  Task (1..*)
  ServiceRequest (1..*)
  Patient (1) 
  PractitionerRole (1..*)
  Organization (1..*)
  Practitioner (1..*)
  Location (0..*)
   
diagnostic-request.deleted Occurs whenever an diagnostic request record is deleted
Bundle
  request (1)
    url: DELETE ServiceRequest/{id}