Class CM_VR

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class CM_VR extends AbstractComposite

Represents an HL7 CM_VR (value qualifier) data type. This type consists of the following components:

  • First data code value (ST)
  • Last data code calue (ST)
See Also:
  • Constructor Details

    • CM_VR

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

      Returns First data code value (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getCm_vr1_FirstDataCodeValue

      Returns First data code value (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getLastDataCodeCalue

      Returns Last data code calue (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getCm_vr2_LastDataCodeCalue

      Returns Last data code calue (component 2). This is a convenience method that saves you from casting and handling an exception.