
package gov.niem.niem.niem_core._2;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import gov.niem.niem.proxy.xsd._2.Boolean;
import gov.niem.niem.structures._2.ComplexObjectType;


/**
 * <p>Java class for MedicalConditionType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="MedicalConditionType">
 *   &lt;complexContent>
 *     &lt;extension base="{http://niem.gov/niem/structures/2.0}ComplexObjectType">
 *       &lt;sequence>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}MedicalConditionText" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}MedicalConditionCauseText" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}MedicalConditionDescriptionText" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}MedicalConditionPresentIndicator" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}MedicalConditionSeverityText" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MedicalConditionType", propOrder = {
    "medicalConditionText",
    "medicalConditionCauseText",
    "medicalConditionDescriptionText",
    "medicalConditionPresentIndicator",
    "medicalConditionSeverityText"
})
@XmlSeeAlso({
    org.ncsconline.reference.arrestwarrantextension._2.MedicalConditionType.class
})
public class MedicalConditionType
    extends ComplexObjectType
{

    @XmlElement(name = "MedicalConditionText", nillable = true)
    protected List<TextType> medicalConditionText;
    @XmlElement(name = "MedicalConditionCauseText", nillable = true)
    protected List<TextType> medicalConditionCauseText;
    @XmlElement(name = "MedicalConditionDescriptionText", nillable = true)
    protected List<TextType> medicalConditionDescriptionText;
    @XmlElement(name = "MedicalConditionPresentIndicator", nillable = true)
    protected List<Boolean> medicalConditionPresentIndicator;
    @XmlElement(name = "MedicalConditionSeverityText", nillable = true)
    protected List<TextType> medicalConditionSeverityText;

    /**
     * Gets the value of the medicalConditionText property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the medicalConditionText property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMedicalConditionText().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TextType }
     * 
     * 
     */
    public List<TextType> getMedicalConditionText() {
        if (medicalConditionText == null) {
            medicalConditionText = new ArrayList<TextType>();
        }
        return this.medicalConditionText;
    }

    /**
     * Gets the value of the medicalConditionCauseText property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the medicalConditionCauseText property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMedicalConditionCauseText().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TextType }
     * 
     * 
     */
    public List<TextType> getMedicalConditionCauseText() {
        if (medicalConditionCauseText == null) {
            medicalConditionCauseText = new ArrayList<TextType>();
        }
        return this.medicalConditionCauseText;
    }

    /**
     * Gets the value of the medicalConditionDescriptionText property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the medicalConditionDescriptionText property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMedicalConditionDescriptionText().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TextType }
     * 
     * 
     */
    public List<TextType> getMedicalConditionDescriptionText() {
        if (medicalConditionDescriptionText == null) {
            medicalConditionDescriptionText = new ArrayList<TextType>();
        }
        return this.medicalConditionDescriptionText;
    }

    /**
     * Gets the value of the medicalConditionPresentIndicator property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the medicalConditionPresentIndicator property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMedicalConditionPresentIndicator().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Boolean }
     * 
     * 
     */
    public List<Boolean> getMedicalConditionPresentIndicator() {
        if (medicalConditionPresentIndicator == null) {
            medicalConditionPresentIndicator = new ArrayList<Boolean>();
        }
        return this.medicalConditionPresentIndicator;
    }

    /**
     * Gets the value of the medicalConditionSeverityText property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the medicalConditionSeverityText property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMedicalConditionSeverityText().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TextType }
     * 
     * 
     */
    public List<TextType> getMedicalConditionSeverityText() {
        if (medicalConditionSeverityText == null) {
            medicalConditionSeverityText = new ArrayList<TextType>();
        }
        return this.medicalConditionSeverityText;
    }

}
