addObservationPeriodIdQuery: Add the ordinal number of the observation period associated that a given date
is in. Result is not computed, only query is added.
Description
Add the ordinal number of the observation period associated that a given date
is in. Result is not computed, only query is added.