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

Laboratories (HL7 v2)

Register or update patients (ADT)

ADT^A04, A08, A28 and A31 create or update a patient.

POST/api/hl7Scope hl7.write

Hospitals and other systems can register (A04/A28) or update (A08/A31) patients. The patient is matched by our patient number in PID-3 or a unique ID number; otherwise a new patient is created. PID-5 (name) is required.

curl -X POST "https://system.clinicview.co.za/api/hl7" \
  -H "Authorization: Bearer $CLINICVIEW_API_KEY" \
  -H "Accept: x-application/hl7-v2+er7" \
  -H "Content-Type: x-application/hl7-v2+er7" \
  --data-binary $'MSH|^~\\&|HIS|HOSPITAL|CLINICVIEW|PRACTICE|20261124080500||ADT^A04^ADT_A01|ADT1001|P|2.5.1\rEVN|A04|20261124080500\rPID|1||H556677^^^HOSPITAL^MR~8506155800087^^^ZAF^NI||Dlamini^Sipho||19850615|M|||||+27831112222'

Request body

x-application/hl7-v2+er7 · An HL7 v2.x ADT message.

Responses

  • 200ACK AA: "Patient registered" or "Patient updated".
  • 422ACK AE (e.g. PID-5 missing) or AR (unsupported event).