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

Constraint : asipstructmin270

Constraint Name
asipstructmin270 (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:participant/hl7:associatedEntity/hl7:code SHALL be from the valueSet 1.2.250.1.213.1.1.5.1 (flexibility : 2018-01-05T00:00:00)
OCL
self.participant.associatedEntity.code->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('1.2.250.1.213.1.1.5.1&version=2018-01-05T00:00:00', code, codeSystem, null, null)))