Package ca.uhn.hl7v2.model.v22.segment
Class NPU
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v22.segment.NPU
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 NPU message segment (BED STATUS UPDATE). This segment has the following fields:
- NPU-1: Bed Location (CM_INTERNAL_LOCATION)
- NPU-2: Bed Status (ID) optional
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypecreateNewTypeWithoutReflection(int field) Returns NPU-1: "Bed Location" - creates it if necessaryReturns NPU-2: "Bed Status" - creates it if necessaryReturns NPU-1: "Bed Location" - creates it if necessaryReturns NPU-2: "Bed Status" - creates it if necessaryMethods inherited from class ca.uhn.hl7v2.model.AbstractSegment
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetitionMethods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParent
-
Constructor Details
-
NPU
Creates a new NPU segment
-
-
Method Details
-
getBedLocation
Returns NPU-1: "Bed Location" - creates it if necessary -
getNpu1_BedLocation
Returns NPU-1: "Bed Location" - creates it if necessary -
getBedStatus
Returns NPU-2: "Bed Status" - creates it if necessary -
getNpu2_BedStatus
Returns NPU-2: "Bed Status" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-