Skip to content

frontend


Function: default()

default(props): Element

Defined in: src/components/patients/PatientsList.tsx:52

Patients List

Renders list of patient cards with profile pictures and demographics. Displays context-aware messages based on backend FHIR health status: - FHIR unavailable: "Database is initialising" (blue alert) - FHIR available with no patients: "No patients to show" (gray alert) Uses backend /health endpoint to safely determine system readiness. Adapts avatar size based on screen width (sm/lg).

Parameters

props

Props

Component props

Returns

Element

Patient list component