The nonXMLBody SHALL be present (LUX Level1: 2.3)
OCL
(not self.nonXMLBody.oclIsUndefined())
The confidentialityCode is already defined in the CDA Header thus this element MAY be omitted (LUX Level1: 2.4.1)
OCL
self.confidentialityCode.oclIsUndefined()
The languageCode is already defined in the CDA Header thus this element MAY be omitted (LUX Level1: 2.4.1)
OCL
self.languageCode.oclIsUndefined()
Reference and thumbnail SHALL NOT be used (LUX Level1: 2.4.2)
OCL
self.text.reference.oclIsUndefined() and self.text.thumbnail.oclIsUndefined()
text@mediaType values SHALL come from the Valueset eSanté_MimeTypes (LUX Level1: 2.4.2)
OCL
self.text.oclIsUndefined() or
self.text.mediaType.oclIsUndefined() or
self.text.matchesCodeToValueSet('1.3.182.10.17.1', self.text.mediaType)
text@language values SHALL come from the Valueset eSanté_LanguageCode (LUX Level1: 2.4.2)
OCL
self.text.oclIsUndefined() or
self.text.language.oclIsUndefined() or
self.text.matchesCodeToValueSet('1.3.182.10.15.1', self.text.language)