public class PQ extends QTY
Java class for PQ complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PQ">
<complexContent>
<extension base="{urn:hl7-org:v3}QTY">
<sequence>
<element name="translation" type="{urn:hl7-org:v3}PQR" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="value" type="{urn:hl7-org:v3}real" />
<attribute name="unit" type="{urn:hl7-org:v3}cs" default="1" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<PQR> |
translation |
protected String |
unit |
protected String |
value |
nullFlavor| Constructor and Description |
|---|
PQ() |
| Modifier and Type | Method and Description |
|---|---|
List<PQR> |
getTranslation()
Gets the value of the translation property.
|
String |
getUnit()
Gets the value of the unit property.
|
String |
getValue()
Gets the value of the value property.
|
void |
setUnit(String value)
Sets the value of the unit property.
|
void |
setValue(String value)
Sets the value of the value property.
|
getNullFlavor, setNullFlavorpublic List<PQR> getTranslation()
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 translation property.
For example, to add a new item, do as follows:
getTranslation().add(newItem);
Objects of the following type(s) are allowed in the list
PQR
public String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic String getUnit()
StringCopyright © 2021. All rights reserved.