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

Constraint : rmim086

Constraint Name
rmim086 (type: ERROR, kind: )
Constraint Class
HealthCareFacilitySpec
Package
cdabasic
Description
If healthCareFacility has not a null of flavor and its enclosing location has not a null of flavor, it SHALL have a location or a serviceProviderOrganization (RMIM-086)
OCL
(not self.nullFlavor.oclIsUndefined()) or 
self.__parent.oclIsUndefined() or 
(not self.__parent.oclIsKindOf(POCDMT000040Location)) or 
(not self.__parent.oclAsType(POCDMT000040Location).nullFlavor.oclIsUndefined()) or 
(not self.location.oclIsUndefined()) or 
(not self.serviceProviderOrganization.oclIsUndefined())