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 TypeStartEndStatus

Open Operationally

and Legally

OperationalPresentNull or Present and the date is in the future

Active

LegalNull or Present and in the pastNull or Present and the date is in the future

Open Operationally

and future Legal start

OperationalPresentNull or Present and the date is in the futureActive
LegalPresent and the date is in the futureNull or Present and the date is in the future
Closed OperationallyOperationalPresentPresent and in the pastInactive

Closed Legally and

Operationally Open

LegalPresentPresent


Active

OperationalPresentNull or Present and the date is in the future

Closed Legally and

Operationally Closed

LegalPresentPresent


Inactive

OperationalPresentPresent 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 TypeStartEndStatus
Legally OpenLegalPresentNull or Present and the date is in the futureActive
Legally ClosedLegalPresentPresent and in the pastInactive