//
// 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.26 at 04:05:03 PM MDT 
//


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

import gov.va.med.cds.clinicaldata.ClinicalRecordInterface;
import gov.va.med.cds.template.generated.basedatatypes.HL72EntityIdentifier;
import gov.va.med.cds.template.generated.basedatatypes.PointInTimeWithPattern;
import gov.va.med.cds.template.generated.common.PatientLite;

import java.math.BigInteger;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for PatientGeneratedDataEvent complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="PatientGeneratedDataEvent">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;all>
 *         &lt;element name="uniqueIdentifier" type="{Basedatatypes}HL72EntityIdentifier"/>
 *         &lt;element name="patient" type="{Common}PatientLite"/>
 *         &lt;element name="collectionType" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="recordVersion" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
 *         &lt;element name="recordUpdateTime" type="{Basedatatypes}PointInTimeWithPattern" minOccurs="0"/>
 *         &lt;element name="pgdContent" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       &lt;/all>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlRootElement(name="patientGeneratedDataEvent")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PatientGeneratedDataEvent", propOrder = {

})
public class PatientGeneratedDataEvent implements ClinicalRecordInterface{

    @XmlElement(required = true)
    protected HL72EntityIdentifier uniqueIdentifier;
    @XmlElement(required = true)
    protected PatientLite patient;
    @XmlElement(required = true)
    protected String collectionType;
    protected BigInteger recordVersion;
    protected PointInTimeWithPattern recordUpdateTime;
    @XmlElement(required = true)
    protected String pgdContent;
    protected String requestId;
    protected Long id;
    @XmlTransient
    protected Integer recordStatus;

    /**
     * Gets the value of the uniqueIdentifier property.
     * 
     * @return
     *     possible object is
     *     {@link HL72EntityIdentifier }
     *     
     */
    public HL72EntityIdentifier getUniqueIdentifier() {
        return uniqueIdentifier;
    }

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

    /**
     * Gets the value of the patient property.
     * 
     * @return
     *     possible object is
     *     {@link PatientLite }
     *     
     */
    public PatientLite getPatient() {
        return patient;
    }

    /**
     * Sets the value of the patient property.
     * 
     * @param value
     *     allowed object is
     *     {@link PatientLite }
     *     
     */
    public void setPatient(PatientLite value) {
        this.patient = value;
    }

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

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

    /**
     * Gets the value of the recordVersion property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getRecordVersion() {
        return recordVersion;
    }

    /**
     * Sets the value of the recordVersion property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setRecordVersion(BigInteger value) {
        this.recordVersion = value;
    }

    /**
     * Gets the value of the recordUpdateTime property.
     * 
     * @return
     *     possible object is
     *     {@link PointInTimeWithPattern }
     *     
     */
    public PointInTimeWithPattern getRecordUpdateTime() {
        return recordUpdateTime;
    }

    /**
     * Sets the value of the recordUpdateTime property.
     * 
     * @param value
     *     allowed object is
     *     {@link PointInTimeWithPattern }
     *     
     */
    public void setRecordUpdateTime(PointInTimeWithPattern value) {
        this.recordUpdateTime = value;
    }

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

    /**
     * Sets the value of the pgdContent property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPgdContent(String value) {
        this.pgdContent = value;
    }
    
    public void setRequestId(String requestId) {
		this.requestId = requestId;
		
	}
	
	public String getRequestId() {
		return this.requestId;
	}
    
    public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	public int getRecordStatus() {
		return recordStatus;
	}

	public void setRecordStatus(Integer recordStatus) {
		this.recordStatus = recordStatus;
	}
	
	


}
