func authorizationNamedSet(consentRequirements []model.SpecConsentRequirements, testID string) (string, bool) {
	for _, consentRequirement := range consentRequirements {
		for _, namedPermissions := range consentRequirement.NamedPermissions {
			for _, namedTestID := range namedPermissions.CodeSet.TestIds {
				if permissions.TestId(testID) == namedTestID {
					return namedPermissions.Name, true
				}
			}
		}
	}
	return "", false
}
// authorizationNamedSet find named set in consent requirements for a testId
authorizationNamedSet find named set in consent requirements for a testId
// authorizationNamedSet find named set in consent requirements for a testId
func authorizationNamedSet(consentRequirements []model.SpecConsentRequirements, testID string) (string, bool) {
	for _, consentRequirement := range consentRequirements {
		for _, namedPermissions := range consentRequirement.NamedPermissions {
			for _, namedTestID := range namedPermissions.CodeSet.TestIds {
				if permissions.TestId(testID) == namedTestID {
					return namedPermissions.Name, true
				}
			}
		}
	}
	return "", false
}
func authorizationNamedSet ( consentRequirements [ ] model . SpecConsentRequirements , testID string ) ( string , bool ) { for _ , consentRequirement := range consentRequirements { for _ , namedPermissions := range consentRequirement . NamedPermissions { for _ , namedTestID := range namedPermissions . CodeSet . TestIds { if permissions . TestId ( testID ) == namedTestID { return namedPermissions . Name , true } } } } return " " , false }
authorizationNamedSet find named set in consent requirements for a testId
authorizationNamedSet find named set in consent requirements for a testId