All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class PIP extends AbstractComposite

Represents an HL7 PIP (Practitioner Institutional Privileges) data type. This type consists of the following components:

  • Privilege (CE)
  • Privilege Class (CE)
  • Expiration Date (DT)
  • Activation Date (DT)
  • Facility (EI)
See Also:
  • Constructor Details

    • PIP

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

      public CE getPrivilege()
      Returns Privilege (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getPip1_Privilege

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

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

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

      Returns Expiration Date (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getPip3_ExpirationDate

      Returns Expiration Date (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getActivationDate

      Returns Activation Date (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getPip4_ActivationDate

      Returns Activation Date (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getFacility

      public EI getFacility()
      Returns Facility (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getPip5_Facility

      public EI getPip5_Facility()
      Returns Facility (component 5). This is a convenience method that saves you from casting and handling an exception.