The 'DeviceIdentifierObservationDeviceIdentifierObservationIIUDIissuingagency' invariant is violated on 'org.openhealthtools.mdht.uml.cda.consol.impl.DeviceIdentifierObservationImpl@49632595{http:///resource86.xml#//@clinicalDocument/@component/@structuredBody/@component.7/@section/@entry.1/@procedure/@entryRelationship.0/@organizer/@component.0/@observation}'
/ClinicalDocument/component/structuredBody/component[8]/section/entry[2]/procedure/entryRelationship/organizer/component/observation
Running validateDeviceIdentifierObservationIIUDIissuingagency
<ocl>
self.value->excluding(null)->select(isNullFlavorUndefined())->exists( isNullFlavorDefined() or ( matches('root','\\b1.3.160\\b') or matches('root','\\b2.16.840.1.113883.6.18\\b') or matches('root','\\b2.16.840.1.113883.6.40\\b') ) )
</ocl>
Fail Snippet
<observation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3">
<templateId root="2.16.840.1.113883.10.20.22.4.304" extension="2019-06-21"/>
<code code="C101722" codeSystem="2.16.840.1.113883.3.26.1.1" codeSystemName="NCI Thesaurus" displayName="Primary DI Number"/>
<value xsi:type="II" root="NOTINVALUES"/>
</observation>
<diagnostic>
The 'DeviceIdentifierObservationDeviceIdentifierObservationIIUDIissuingagency' invariant is violated on 'org.openhealthtools.mdht.uml.cda.consol.impl.DeviceIdentifierObservationImpl@74fab04a{#//}'
</diagnostic>
Pass Snippet
<observation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3">
<value xsi:type="II" root="1.3.160"/>
</observation>
Pass Snippet
<observation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3">
<value xsi:type="II" root="2.16.840.1.113883.6.18"/>
</observation>
Pass Snippet
<observation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3">
<value xsi:type="II" root="2.16.840.1.113883.6.40"/>
</observation>