Hi, we have a profile where the Observation.effectiveDateTime has a dataAbsentReason extension.
I’m trying to create an example with data for that reason but I’m not 100% sure of the syntax. I think something like this should be valid:
"effectiveDateTime": {
"extension": {
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
"valueCode": "unknown"
}
},
But when I validate on Observation (r4) FHIR Resource - 1upHealth Developer Documentation and FHIR APIs
I get:
The FHIR resource is not valid ValidationError: child “effectiveDateTime” fails because [“effectiveDateTime” must be a string]
How can I put the dataAbsentReason in the effectiveDateTime?
Thanks.