You are in: Rob's OSM Stuff » UK Healthcare

Mapping UK Healthcare Locations in OSM

Warning: This tool is still in development. Some things may not quite be working properly.

This tool compares the data for UK healthcare locations in OSM with official data from various health and care registrars and inspectorates. Such functions are devolved, so separate datasets exist for the different nations within the UK. OSM data should be updated roughly weekly. The last update was at 2026‑11‑29 21:05:15 Z. The other data sources are updated less frequenctly. Dates are given in the table below.

Mapping Progress and Data Comparison Reports

Mapping Progress
Comparison maps showing mapping progress by postal area.
OSM Tag Keys Report
List of all keys used on selected UK healthcare objects in OSM, ordered by number of occurrences.
OSM Nameless
Lists OSM UK Healthcare objects without a name=* tag.
OSM Amenity/Healthcare Mismatches
Lists OSM UK Healthcare objects with a mismatch between the amenity=* and healthcare=* tags.
OSM Ref Mismatches
Lists OSM objects with a healthcare ref tag that have not been matched to an entry on one of the official registers with that ref value.
Non-Standard Social Facility Values
Lists OSM objects with non-standard social_facility=* values.
Clinic Specialties
List of all OSM objects tagged as clinics by healthcare:speciality values.
Mapping History
Graphs showing the history of OSM UK healthcare mapping.

Data Mapping

The tool collects and compares data from OSM a different registers in a number of different categories. The mapping from the data sources to these categories is given in the tables below.

OSM data with certain tagging is downloaded using the Overpass API. Any OSM objects with tags mataching those in the "OSM Tags for Import" are imported into the tool. By default all imported objects are "Category 0", which are treated normalling by the tool. Certain tagging cominations (as listed in the table below) cause objects to gain higher category numbers. "Category 1" objects are matched as normal to the official lists, but are not flagged as errors if they are not matched. "Category 2" objects are only matched if they have a matching ref value, and are not flagged as errors or shown on the progress maps if they are not matched. Additional tag values can be added to the categories if needed.

OSM Tags Doctor Dentist Care Home Hospital / Clinic
Tags for Import amenity = doctors
healthcare = doctor
amenity = dentist
healthcare = dentist
amenity = nursing_home
amenity = social_facility
  + social_facility ∈ {
      care_home,
      group_home,
      hospice,
      nursing_home,
      residential_home
    }
healthcare = hospice
amenity = hospital
healthcare = hospital
amenity = clinic
healthcare = clinic
Tags for Category 1 social_facility ∈ {
  group_home,
  residential_home
}
healthcare:speciality ∈ {
  cosmetic,
  cosmetic_dermatology,
  cosmetic_skincare,
  dermatology,
  fertility,
  obstetric_ultrasonography,
  occupational,
  travel_clinic
}
Tags for Category 2 healthcare:speciality ∈ {
  acupuncture,
  aesthetics,
  alexander_technique,
  chiropractic,
  homeopathy,
  osteopathy,
  physiotherapy,
  podiatry,
  reflexology,
  reiki,
  sports_injury
}

The external datasets currently in use in the tool are as follows:

ID Source Dataset Licence Classification Field Values Mapped to each Class LU
Doctor Dentist Care Home Hospital / Clinic
1 Care Quality Commission (England) Care Directory with Filters OGL 3 Primary Inspection Category
  • GP Practices
  • Independent consulting doctors
  • Dentists
  • Hospice services
  • Residential social care
  • Acute hospital - Independent non-specialist
  • Acute hospital - Independent specialist
  • Acute hospital - NHS non-specialist
  • Acute hospital - NHS specialist
  • Mental health - community & residential - NHS
  • Mental health - community & hospital - independent
  • Community health - NHS & Independent
  • Independent consulting doctors
2m
2 Care Inspectorate Wales Service Directory OGL 3 Service Type — —
  • Care Home Service
— 17m
3 Healthcare Inspectorate Wales Service Index OGL 3 Type of Establishment
  • GP Surgeries
  • Dental Practices
  • Hospices
  • Hospitals
  • Clinics
17m
4 The Care Inspectorate (Scotland) Datastore OGL 3 CareService — —
  • Care Home Service
— 18m
5 Public Health Scotland GP Practice Contact Details and List Sizes OGL 3 N/A All Records — — — 20m
6 Public Health Scotland Dental Practices and Patient Registrations OGL 3 N/A — All Records — — 2y
7 Public Health Scotland Hospital Codes OGL 3 N/A — — — All Records 17m
8 Health and Social Care (Northern Ireland) Northern Ireland Practice List OGL 2 N/A All Records — — — 18m
9 Health and Social Care (Northern Ireland) List of Dental Surgeries OGL 2 N/A — All Records — — 17m
10 The Regulation and Quality Improvement Authority (Northern Ireland) All Services Register — Category —
  • Independent Hospital (IH) - Dental Treatment
  • Nursing (NH)
  • Residential (RC)
  • Independent Clinic (IC)
  • Independent Hospital (IH)
22m
11 National Health Service Branch Sergeries OGL 3 N/A All Records* — — — 18m

There are a few other "Primary Inspection Categories" in the CQC data, which are not currently imported. It still needs to be investigated, whether any more should be. A small number of care homes have multiple operators, and there is a listing for each one in the CQC data. The CQC provide a list of these duplicates, and I am filtering them out from the data as it is imported.

* Records are only imported from the NHS Branch Surgeries dataset if they have a matching main practice in the CQC data, and are not labelled as a COVID Vaccination Centre.

Reference Keys used by the tool

The following OSM reference keys are detected by the tool and will be used to match objects to the official data.

OSM Key Descripton
ref:GB:cqc_location CQC Location
ref:GB:ciw_service_urn CIW URN
ref:GB:ci_cs_number CI CS Number
ref:GB:phs_hospital_code PHS Hospital Code
ref:GB:hsc_practice_number HSC Practice Number
ref:GB:nhs_ods NHS ODS Code

OSM and Data Issues

False Positive "Unexpected OSM Objects" (red circles)

Affected Classes Cause Resolution
Hospitals in NI The data for Northern Ireland currently does not include public hospitals, so these OSM objects will not be matched. Either obtain the missing data or exclude these OSM objects from Northern Ireland.
Private Medical Facilities in Scotland The data for Scotland currently does not include private medical facilities (hospitals, clinics, dentists, doctors), so these OSM objects will not be matched. Either obtain the missing data or exclude these OSM objects from Scotland. FOI Request to Healthcare Improvement Scotland.
Hospital/Clinics Sometimes various departments within a larger hospital have been mapped as separate object. There are usually not individual listings for these departments in the official data, resulting in the OSM objects not being matched. Either add the ref:GB:* id of the hospital to these objects, or add a machine-readable tag so they can be filtered by the tool.
Hospital/Clinics The tagging amenity=clinic and/or healthcare=clinic is often used for health centre type buildings, that may not have their own listing in the CQC data. Some instances could legitmately be more appropriately tagged as healthcare=centre?
Doctors
Hospital/Clinics
Many occupational health / physiotherpy / podiatry / alternative services are tagged as clinics or doctors, but di not need to register as a healthcare provider. Ensure such objects are tagged with an appropriate healthcare:specialty=* value. (OSM objects in Category 1 and Category 2 will not be flagged as unmatched.)

False Positive "Missing OSM Objects" (blue circles)

Affected Classes Cause Resolution
Hospital/Clinics Sometimes specific services within a larger provider have their own listsing, and we would not normally map them separately. (e.g. a pathology department in a hospital, or a radiography service inside a nursing home. Possibly these could be mapped (if the location within the site is know) as separate amenity=clinic objects, which would then get picked up by the tool.
All Somtimes a single location appears twice in the CQC data, apparently in error. This seems to particualrly affect Dentists. e.g. https://www.cqc.org.uk/location/1-2288696783 and https://www.cqc.org.uk/location/1-2253400554 . From their website, the removal of old registrations is a know issue that CQC is working to resolve. So this may fix itself in time.

False Positive "Matched Objects" (green lines)

Affected Classs Cause Resolution
All Mismatch of a CQC listing to an incorrect nearby OSM object, by the location-based matching algorithm. Ensure the correct facility is mapped and tagged correctly in OSM, and then add the relevent CQC Location number using ref:GB:cqc_location=*. This will will cause the correct object to be matched in preference the next time the OSM data is refreshed.