Constraint Descriptor : xdssd043 (type: ERROR, kind: Vocabulary)

Constraint : xdssd043

Constraint Name
xdssd043 (type: ERROR, kind: Vocabulary)
Constraint Class
XDSSD
Package
xdssd
Description
In Scanned document (XDS-SD), the code of /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.2.20']/hl7:author[hl7:templateId/@root='1.3.6.1.4.1.19376.1.2.20.2']/hl7:assignedAuthor/hl7:assignedAuthoringDevice/hl7:code SHALL be from the valueSet 1.3.6.1.4.1.19376.1.2.20.11.1 (flexibility : 2017-02-06T14:01:56) (Item : XDSSD-44)
OCL
self.author->select(templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.2.20.2')).assignedAuthor.assignedAuthoringDevice.code->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('1.3.6.1.4.1.19376.1.2.20.11.1&version=2017-02-06T14:01:56', code, codeSystem, null, null)))
                        

List Assertions