What is an EHR (electronic health record)?

An EHR (electronic health record) is a digital record of a patient's health that authorised clinicians across more than one organisation can create, update and consult. The term also names the software that manages it.

Also called electronic health record, EHR system, EHR softwareUpdated

An EHR, or electronic health record, is the digital version of a patient's health history: problems, medications, allergies, lab results, imaging reports, notes, immunisations and care plans. "EHR" also means the software that holds these records, such as the clinical system a hospital runs.

The defining feature is that an EHR is built to be shared. Data can be created, managed and consulted by authorised clinicians and staff across more than one healthcare organisation, and patients can usually see their own record.

EHR vs EMR

The two terms are often used interchangeably, but the US Office of the National Coordinator for Health IT (ONC) draws a clear line:

  • An EMR (electronic medical record) is a digital version of the paper chart in one practice. It holds the medical and treatment history of patients at that clinic, and it doesn't travel easily outside it.
  • An EHR includes all of that and is designed to share information with labs, specialists, hospitals and the patient, so the record follows the person between care settings.

In India, hospital software is often sold as HMIS (hospital management information system) or EMR. It becomes part of an EHR in the full sense once it exchanges records, for example as a HIP under ABDM.

What an EHR system does

  • Clinical documentation: notes, problem lists, allergies, vitals
  • Orders and results: lab and imaging orders, with results flowing back
  • Medications: e-prescribing, interaction and allergy checks
  • Decision support: alerts and reminders such as overdue screenings
  • Patient portal: results, appointments, messages
  • Interoperability: HL7 v2 feeds inside the hospital, FHIR APIs for apps and other organisations, DICOM links to imaging

Structured data is coded with standard terminologies: SNOMED CT for clinical findings, LOINC for lab tests and ICD-10 for diagnoses on claims and reports.

Example: one patient, three systems

A patient with diabetes visits a clinic, gets an HbA1c test at a lab and is later admitted to hospital.

  1. The clinic's system records the diagnosis (SNOMED CT 44054006, type 2 diabetes mellitus) and a metformin prescription.
  2. The lab result arrives as an HL7 v2 ORU^R01 message with LOINC code 4548-4 and a value of 8.1%.
  3. On admission, the hospital pulls the problem list, medications and the latest HbA1c through a FHIR API or a national exchange.

With EMRs alone, the hospital would call the clinic or rely on the patient remembering. With an EHR, the admitting doctor sees the history before the first conversation.

EHR standards

  • United States. ONC certification requires EHRs to offer standardised FHIR APIs for patient and population access.
  • India. The Ministry of Health and Family Welfare notified EHR Standards for India in 2013 and revised them in December 2016. ABDM's FHIR profiles, published by NRCeS, now define how records are exchanged.

Common mistakes when building one

  • Storing clinical data as free text only, which blocks analytics and exchange.
  • Letting each integration write its own format instead of mapping to one internal model.
  • Logging patient details, which turns logs into PHI stores.

We build EHR, EMR and integration software for MedTech teams. See what healthcare software costs to build for scope and planning.

Any idea in mind? Let's make it real.

Tell us what you're building. You'll hear back from an engineer, not a sales team, usually within one working day.

Book a 30-min call