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

Getting data (FHIR)

Read an allergy

One AllergyIntolerance by id.

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

Returns a single AllergyIntolerance resource.

curl "https://system.clinicview.co.za/api/fhir/AllergyIntolerance/8f2c6a1e-4b7d-4c1a-9e3f-2d5b7a9c0e11-0" \
  -H "Authorization: Bearer $CLINICVIEW_API_KEY" \
  -H "Accept: application/fhir+json"
Response
{
  "resourceType": "AllergyIntolerance",
  "id": "8f2c6a1e-4b7d-4c1a-9e3f-2d5b7a9c0e11-0",
  "clinicalStatus": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
        "code": "active"
      }
    ]
  },
  "verificationStatus": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
        "code": "confirmed"
      }
    ]
  },
  "code": {
    "text": "Penicillin"
  },
  "patient": {
    "reference": "Patient/8f2c6a1e-4b7d-4c1a-9e3f-2d5b7a9c0e11"
  }
}

Parameters

  • idid · pathrequired

    The AllergyIntolerance id: <patient id>-<n>.

    Example: 8f2c6a1e-4b7d-4c1a-9e3f-2d5b7a9c0e11-0

Responses

  • 200The AllergyIntolerance.
  • 401Missing or malformed API key
  • 403API key lacks the fhir.read scope
  • 404AllergyIntolerance/8f2c6a1e-4b7d-4c1a-9e3f-2d5b7a9c0e11-0 not found
  • 429Rate limit exceeded: 300 requests per minute per keyHeaders: Retry-AfterX-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset