public class MOP extends AbstractComposite
Represents an HL7 MOP (Money or Percentage) data type. This type consists of the following components:
log
Constructor and Description |
---|
MOP(Message message)
Creates a new MOP 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.
|
ID |
getCurrencyDenomination()
Returns Currency Denomination (component 3).
|
ID |
getMoneyOrPercentageIndicator()
Returns Money or Percentage Indicator (component 1).
|
NM |
getMoneyOrPercentageQuantity()
Returns Money or Percentage Quantity (component 2).
|
ID |
getMop1_MoneyOrPercentageIndicator()
Returns Money or Percentage Indicator (component 1).
|
NM |
getMop2_MoneyOrPercentageQuantity()
Returns Money or Percentage Quantity (component 2).
|
ID |
getMop3_CurrencyDenomination()
Returns Currency Denomination (component 3).
|
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 ID getMoneyOrPercentageIndicator()
public ID getMop1_MoneyOrPercentageIndicator()
public NM getMoneyOrPercentageQuantity()
public NM getMop2_MoneyOrPercentageQuantity()
public ID getCurrencyDenomination()
public ID getMop3_CurrencyDenomination()
Copyright © 2001–2017 University Health Network. All rights reserved.