Added MetadataUtils.getVisitAttributeType