Message

Only one attachment may be identified as main image.

Context
cac:Item
Test
(count(cac:ItemSpecificationDocumentReference[cbc:DocumentTypeCode = 'PRODUCT_IMAGE']) <= 1)