Receptionist registers the patient: identity (national ID, nationality, language), demographics, photo.ERP contact + clinical patient created 1:1; duplicate detection flags similar name+DOB+phone
Books an appointment from real availability (doctor, date, slot), source = walk-in.availability engine applies working hours, breaks, exceptions, per-slot capacity
Checks the patient in.check-in time stamped; patient appears on Today's Queue in the “in queue” column
Nurse records vitals: BP, pulse, temp, SpO₂, glucose, weight/height.BMI auto-computed; out-of-range values flag critical and raise a patient alert
Doctor opens the consult — safety banner first (allergies/alerts), then encounter card (type, priority).ABAC: a nurse could edit vitals here but not the assessment
Documents SOAP + ICD-10 diagnoses, adds a diagnosis to the problem list, signs & locks the note.post-sign edits only via the amendment flow — full audit trail
Prescribes — the safety screen runs (allergy / duplicate therapy); orders a CBC from the Orders card.lab item routes automatically into the analyzer worklist
Completes the encounter; billing captures charges (consultation 450 + CBC 200 from the lab catalog).one real ERP invoice per patient; stock-tracked items decrement exactly once
Cashier takes payment at POS or against the invoice; patient leaves with the printed Rx.