Patients now rate their visit and your team, and happy patients review you on Google.
✚ClinicView

Getting data (FHIR)

Read a medication request

One MedicationRequest by id.

GET/api/fhir/MedicationRequest/{id}Scope fhir.read

Returns a single MedicationRequest resource.

curl "https://system.clinicview.co.za/api/fhir/MedicationRequest/f9b1d3e5-7a9c-4e1b-8d3f-5a7c9e1b3d88" \
  -H "Authorization: Bearer $CLINICVIEW_API_KEY" \
  -H "Accept: application/fhir+json"
Response
{
  "resourceType": "MedicationRequest",
  "id": "f9b1d3e5-7a9c-4e1b-8d3f-5a7c9e1b3d88",
  "status": "active",
  "intent": "order",
  "groupIdentifier": {
    "value": "RX-000412"
  },
  "medicationCodeableConcept": {
    "coding": [
      {
        "system": "https://fhir.clinicview.co.za/codesystem/nappi",
        "code": "700123001"
      }
    ],
    "text": "Amlodipine 5 mg tablets"
  },
  "subject": {
    "reference": "Patient/8f2c6a1e-4b7d-4c1a-9e3f-2d5b7a9c0e11"
  },
  "encounter": {
    "reference": "Encounter/e1b3d5f7-2a4c-4e6b-8d0f-1a3c5e7b9d44"
  },
  "authoredOn": "2026-11-24T09:55:10+02:00",
  "requester": {
    "reference": "Practitioner/3a9d2f4b-6c1e-4f8a-b2d7-5e0c9a1b3d22"
  },
  "dosageInstruction": [
    {
      "text": "5 mg oral once daily for 30 days Take in the morning",
      "route": {
        "text": "oral"
      }
    }
  ],
  "dispenseRequest": {
    "quantity": {
      "value": 30
    },
    "numberOfRepeatsAllowed": 5
  },
  "substitution": {
    "allowedBoolean": true
  }
}

Parameters

  • idid · pathrequired

    The MedicationRequest id.

    Example: f9b1d3e5-7a9c-4e1b-8d3f-5a7c9e1b3d88

Responses

  • 200The MedicationRequest.
  • 401Missing or malformed API key
  • 403API key lacks the fhir.read scope
  • 404MedicationRequest/f9b1d3e5-7a9c-4e1b-8d3f-5a7c9e1b3d88 not found
  • 429Rate limit exceeded: 300 requests per minute per keyHeaders: Retry-AfterX-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset