context ContinuityOfCareDocument inv: self.author->forAll(auth : POCDMT000040Author | not auth.assignedAuthor.nullFlavor.oclIsUndefined() or ( not auth.assignedAuthor.representedOrganization.oclIsUndefined() and auth.assignedAuthor.assignedPerson.oclIsUndefined() and auth.assignedAuthor.assignedAuthoringDevice.oclIsUndefined() and auth.assignedAuthor.id->exists(ii : II | not ii.nullFlavor.oclIsUndefined() and ii.nullFlavor='NA' ) ) )