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

Constraint : constraintSourcePatientId_CX

Constraint Name
constraintSourcePatientId_CX (type: ERROR, kind: )
Constraint Class
XDSStableDocumentEntry
Package
rimihe
Description
sourcePatientId metadata must have CX structure, with an ID and an AuthorityDomain, all other components shall be ommited (IHE_ITI_TF V3, 4.2.3.2.22)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->forAll(sl : SlotType1 | 
	sl.valueList.oclIsUndefined() or 
	sl.valueList.value->forAll(val : String | sl.isCX_XDS(val))
)