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

Getting data (FHIR)

Capability statement

What this server supports. No API key needed.

GET/api/fhir/metadataNo key needed

The FHIR CapabilityStatement: supported resources, interactions and search parameters. Use it to check connectivity; it needs no key.

curl "https://system.clinicview.co.za/api/fhir/metadata" \
  -H "Authorization: Bearer $CLINICVIEW_API_KEY" \
  -H "Accept: application/fhir+json"
Response
{
  "resourceType": "CapabilityStatement",
  "status": "active",
  "date": "2026-11-22",
  "kind": "instance",
  "software": {
    "name": "ClinicView",
    "version": "1.0"
  },
  "implementation": {
    "description": "ClinicView FHIR R4 API",
    "url": "https://system.clinicview.co.za/api/fhir"
  },
  "fhirVersion": "4.0.1",
  "format": [
    "application/fhir+json"
  ],
  "rest": [
    {
      "mode": "server",
      "security": {
        "description": "Bearer API key (create under Settings → API & integrations). Scopes: fhir.read, fhir.write."
      },
      "resource": [
        {
          "type": "Patient",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            },
            {
              "code": "create"
            }
          ],
          "searchParam": [
            {
              "name": "_id",
              "type": "string"
            },
            {
              "name": "identifier",
              "type": "string"
            },
            {
              "name": "name",
              "type": "string"
            },
            {
              "name": "family",
              "type": "string"
            },
            {
              "name": "given",
              "type": "string"
            },
            {
              "name": "birthdate",
              "type": "date"
            },
            {
              "name": "gender",
              "type": "string"
            },
            {
              "name": "_count",
              "type": "string"
            }
          ]
        },
        {
          "type": "Practitioner",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "_id",
              "type": "string"
            },
            {
              "name": "name",
              "type": "string"
            }
          ]
        },
        {
          "type": "Appointment",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "_id",
              "type": "string"
            },
            {
              "name": "patient",
              "type": "reference"
            },
            {
              "name": "date",
              "type": "date"
            },
            {
              "name": "status",
              "type": "string"
            },
            {
              "name": "_count",
              "type": "string"
            }
          ]
        },
        {
          "type": "Encounter",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "_id",
              "type": "string"
            },
            {
              "name": "patient",
              "type": "reference"
            },
            {
              "name": "date",
              "type": "date"
            },
            {
              "name": "_count",
              "type": "string"
            }
          ]
        },
        {
          "type": "Condition",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "_id",
              "type": "string"
            },
            {
              "name": "patient",
              "type": "reference"
            },
            {
              "name": "code",
              "type": "string"
            },
            {
              "name": "_count",
              "type": "string"
            }
          ]
        },
        {
          "type": "Observation",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "patient",
              "type": "reference"
            },
            {
              "name": "category",
              "type": "string"
            },
            {
              "name": "date",
              "type": "date"
            },
            {
              "name": "_count",
              "type": "string"
            }
          ]
        },
        {
          "type": "MedicationRequest",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "_id",
              "type": "string"
            },
            {
              "name": "patient",
              "type": "reference"
            },
            {
              "name": "_count",
              "type": "string"
            }
          ]
        },
        {
          "type": "AllergyIntolerance",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "patient",
              "type": "reference"
            }
          ]
        }
      ]
    }
  ]
}

Responses

  • 200The CapabilityStatement.