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

Getting data (FHIR)

Read an observation

One Observation by id.

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

Returns a single Observation resource.

curl "https://system.clinicview.co.za/api/fhir/Observation/lab-d3f5b7c9-1e3a-4c5e-9b7d-0f2a4c6e8a77" \
  -H "Authorization: Bearer $CLINICVIEW_API_KEY" \
  -H "Accept: application/fhir+json"
Response
{
  "resourceType": "Observation",
  "id": "lab-d3f5b7c9-1e3a-4c5e-9b7d-0f2a4c6e8a77",
  "status": "final",
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "laboratory",
          "display": "Laboratory"
        }
      ]
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://loinc.org",
        "code": "4548-4",
        "display": "Hemoglobin A1c"
      }
    ],
    "text": "Hemoglobin A1c"
  },
  "subject": {
    "reference": "Patient/8f2c6a1e-4b7d-4c1a-9e3f-2d5b7a9c0e11"
  },
  "effectiveDateTime": "2026-11-22T07:10:00+02:00",
  "issued": "2026-11-22T11:42:00+02:00",
  "valueQuantity": {
    "value": 6.9,
    "unit": "%"
  },
  "interpretation": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
          "code": "H"
        }
      ]
    }
  ],
  "referenceRange": [
    {
      "text": "4.0-6.0"
    }
  ],
  "note": [
    {
      "text": "Repeat in 3 months"
    }
  ]
}

Parameters

  • idid · pathrequired

    The Observation id: lab-<uuid> for a laboratory result, vs-<uuid>-<code> for a vital sign (e.g. -bp, -pulse).

    Example: lab-d3f5b7c9-1e3a-4c5e-9b7d-0f2a4c6e8a77

Responses

  • 200The Observation.
  • 401Missing or malformed API key
  • 403API key lacks the fhir.read scope
  • 404Observation/lab-d3f5b7c9-1e3a-4c5e-9b7d-0f2a4c6e8a77 not found
  • 429Rate limit exceeded: 300 requests per minute per keyHeaders: Retry-AfterX-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset