Class PCF

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class PCF extends AbstractComposite

Represents an HL7 PCF (Pre-certification required) data type. This type consists of the following components:

  • pre-certification patient type (IS)
  • pre-certification required (ID)
  • pre-certification window (TS)
See Also:
  • Constructor Details

    • PCF

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

      Returns pre-certification patient type (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getPcf1_PreCertificationPatientType

      Returns pre-certification patient type (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getPreCertificationRequired

      Returns pre-certification required (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getPcf2_PreCertificationRequired

      Returns pre-certification required (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getPreCertificationWindow

      Returns pre-certification window (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getPcf3_PreCertificationWindow

      Returns pre-certification window (component 3). This is a convenience method that saves you from casting and handling an exception.