<commit_before>package edu.duke.cabig.c3pr.web.participant;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import edu.duke.cabig.c3pr.utils.Lov;

public class ParticipantDetailsTab extends ParticipantTab {

	public ParticipantDetailsTab() {
		super("Details", "Details", "participant/participant");
	}

	public Map<String, Object> referenceData() {
		Map<String, List<Lov>> configMap = configurationProperty
				.getMap();

		Map<String, Object> refdata = new HashMap<String, Object>();

		refdata.put("administrativeGenderCode", configMap
				.get("administrativeGenderCode"));
		refdata
				.put("ethnicGroupCode", configMap
						.get("ethnicGroupCode"));
		refdata.put("raceCode", configMap.get("raceCode"));
		refdata.put("source", healthcareSiteDao.getAll());
		refdata.put("searchTypeRefData", configMap
				.get("participantSearchType"));
		refdata.put("identifiersTypeRefData", configMap
				.get("participantIdentifiersType"));
		;

		return refdata;
	}

}
<commit_msg>made it mandatory to meet validations before navigating to other tabs<commit_after>package edu.duke.cabig.c3pr.web.participant;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import edu.duke.cabig.c3pr.utils.Lov;

public class ParticipantDetailsTab extends ParticipantTab {

	public ParticipantDetailsTab() {
		super("Details", "Details", "participant/participant");
	}

	public Map<String, Object> referenceData() {
		Map<String, List<Lov>> configMap = configurationProperty
				.getMap();

		Map<String, Object> refdata = new HashMap<String, Object>();

		refdata.put("administrativeGenderCode", configMap
				.get("administrativeGenderCode"));
		refdata
				.put("ethnicGroupCode", configMap
						.get("ethnicGroupCode"));
		refdata.put("raceCode", configMap.get("raceCode"));
		refdata.put("source", healthcareSiteDao.getAll());
		refdata.put("searchTypeRefData", configMap
				.get("participantSearchType"));
		refdata.put("identifiersTypeRefData", configMap
				.get("participantIdentifiersType"));
		refdata.put("mandatory", "true");
		;

		return refdata;
	}

}

{'fraction_non_alphanumeric': 0.1384395813510942, 'fraction_numerical': 0.0019029495718363464, 'mean_word_length': 5.4907407407407405, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1923890', 'n_tokens_mistral': 756, 'n_tokens_neox': 666, 'n_words': 120}