Skip to content

Hospital admissions

Admitted Patient Care (APC) is the national data set for hospital admissions. Admitted Patient Care Spells (APCS) is part of Hospital Episode Statistics (HES) and is provided to OpenSAFELY via NHS Digital's Secondary Use Service (SUS).

Metadata🔗

  • Data provider NHS England.
  • Participation / Coverage In-hospital patient admissions in NHS Trusts in England.
  • Update frequency in OpenSAFELY Approximately monthly.
  • Delay between event occurring and event appearing in OpenSAFELY Approximately 1-2 months.
  • Collected information Admission and discharge dates; routes of admission; reason for admission; diagnoses; treatments; discharge destination.

Basic Background🔗

Each row is a in-hospital spell. In-hospital episodes cannot be queried.

  • An episode is a period of continuous care under a single responsible consultant.
  • A spell is a period of continuous care within a single trust.

Essentially, a spell is a collection of episodes (often just one episode) denoting the entirety of a patient's stay in hospital from admission to discharge or death. An episode denotes time within a spell spent under the responsibility of a single consultant. So for example if within your hospital stay you are transferred from a medical to surgical ward, or transferred to another site (within the same trust), there will be at least two episodes within your spell.

The dataset does not include any patients who have not been discharged (i.e., patients who have an incomplete spell) at the data extraction date. In other words, the data will be missing admissions of the patients with the longest stay for the most recent admissions.

* Notes on transfers:🔗

  • Sometimes it is desirable to exclude patients admitted via transfer from another provider, e.g. if we are looking for readmissions we probably want to exclude them because it was not the original admission date of the readmission.
  • The post-transfer spell may have additional diagnoses or procedures of interest so it is often useful to include them.
  • Transfers may occasionally come from private hospitals where a patient's condition worsened to require e.g. intensive care; if the initial spell was not NHS funded we would probably not have the original spell in our data.

Reference tables🔗

Admission method reference table🔗

CodesAdmission method
11, 12, 13Elective (planned/booked/waiting list)
21Emergency Admission: from A&E
2AEmergency Admission: from A&E of another provider
22, 23, 24, 25, 2DEmergency Admission: other sources (e.g. GP, MH crisis team)
28Emergency Admission: Other - NB can include transfers and births
2BTransfer (emergency)
81Transfer (non-emergency)
2C, 82, 83Birth of baby (in hospital or e.g. at home)
31, 32Maternity Admission: Mother admitted ante or post partum

Source of admission reference table🔗

codeSource of admission
19Usual place of residence or no fixed abode (but should exclude care homes)
29Temporary place of residence (e.g. hotel, school)
54, 65, 85, 88Care Home / hospice
51NHS other Hospital Provider - ordinary (physical care) ward or A&E
49, 52, 53NHS other Hospital Provider - psychiatric accommodation, maternity ward/neonates or MH/LD ward
39, 40, 41, 42, 66Other (Penal establishment, Court, or Police Station / Police Custody Suite, foster care)
79Babies born in or on the way to hospital
87Non NHS run hospital
98, 99Default/unknown

Patient classification reference table🔗

codepatient classification
1Ordinary admission (all emergency admissions and elective admissions expected to last at least one night)
2Day case admission (patient admitted electively, not expected to stay overnight and who returns home on the same day as scheduled. If discharge does not occur same day as planned, this should be counted as an ordinary admission)
3, 4Regular day or night admission (part of a planned series of regular admissions for an on-going regime of broadly similar treatment. If the admission lasts 24 hours or more, such an admission should be classified as an ordinary admission)
5Mother and baby using delivery facilities only

Discharge destination reference table🔗

CodeDescription
19Usual place of residence unless listed below. It includes 'no fixed abode' but excludes care homes.
29Temporary place of residence (includes hotel, residential Educational Establishment)
51, 52Transfer: NHS other Hospital Provider - general ward or maternity/ neonates
30, 49, 50, 53Transfer (other NHS):, mentally ill / Learning Disabilities, psychiatric units
48, 84, 87Transfer: Non-NHS run hospital or medium secure unit, Scotland high-secure unit
37, 38, 66Other: Court, Penal establishment, police station, foster care
54, 65, 85, 88Hospice / Care Home
79Not applicable - PATIENT died or stillbirth

Reference🔗

Link to lookup table

More information🔗

close