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

Guide

Introduction

What the API does, the base address and your first call in five minutes.

What you can build

The ClinicView API connects your practice to laboratories, hospitals, medical schemes and your own software. It speaks the two standards healthcare already uses:

StandardUse it forBase path
FHIR R4 (JSON)Reading the patient record; registering patients/api/fhir
HL7 v2Laboratory results in, lab orders out, patient registrations/api/hl7

Every request is made on behalf of one practice, with an API key that practice created. All traffic is HTTPS.

Quick start

1. In ClinicView, open Settings → API & interoperability → Create key, choose the scopes and copy the key (it is shown once).

2. Store it as an environment variable:

bash
export CLINICVIEW_API_KEY=cvk_…

3. Check the connection (no key needed) and make your first authenticated call:

bash
curl https://system.clinicview.co.za/api/fhir/metadata

curl "https://system.clinicview.co.za/api/fhir/Patient?family=Mokoena" \
  -H "Authorization: Bearer $CLINICVIEW_API_KEY" \
  -H "Accept: application/fhir+json"

Code for every endpoint is available in cURL, JavaScript, Python, PHP, C#, Java, Go and Ruby, and the whole API is described in an OpenAPI file you can import into Postman, Insomnia or a code generator.

Conventions

Base addresshttps://system.clinicview.co.za
Formatsapplication/fhir+json (UTF-8); HL7 v2 ER7 with \r segment separators
DatesISO 8601 with a time zone offset (e.g. 2026-11-24T09:30:00+02:00); dates without a time are South African days
IdsUUIDs; observation and allergy ids add a prefix or suffix (see Identifiers)
VersioningThe path is stable; changes are additive (see Changelog)