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

Constraint : ch_xua_036_NameID

Constraint Name
ch_xua_036_NameID (type: ERROR, kind: )
Constraint Class
CHXUA_AssertionRolePADM
Package
chxua
Description
The <NameID> child element of the <Subject> element MUST contain the unique ID the administrator is registered with in the community and the name qualifier attribute set to "urn:e-health-suisse:patient-administrator-id".
OCL
not(self.subject.oclIsUndefined()) and
  			not(self.subject.nameID.oclIsUndefined()) and
  			not(self.subject.nameID.nameQualifier.oclIsUndefined()) and
  			not(self.subject.nameID.value.oclIsUndefined()) and
  			self.subject.nameID.nameQualifier = 'urn:e-health-suisse:patient-administrator-id'