Details
-
Technical Correction
-
Resolution: Persuasive
-
Medium
-
US Core (FHIR)
-
4.0.0
-
Cross-Group Projects
-
US Core Laboratory Result Observation Profile
-
10.100.1.3.2
-
-
Correction
Description
us-core-1 | Observation.effective[x] | Datetime must be at least to day. : Observation.effectiveDateTime.exists() implies Observation.effectiveDateTime.toString().length() >= 8 |
This invariant will never fail as Observation.effectiveDateTime is not FHIRPath and will always evaluate to false, thus the implies will make the entire expression true no matter what the resource has for values.
from my testing, an invariant on Observation.effective[x] of "$this is DateTime implies $this.toString().length() >= 8" will actually function as intended.