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

Constraint : asipstructmin130

Constraint Name
asipstructmin130 (type: ERROR, kind: Vocabulary)
Constraint Class
SMDS_CDAClinicalDocument
Package
asipstructmin
Description
In Structuration Minimale Documents de Santé, the code of /hl7:ClinicalDocument[hl7:templateId/@root='1.2.250.1.213.1.1.1.1']/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:standardIndustryClassCode SHALL be from the valueSet 1.2.250.1.213.1.1.5.4 (flexibility : 2018-01-05T00:00:00)
OCL
self.informant.assignedEntity.representedOrganization.standardIndustryClassCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('1.2.250.1.213.1.1.5.4&version=2018-01-05T00:00:00', code, codeSystem, null, null)))