Skip to main content
POST
Start a patient import

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

clinic_id
string<uuid>
required

Body

application/json
format
enum<string>
required

How data is written.

Available options:
json_array,
ndjson,
fhir_bundle
data
required

json_array — an array of patient objects in the same shape as createPatient (a row that carries allergies, current_medications or chronic_conditions is rejected by name like any other invalid row). ndjson — one string, a patient object per line. fhir_bundle — a FHIR Bundle whose entries include Patient resources (other resource types are ignored). At most 100 rows.

Required array length: 1 - 100 elements

Response

The finished job — succeeded, needs_review, or failed.

data
object
required