description: Defines the UK Core constraints and extensions on the Location resource for the minimal set of data to query and retrieve location information. package_name: uk.nhsdigital.bars.r4 derivation: constraint name: BARSLocationIncidentLocation type: Location elements: identifier: index: 0 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: odsSiteCode: match: {system: 'https://fhir.nhs.uk/Id/ods-site-code'} schema: short: ODS Site code to identify the organisation at site level index: 1 elements: system: short: ODS Code pattern: {type: uri, value: 'https://fhir.nhs.uk/Id/ods-site-code'} type: uri index: 2 value: {index: 3} assigner: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization'] index: 4 required: [system, value] type: index: 5 elements: coding: elements: system: pattern: {type: uri, value: 'https://fhir.nhs.uk/CodeSystem/location-types-bars'} type: uri index: 6 code: pattern: {type: code, value: ILOC} type: code index: 7 required: [code, system] managingOrganization: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization'] index: 8 elements: identifier: elements: assigner: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization'] index: 9 partOf: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location'] index: 10 elements: identifier: elements: assigner: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization'] index: 11 endpoint: elements: identifier: elements: assigner: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization'] index: 12 package_version: 1.36.0 class: profile kind: resource url: https://fhir.hl7.org.uk/StructureDefinition/BARSLocation-incident-location base: http://hl7.org/fhir/StructureDefinition/Location version: 1.0.0 required: [type]