Mediloop

FHIR Resource

MedicationDispense

FHIR R4

Represent pharmacy dispensation events using FHIR MedicationDispense.

Open in API Explorer

Authentication

OAuth 2.0

Bearer token

Scope

healthcare.fhir.read

Required

Standard

HL7 FHIR R4

FHIR R4

Rate limit

600 requests / min

Default

Response

MedicationDispense

application/fhir+json

Resource overview

MedicationDispense is exposed as a FHIR R4 resource and remains subject to Mediloop tenant, role, consent and permission controls.

Supported interactions

MethodPatternPurpose
GET/MedicationDispense/{id}Read a resource
GET/MedicationDispenseSearch resources
POST/MedicationDispenseCreate a resource
PUT/MedicationDispense/{id}Update a resource
GET/MedicationDispense/{id}/_historyRead version history

Core fields

FieldTypePurpose
ididLogical resource identifier
meta.versionIdidVersion identifier
meta.lastUpdatedinstantLast server update
identifierIdentifier[]External/business identifiers
extensionExtension[]Approved profile extensions

Search parameters

ParameterExampleDescription
_idmedicationdispense_123Resource ID
identifiersystem|valueBusiness identifier
_lastUpdatedge2026-08-01Updated since date
_count50Resources per page

Example request

cURL

curl -X GET "https://api.mediloop.com/fhir/r4/MedicationDispense/medicationdispense_123" \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Accept: application/fhir+json"

Example response

200 OK
{
  "resourceType": "MedicationDispense",
  "id": "medicationdispense_123",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2026-08-19T10:15:30Z"
  },
  "status": "active",
  "subject": {
    "reference": "Patient/pat_123"
  },
  "medicationCodeableConcept": {
    "text": "Amoxicillin 500 mg"
  }
}

Example resource

The exact fields and required profiles depend on the resource and integration contract. Use the server CapabilityStatement as the source of truth for supported interactions.