Constraint Descriptor : asipd2lmfin059 (type: ERROR, kind: Datatype)

Constraint : asipd2lmfin059

Constraint Name
asipd2lmfin059 (type: ERROR, kind: Datatype)
Package
asipd2lmfin
Description
In Specifications Techniques De La FIN, in /hl7:ClinicalDocument[hl7:templateId/@root='1.2.250.1.213.1.1.1.27']/hl7:author/hl7:functionCode, the attribute codeSystem SHALL have the datatype 'oid' if present
OCL
self.author.functionCode->forAll(codeSystem.oclIsUndefined() or CommonOperationsStatic::isOID(codeSystem))