public class CQ extends AbstractComposite
Represents an HL7 CQ (Composite Quantity with Units) data type. This type consists of the following components:
log| Constructor and Description |
|---|
CQ(Message message)
Creates a new CQ type
|
| Modifier and Type | Method and Description |
|---|---|
Type |
getComponent(int number)
Returns an individual data component.
|
Type[] |
getComponents()
Returns an array containing the data elements.
|
NM |
getCq1_Quantity()
Returns Quantity (component 1).
|
CWE |
getCq2_Units()
Returns Units (component 2).
|
NM |
getQuantity()
Returns Quantity (component 1).
|
CWE |
getUnits()
Returns Units (component 2).
|
accept, clear, getTyped, isEmptyencode, getExtraComponents, getMessage, getName, parse, provideLocation, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitencode, getExtraComponents, getMessage, getName, parseprovideLocationpublic Type[] getComponents()
public Type getComponent(int number) throws DataTypeException
number - The component number (0-indexed)DataTypeException - if the given element number is out of range.public NM getQuantity()
public NM getCq1_Quantity()
public CWE getUnits()
public CWE getCq2_Units()
Copyright © 2001-2014 University Health Network. All Rights Reserved.