package gov.nih.nci.cabig.caaers.domain.expeditedfields;

import gov.nih.nci.cabig.ctms.domain.CodedEnum;

public enum ExpeditedReportSection implements CodedEnum<Integer>{
    BASICS_SECTION("Basic AE information"),
    ADVERSE_EVENT_SECTION("Adverse events"),
    REPORTER_INFO_SECTION("Reporter Information"),
    CHECKPOINT_SECTION("Checkpoint"),
    RADIATION_INTERVENTION_SECTION("Radiation Intervention"),
    SURGERY_INTERVENTION_SECTION("Surgery Intervention"),
    MEDICAL_DEVICE_SECTION("Medical Device"),
    DESCRIPTION_SECTION("Description"),
    MEDICAL_INFO_SCECTION("Medical"),
    TREATMENT_INFO_SECTION("Treatment"),
    LABS_SECTION("Labs"),
    PRIOR_THERAPIES_SECTION("Therapies"),
    PRE_EXISTING_CONDITION_SECTION("Pre-Existing Conditions"),
    CONCOMITANT_MEDICATION_SECTION("Conmeds"),
    OTHER_CAUSE_SECTION("Other contributing causes"),
    ATTRIBUTION_SECTION("Attribution"),
    ADDITIONAL_INFO_SECTION("Additional Information"),
    SUBMIT_REPORT_SECTION("Submit Report"),
    SUBMITTER_SECTION("Submitter info");
    private String displayName;

    private ExpeditedReportSection(String displayName) {
        this.displayName = displayName;
    }

    public String getDisplayName() {
        return displayName;
    }

    public static ExpeditedReportSection getByDisplayName(String displayName) {
        for (ExpeditedReportSection section : values()) {
            if (section.displayName.equals(displayName)) return section;
        }
        return null;
    }
	
	
	public Integer getCode() {
		return ordinal();
	}
}

@@ -979,95 +979,8 @@
 on%22)
-,%0D%0A    SUBMIT_REPORT_SECTION(%22Submit Report%22),%0D%0A    SUBMITTER_SECTION(%22Submitter info%22)
 ;%0D%0A 

Remove now-unused sections from submission flow