All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class OSD extends AbstractComposite

Represents an HL7 OSD (Order Sequence Definition) data type. This type consists of the following components:

  • Sequence/Results Flag (ID)
  • Placer Order Number: Entity Identifier (ST)
  • Placer Order Number: Namespace ID (IS)
  • Filler Order Number: Entity Identifier (ST)
  • Filler Order Number: Namespace ID (IS)
  • Sequence Condition Value (ST)
  • Maximum Number of Repeats (NM)
  • Placer Order Number: Universal ID (ST)
  • Placer Order Number: Universal ID Type (ID)
  • Filler Order Number: Universal ID (ST)
  • Filler Order Number: Universal ID Type (ID)
See Also:
  • Constructor Details

    • OSD

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

      Returns Sequence/Results Flag (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getOsd1_SequenceResultsFlag

      Returns Sequence/Results Flag (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getPlacerOrderNumberEntityIdentifier

      Returns Placer Order Number: Entity Identifier (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getOsd2_PlacerOrderNumberEntityIdentifier

      Returns Placer Order Number: Entity Identifier (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getPlacerOrderNumberNamespaceID

      Returns Placer Order Number: Namespace ID (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getOsd3_PlacerOrderNumberNamespaceID

      Returns Placer Order Number: Namespace ID (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getFillerOrderNumberEntityIdentifier

      Returns Filler Order Number: Entity Identifier (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getOsd4_FillerOrderNumberEntityIdentifier

      Returns Filler Order Number: Entity Identifier (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getFillerOrderNumberNamespaceID

      Returns Filler Order Number: Namespace ID (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getOsd5_FillerOrderNumberNamespaceID

      Returns Filler Order Number: Namespace ID (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getSequenceConditionValue

      Returns Sequence Condition Value (component 6). This is a convenience method that saves you from casting and handling an exception.
    • getOsd6_SequenceConditionValue

      Returns Sequence Condition Value (component 6). This is a convenience method that saves you from casting and handling an exception.
    • getMaximumNumberOfRepeats

      Returns Maximum Number of Repeats (component 7). This is a convenience method that saves you from casting and handling an exception.
    • getOsd7_MaximumNumberOfRepeats

      Returns Maximum Number of Repeats (component 7). This is a convenience method that saves you from casting and handling an exception.
    • getPlacerOrderNumberUniversalID

      Returns Placer Order Number: Universal ID (component 8). This is a convenience method that saves you from casting and handling an exception.
    • getOsd8_PlacerOrderNumberUniversalID

      Returns Placer Order Number: Universal ID (component 8). This is a convenience method that saves you from casting and handling an exception.
    • getPlacerOrderNumberUniversalIDType

      Returns Placer Order Number: Universal ID Type (component 9). This is a convenience method that saves you from casting and handling an exception.
    • getOsd9_PlacerOrderNumberUniversalIDType

      Returns Placer Order Number: Universal ID Type (component 9). This is a convenience method that saves you from casting and handling an exception.
    • getFillerOrderNumberUniversalID

      Returns Filler Order Number: Universal ID (component 10). This is a convenience method that saves you from casting and handling an exception.
    • getOsd10_FillerOrderNumberUniversalID

      Returns Filler Order Number: Universal ID (component 10). This is a convenience method that saves you from casting and handling an exception.
    • getFillerOrderNumberUniversalIDType

      Returns Filler Order Number: Universal ID Type (component 11). This is a convenience method that saves you from casting and handling an exception.
    • getOsd11_FillerOrderNumberUniversalIDType

      Returns Filler Order Number: Universal ID Type (component 11). This is a convenience method that saves you from casting and handling an exception.