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

Constraint : asipd2lmfin094

Constraint Name
asipd2lmfin094 (type: ERROR, kind: Vocabulary)
Package
asipd2lmfin
Description
In Specifications Techniques De La FIN, the code of /hl7:ClinicalDocument[hl7:templateId/@root='1.2.250.1.213.1.1.1.27']/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)))