Class NDL

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class NDL extends AbstractComposite

Represents an HL7 NDL (observing practitioner) data type. This type consists of the following components:

  • OP name (CNN)
  • start date/time (TS)
  • end date/time (TS)
  • point of care (IS) (IS)
  • room (IS)
  • bed (IS)
  • facility (HD) (HD)
  • location status (IS)
  • person location type (IS)
  • building (IS)
  • floor (IS)
See Also:
  • Constructor Details

    • NDL

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

      public CNN getOPName()
      Returns OP name (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getNdl1_OPName

      public CNN getNdl1_OPName()
      Returns OP name (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getStartDateTime

      public TS getStartDateTime()
      Returns start date/time (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getNdl2_StartDateTime

      Returns start date/time (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getEndDateTime

      public TS getEndDateTime()
      Returns end date/time (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getNdl3_EndDateTime

      Returns end date/time (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getPointOfCare

      public IS getPointOfCare()
      Returns point of care (IS) (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getNdl4_PointOfCare

      Returns point of care (IS) (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getRoom

      public IS getRoom()
      Returns room (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getNdl5_Room

      public IS getNdl5_Room()
      Returns room (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getBed

      public IS getBed()
      Returns bed (component 6). This is a convenience method that saves you from casting and handling an exception.
    • getNdl6_Bed

      public IS getNdl6_Bed()
      Returns bed (component 6). This is a convenience method that saves you from casting and handling an exception.
    • getFacility

      public HD getFacility()
      Returns facility (HD) (component 7). This is a convenience method that saves you from casting and handling an exception.
    • getNdl7_Facility

      public HD getNdl7_Facility()
      Returns facility (HD) (component 7). This is a convenience method that saves you from casting and handling an exception.
    • getLocationStatus

      Returns location status (component 8). This is a convenience method that saves you from casting and handling an exception.
    • getNdl8_LocationStatus

      Returns location status (component 8). This is a convenience method that saves you from casting and handling an exception.
    • getPersonLocationType

      Returns person location type (component 9). This is a convenience method that saves you from casting and handling an exception.
    • getNdl9_PersonLocationType

      Returns person location type (component 9). This is a convenience method that saves you from casting and handling an exception.
    • getBuilding

      public IS getBuilding()
      Returns building (component 10). This is a convenience method that saves you from casting and handling an exception.
    • getNdl10_Building

      Returns building (component 10). This is a convenience method that saves you from casting and handling an exception.
    • getFloor

      public IS getFloor()
      Returns floor (component 11). This is a convenience method that saves you from casting and handling an exception.
    • getNdl11_Floor

      public IS getNdl11_Floor()
      Returns floor (component 11). This is a convenience method that saves you from casting and handling an exception.