Skip to main content

Validity overlaps with self

This rule is used to ensure that there is no overlap in validity periods between differenct objects with the same identifying fields, except when they are other versions of the same object.

There are times when the same identifiers (or set of identifiers) are used more than once for different objects (i.e. ‘old’ identifiers are sometimes reused on new objects). This rule ensures that when this occurs, there can be no overlap between the validity period, i.e. the validity period of the object that previously used that identifier must come to an end before the validity period of an object that uses the same identifier begins.

In cases where records with the same identifier are different versions of the same object, rather than different objects, such overlap is allowed.

Examples

Let us look at additional codes. Additional code 950 has six entries in the data, four under code type 106, and one under each code type 9 and 63. In the case of additional codes the full set of identifiers that need to be considered are code and code type (i.e. the same codes can be used under different code types regardless), as such the codes under code types 9 and 63 are considered as having different identifiers for the implementation of this rule (the full set of identifiers will be detailed in the specific validity rule).

The addional code 950 entries under code type 106 are considered to have the same identifiers. From the data we can see that one of these is an updated version of an existing record, and so does not need to be considrered under this rule. For the remaining three, let us look at their validity periods, they are: 2009-04-09 to 2009-10-06, 2009-10-07 to 2009-12-18, and 2009-12-19 to 2020-12-09. We can see that all three of these periods are mutually exclusive, and as such the rule is obeyed. If that were not the case, e.g. if the first period ended on 2009-10-07 and the second started on 2009-10-06, the rule would be violated as there would be an overlap in the validity.