Constraint Descriptor : crc_conf_sections_cons3 (type: ERROR, kind: )

Constraint : crc_conf_sections_cons3

Constraint Name
crc_conf_sections_cons3 (type: ERROR, kind: )
Constraint Class
CathReportContentDocument
Package
crc
Description
Only One [0..1] section Social History Section (2.16.840.1.113883.10.20.22.2.17) is allowed (CRC, Table 6.3.3-1)
OCL
self.getAllSections()->select(sec : POCDMT000040Section | 
	sec.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.10.20.22.2.17')
)->size()<2