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).
|
ST |
getCq2_Units()
Returns units (component 2).
|
NM |
getQuantity()
Returns quantity (component 1).
|
ST |
getUnits()
Returns units (component 2).
|
clear, getTypedencode, getExtraComponents, getMessage, getName, parse, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitencode, getExtraComponents, getMessage, getName, parsepublic 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 ST getUnits()
public ST getCq2_Units()
Copyright © 2001-2012 University Health Network. All Rights Reserved.