All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class FC extends AbstractComposite

Represents an HL7 FC (Financial Class) data type. This type consists of the following components:

  • Financial Class Code (IS)
  • Effective Date (TS)
See Also:
  • Constructor Details

    • FC

      public FC(Message message)
      Creates a new FC 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.
    • getFinancialClassCode

      Returns Financial Class Code (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getFc1_FinancialClassCode

      Returns Financial Class Code (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getEffectiveDate

      public TS getEffectiveDate()
      Returns Effective Date (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getFc2_EffectiveDate

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