//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2015.06.10 at 02:12:35 PM MDT 
//


package gov.va.med.cds.template.generated.pharmacy;

import gov.va.med.cds.template.generated.basedatatypes.HL72EntityIdentifier;
import gov.va.med.cds.template.generated.common.PractitionerParticipationLite;

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.XmlTransient;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for DetectedIssueEvent complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="DetectedIssueEvent">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;all>
 *         &lt;element name="id" type="{Basedatatypes}HL72EntityIdentifier" minOccurs="0"/>
 *         &lt;element name="narrativeText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="overridingProvider" type="{Common}PractitionerParticipationLite" minOccurs="0"/>
 *         &lt;element name="detectedIssuesManagement" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="detectedIssueManagement" type="{Pharmacy}DetectedIssueManagement" maxOccurs="unbounded" minOccurs="0"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/all>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DetectedIssueEvent", propOrder = {

})
public class DetectedIssueEvent {

    protected HL72EntityIdentifier id;
    protected String narrativeText;
    protected PractitionerParticipationLite overridingProvider;
    protected DetectedIssueEvent.DetectedIssuesManagement detectedIssuesManagement;
  
    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link HL72EntityIdentifier }
     *     
     */
    public HL72EntityIdentifier getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     * @param value
     *     allowed object is
     *     {@link HL72EntityIdentifier }
     *     
     */
    public void setId(HL72EntityIdentifier value) {
        this.id = value;
    }

    /**
     * Gets the value of the narrativeText property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getNarrativeText() {
        return narrativeText;
    }

    /**
     * Sets the value of the narrativeText property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setNarrativeText(String value) {
        this.narrativeText = value;
    }

    /**
     * Gets the value of the overridingProvider property.
     * 
     * @return
     *     possible object is
     *     {@link PractitionerParticipationLite }
     *     
     */
    public PractitionerParticipationLite getOverridingProvider() {
        return overridingProvider;
    }

    /**
     * Sets the value of the overridingProvider property.
     * 
     * @param value
     *     allowed object is
     *     {@link PractitionerParticipationLite }
     *     
     */
    public void setOverridingProvider(PractitionerParticipationLite value) {
        this.overridingProvider = value;
    }

    /**
     * Gets the value of the detectedIssuesManagement property.
     * 
     * @return
     *     possible object is
     *     {@link DetectedIssueEvent.DetectedIssuesManagement }
     *     
     */
    public DetectedIssueEvent.DetectedIssuesManagement getDetectedIssuesManagement() {
        return detectedIssuesManagement;
    }

    /**
     * Sets the value of the detectedIssuesManagement property.
     * 
     * @param value
     *     allowed object is
     *     {@link DetectedIssueEvent.DetectedIssuesManagement }
     *     
     */
    public void setDetectedIssuesManagement(DetectedIssueEvent.DetectedIssuesManagement value) {
        this.detectedIssuesManagement = value;
    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="detectedIssueManagement" type="{Pharmacy}DetectedIssueManagement" maxOccurs="unbounded" minOccurs="0"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "detectedIssueManagement"
    })
    public static class DetectedIssuesManagement {

        protected List<DetectedIssueManagement> detectedIssueManagement;
        @XmlTransient
        protected DetectedIssueManagement singleDetectedIssueManagement;
        

        /**
         * Gets the value of the detectedIssueManagement 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 detectedIssueManagement property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getDetectedIssueManagement().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link DetectedIssueManagement }
         * 
         * 
         */
        public List<DetectedIssueManagement> getDetectedIssueManagement() {
            if (detectedIssueManagement == null) {
                detectedIssueManagement = new ArrayList<DetectedIssueManagement>();
            }
            return this.detectedIssueManagement;
        }
        public void setDetectedIssueManagement(List<DetectedIssueManagement> detectedIssueManagement) {
            this.detectedIssueManagement = detectedIssueManagement;
        }
        
        public DetectedIssueManagement getSingleDetectedIssueManagement() {
            
            return this.singleDetectedIssueManagement;
        }
        public void setSingleDetectedIssueManagement(DetectedIssueManagement singleDetectedIssueManagement) {
            this.getDetectedIssueManagement().add(singleDetectedIssueManagement);
        	this.singleDetectedIssueManagement = singleDetectedIssueManagement;
        }

    }
    
   
}
