The Patient import object
Bulk imports of patient records. Patient API.
Attributes
idstringRequiredUnique ID of the import.
statusrunning, completed, failedRequiredProgress of the import.
rowsintegerRequiredRows received.
createdintegerRequiredRows that created a new patient.
matchedintegerRequiredRows that matched an existing patient.
failedintegerRequiredRows that couldn’t be imported.
resultsarray of PatientImportRow or nullOne result per row, once the import finishes. Null while it’s running.
Show child attributes
rowintegerRequiredRow number, starting at 1.
outcomecreated, matched, failedRequiredWhat happened to the row.
matched_bymrn, phone, email, nullWhich field matched, for matched rows.
patient_idUUID or nullThe created or matched patient.
errorstring or nullWhy the row failed, like phone_or_email_required.
created_attimestampRequiredWhen the import started.
Endpoints
| Method | Path | Endpoint |
|---|---|---|
| POST | /patient-imports | Import patients |
| GET | /patient-imports/{importId} | Retrieve an import |
Last updated on