FHIR Resource
MedicationStatement
FHIR R4Represent reported medication use and treatment history using FHIR MedicationStatement.
Authentication
OAuth 2.0
Bearer token
Scope
healthcare.fhir.read
Required
Standard
HL7 FHIR R4
FHIR R4
Rate limit
600 requests / min
Default
Response
MedicationStatement
application/fhir+json
Resource overview
MedicationStatement is exposed as a FHIR R4 resource and remains subject to Mediloop tenant, role, consent and permission controls.
Supported interactions
| Method | Pattern | Purpose |
|---|---|---|
| GET | /MedicationStatement/{id} | Read a resource |
| GET | /MedicationStatement | Search resources |
| POST | /MedicationStatement | Create a resource |
| PUT | /MedicationStatement/{id} | Update a resource |
| GET | /MedicationStatement/{id}/_history | Read version history |
Core fields
| Field | Type | Purpose |
|---|---|---|
| id | id | Logical resource identifier |
| meta.versionId | id | Version identifier |
| meta.lastUpdated | instant | Last server update |
| identifier | Identifier[] | External/business identifiers |
| extension | Extension[] | Approved profile extensions |
Search parameters
| Parameter | Example | Description |
|---|---|---|
| _id | medicationstatement_123 | Resource ID |
| identifier | system|value | Business identifier |
| _lastUpdated | ge2026-08-01 | Updated since date |
| _count | 50 | Resources per page |
Example request
cURL
curl -X GET "https://api.mediloop.com/fhir/r4/MedicationStatement/medicationstatement_123" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Accept: application/fhir+json"Example response
200 OK{
"resourceType": "MedicationStatement",
"id": "medicationstatement_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.