Setting the Status in ODS
Status has been adopted on the following components in ODS data to allow consumers to filter content if required:
- Organisation
- Roles
- Relationships
Including Status allows consuming systems to bypass/ignore records or components that are inactive.
The rule applied is that where Status is included the component remains Active until all Date elements of any Type (legal or operational) associated with that component also have their End elements populated with an End Date.
Note that operational start dates cannot be in the future, but legal start dates can.
The table below illustrates Status:
Date Type | Start | End | Status | |
---|---|---|---|---|
Open Operationally and Legally | Operational | Present | Null or Present and the date is in the future | Active |
Legal | Null or Present and in the past | Null or Present and the date is in the future | ||
Open Operationally and future Legal start | Operational | Present | Null or Present and the date is in the future | Active |
Legal | Present and the date is in the future | Null or Present and the date is in the future | ||
Closed Operationally | Operational | Present | Present and in the past | Inactive |
Closed Legally and Operationally Open | Legal | Present | Present | Active |
Operational | Present | Null or Present and the date is in the future | ||
Closed Legally and Operationally Closed | Legal | Present | Present | Inactive |
Operational | Present | Present and in the past |
Status on Relationships with Legal Dates only
Instances do exist where relationships have legal start and end dates without a corresponding set of operational dates. These exist due to legacy conditions when operational changes to support major NHS reconfiguration were managed outside of ODS internal systems (directly on Spine). In these cases only the legal dates will be published for a given relationship. Component Status for this scenario is illustrated below.
Date Type | Start | End | Status | |
---|---|---|---|---|
Legally Open | Legal | Present | Null or Present and the date is in the future | Active |
Legally Closed | Legal | Present | Present and in the past | Inactive |