-
Type:
Change Request
-
Resolution: Unresolved
-
Priority:
Medium
-
FHIR Core (FHIR)
-
STU3
-
FHIR Infrastructure
-
(NA)
-
Enhancement
The example https://www.hl7.org/fhir/observation-example-bloodpressure.xml does not validate with the current validator against the profile http://hl7.org/fhir/StructureDefinition/bp.
The following error messages are generated:
"ERROR: Observation.component[1]: Error in discriminator at Observation.component:SystolicBP.code.coding: slicing found", "ERROR: Observation.component[2]: Error in discriminator at Observation.component:SystolicBP.code.coding: slicing found", "ERROR: Observation.component[1]: Error in discriminator at Observation.component:DiastolicBP.code.coding: slicing found", "ERROR: Observation.component[2]: Error in discriminator at Observation.component:DiastolicBP.code.coding: slicing found"
This error has been discussed on Zulip where it was mentioned that it could be related to GF#20339, however the above error happens also with R4 and the current build of validator (3.7.31-SNAPSHOT).
I will add a pull request for the ValidationTestSuite to illustrate the problem (see alos samples attached).
One possibe fix it is to simplify the slicing and use patternCodeableConcept for the components.code in the slicing for the Blood Pressure profile as illustrated in observation-bp-profile.xml, but that would need an update to http://hl7.org/fhir/StructureDefinition/bp.