riv.ehr.patientsummary._1.PQV Maven / Gradle / Ivy
package riv.ehr.patientsummary._1;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for PQV complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PQV">
* <complexContent>
* <extension base="{urn:riv:ehr:patientsummary:1}QTY">
* <sequence>
* <element name="source" type="{urn:riv:ehr:patientsummary:1}XReference" minOccurs="0"/>
* </sequence>
* <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}double" />
* <attribute name="precision" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
* <attribute name="codingRationale" type="{urn:riv:ehr:patientsummary:1}set_CodingRationale" />
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PQV", propOrder = {
"source"
})
@XmlSeeAlso({
PQ.class,
PQR.class
})
public class PQV
extends QTY
{
protected XReference source;
@XmlAttribute(name = "value")
protected Double value;
@XmlAttribute(name = "precision")
protected Integer precision;
@XmlAttribute(name = "codingRationale")
protected List codingRationale;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
/**
* Gets the value of the source property.
*
* @return
* possible object is
* {@link XReference }
*
*/
public XReference getSource() {
return source;
}
/**
* Sets the value of the source property.
*
* @param value
* allowed object is
* {@link XReference }
*
*/
public void setSource(XReference value) {
this.source = value;
}
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setValue(Double value) {
this.value = value;
}
/**
* Gets the value of the precision property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getPrecision() {
if (precision == null) {
return 0;
} else {
return precision;
}
}
/**
* Sets the value of the precision property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setPrecision(Integer value) {
this.precision = value;
}
/**
* Gets the value of the codingRationale property.
*
*
* 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 set
method for the codingRationale property.
*
*
* For example, to add a new item, do as follows:
*
* getCodingRationale().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CodingRationale }
*
*
*/
public List getCodingRationale() {
if (codingRationale == null) {
codingRationale = new ArrayList();
}
return this.codingRationale;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
}