/******************************************************************************* * Open Behavioral Health Information Technology Architecture (OBHITA.org) * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of the <organization> nor the * names of its contributors may be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ******************************************************************************/ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // 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: 2013.10.18 at 11:05:26 AM EDT // package gov.samhsa.consent2share.c32.dto; 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.XmlType; // TODO: Auto-generated Javadoc /** * Reusable result * * <p>Java class for result complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="result"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="resultID" type="{urn:hl7-org:v3}ii" maxOccurs="unbounded"/> * <element name="refusalReason" type="{urn:hl7-org:v3}cd" minOccurs="0"/> * <element name="resultDateTime" type="{urn:hl7-org:v3}ivlTs"/> * <element name="procedureCode" type="{urn:hl7-org:v3}cd"/> * <element name="resultType" type="{urn:hl7-org:v3}cd"/> * <element name="resultStatus" type="{urn:hl7-org:v3}cs"/> * <element name="resultValue" type="{urn:hl7-org:v3}value" minOccurs="0"/> * <element name="resultInterpretation" type="{urn:hl7-org:v3}cd" minOccurs="0"/> * <element name="resultReferenceRange" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{urn:hl7-org:v3}comment" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "result", propOrder = { "resultID", "refusalReason", "resultDateTime", "procedureCode", "resultType", "resultStatus", "resultValue", "resultInterpretation", "resultReferenceRange", "comment" }) public class Result { /** The result id. */ @XmlElement(required = true) protected List<Ii> resultID; /** The refusal reason. */ protected Cd refusalReason; /** The result date time. */ @XmlElement(required = true) protected IvlTs resultDateTime; /** The procedure code. */ @XmlElement(required = true) protected Cd procedureCode; /** The result type. */ @XmlElement(required = true) protected Cd resultType; /** The result status. */ @XmlElement(required = true) protected Cs resultStatus; /** The result value. */ protected Value resultValue; /** The result interpretation. */ protected Cd resultInterpretation; /** The result reference range. */ protected List<String> resultReferenceRange; /** The comment. */ protected List<Comment> comment; /** * Gets the value of the resultID 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 resultID property. * * <p> * For example, to add a new item, do as follows: * <pre> * getResultID().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * * @return the result id * {@link Ii } */ public List<Ii> getResultID() { if (resultID == null) { resultID = new ArrayList<Ii>(); } return this.resultID; } /** * Gets the value of the refusalReason property. * * @return the refusal reason * possible object is * {@link Cd } */ public Cd getRefusalReason() { return refusalReason; } /** * Sets the value of the refusalReason property. * * @param value * allowed object is * {@link Cd } * */ public void setRefusalReason(Cd value) { this.refusalReason = value; } /** * Gets the value of the resultDateTime property. * * @return the result date time * possible object is * {@link IvlTs } */ public IvlTs getResultDateTime() { return resultDateTime; } /** * Sets the value of the resultDateTime property. * * @param value * allowed object is * {@link IvlTs } * */ public void setResultDateTime(IvlTs value) { this.resultDateTime = value; } /** * Gets the value of the procedureCode property. * * @return the procedure code * possible object is * {@link Cd } */ public Cd getProcedureCode() { return procedureCode; } /** * Sets the value of the procedureCode property. * * @param value * allowed object is * {@link Cd } * */ public void setProcedureCode(Cd value) { this.procedureCode = value; } /** * Gets the value of the resultType property. * * @return the result type * possible object is * {@link Cd } */ public Cd getResultType() { return resultType; } /** * Sets the value of the resultType property. * * @param value * allowed object is * {@link Cd } * */ public void setResultType(Cd value) { this.resultType = value; } /** * Gets the value of the resultStatus property. * * @return the result status * possible object is * {@link Cs } */ public Cs getResultStatus() { return resultStatus; } /** * Sets the value of the resultStatus property. * * @param value * allowed object is * {@link Cs } * */ public void setResultStatus(Cs value) { this.resultStatus = value; } /** * Gets the value of the resultValue property. * * @return the result value * possible object is * {@link Value } */ public Value getResultValue() { return resultValue; } /** * Sets the value of the resultValue property. * * @param value * allowed object is * {@link Value } * */ public void setResultValue(Value value) { this.resultValue = value; } /** * Gets the value of the resultInterpretation property. * * @return the result interpretation * possible object is * {@link Cd } */ public Cd getResultInterpretation() { return resultInterpretation; } /** * Sets the value of the resultInterpretation property. * * @param value * allowed object is * {@link Cd } * */ public void setResultInterpretation(Cd value) { this.resultInterpretation = value; } /** * Gets the value of the resultReferenceRange 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 resultReferenceRange property. * * <p> * For example, to add a new item, do as follows: * <pre> * getResultReferenceRange().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * * @return the result reference range * {@link String } */ public List<String> getResultReferenceRange() { if (resultReferenceRange == null) { resultReferenceRange = new ArrayList<String>(); } return this.resultReferenceRange; } /** * Gets the value of the comment 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 comment property. * * <p> * For example, to add a new item, do as follows: * <pre> * getComment().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * * @return the comment * {@link Comment } */ public List<Comment> getComment() { if (comment == null) { comment = new ArrayList<Comment>(); } return this.comment; } }