Closed david-simons closed 2 years ago
what types do those elements have?
Element[4] in the above snippet, is a Device.identifier.type
having a binding
, for example - if that's what you're asking?
Element[5] is a Device.identifier.value
, with a a maxLength
.
However, i also see the error on Observation.code
, Contract.status
, etc. for all Resource types listed in the Issue above.
<element id="Device.identifier:instrumentNumber.type">
<path value="Device.identifier.type" />
<patternCodeableConcept>
<coding>
<system value="https://www.fhir.philips.com/3.0/CodeSystem/common/dataType/identifier-v1/ExtendedIdentifierTypeCodeSystem" />
<code value="INO" />
</coding>
</patternCodeableConcept>
<binding>
<strength value="extensible" />
<valueSetReference>
<reference value="https://www.fhir.philips.com/3.0/ValueSet/common/core/deviceManagement-v1/operations/DeviceIdentifierTypesValueSet" />
</valueSetReference>
</binding>
</element>
<element id="Device.identifier:instrumentNumber.value">
<path value="Device.identifier.value" />
<maxLength value="100" />
</element>
Tested using a HL7Validator version older = 5.6.33
instead of latest = 5.6.56
- this is not giving these issues....
Fixed next time I commit and release
Thanks for your help! For completeness - between 5.6.33 and 5.6.57 (including fix for #908) - the following error+warnings still showing for us:
<element id="ImagingStudy.series.extension:dsSeriesAvailabilityStatus">
<path value="ImagingStudy.series.extension" />
<sliceName value="dsSeriesAvailabilityStatus" />
<definition value="Can be Available, Processing or Unavailable." />
<max value="1" />
<type>
<code value="Extension" />
<profile value="https://.../DsSeriesAvailabilityStatusExtension" />
</type>
<binding>
<strength value="required" />
<description value="DICOMStore ImagingStudy.dsSeriesAvailabilityStatus" />
<valueSetUri value="https://.../DsSeriesAvailabilityStatusValueSet" />
</binding>
</element>
</differential>
And I actually think the remaining error
is actually relevant here, I'll moved the code-binding down into the extension (along type=code - which indeed resolves that last error.
PS: The Binding http://hl7.org/fhir/ValueSet/ucum-vitals-common could not be expanded
is a separate issue popped up after 5.6.33
Oh. missed that. it is legal, though mainly for legacy reasons.
This commit last week introduced the following issues for us (fhirVersion 3.0.2, latest HL7 Validator 5.6.56) https://github.com/hapifhir/org.hl7.fhir.core/commit/2f6dfa62cabf9252be4275b9c22c4f461060dbff @grahamegrieve
I suspect a number of Resource types are missing, incl.
Observation
,Contract
,Endpoint
,Device
,Extension
,Extension
ImagingStudy
DiagnosticReport
Composition
Organization
(at least these give us errors)that need a
has-binding
,max-length
, etc. characteristic, which they do not get erroneously as a plainResource
.