Clinical Use

Foundational Clinical Workflows

How core AMCDR objects connect across identity, encounters, forms, compositions, MPI, newborn care, deaths, emergency care, foreigners, unknown people, and transfers.

Foundation Objects

Identity, encounters, forms, clinical records, reporting, and integrations use separate records linked by stable identifiers.

ObjectPurposeExamples
TenantTop-level operating boundary.Ministry of Health, hospital group, national program.
OrganisationLegal or operational owner.Hospital, district health office, NGO provider.
FacilityPlace where care or reporting occurs.Hospital, clinic, refugee settlement health post.
Service moduleClinical or administrative service area.Maternity, emergency, inpatient, outpatient, mortality reporting.
PatientClinical person record used by care workflows.Known citizen, refugee, newborn, unknown patient after reconciliation.
Identity partyDemographic identity and identifiers used by MPI.National ID, passport, UNHCR ID, MRN, temporary unknown-person ID.
EHRopenEHR record container for one patient subject.Mother EHR, newborn EHR, emergency patient EHR.
VisitFacility attendance or care episode.OPD visit, emergency attendance, admission visit.
EncounterClinical or reporting context within the visit or workflow.Birth event, death notification, emergency encounter, transfer-out encounter.
TemplateopenEHR clinical model.Delivery summary, newborn assessment, death notification.
FormUI projection over a template.Birth notification form, triage form, discharge form.
CompositionVersioned openEHR clinical record.Newborn assessment composition, cause-of-death composition.
RelationshipExplicit person or record link.Mother-newborn, guardian, household, emergency contact.
EHR context linkExplicit cross-EHR, encounter, and composition relationship.Mother birth report composition linked to Baby A and Baby B EHRs.
Reporting eventGoverned output trigger.Birth notification, death notification, HMIS indicator.

Core Link Model

Clinical record path
PatientIdentity resolved or temporary
->
EHRopenEHR subject container
->
Visit
->
EncounterCare or reporting context
->
Form
->
CompositionVersioned clinical truth
Identity and integration path
IdentifiersMRN, national ID, passport, UNHCR, temporary ID
->
Internal MPICandidates, links, merge review
->
Patient/EHR Context
->
FHIR/openEHR APIsStandards boundary

Core Classification Catalogues

AMCDR seeds configurable catalogues for foundational workflow typing in the clinical_type_catalogues table. Seeded rows are marked system-defined; authorized administrators can add local rows or deactivate values that are retired from active workflows.

CataloguePurpose
patient_typeKnown citizens, refugees, foreigners, temporary patients, newborns, unknown patients, deceased patients, and demo/synthetic patients.
identity_party_typeNational ID, passport, UNHCR/refugee identifiers, temporary unknown-person identifiers, biometrics, MPI identities, and retired/merged identities.
ehr_typeGeneral, maternal, newborn, emergency, humanitarian/refugee, unknown, archived, and synthetic EHR containers.
visit_typeFacility attendance and care episode classifications.
encounter_typeClinical, administrative, reporting, MPI, birth, death, emergency, transfer, and workflow context classifications.

Manage these under Admin -> Clinical Configuration -> Core classification catalogues. Use GET /catalogues and GET /catalogues/{catalogue}/types for runtime reads, and the admin catalogue endpoints for create, update, activate, and deactivate operations.

Encounter Types

Encounter types are configured in Admin -> Clinical Configuration -> Encounter Types. They allow AMCDR to support care workflows, birth and death notification, national reporting, patient timelines, and FHIR Encounter projection without hard-coding those concepts into forms.

CodeDisplayCategoryLinked formsReporting use
EMERGENCY_TRIAGEEmergency TriageemergencyTriage assessmentEmergency dashboard
TRANSFER_INTransfer InmovementReferral intake, admission noteContinuity of care
TRANSFER_OUTTransfer OutmovementTransfer summaryReferral reporting
MATERNAL_DELIVERYMaternal Delivery EncountermaternityDelivery summaryBirth reporting
NEWBORN_BIRTHNewborn Birth EncounterneonatalNewborn assessmentBirth registration
DEATH_NOTIFICATIONDeath NotificationmortalityDeath notificationCivil registration
UNKNOWN_DECEASED_CASEUnknown Deceased CasemortalityUnknown deceased documentationMortuary and civil registration

Ordinary Patient Flow

  1. Search or register the patient.
  2. Resolve MPI candidates where needed.
  3. Create or select the patient EHR.
  4. Start visit or encounter.
  5. Select a form linked to the encounter type.
  6. Submit the form as an openEHR composition.
  7. Index the patient and composition projection.
  8. Emit lifecycle or reporting events if configured.

Use Workflow Orchestration and Enforcement to define the workflow stages, transitions, queues, task routing, required forms, completion rules, and monitoring that make these flows operationally enforceable.

Configurable Workflow Presets

AMCDR can seed common workflow patterns while still allowing administrators to create new workflows from scratch. Outpatient, inpatient, emergency, neonatal, vaccination, medication, laboratory, transfer, birth, and death workflows use the same workflow engine: stages, previous-stage links, transitions, queues, tasks, form bindings, completion rules, and audit events.

PresetTypical stagesLocal configuration
OutpatientRegistration, queue, triage or vitals, consultation, orders, pharmacy, checkout.Local clinics bind their own forms and queue numbering such as OP0001.
InpatientAdmission, allocation, ward care, investigation, treatment, transfer, discharge.Hospitals bind admission, ward round, procedure, discharge, and nursing forms.
EmergencyRegistration, encounter created, triage queue, triage assessment, acuity calculation, priority queue, consultation, investigation, treatment, discharge.Emergency units configure Red, Orange, Yellow, Green, and Blue queues with prefixes such as E0234.
MaternityAntenatal review, maternity triage, labour, delivery, postnatal review, discharge or follow-up.Facilities bind local antenatal, labour, obstetric risk, delivery, postnatal, and emergency obstetric forms.
NeonatalDelivery event, newborn identity, neonatal assessment, NICU or routine care, daily review, discharge or follow-up.Facilities bind newborn assessment, NICU, feeding, sepsis, discharge, and follow-up forms according to local practice.
VaccinationRegistration, eligibility check, vaccination, observation, discharge.Programmes bind eligibility, consent, immunisation, adverse-event, and follow-up forms.

Previous-stage links let administrators define the order of stages without hard-coding a single clinical pathway. Queue and decision stages support retriage, priority escalation, task reassignment, and controlled progression through the patient journey.

Emergency And Unknown Patient Flow

Emergency documentation before full identity
Temporary identityNo fake primary name
->
Emergency encounter
->
Triage queue
->
Triage composition
->
Priority queue
->
MPI reviewLink later if found
->
Audit trail

Emergency care must allow documentation before complete identity is known. Use a temporary local identifier and an identity status, then reconcile later through MPI. The triage queue, triage assessment, calculated acuity, nurse override, final acuity, and priority queue assignment are operational workflow records linked to the emergency encounter. The clinical history is preserved and the identity update is audited.

Foreigners, Refugees, And Undocumented People

Identity must be stored as structured identifiers even when national identifiers are missing. Supported identifier systems include passport, refugee registration number, UNHCR identifier, humanitarian agency reference, external MPI identifier, facility MRN, and temporary unknown-person identifier.

AMCDR_INTERNAL_MPI_STRONG_IDENTIFIER_SYSTEMS=["mrn","national-id","passport","refugee-registration-number","humanitarian-agency-reference","unhcr","external-mpi"]

Protected Persons And VIP Records

Security access path
Patient/EHR labelInherited protection
->
Search filterHide broad results
->
Access requestPurpose and reason
->
Audit event
->
Break-glassTime-limited review

Protected persons are handled through security classifications and security events, not clinical encounter types. VIP and protected records are hidden from general broad patient search, denied access is audited, and break-glass access is time-limited with post-access review. Reclassification never rewrites clinical compositions.

Manage this under Admin -> Platform configuration -> Protected records. Runtime catalogues include security_classification, security_event_type, security_clearance, and protected patient/EHR type extensions. See Protected Records for the full security model and playbooks.

Birth And Newborn Flow

Birth registration and neonatal record
Mother anchorKnown or temporary
->
Delivery encounter
->
Newborn candidate
->
Newborn MPI
->
Newborn patient
->
Neonatal encounter
->
Birth composition

The birth composition subject is normally the newborn. The mother is linked through relationship and context links, not by making the mother the subject of the newborn birth composition. Twins and triplets need separate newborn candidates, patient records, neonatal encounters, and typically separate compositions.

When the mother has a birth report composition, AMCDR creates EHR context links from the mother EHR and birth report composition to each newborn EHR where the workflow is configured to do so. See Relationships and EHR Links for the twin birth pattern and API examples.

Maternity Workflow

Configurable maternity pathway
Antenatal / maternity context
->
Maternity triage
->
Risk assessment
->
Labour / delivery
->
Postnatal review
->
Discharge / follow-up

A maternity workflow can be created using the same workflow authoring model as outpatient, emergency, and neonatal pathways. The preset supplies a pathway structure, but hospitals decide which forms and variables are used for antenatal review, maternity triage, labour, emergency obstetric review, delivery, postnatal review, discharge, and follow-up.

Optional maternity variables include gestational age, fetal movement, vaginal bleeding, contractions, ruptured membranes, abdominal pain, blood pressure or pre-eclampsia signs, seizures, fetal heart rate, and previous C-section or obstetric risk history. Local teams can add, omit, or adapt these variables according to policy and form design.

Neonatal Workflow

Neonatal care pathway
Delivery event
->
Newborn identity
->
Neonatal assessment
->
NICU / routine care
->
Daily review
->
Discharge / follow-up

Create a neonatal workflow from a preset, then bind your hospital’s forms for assessment, NICU admission, feeding review, sepsis review, medication, discharge, and follow-up. Keep the newborn’s patient record and EHR separate from the mother’s, with mother-child and sibling relationships recorded as foundation links.

Neonatal variables are configurable, not mandatory. Local teams can add only the variables they use, such as age in hours or days, birth weight, current weight, temperature instability, respiratory distress, feeding difficulty, jaundice, hypoglycaemia risk, lethargy, seizures, oxygen saturation, Apgar history, and prematurity. Variables already selected for a projection are removed from the available-variable list to prevent duplicate bindings.

Death Workflow

Known patient death
Confirm identity
->
Death event
->
Death encounter
->
Death composition
->
Certification
->
Vital status event
->
Reporting

Unknown deceased workflows use a temporary deceased identity instead of a confirmed patient ID. Later identification links the temporary identity to a confirmed person while preserving the original death record and audit history.

Transfers

Transfers are movement workflows. They preserve the previous care context and create the receiving context instead of overwriting history.

Internal transfer

Current encounter -> transfer order -> ward or bed movement -> receiving encounter -> handover composition.

External outgoing transfer

Source facility encounter -> transfer summary -> outgoing transfer queue -> destination acceptance -> transport and handoff.

External incoming transfer

Partner facility transfer request -> incoming transfer queue -> MPI review -> acceptance -> receiving visit and encounter.

Networked platforms

Connected AMCDR instances can exchange transfer notifications and referral packages, while each receiving site controls acceptance, identity matching, local encounter creation, and audit.

Reporting

Transfer reporting is a projection or event over the clinical record. It must not replace the source composition.

Form And Composition Rule

Templates define the clinical content; forms provide the interface for capturing it. Saved clinical data becomes a versioned openEHR composition.

Template field path -> Form field -> Captured value -> openEHR composition path

For portable forms and external CDR submissions, read Portable Forms and MPI, FHIR, and External CDRs.