Organisation Data Service : Health and Justice Organisation

Data Description

Justice Organisations and Prisons in England and Wales.

ODS were asked to code Health and Justice healthcare sites in line with the Section 15, 3B subsection 1 Health and Social Care Act 2012. We produce a standard set of unique identification codes for Justice entities including Prisons, Police Stations, Constabularies, Courts, Young Offender Institutions, Secure Training Centres, Secure Children’s Homes, Immigration Removal Centres and Sexual Assault Referral Centres in England and Wales. 

How Data is Maintained

ODS obtain Justice Organisation information from published Ministry of Justice and gov.uk data sources. ODS uses these authoritative data sources to check the validity of requests for new health and justice organisation codes. If an entity is not present within these publications, ODS contact the Ministry of Justice directly to check its validity before coding the new entity. Prison data is obtained from/validated by the Prison Health team within the Department of Health and Social Care.

Data Quality Assessment

For further information re the: ODS Data Quality Assessment Framework



Data Quality Dimension
Last updated:

 

12345ODS mastered or 3rd party data6789

OVERALLFrequency of UpdateData Collection MethodFit for PurposeCoverage / CompletenessReliability / AccuracyData Agreement3rd Party Escalation RoutesSystem Application / Downstream System FeedbackFuture Refinement / Improvement Plan
Health and Justice OrgsGREENGreenGreenGreenGreenAmberODSn/an/aGreenGreen

Ad HocODS mastered, periodic review against gov.uk webpages and customer logs via helpdesk requesting amendments

All health and justice orgs coded following an ISN

Good - all health and justice orgs coded, ODS refer to gov.uk listings to verify data

Some orgs require closure - review cycle in place from Oct 2024 - accuracy will improve by end 2024.


n/an/aNo known issuesImplemented project to review codes that require closure on an annual basis.

Key Information - Roles, Code Formats and Data Source

Key Information
Geographic coverage
  • England
  • Wales

Primary Role ID







RO236Primary Role Name







SEXUAL ASSAULT REFERRAL CENTRE
RO235COURT
RO234POLICE CUSTODY SUITE
RO233CONSTABULARY
RO231SECURE CHILDREN'S HOME
RO230SECURE TRAINING CENTRE
RO228YOUNG OFFENDER INSTITUTION
RO175PRISON
Non Primary Role ID



RO229Non Primary Role Name



NON RESIDENTIAL INSTITUTIONLinked to RO234 and RO235 only
RO83 RESIDENTIAL INSTITUTIONLinked to RO230, RO231 and RO228 only
RO220 SECURE TRAINING CENTRELinked to RO175 only
RO69 IMMIGRATION REMOVAL CENTRELinked to RO175 only
Code Format

Character PositionsComments
12345
Current FormatA-Z0-9A-Z0-9A-ZIssued after 1 October 2020
Legacy FormatV,W A-YA-Y,0-9

Issued between 1 October 2014 - 31 September 2020
PrisonY D A-Y,0-9A-Y,0-9

 

Raw Data Source

Ministry of Justice

Update FrequencyAd-hocFor Justice Organisations
Prison Health team within the Department of HealthAd-hocFor Prisons

Permitted Relationships

Permitted Relationships - Justice organisations can be linked to (upward):

Source Primary Role ID

Relationship Type IDRelationship Type NameTarget Primary Role IDTarget Primary Role Name
RO175

RE4IS COMMISSIONED BYRO107CARE TRUST
RE4IS COMMISSIONED BYRO142LOCAL HEALTH BOARD
RE4IS COMMISSIONED BYRO144WELSH LOCAL HEALTH BOARD
RE4IS COMMISSIONED BYRO179PRIMARY CARE TRUST
RE4IS COMMISSIONED BYRO98CLINICAL COMMISSIONING GROUP
RO228RE4IS COMMISSIONED BYRO142LOCAL HEALTH BOARD
RE4IS COMMISSIONED BYRO98CLINICAL COMMISSIONING GROUP
RO230RE4IS COMMISSIONED BYRO142LOCAL HEALTH BOARD
RE4IS COMMISSIONED BYRO98CLINICAL COMMISSIONING GROUP
RO231RE4IS COMMISSIONED BYRO142LOCAL HEALTH BOARD
RE4IS COMMISSIONED BYRO98CLINICAL COMMISSIONING GROUP
RO233RE4IS COMMISSIONED BYRO142LOCAL HEALTH BOARD
RE4IS COMMISSIONED BYRO98CLINICAL COMMISSIONING GROUP
RO234RE6IS OPERATED BYRO233CONSTABULARY
RO235RE4IS COMMISSIONED BYRO142LOCAL HEALTH BOARD
RE4IS COMMISSIONED BYRO98CLINICAL COMMISSIONING GROUP
RO236RE4IS COMMISSIONED BYRO142LOCAL HEALTH BOARD
RE4IS COMMISSIONED BYRO98CLINICAL COMMISSIONING GROUP

Legacy .csv File Mapping

Click here for an explanation of the baseline data differences between legacy csv files and ODS Data Search and Export and the ODS APIs.

ejustice.csv

Primary Role ID = RO228, RO230, RO231, RO232, RO233, RO234, RO235, RO236 and RO175

Col

Data Item

Report Alias (legacy csv)

Notes

1

[OrganisationCode]

Organisation Code


2

[OrgName]

Justice Estate Name


3

[NHSER_code]

National Grouping

Change from Legacy csv: Geographic extension of the postcode. No longer using default codes for Wales (W00), now null. Note that the column heading previously specified in the ODS Standards Repository referred to this field as National Grouping Code - this has now been amended for consistency across reports.

4

[ICB_code]

High Level Health Geography

Change from Legacy csv: Geographic extension of the postcode. No longer using default codes for Wales (Q99), now null. Note that the column heading previously specified in the ODS Standards Repository referred to this field as High Level Health Geography Code - this has now been amended for consistency across reports.

5

[Address1]

Address Line 1


6

[Address2] 

Address Line 2


7

[Address3] 

Address Line 3


8

[Town]

Address Line 4


9

[County] 

Address Line 5

Change from legacy csv: As this is a legacy field, not populated for new addresses since 2018, this field within the ODS Data Search & Export tool (including pre defined reports) will not be populated.

Note that the value (where populated) is available via the FHIR Organization Resource in the address.district property.

10

[Postcode] 

Postcode


11

[LegalStartDate] 

Open Date


12

[LegalEndDate] 

Close Date


13

 NULL

Column 13


14

 RoleID

Residency Indicator

Change from legacy csv: Previously populated with a 2 character indicator of 'RI' (Residential Institution) or 'RJ' (Non-Residential Institution). Now only populated where there is a corresponding non primary role (PrimaryRole = 0) that is active or has a legal end date equal to the organisation’s end date.

15

 [TargetOrgCode]

Parent Organisation Code

Target organisation code for the RE6 'is operated by' relationship – Where LegalEndDate is null, or where the relationship LegalEndDate is equal to the organisation LegalEndDate. Only applies to RO234 ‘Police Custody Suite’

16

 NULL

Column 16


17

 NULL

Column 17


18

 NULL

Column 18


19

 NULL

Column 19


20

 NULL

Column 20


21

 NULL

Column 21


22

‘1’

Amended Record Indicator

Set to 1 for Report

23

 NULL

Column 23


24

 NULL

Column 24


25

 NULL

Column 25


26

RoleID

Primary Role

Change from legacy csv: Previously populated with a 2 character indicator of PN (Prison), JA (Young Offender Institution), JB (Secure Training Centre), JC (Secure Children's Home), JD (Immigration Removal Centre), JE (Constabulary), JF (Police Custody Suite), JG (Courts), JH (Sexual Assault Referral Centre). Now populated with the corresponding primary role ID (where PrimaryRole = 1) as per the Key Information table above.

27

 NULL

Column 27