public class CP extends AbstractComposite
Represents an HL7 CP (Composite Price) data type. This type consists of the following components:
log
Constructor and Description |
---|
CP(Message message)
Creates a new CP 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.
|
MO |
getCp1_Price()
Returns Price (component 1).
|
ID |
getCp2_PriceType()
Returns Price Type (component 2).
|
NM |
getCp3_FromValue()
Returns From Value (component 3).
|
NM |
getCp4_ToValue()
Returns To Value (component 4).
|
CE |
getCp5_RangeUnits()
Returns Range Units (component 5).
|
ID |
getCp6_RangeType()
Returns Range Type (component 6).
|
NM |
getFromValue()
Returns From Value (component 3).
|
MO |
getPrice()
Returns Price (component 1).
|
ID |
getPriceType()
Returns Price Type (component 2).
|
ID |
getRangeType()
Returns Range Type (component 6).
|
CE |
getRangeUnits()
Returns Range Units (component 5).
|
NM |
getToValue()
Returns To Value (component 4).
|
accept, clear, getTyped, isEmpty, provideLocation
encode, getExtraComponents, getMessage, getName, parse, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
encode, getExtraComponents, getMessage, getName, parse
public 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 MO getPrice()
public MO getCp1_Price()
public ID getPriceType()
public ID getCp2_PriceType()
public NM getFromValue()
public NM getCp3_FromValue()
public NM getToValue()
public NM getCp4_ToValue()
public CE getRangeUnits()
public CE getCp5_RangeUnits()
public ID getRangeType()
public ID getCp6_RangeType()
Copyright © 2001–2017 University Health Network. All rights reserved.