ca.uhn.hl7v2.model.v24.segment
Class NPU

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractSegment
      extended by ca.uhn.hl7v2.model.v24.segment.NPU
All Implemented Interfaces:
Segment, Structure, Serializable

public class NPU
extends AbstractSegment

Represents an HL7 NPU message segment (Bed status update). This segment has the following fields:

See Also:
Serialized Form

Constructor Summary
NPU(Group parent, ModelClassFactory factory)
          Creates a new NPU segment
 
Method Summary
protected  Type createNewTypeWithoutReflection(int field)
          
 PL getBedLocation()
          Returns NPU-1: "Bed Location" - creates it if necessary
 IS getBedStatus()
          Returns NPU-2: "Bed Status" - creates it if necessary
 PL getNpu1_BedLocation()
          Returns NPU-1: "Bed Location" - creates it if necessary
 IS getNpu2_BedStatus()
          Returns NPU-2: "Bed Status" - creates it if necessary
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractSegment
add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getMessage, getName, getNames, getParent, insertRepetition, isRequired, main, numFields, parse, removeRepetition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NPU

public NPU(Group parent,
           ModelClassFactory factory)
Creates a new NPU segment

Method Detail

getBedLocation

public PL getBedLocation()
Returns NPU-1: "Bed Location" - creates it if necessary


getNpu1_BedLocation

public PL getNpu1_BedLocation()
Returns NPU-1: "Bed Location" - creates it if necessary


getBedStatus

public IS getBedStatus()
Returns NPU-2: "Bed Status" - creates it if necessary


getNpu2_BedStatus

public IS getNpu2_BedStatus()
Returns NPU-2: "Bed Status" - creates it if necessary


createNewTypeWithoutReflection

protected Type createNewTypeWithoutReflection(int field)

Overrides:
createNewTypeWithoutReflection in class AbstractSegment


Copyright © 2001-2011 University Health Network. All Rights Reserved.