Mediloop

Healthcare / FHIR API

FHIR Examples

FHIR R4

Practical FHIR R4 request and response examples for common Mediloop integration workflows.

Open in API Explorer

Authentication

OAuth 2.0

Bearer token

Scope

healthcare.read

Required

Standard

HL7 FHIR R4

FHIR R4

Rate limit

600 requests / min

Default

Response

Bundle / JSON

application/fhir+json

Read a patient

GET Patient

curl "https://api.mediloop.com/fhir/r4/Patient/pat_123" -H "Authorization: Bearer $ACCESS_TOKEN"

Search observations

GET Observation

curl "https://api.mediloop.com/fhir/r4/Observation?patient=pat_123&category=vital-signs" -H "Authorization: Bearer $ACCESS_TOKEN"

Create a resource

POST Observation

curl -X POST "https://api.mediloop.com/fhir/r4/Observation" -H "Content-Type: application/fhir+json" -d @observation.json

Update a resource

PUT Patient

curl -X PUT "https://api.mediloop.com/fhir/r4/Patient/pat_123" -H 'If-Match: W/"3"' -d @patient.json

Transaction bundle

POST Bundle

POST https://api.mediloop.com/fhir/r4
{ "resourceType":"Bundle", "type":"transaction", "entry":[...] }

Medication workflow

Mediloop prescription actions can be mirrored into MedicationRequest and pharmacy dispensation into MedicationDispense.