//
// 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.05.21 at 01:48:02 PM MDT 
//


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

import gov.va.med.cds.template.generated.basedatatypes.HL72CodedElement;

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.XmlType;


/**
 * <p>Java class for LabTest complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="LabTest">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="procedureCode" type="{Basedatatypes}HL72CodedElement" minOccurs="0"/>
 *         &lt;element name="orderedTestCode" type="{Basedatatypes}HL72CodedElement" minOccurs="0"/>
 *         &lt;element name="fillerAccessionReference" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="chemistryResults" type="{Lab}ChemistryResult" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LabTest", propOrder = {
    "procedureCode",
    "orderedTestCode",
    "fillerAccessionReference",
    "chemistryResults",
    "id"
})
public class LabTest {

    protected HL72CodedElement procedureCode;
    protected HL72CodedElement orderedTestCode;
    protected String fillerAccessionReference;
    protected List<ChemistryResult> chemistryResults;
    protected Long id;

    /**
     * Gets the value of the procedureCode property.
     * 
     * @return
     *     possible object is
     *     {@link HL72CodedElement }
     *     
     */
    public HL72CodedElement getProcedureCode() {
        return procedureCode;
    }

    /**
     * Sets the value of the procedureCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link HL72CodedElement }
     *     
     */
    public void setProcedureCode(HL72CodedElement value) {
        this.procedureCode = value;
    }

    /**
     * Gets the value of the orderedTestCode property.
     * 
     * @return
     *     possible object is
     *     {@link HL72CodedElement }
     *     
     */
    public HL72CodedElement getOrderedTestCode() {
        return orderedTestCode;
    }

    /**
     * Sets the value of the orderedTestCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link HL72CodedElement }
     *     
     */
    public void setOrderedTestCode(HL72CodedElement value) {
        this.orderedTestCode = value;
    }

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

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

    /**
     * Gets the value of the chemistryResults 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 chemistryResults property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getChemistryResults().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ChemistryResultOld }
     * 
     * 
     */
    public List<ChemistryResult> getChemistryResults() {
        if (chemistryResults == null) {
            chemistryResults = new ArrayList<ChemistryResult>();
        }
        return this.chemistryResults;
    }
    public void setChemistryResults(List<ChemistryResult> chemistryResults) {
    	
    	this.chemistryResults = chemistryResults;
    }
    
    public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}	
}
