Class CM_DDI

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class CM_DDI extends AbstractComposite

Represents an HL7 CM_DDI (daily deductible) data type. This type consists of the following components:

  • delay days (ST)
  • amount (NM)
  • number of days (NM)
See Also:
  • Constructor Details

    • CM_DDI

      public CM_DDI(Message message)
      Creates a new CM_DDI type
  • Method Details

    • getComponents

      public Type[] getComponents()
      Returns an array containing the data elements.
    • getComponent

      public Type getComponent(int number) throws DataTypeException
      Returns an individual data component.
      Parameters:
      number - The component number (0-indexed)
      Throws:
      DataTypeException - if the given element number is out of range.
    • getDelayDays

      public ST getDelayDays()
      Returns delay days (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getCm_ddi1_DelayDays

      Returns delay days (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getAmount

      public NM getAmount()
      Returns amount (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getCm_ddi2_Amount

      Returns amount (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getNumberOfDays

      public NM getNumberOfDays()
      Returns number of days (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getCm_ddi3_NumberOfDays

      Returns number of days (component 3). This is a convenience method that saves you from casting and handling an exception.