public class DDI extends AbstractComposite
Represents an HL7 DDI (daily deductible) data type. This type consists of the following components:
log
Constructor and Description |
---|
DDI(Message message)
Creates a new DDI type
|
Modifier and Type | Method and Description |
---|---|
NM |
getAmount()
Returns amount (component 2).
|
Type |
getComponent(int number)
Returns an individual data component.
|
Type[] |
getComponents()
Returns an array containing the data elements.
|
NM |
getDdi1_DelayDays()
Returns delay days (component 1).
|
NM |
getDdi2_Amount()
Returns amount (component 2).
|
NM |
getDdi3_NumberOfDays()
Returns number of days (component 3).
|
NM |
getDelayDays()
Returns delay days (component 1).
|
NM |
getNumberOfDays()
Returns number of days (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 NM getDelayDays()
public NM getDdi1_DelayDays()
public NM getAmount()
public NM getDdi2_Amount()
public NM getNumberOfDays()
public NM getDdi3_NumberOfDays()
Copyright © 2001–2017 University Health Network. All rights reserved.