<commit_before>package gov.nih.nci.cabig.caaers.web.ae;

import static gov.nih.nci.cabig.caaers.web.fields.InputFieldFactory.createBooleanSelectField;
import static gov.nih.nci.cabig.caaers.web.fields.InputFieldFactory.createTextArea;
import gov.nih.nci.cabig.caaers.domain.expeditedfields.ExpeditedReportSection;
import gov.nih.nci.cabig.caaers.web.fields.InputField;
import gov.nih.nci.cabig.caaers.web.fields.InputFieldAttributes;


/**
 * @author <NAME>
 */
public class AdditionalInformationTab extends AeTab {

    public AdditionalInformationTab() {
        super("Additional Information", ExpeditedReportSection.ADDITIONAL_INFO_SECTION.getDisplayName(), "ae/additionalInformation");
    }

    @Override
    protected void createFieldGroups(AeInputFieldCreator creator, ExpeditedAdverseEventInputCommand command) {
        InputField otherInfoField = createTextArea("otherInformation", "Other Information", false);
        InputFieldAttributes.setColumns(otherInfoField,70);
        InputFieldAttributes.setRows(otherInfoField,5);
        InputFieldAttributes.setDetails(otherInfoField, "If the additional information being provided" +
        		" is not listed above,type the information being provided in the &quot;" +
        		"Other Information&quot; field.Separate each item with a comma &quot;,&quot;.");

        creator.createFieldGroup("desc", null, "additionalInformation",
            createBooleanSelectField("autopsyReport", "Autopsy Report", false),
            createBooleanSelectField("consults", "Consults", false),
            createBooleanSelectField("dischargeSummary", "Discharge Summary", false),
            createBooleanSelectField("flowCharts", "Flow Sheets/Case Report Forms", false),
            createBooleanSelectField("labReports", "Laboratory Reports", false),
            createBooleanSelectField("obaForm", "OBA Form", false),
            createBooleanSelectField("other", "Other", false),
            createBooleanSelectField("pathologyReport", "Pathology Report", false),
            createBooleanSelectField("progressNotes", "Progress Notes", false),
            createBooleanSelectField("radiologyReports", "Radiology Report", false),
            createBooleanSelectField("referralLetters", "Referral Letters", false),
            createBooleanSelectField("irbReport", "Summary Report Sent to IRB", false),
            otherInfoField
        );
    }

    @Override
    public ExpeditedReportSection section() {
        return ExpeditedReportSection.ADDITIONAL_INFO_SECTION;<commit_msg>Issue : 10035 refined look for attachment page<commit_after>package gov.nih.nci.cabig.caaers.web.ae;

import static gov.nih.nci.cabig.caaers.web.fields.InputFieldFactory.createCheckboxField;
import static gov.nih.nci.cabig.caaers.web.fields.InputFieldFactory.createTextArea;
import gov.nih.nci.cabig.caaers.domain.expeditedfields.ExpeditedReportSection;
import gov.nih.nci.cabig.caaers.web.fields.InputField;
import gov.nih.nci.cabig.caaers.web.fields.InputFieldAttributes;


/**
 * @author <NAME>
 */
public class AdditionalInformationTab extends AeTab {

    public AdditionalInformationTab() {
        super("Additional Information", ExpeditedReportSection.ADDITIONAL_INFO_SECTION.getDisplayName(), "ae/additionalInformation");
    }

    @Override
    protected void createFieldGroups(AeInputFieldCreator creator, ExpeditedAdverseEventInputCommand command) {
        InputField otherInfoField = createTextArea("otherInformation", "Other Information", false);
        InputFieldAttributes.setColumns(otherInfoField,70);
        InputFieldAttributes.setRows(otherInfoField,5);
        InputFieldAttributes.setDetails(otherInfoField, "If the additional information being provided" +
        		" is not listed above,type the information being provided in the &quot;" +
        		"Other Information&quot; field.Separate each item with a comma &quot;,&quot;.");

        creator.createFieldGroup("desc", null, "additionalInformation",
        	createCheckboxField("autopsyReport", "Autopsy Report"),
        	createCheckboxField("consults", "Consults"),
            createCheckboxField("dischargeSummary", "Discharge Summary"),
            createCheckboxField("flowCharts", "Flow Sheets/Case Report Forms"),
            createCheckboxField("labReports", "Laboratory Reports"),
            createCheckboxField("obaForm", "OBA Form"),
            createCheckboxField("pathologyReport", "Pathology Report"),
            createCheckboxField("progressNotes", "Progress Notes"),
            createCheckboxField("radiologyReports", "Radiology Report"),
            createCheckboxField("referralLetters", "Referral Letters"),
            createCheckboxField("irbReport", "Summary Report Sent to IRB"),
            createCheckboxField("other", "Other"),
            otherInfoField
        );
    }

    @Override
    public ExpeditedReportSection section() {
        return ExpeditedReportSection.ADDITIONAL_INFO_SECTION;
{'fraction_non_alphanumeric': 0.10178065560501821, 'fraction_numerical': 0.002225819506272764, 'mean_word_length': 4.247346072186836, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '987269', 'n_tokens_mistral': 1379, 'n_tokens_neox': 1309, 'n_words': 253}