description: 'The period during which a Spire hospital, site or organisation record is valid for use. This carries the RDS StartDate and EndDate columns, which have no home in FHIR R4 because neither Location nor Organization defines a period element. Dates in the RDS are stored at day precision (YYYYMMDD), so populate start and end as dates without a time component. The period is informational: the resource''s status (Location) or active flag (Organization) remains the authoritative lifecycle marker, and the RDS load derives it from these dates (active when StartDate is on or before today and EndDate is empty or on or after today). A future-dated start means the record exists but is not yet bookable, which the booking channel must respect.' package_name: spire-healthcare.prod derivation: constraint name: SpireCoreValidityPeriod type: Extension elements: extension: {index: 0} url: pattern: {type: Uri, value: 'https://www.spirehealthcare.com/fhir/StructureDefinition/Extension-SpireCore-ValidityPeriod'} index: 1 value: short: StartDate / EndDate from the RDS constraint: spire-vp-1: {human: 'A validity period must carry a start, an end, or both.', source: 'https://www.spirehealthcare.com/fhir/StructureDefinition/Extension-SpireCore-ValidityPeriod', severity: error, expression: start.exists() or end.exists()} mustSupport: true choices: [valuePeriod] index: 3 valuePeriod: type: Period short: StartDate / EndDate from the RDS constraint: spire-vp-1: {human: 'A validity period must carry a start, an end, or both.', source: 'https://www.spirehealthcare.com/fhir/StructureDefinition/Extension-SpireCore-ValidityPeriod', severity: error, expression: start.exists() or end.exists()} mustSupport: true choiceOf: value index: 4 value[x]: elements: start: {short: RDS StartDate (day precision), index: 5} end: {short: RDS EndDate (day precision); absent while the record is open-ended, index: 6} package_version: 1.3.0-beta extensions: {} class: extension kind: complex-type url: https://www.spirehealthcare.com/fhir/StructureDefinition/Extension-SpireCore-ValidityPeriod base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.1.0 required: [valuePeriod, value]