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

Constraint : asipd2lmfin062

Constraint Name
asipd2lmfin062 (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:author/hl7:functionCode SHALL have code='ADMPHYS'and codeSytem='2.16.840.1.113883.5.88' OR SHALL have code='ATTPHYS'and codeSytem='2.16.840.1.113883.5.88' OR SHALL have code='DISPHYS'and codeSytem='2.16.840.1.113883.5.88' OR SHALL have code='PRISURG'and codeSytem='2.16.840.1.113883.5.88' OR SHALL have code='FASST'and codeSytem='2.16.840.1.113883.5.88' OR SHALL have code='SASST'and codeSytem='2.16.840.1.113883.5.88' OR SHALL have code='NASST'and codeSytem='2.16.840.1.113883.5.88' OR SHALL have code='ANEST'and codeSytem='2.16.840.1.113883.5.88' OR SHALL have code='ANRS'and codeSytem='2.16.840.1.113883.5.88' OR SHALL have code='MDWF'and codeSytem='2.16.840.1.113883.5.88' OR SHALL have code='PCP'and codeSytem='2.16.840.1.113883.5.88' OR SHALL have code='CORRE'and codeSytem='1.2.250.1.213.1.1.4.2.280' OR SHALL have code='REMPL'and codeSytem='1.2.250.1.213.1.1.4.2.280' OR SHALL have code='GYNEC'and codeSytem='1.2.250.1.213.1.1.4.2.280' OR SHALL have code='OPHTA'and codeSytem='1.2.250.1.213.1.1.4.2.280' OR SHALL have code='PSYCH'and codeSytem='1.2.250.1.213.1.1.4.2.280' OR SHALL have code='CARDT'and codeSytem='1.2.250.1.213.1.1.4.2.280' OR SHALL have code='PRELV'and codeSytem='1.2.250.1.213.1.1.4.2.280' OR SHALL have code='ASPEC'and codeSytem='1.2.250.1.213.1.1.4.2.280' OR SHALL have code='APSIN'and codeSytem='1.2.250.1.213.1.1.4.2.280'
OCL
self.author.functionCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and code='ADMPHYS' and ((codeSystem.oclIsUndefined()) or codeSystem='2.16.840.1.113883.5.88')) or ((not code.oclIsUndefined()) and code='ATTPHYS' and ((codeSystem.oclIsUndefined()) or codeSystem='2.16.840.1.113883.5.88')) or ((not code.oclIsUndefined()) and code='DISPHYS' and ((codeSystem.oclIsUndefined()) or codeSystem='2.16.840.1.113883.5.88')) or ((not code.oclIsUndefined()) and code='PRISURG' and ((codeSystem.oclIsUndefined()) or codeSystem='2.16.840.1.113883.5.88')) or ((not code.oclIsUndefined()) and code='FASST' and ((codeSystem.oclIsUndefined()) or codeSystem='2.16.840.1.113883.5.88')) or ((not code.oclIsUndefined()) and code='SASST' and ((codeSystem.oclIsUndefined()) or codeSystem='2.16.840.1.113883.5.88')) or ((not code.oclIsUndefined()) and code='NASST' and ((codeSystem.oclIsUndefined()) or codeSystem='2.16.840.1.113883.5.88')) or ((not code.oclIsUndefined()) and code='ANEST' and ((codeSystem.oclIsUndefined()) or codeSystem='2.16.840.1.113883.5.88')) or ((not code.oclIsUndefined()) and code='ANRS' and ((codeSystem.oclIsUndefined()) or codeSystem='2.16.840.1.113883.5.88')) or ((not code.oclIsUndefined()) and code='MDWF' and ((codeSystem.oclIsUndefined()) or codeSystem='2.16.840.1.113883.5.88')) or ((not code.oclIsUndefined()) and code='PCP' and ((codeSystem.oclIsUndefined()) or codeSystem='2.16.840.1.113883.5.88')) or ((not code.oclIsUndefined()) and code='CORRE' and ((codeSystem.oclIsUndefined()) or codeSystem='1.2.250.1.213.1.1.4.2.280')) or ((not code.oclIsUndefined()) and code='REMPL' and ((codeSystem.oclIsUndefined()) or codeSystem='1.2.250.1.213.1.1.4.2.280')) or ((not code.oclIsUndefined()) and code='GYNEC' and ((codeSystem.oclIsUndefined()) or codeSystem='1.2.250.1.213.1.1.4.2.280')) or ((not code.oclIsUndefined()) and code='OPHTA' and ((codeSystem.oclIsUndefined()) or codeSystem='1.2.250.1.213.1.1.4.2.280')) or ((not code.oclIsUndefined()) and code='PSYCH' and ((codeSystem.oclIsUndefined()) or codeSystem='1.2.250.1.213.1.1.4.2.280')) or ((not code.oclIsUndefined()) and code='CARDT' and ((codeSystem.oclIsUndefined()) or codeSystem='1.2.250.1.213.1.1.4.2.280')) or ((not code.oclIsUndefined()) and code='PRELV' and ((codeSystem.oclIsUndefined()) or codeSystem='1.2.250.1.213.1.1.4.2.280')) or ((not code.oclIsUndefined()) and code='ASPEC' and ((codeSystem.oclIsUndefined()) or codeSystem='1.2.250.1.213.1.1.4.2.280')) or ((not code.oclIsUndefined()) and code='APSIN' and ((codeSystem.oclIsUndefined()) or codeSystem='1.2.250.1.213.1.1.4.2.280')))