if ((node instanceof PatientRole && (((PatientRole) node).getAddrs().isEmpty() || ((PatientRole) node).getTelecoms().isEmpty())) || (node instanceof AssignedAuthor && (((AssignedAuthor) node).getAddrs().isEmpty() || ((AssignedAuthor) node).getTelecoms().isEmpty())) || (node instanceof AssignedEntity && (((AssignedEntity) node).getAddrs().isEmpty() || ((AssignedEntity) node).getTelecoms().isEmpty())) || (node instanceof AssociatedEntity && (((AssociatedEntity) node).getAddrs().isEmpty() || ((AssociatedEntity) node).getTelecoms().isEmpty()))) { hasErrors = true;
(node instanceof AssignedEntity && (((AssignedEntity) node).getAddrs().isEmpty() || ((AssignedEntity) node).getTelecoms().isEmpty())) || (node instanceof RelatedEntity && (((RelatedEntity) node).getAddrs().isEmpty() || ((RelatedEntity) node).getTelecoms().isEmpty())) || (node instanceof IntendedRecipient && (((IntendedRecipient) node).getAddrs().isEmpty() || ((IntendedRecipient) node).getTelecoms().isEmpty())) ||