Part 1: Foundations

2 How care actually works

What happens between arriving at the ED and leaving with a prescription?

About 55 minutesPending final reviewLast checked 2026-11-30

In plain language

  • A hospital visit is a chain of steps done by different people: registration, triage, assessment, orders, results, decisions, handoffs and discharge.
  • Each step creates data in a different system, and each handover between people or systems is a place where information can get lost.
  • Informatics works best when it starts from how care is really done, not from how an organisation chart says it is done.

The core sections below build on these ideas. Sections marked "Going deeper" are optional and go further.

Why this matters for you

What it means for each role
Students
If you have never worked in a hospital, this is the map you need before any of the technology makes sense.
Physicians and residents
You know the clinical work. This module shows the data trail it leaves, and where that trail breaks.
Nurses and allied health
Triage, handoff and medication reconciliation are where nursing data matters most, and where design choices change your workload.
Researchers and analysts
Every timestamp and code in your dataset was created at one of these steps, by someone busy. Knowing which tells you how far to trust it.
IT and administration
Encounters, patient classes and handoffs drive the messages, bed boards and billing that you support.

A visit is a relay race

Mira walks into the emergency department (ED) of MENA Academic Hospital, a fictional teaching hospital in Dubai, at 09:12. Over the next 30 hours she will meet:

  • a registration clerk and a triage nurse;
  • an ED resident and the ED consultant who supervises them (an “attending” in the US);
  • a lab technologist, a radiologist and a neurologist;
  • a pharmacy technician and a pharmacist;
  • an insurance approvals officer, who asks her insurer to authorise the stay;
  • a medical consultant who takes over her care on the ward (a “hospitalist” in many US hospitals);
  • at least three shifts of nurses and, days later, a coder.

This is an academic medical centre, so many notes and orders are written by trainees and checked by their seniors. Each person runs one leg of the race and passes the baton on. In a hospital, the baton is information.

Each leg happens in a different part of the hospital’s systems: registration, the nursing flowsheet, the order entry screen, the lab system, PACS, the bed board, the discharge tools and the billing system. Some of these are modules of one large EHR. Others are separate products connected by messages. Either way, every handover between people, and every handover between systems, is a place where information can be lost, delayed or changed.

Encounters, patient classes and orders

A few ideas from hospital operations come up in every later module.

  • Encounter: one episode of care, such as an ED visit or an admission. Data is filed against an encounter as well as against the patient.
  • Patient class: emergency, outpatient, day case, observation or inpatient, depending on the country. It changes where the patient appears, which rules apply and how the stay is paid for. In Dubai, insurers must authorise a stay, and since November 2025 the hospital must send the request within an hour of the order; for an emergency the insurer must answer at once, and care does not wait for the answer. UAE claims class a stay by bed use, so an overnight stay in a bed is usually claimed as inpatient. The US has a separate “observation” status, billed as outpatient care, which can leave patients with unexpected bills. (Module 3 uses “observation” in a second sense, a single measurement. The two meanings are unrelated.)
  • Orders: requests for tests, medicines, imaging or nursing care, entered through computerised provider order entry (CPOE). Most are placed by physicians, but nurses also enter orders under standing protocols, such as an ECG at triage, and record verbal orders. An order travels to the department that fulfils it and comes back as a result.
  • Results: they flow back into the EHR and must be seen by someone responsible. A critical value is also phoned to the clinician and read back. A result nobody owns is a classic source of missed diagnoses.
Quick check At 13:30 Mira's status changes from emergency patient to a stay in the short-stay unit. Which of these is most likely to change as a result?

Choose an answer, then check it.

Lab: walk through Mira’s encounter

Step through the visit. At each step, notice who acts, in which system, what data is created and what can go wrong. Some steps ask you to predict first, and show what happens once you answer. Message names and codes sit behind “Show technical detail” if you want them.

Day 0, 09:12

Arrival and quick registration

Predict first The search misses her old record, saved under "Mirra Novak", and a new one is created. What happens to the allergy list on the old record during this visit?

Patient identification comes first

Every later step assumes that the data is filed against the right person. Hospitals use a master patient index to find existing records by name, date of birth and other details. When matching fails, a duplicate record is created and the patient’s history is split. When matching goes wrong the other way, two different people are merged into one record, called an overlay, which is even more dangerous. Health information management (HIM) teams spend much of their time finding and fixing these errors, and interfaces carry the corrections to other systems as merge messages (ADT^A40). Merges do not always travel well. The lab system, the image archive or the research warehouse may handle a merge differently, or not at all, so a duplicate fixed in the EHR can live on elsewhere for months.

Going deeper Why not just use a national ID number?

Some countries give every resident a national identifier that hospitals use, which makes matching much easier. In the UAE, every resident, citizen or expatriate, has an Emirates ID, which Dubai hospitals record at registration and NABIDH uses to link records. The Nordic countries have done this for decades. England’s NHS number, checked against a national register (the Personal Demographics Service), and Scotland’s CHI number are other examples. The United States has no national patient identifier: since 1999, Congress has barred federal funding to develop one. Matching there relies on algorithms that compare names, dates of birth, addresses and phone numbers. Even with a national number, errors happen: newborns, visitors from abroad and unconscious patients often arrive without one, and records must be reconciled later.

Handoffs

Care passes between people at every shift change, transfer and discharge. Much of what is said at a handoff is never written down, so what the next team knows depends on what was said. Structured handoffs give the conversation a fixed shape.

  • Nurses often use SBAR (situation, background, assessment, recommendation), or hand over at the bedside with the patient.
  • Resident physicians increasingly use I-PASS (illness severity, patient summary, action list, situation awareness and contingency planning, and synthesis by the receiver), paired with a written summary. In a study of resident handoffs across nine children’s hospitals, introducing I-PASS was followed by fewer preventable adverse events, without making handoffs longer.

In the US, the Joint Commission expects a standard approach to handoffs, and resident training rules (ACGME) require them.

Discharge is the biggest handoff of all. Mira’s family doctor may use a different EHR. In Dubai her discharge summary is posted to NABIDH, the shared record, but a shared record is somewhere to look, not a delivery service, so the hospital also sends the summary to her doctor directly. Elsewhere summaries travel by secure messaging (in the US, “Direct”) or still, in many places, by fax. Results that are still pending at discharge need a named owner.

Going deeper When the EHR goes down

Every hospital has planned and unplanned downtime: upgrades, network failures, ransomware. Staff switch to paper downtime forms and read-only reports printed or cached in advance, such as each patient’s medication list. When the system returns, everything written on paper must be entered afterwards, which is a known source of missing and mistimed data. Researchers who see a gap or a burst of entries at 03:00 may be looking at a downtime, not a clinical event.

Codes for payment, reused for research

A few days after discharge, a coder in health information management reads the record and assigns codes. Dubai uses US-built code sets (ICD-10-CM for diagnoses, CPT for procedures and services, HCPCS for supplies) alongside its own codes for medicines and services. A documentation integrity specialist may send the physician a query when the notes are unclear. The codes decide what the hospital is paid: since 2020, Dubai hospitals have grouped inpatient stays into IR-DRGs (diagnosis-related groups; the US uses a different grouper, MS-DRGs) and sent claims to insurers electronically through eClaimLink. Other countries use other systems, as the panel below shows.

Coding follows rules that are not clinical. Under the ICD-10-CM Official Guidelines, which UAE regulators follow, a “possible TIA” at an outpatient or emergency visit is not coded as a TIA; the symptoms are coded instead. For an inpatient admission, the same uncertain diagnosis is coded as if it were confirmed. So whether Mira’s record ends up saying TIA depends partly on how her stay was classed. Her overnight stay in a bed is claimed as inpatient, so her record says TIA (G45.9); had she gone home from the ED, it would say only arm weakness. These codes are later reused for research, quality measures and machine learning, so it pays to remember that they describe what was billed, which is not always exactly what was wrong.

How this works in… Coding and paying for a hospital stay

Every system codes care to pay for it, but with different code sets and groupers. Compare a few.

  • UAE: Dubai Middle East

    Since September 2020, hospitals licensed in Dubai submit inpatient claims with IR-DRGs, coded in ICD-10-CM and CPT and sent through eClaimLink. Since 16 November 2025, pre-authorisation requests must reach the insurer within one hour of the physician's order.

    Checked 2026-11-30: Al Tamimi: DRGs are now live (2020); Al Tamimi: Dubai claims framework overhaul (2025)

  • Saudi Arabia Middle East

    Saudi Arabia uses Australian classifications, not US ones: ICD-10-AM for diagnoses (10th edition since 2020) and the Saudi Billing System, adapted from ACHI, for procedures and services (version 2 since June 2023). Private insurance claims, eligibility checks and pre-authorisations pass through NPHIES, regulated by the Council of Health Insurance.

    Checked 2026-11-30: Al Tamimi: SBS coding standards (2024); Reka H et al. BMC Health Serv Res 2025

Compare 4 more
  • UAE: Abu Dhabi Middle East

    The Department of Health requires CPT for procedures and uses ICD-10-CM for diagnoses. Inpatient stays are grouped with IR-DRGs, and claims go through the Shafafiya e-claims system.

    Checked 2026-11-30: DoH Abu Dhabi coding manual (2025)

  • Morocco North Africa

    Compulsory health insurance (AMO) now covers most of the population; former RAMED beneficiaries moved to AMO-Tadamon, run by the national social security fund (CNSS), and Law 54-23 (2026) moves public-sector AMO from CNOPS to CNSS. Claims have used paper care sheets. An electronic care sheet, where an e-prescription's QR code is scanned at the pharmacy and sent to CNSS, was piloted in Kenitra with national rollout planned for 2026.

    Unconfirmed. Whether the national rollout of the electronic care sheet happened in 2026 is not yet confirmed.

    Found 2026-11-30: Le360, 26 March 2026; Médias24: Law 54-23 published (February 2026)

  • England Comparison

    Hospitals code diagnoses in WHO ICD-10 and procedures in OPCS-4. These are grouped into Healthcare Resource Groups (HRGs), which underpin national payment.

    Checked 2026-11-30: NHS England: clinical classifications

  • United States Comparison

    Inpatient stays are coded in ICD-10-CM and ICD-10-PCS and grouped into MS-DRGs for Medicare. A short stay may instead be billed as outpatient 'observation', with different codes and patient costs.

    Checked 2026-11-30: CMS: MS-DRG classifications

Think it through: If Mira had been treated in Riyadh, which code systems would her claim use, and would a researcher comparing the two hospitals' data hit any problems?

From the Failure Museum: the information that was there

In September 2014, Thomas Eric Duncan, who had recently arrived in Dallas from Liberia, came to an emergency department with fever and abdominal pain. A nurse recorded that he had travelled from Liberia. He was sent home with a diagnosis of a minor infection, and returned two days later seriously ill with Ebola. He died, and two nurses who cared for him were infected.

The hospital first suggested that a flaw in the EHR’s workflow had hidden the travel history from physicians, then retracted that statement and said the history had been available to the whole team. Analysts of the case, including Upadhyay, Sittig and Singh, pointed out that both statements can be true at once. The information was recorded, but in a place and a form that did not reach the decision. Nursing and physician documentation were displayed separately, and a single entry among many did not stand out. Teams also need habits for saying critical findings aloud.

Lesson: recording information is not the same as communicating it. Informatics has to follow information all the way to the decision it should change.

Check your understanding

Answer every question, then check. Each answer comes with an explanation. Score 80% or more to mark the module complete. Your progress is saved only in this browser.

1. Mira had an ECG before any physician had seen her. How did that happen?
2. The lab system, PACS and the bed board all knew Mira had arrived, although nobody typed her name into them. What is the best explanation?
3. Six months later, HIM merges Mira's two records in the EHR. A week after that, a cardiologist searching the image archive still finds two Miras. What is the most likely reason?
4. The short-stay unit nurse takes over Mira's care from the ED at 15:30. Which practice best protects against information loss at this handoff?
5. A researcher finds far fewer TIAs in the hospital's billing data than in the neurology clinic's own list. Which explanation fits best?
6. A clinic adds a 'recent travel' field to its intake form. Nurses fill it in, but doctors rarely see it. Which lesson from the 2014 Dallas Ebola case applies?

0 of 6 answered

Sources

  1. Kohn LT, Corrigan JM, Donaldson MS, eds. To Err Is Human: Building a Safer Health System. Institute of Medicine. National Academies Press; 2000.
  2. Starmer AJ, Spector ND, Srivastava R, et al. Changes in medical errors after implementation of a handoff program. N Engl J Med. 2014;371(19):1803-1812.
  3. Adelman JS, Kalkut GE, Schechter CB, et al. Understanding and preventing wrong-patient electronic orders: a randomized controlled trial. J Am Med Inform Assoc. 2013;20(2):305-310.
  4. Adelman JS, Applebaum JR, Schechter CB, et al. Effect of restriction of the number of concurrently open records in an electronic health record on wrong-patient order errors: a randomized clinical trial. JAMA. 2019;321(18):1780-1787.
  5. Upadhyay DK, Sittig DF, Singh H. Ebola US Patient Zero: lessons on misdiagnosis and effective use of electronic health records. Diagnosis (Berl). 2014;1(4):283-287.
  6. O'Malley AS, Grossman JM, Cohen GR, Kemper NM, Pham HH. Are electronic medical records helpful for care coordination? Experiences of physician practices. J Gen Intern Med. 2010;25(3):177-185.
  7. Centers for Medicare & Medicaid Services. ICD-10-CM Official Guidelines for Coding and Reporting, Section IV: diagnostic coding and reporting guidelines for outpatient services.
  8. Department of Health Abu Dhabi. DOH Coding Manual (adopts the ICD-10-CM Official Guidelines). 2021.
  9. Dubai Health Authority. Standards for Urgent Care and Emergency Department Services. 2022.
  10. Dubai Health Authority. NABIDH Policies and Standards: Clinical Data Coding and Terminology Standards. 2022.
  11. Al Tamimi & Company. Dubai issues comprehensive overhaul of health insurance claims management framework. 2025.
  12. Al Tamimi & Company. DRGs are now live (Dubai IR-DRG implementation). 2020.
  13. Joint Commission International. Accreditation Standards for Hospitals, International Patient Safety Goal 2: improve effective communication.