description: 'A Spire hospital as a legal and administrative entity. Loaded from the same RDS LocationHospital row as the SpireCore Hospital Location: the Location is where care happens, the Organization is who provides it, following the ODS pattern of organisation codes and site codes. Identifiers: HospitalCode (up to 4 characters, the SAP-HMS business key) is mandatory; the UK Core ODS organisation code slice and partOf are inherited unchanged and are not populated from the RDS. Naming: name carries the public name, alias carries the internal name. Lifecycle: active is derived from the RDS StartDate and EndDate, which are also carried verbatim in the validity period extension.' package_name: spire-healthcare.prod derivation: constraint name: SpireCoreOrganization type: Organization elements: extension: type: Extension short: RDS StartDate / EndDate mustSupport: true url: https://www.spirehealthcare.com/fhir/StructureDefinition/Extension-SpireCore-ValidityPeriod index: 0 slicing: slices: validityPeriod: match: {} schema: type: Extension short: RDS StartDate / EndDate mustSupport: true url: https://www.spirehealthcare.com/fhir/StructureDefinition/Extension-SpireCore-ValidityPeriod index: 0 elements: value[x]: elements: start: {index: 1} end: {index: 2} identifier: index: 3 slicing: slices: spireHospitalCode: match: {} schema: short: RDS HospitalCode (varchar 4); SAP-HMS business key constraint: spire-hosp-code: {human: HospitalCode is stored as varchar(4) in the RDS. The identifier value must be 1 to 4 characters., source: 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Organization', severity: error, expression: 'value.matches(''^.{1,4}$'')'} mustSupport: true _required: true index: 4 elements: system: pattern: {type: Uri, value: 'https://www.spirehealthcare.com/fhir/Id/hospital-code'} index: 5 value: {index: 6} required: [value, system] active: {short: Derived by the RDS load from StartDate and EndDate, index: 7} name: {short: Public (patient-facing) name, index: 8} alias: {short: Internal name (as used in SAP-HMS and operational systems), mustSupport: true, index: 9} package_version: 1.3.0-beta extensions: validityPeriod: url: https://www.spirehealthcare.com/fhir/StructureDefinition/Extension-SpireCore-ValidityPeriod type: Extension short: RDS StartDate / EndDate mustSupport: true index: 0 elements: value[x]: elements: start: {index: 1} end: {index: 2} class: profile kind: resource url: https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Organization base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization version: 0.1.0 required: [name, identifier, alias, active]