Skip to content

Dataset

MEDITECH hospital EHR record datasets for AI training

A MEDITECH dataset is a de-identified extract of a hospital's MEDITECH module records: registrations and accounts from REG, orders from OM, nursing documentation from PCS, physician notes from PDoc, laboratory, pharmacy and imaging results, abstracted codes and B/AR billing accounts, usually drawn from the Data Repository. SourceX sources it to a buyer's spec from established hospitals that run MEDITECH Expanse or an earlier platform. Each dataset is de-identified before delivery and licensed for an agreed permitted use. Buyers should confirm the de-identification method and jurisdiction with counsel.

Dataset manifest

Sourced to your spec
What it is
Hospital module records joined per account: registration, orders, nursing and physician documentation, lab, pharmacy, imaging, abstracting and billing
Typical systems
MEDITECH Expanse, 6.x, Client/Server or MAGIC with REG, OM, PCS, PDoc, LAB, PHA, ITS, ABS, B/AR and EDM or their earlier-platform equivalents, read through the Data Repository
Typical history
Bounded by the hospital's go-live, platform conversions and when each Data Repository table was loaded; specify years, accounts and settings
Modality
Structured module tables with mnemonics, query and response pairs, and report and note text
Delivery formats
One CSV or Parquet file per Data Repository table with its dictionaries, or JSONL per account with nested module records
Preparation
Account, unit number, provider and user identifiers tokenized; dates shifted per patient; free-text responses, reports and notes de-identified
Licensing
Scoped per hospital, module set, platform and date range; permitted use agreed per license
Availability
Sourced to your spec; depends on the hospital's platform and what its Data Repository holds, and supply is not guaranteed
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
platformobjectPlatform (MAGIC, Client/Server, 6.x or Expanse), release, extract route and a token for the Data Repository SourceID.
visit_idstringToken for VisitID, the key Data Repository tables share for one account across modules.
account_numberstringToken for the account number Registration (REG) assigns to a registration.
unit_numberstringToken for the unit number, the medical record number that links a patient's accounts.
registrationobjectREG record: registration type, status, location, service and shifted admit and discharge times.
emergencyobjectEmergency Department Management (EDM) record: arrival, triage, stated complaint and disposition.
om_ordersarrayOrder Management (OM) orders with category, procedure mnemonic, status, ordering provider token and times.
nursing_documentationarrayPatient Care System (PCS) rows: intervention, query mnemonic, response, documenting role and time.
physician_documentsarrayPhysician Documentation (PDoc) documents with type, sign status and de-identified text where exported.
lab_resultsarrayLaboratory (LAB) specimens and tests with result, units, abnormal flag and reference range.
pharmacyarrayPharmacy (PHA) prescriptions with drug mnemonic, dose, route, frequency and recorded administrations.
imagingarrayImaging and Therapeutic Services (ITS) exams with report status and report text.
abstractobjectAbstracting (ABS) record: sequenced diagnosis and procedure codes, DRG and discharge disposition.
billingobjectBilling and Accounts Receivable (B/AR) account: financial class, charge transactions and balance.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "platform": {
    "name": "Expanse",
    "release": "[RELEASE]",
    "route": "Data Repository",
    "source_id": "src_A"
  },
  "visit_id": "vis_91f3c07a",
  "account_number": "acct_5520318",
  "unit_number": "mrn_08c4d1",
  "registration": {
    "type": "IN",
    "status": "DIS IN",
    "location": "3W",
    "service": "MED",
    "admit_day": 0,
    "discharge_day": 4
  },
  "emergency": {
    "arrival_day": 0,
    "triage_priority": "3",
    "stated_complaint": "cough and fever",
    "disposition": "ADMIT"
  },
  "om_orders": [
    {
      "order_key": "ord_771204",
      "category": "LAB",
      "procedure": "CBCD",
      "status": "COMP",
      "provider": "prov_211",
      "ordered": "day 0 14:52"
    }
  ],
  "nursing_documentation": [
    {
      "intervention": "VS",
      "query": "VS.TEMP",
      "response": "101.2",
      "role": "RN",
      "documented": "day 0 15:10"
    },
    {
      "intervention": "PAIN",
      "query": "PAIN.SCALE",
      "response": "6",
      "role": "RN",
      "documented": "day 0 15:12"
    }
  ],
  "physician_documents": [
    {
      "document": "History and Physical",
      "status": "Signed",
      "text": "Admitted with three days of productive cough [...]"
    }
  ],
  "lab_results": [
    {
      "specimen": "spec_3310",
      "test": "WBC",
      "result": "14.8",
      "units": "K/uL",
      "flag": "H",
      "reference_range": "4.5-11.0"
    }
  ],
  "pharmacy": [
    {
      "rx": "rx_60412",
      "drug": "CEFTRIAX1",
      "dose": "1 GM",
      "route": "IV",
      "frequency": "Q24H",
      "administrations": [
        {
          "when": "day 0 16:05",
          "status": "Given"
        }
      ]
    }
  ],
  "imaging": [
    {
      "exam": "CHEST2",
      "report_status": "Signed",
      "impression": "Right lower lobe infiltrate."
    }
  ],
  "abstract": {
    "diagnoses": [
      {
        "seq": 1,
        "code": "J18.9",
        "present_on_admission": "Y"
      }
    ],
    "drg": "[DRG]",
    "disposition": "HOME"
  },
  "billing": {
    "financial_class": "MCR",
    "charges": [
      {
        "procedure": "chg_30121",
        "service_day": 0,
        "amount": 182.0
      }
    ],
    "balance": 0.0
  }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Model a hospital stay in order

Orders, results, administrations and nursing rows on one account give inpatient sequences from community hospitals.

Code a stay from its record

Clinical records paired with the codes and DRG in Abstracting are worked examples for coding and documentation review.

Read nursing documentation

Query and response rows with their dictionaries train models on structured bedside charting.

Follow a charge to its source

B/AR charge transactions joined to the orders and departments behind them support charge capture review.

Test mapping across local builds

The same clinical fact under different mnemonics at different hospitals is an evaluation task for normalization.

Use-case guides: Healthcare administration AI, Private evaluation sets, Document AI, enterprise search and RAG

What makes this data valuable

Platform and release named

Every period of the extract states its MEDITECH platform, release and conversion dates.

Dictionaries delivered

MIS and module dictionaries arrive with the data, inactive entries included.

One key across modules

SourceID and VisitID tokens are consistent in every module's tables.

Counts reconciled

Registration, abstracting and billing counts agree month by month, with gaps explained.

Nursing rows readable

Each query mnemonic resolves to its text, type and group responses.

Account types flagged

Recurring accounts and emergency visits that became admissions are marked.

Process

MEDITECH dataset

This page covers MEDITECH hospital EHR records.Illustrative

A stay is rebuilt from module tables on the account number

MEDITECH is a set of module applications, and each writes its own records. Registration creates the account, Order Management holds the orders, Patient Care System holds nursing documentation, and Laboratory, Pharmacy, Imaging and Therapeutic Services, Abstracting and Billing and Accounts Receivable keep theirs. The Data Repository copies those records into Microsoft SQL Server tables named for the module that owns them, such as AdmVisits, OeOrders, LabSpecimens, PhaRx, AbstractData and BarVisits on the older platforms, and RegAcct_Main or OmOrd_Main on the newer one. There is no single encounter record to read. A stay is assembled by joining those tables on SourceID and VisitID, the internal key behind the account number staff see, while the unit number, the hospital's medical record number, ties one patient's accounts together.

The account is a billing container before it is a clinical one. A recurring account, registered for a series such as therapy or infusion, collects many dates of service under one account number. At many hospitals an emergency registration that ends in admission continues as the same account with an inpatient status, so the registration row shows how the account ended, not how it began. Registration types such as IN, ER, SDC, CLI, REF and RCR classify the account, and the hospital's own locations and services refine them.

Nearly every coded column holds a mnemonic, a short identifier defined in a dictionary. Providers, locations and insurances sit in shared MIS dictionaries, and each module adds its own for tests, drugs, procedures and charge codes. In the Data Repository, dictionary tables carry a D prefix, as in DMisProvider and DLabTest. Its tables mostly hold the current state of a record with a RowUpdateDateTime column, so ask whether corrected results and edited documentation arrive as earlier versions or only as the final row.

Platform, release and local dictionaries decide what the tables mean

The name MEDITECH covers several platforms. MAGIC and Client/Server are the older ones, reported on with the NPR report writer. The 6.x line and its successor, the web-based Expanse, run on a newer architecture with different record structures, and their Data Repository can span more than one database. Module names changed between platforms: Admissions became Registration, Order Entry became Order Management and Medical Records became Health Information Management, and table names changed with them. A hospital that changed platform may have converted only part of its history, so one extract can hold two shapes or begin at a go-live date.

Nursing documentation shows the local build most. In PCS a nurse documents an intervention by answering queries on screens the hospital built, and the Data Repository stores each answer as a query mnemonic with its response. Two hospitals record the same pain score under different mnemonics with different group responses, and each revises its screens over the years. Without the query and intervention dictionaries, inactive entries included, those rows cannot be interpreted. Physician Documentation raises a separate question: whether note text is in the extract or only each document's header and status.

The repository is a copy, and a copy can be incomplete. Not every application field is sent to it, and a table switched on late holds history only if an initial load was run. To test a sample, reconcile monthly discharge counts in the registration tables against the abstracting tables. Then take twenty accounts, assemble each across modules, and check that every mnemonic resolves in a delivered dictionary and that one date offset holds in every module's tables.

What to check before licensing

  • Ask which MEDITECH platform and release produced each period of the extract, with go-live and conversion dates and what history was converted.
  • Have the hospital and your counsel check its MEDITECH license terms on Data Repository use, API use and sharing exported data and table names.
  • Get the de-identification method in writing and confirm the method and jurisdiction with counsel, since these are patient health records.
  • Request the MIS and module dictionaries, including the nursing query and intervention dictionaries with inactive entries, and check that sample mnemonics resolve.
  • On a sample, join every module's rows to registration by SourceID and VisitID, and ask how recurring accounts and emergency visits that became admissions are represented.
  • Reconcile monthly registration, abstracting and billing counts, and ask when each Data Repository table was first loaded.
  • Search query responses, order and result comments and note text for names, dates and record numbers, and ask how behavioral health, substance use and newborn accounts were handled.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Is a MEDITECH extract taken from the Data Repository or the live applications?

Usually from the Data Repository, a Microsoft SQL Server copy of the module records that hospitals use for reporting. It is a copy: some application fields are not sent to it, and tables may have been loaded at different times. Report writer output, HL7 messages and standards-based APIs are other routes, each with a narrower view. Ask which route produced each table.

How is one hospital stay assembled from MEDITECH data?

By joining module tables on the account. Registration, orders, nursing documentation, lab, pharmacy, abstracting and billing each have their own tables, and in the Data Repository they share SourceID and VisitID for one account. The unit number links a patient's accounts over time. Check recurring accounts, which hold many dates of service, and emergency visits that became admissions under the same account.

Does it matter whether the hospital runs MAGIC, Client/Server or Expanse?

Yes. The platforms store records differently, name modules differently and produce different Data Repository tables, so a model or parser built on one does not read another unchanged. A hospital that moved to Expanse may hold older history in a second shape, or only in part. Ask for the platform and release of every period, and for the conversion dates.

Can MEDITECH nursing documentation be used without the hospital's dictionaries?

Not reliably. Nursing documentation is stored as answers to queries the hospital defined, identified by local mnemonics, and the meaning of a response depends on the query's text, type and group responses. Those live in the hospital's dictionaries and change over time. Ask for the query and intervention dictionaries with the data, and check on a sample that every mnemonic resolves.

Are physician notes delivered as text?

Only if you ask and the extract route carries them. Structured module records and document headers are the common content of a Data Repository extract, while the body of a Physician Documentation note, a dictated report or a scanned document may need a separate export. Narrative is also the hardest part to de-identify, so read a sample before you scope it.

Is SourceX affiliated with MEDITECH?

MEDITECH Expanse is named to identify the system the records come from. That does not imply a partnership with or endorsement by MEDITECH. The records belong to the business that runs MEDITECH Expanse, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies