GuidesModules
Patient components
Render patient cards and lists from app-owned FHIR resources
- Stable unknown
- Release candidate since 1.16.1-rc.3
- Development since 1.16.1-dev.2111+9796905
The patient module presents patient demographics and lists. Supply the Patient
resources or the supported display fields from your data layer; the components do not
search, authorize, or update patient records.
import { PatientCard, PatientList } from "@ovok/native/patient";
<PatientList
data={patients}
onItemPress={(patient) => openPatient(patient.id)}
/>Use the compound patient fields when a screen needs a custom card layout. Keep patient lookup and access checks in the application, and avoid putting patient data in logs or analytics payloads. Add loading, no-results, and permission states around the list in the owning screen.
References
API reference
Every export of @ovok/native/patient, with signatures, props and types, is in the patient API reference.
Last updated on