Skip to content
Return to search

Scotland Accident and Emergency

Description

There are two types of data submitted to the A&E DataMart: episode and aggregate level data. All hospitals with Emergency Departments submit episode level data containing a detailed record for each patient attendance.

Related tags

Technical information

A JSON file is available with further technical information. This can include details of variables and data classes contained in the dataset.

Preview of JSON file

[{"id": "", "description": "Note: In aggregate files ONLY new and unplanned return attendances should be counted in the attendance figures (planned returns and recalls should be excluded).", "name": "Aggregate File", "dataElementsCount": 3, "dataElements": [{"id": "", "description": "The hospital location code", "name": "Location code", "type": "PrimitiveType"}, {"id": "", "description": "The number of A&E attendances", "name": "Number of Attendances", "type": "PrimitiveType"}, {"id": "", "description": "The number of A&E attendances seen within 4 hours", "name": "Number Meeting Target", "type": "PrimitiveType"}]}, {"id": "", "description": "A full list of the codes and definitions for each of the episode level data items is given in the document A&E Data Recording Manual. The Data Recording manual and the AE2 User guide can be both found on the ISD web pages: \n \nhttp://www.isdscotland.org/Products-and-Services/Data-Support-and-Monitoring/Accidentand-Emergency/", "name": "Episode File", "dataElementsCount": 56, "dataElements": [{"id": "", "description": "Optional", "name": "Place of Incident", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Diagnosis2", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Significant Facility", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Time Since Injury", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Patient Management Type", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Healthcare Professional (HCP) Number", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Procedure3", "type": "PrimitiveType"}, {"id": "", "description": "Mandatory", "name": "Case Reference Number", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Disease3", "type": "PrimitiveType"}, {"id": "", "description": "Mandatory", "name": "Date and Time of Discharge, Admission or Transfer", "type": "PrimitiveType"}, {"id": "", "description": "Mandatory", "name": "Patient Postcode", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Procedure2", "type": "PrimitiveType"}, {"id": "", "description": "Mandatory \n(at least 1 of these 3) (Diagnosis1 / Disease1  / Diagnosis1 Text )", "name": "Disease1", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Investigation Type1", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Alcohol Involved", "type": "PrimitiveType"}, {"id": "", "description": "Type", "name": "Data Item", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Discharge Type", "type": "PrimitiveType"}, {"id": "", "description": "Mandatory", "name": "Arrival Date and Time", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Objects/Substances Involved  in Producing Injury", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Referred To 2", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Intent of Injury", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Patient Year of Birth", "type": "PrimitiveType"}, {"id": "", "description": "Mandatory \n(at least 1 of these 3) (Diagnosis1 / Disease1  / Diagnosis1 Text )", "name": "Diagnosis1", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Procedure1", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Nature of Injury", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Referred To 3", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Impairment", "type": "PrimitiveType"}, {"id": "", "description": "Mandatory \n(at least 1 of these 3) (Diagnosis1 / Disease1  / Diagnosis1 Text )", "name": "Diagnosis1 Text", "type": "PrimitiveType"}, {"id": "", "description": "Mandatory", "name": "CHI Number", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Ethnicity", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Activity when Injured", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Investigation Type3", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Disease2", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Investigation Type2", "type": "PrimitiveType"}, {"id": "", "description": "Mandatory", "name": "Arrival Mode", "type": "PrimitiveType"}, {"id": "", "description": "Mandatory", "name": "Attendance Category", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Date and Time of Event", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Triage Category", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Diagnosis3", "type": "PrimitiveType"}, {"id": "", "description": "Mandatory", "name": "Reason for Wait", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Alleged Perpetrator of Violence", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Diagnosis3 Text", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Sexual Orientation", "type": "PrimitiveType"}, {"id": "", "description": "Mandatory", "name": "Location Code", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Referred To 1", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Date and Time of First Full Clinical Assessment", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Common Preventive Measures", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "External Cause of Injury", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Presenting Complaint", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Religion", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Bodily Location of Injury", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Date and Time of Completion of Treatment", "type": "PrimitiveType"}, {"id": "", "description": "Mandatory", "name": "Patient Flow", "type": "PrimitiveType"}, {"id": "", "description": "Mandatory", "name": "Discharge Destination", "type": "PrimitiveType"}, {"id": "", "description": "Mandatory", "name": "Referral Source", "type": "PrimitiveType"}, {"id": "", "description": "Optional", "name": "Diagnosis2 Text", "type": "PrimitiveType"}]}, {"id": "", "description": "The header record is the first line of a file and consists of several items that are used to identify the file, allowing the file to be validated before it is loaded into the data mart.  The header record must be present in all files, both episode and aggregate level, with each item separated by a comma.  The header record must contain ALL of the following items;", "name": "Header Record", "dataElementsCount": 6, "dataElements": [{"id": "", "description": "There are two options; AEE for episode files AES for aggregate files.", "name": "Extract Type", "type": "PrimitiveType"}, {"id": "", "description": "The year and month the data relates to in the format CCYYMM (e.g. 201802 for data from February 2018).", "name": "Extract Month", "type": "PrimitiveType"}, {"id": "", "description": "A number identifying the sequence of submission from a single location.  The submission number must be incremented each time a new file is submitted, even when a file is resubmitted.", "name": "Submission", "type": "PrimitiveType"}, {"id": "", "description": "The location code identifying the location where the data was sent from (e.g. G107H for the Glasgow Royal Infirmary).", "name": "Sending Location Code", "type": "PrimitiveType"}, {"id": "", "description": "The date the extract was taken in the format CCYYMMDD (e.g. 20180301 for the 1st March 2018).", "name": "Date of Extract", "type": "PrimitiveType"}, {"id": "", "description": "The number of records in the file.", "name": "Record Count", "type": "PrimitiveType"}]}]
Download

Copied to clipboard

Additional information

  • Documentation
    Documentation
  • Language
    English
  • Geographic Area
    Scotland

Related resources

Available resource files can be downloaded below.

File name

Scotland Accident and Emergency - variables

Type

PDF

Requesting access to this data

This is a secure dataset that can only be accessed by researchers from approved organisations.

  • Publisher
    Public Health Scotland
  • Contact
    phs.edris@phs.scot
  • Privacy tags
    ---

Find out how to apply to access this dataset

Key Details

  • Activity that generated the dataset
    No information available
  • Conforms to
    No information available
  • Creator
    malcolmi
  • Documentation
    Accident and Emergency Statistics. The A&E datamart was established in June 2007 to monitor the compliance of each NHS Board against the 4 hour wait standard. In July 2010 the A&E data mart was extended further to collect items such as diagnosis, several injury fields and an alcohol involved flag, which will be used to identify whether the patient’s alcohol consumption was a factor in the attendance. The collection of the new fields has been driven by a variety of SG policy decisions and interest from a number of organisations. Although there is now the facility to submit these additional fields, they are still under development and ISD are working with the NHS Boards to support data collection and quality. There are two types of data submitted to the A&E datamart: episode and aggregate level data. All hospitals with Emergency Departments submit episode level data containing a detailed record for each patient attendance. Some smaller sites with minor injury units or community hospitals only submit aggregate files containing monthly summary attendance and compliance figures only. This is because they do not have the information systems and support to enable collection of detailed patient based information. Sites that submit episode level data account for around 94% of all attendances at A&E.
  • End time period of data covered by this dataset
    No information available
  • Formal release or publication date
    2021-09-27
  • Geographic Area
  • Landing page
  • Language
    English
  • Provenance
    No information available
  • Start time period of data covered by this dataset
    2014-01-04
  • The dataset type
    dataset
  • Theme/category
    No information available
  • Update frequency
    monthly

Versions and updates

  • A description of the differences between this version and a previous version of the dataset
    No information available
  • The most recent data on which the dataset was changed or modified
    No information available
  • Version
    No information available

Further details

  • A related dataset from which this dataset is derived
    No information available
  • Other identifiers
    No information available
  • Qualified attribution
    No information available
  • Qualified relation
    No information available
  • Sample distribution of the dataset
    No information available
  • The minimum spacial separation resolvable in the dataset, measured in meters
    No information available
  • The minimum time period resolvable in the dataset
    No information available