Missing Validators for relationship_type - TRUNK-3814

made some changes
Applied auto fromat changes
backporting TRUNK-3741 - Missing Manage HL7Messages and Purge HL7 Messages privileges