Package ca.uhn.hl7v2.model.v23.segment
Class OM5
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v23.segment.OM5
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 OM5 message segment (Observation batteries). This segment has the following fields:
- OM5-1: Sequence Number - Test/ Observation Master File (NM) optional
- OM5-2: Test/Observations Included w/an Ordered Test Battery (CE) optional repeating
- OM5-3: Observation ID Suffixes (ST) 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 OM5-3: "Observation ID Suffixes" - creates it if necessaryReturns OM5-1: "Sequence Number - Test/ Observation Master File" - creates it if necessaryCE[]Returns all repetitions of Test/Observations Included w/an Ordered Test Battery (OM5-2).Returns a specific repetition of OM5-2: "Test/Observations Included w/an Ordered Test Battery" - creates it if necessaryintReturns a count of the current number of repetitions of Test/Observations Included w/an Ordered Test Battery (OM5-2).Returns OM5-3: "Observation ID Suffixes" - creates it if necessaryReturns OM5-1: "Sequence Number - Test/ Observation Master File" - creates it if necessaryCE[]Returns all repetitions of Test/Observations Included w/an Ordered Test Battery (OM5-2).Returns a specific repetition of OM5-2: "Test/Observations Included w/an Ordered Test Battery" - creates it if necessaryintReturns a count of the current number of repetitions of Test/Observations Included w/an Ordered Test Battery (OM5-2).Inserts a repetition of OM5-2: "Test/Observations Included w/an Ordered Test Battery" at a specific indexInserts a repetition of OM5-2: "Test/Observations Included w/an Ordered Test Battery" at a specific indexRemoves a repetition of OM5-2: "Test/Observations Included w/an Ordered Test Battery" at a specific indexRemoves a repetition of OM5-2: "Test/Observations Included w/an Ordered Test Battery" at a specific indexMethods 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
-
OM5
Creates a new OM5 segment
-
-
Method Details
-
getSequenceNumberTestObservationMasterFile
Returns OM5-1: "Sequence Number - Test/ Observation Master File" - creates it if necessary -
getOm51_SequenceNumberTestObservationMasterFile
Returns OM5-1: "Sequence Number - Test/ Observation Master File" - creates it if necessary -
getTestObservationsIncludedWAnOrderedTestBattery
Returns all repetitions of Test/Observations Included w/an Ordered Test Battery (OM5-2). -
getOm52_TestObservationsIncludedWAnOrderedTestBattery
Returns all repetitions of Test/Observations Included w/an Ordered Test Battery (OM5-2). -
getTestObservationsIncludedWAnOrderedTestBatteryReps
Returns a count of the current number of repetitions of Test/Observations Included w/an Ordered Test Battery (OM5-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getTestObservationsIncludedWAnOrderedTestBattery
Returns a specific repetition of OM5-2: "Test/Observations Included w/an Ordered Test Battery" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm52_TestObservationsIncludedWAnOrderedTestBattery
Returns a specific repetition of OM5-2: "Test/Observations Included w/an Ordered Test Battery" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm52_TestObservationsIncludedWAnOrderedTestBatteryReps
Returns a count of the current number of repetitions of Test/Observations Included w/an Ordered Test Battery (OM5-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertTestObservationsIncludedWAnOrderedTestBattery
Inserts a repetition of OM5-2: "Test/Observations Included w/an Ordered Test Battery" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertOm52_TestObservationsIncludedWAnOrderedTestBattery
Inserts a repetition of OM5-2: "Test/Observations Included w/an Ordered Test Battery" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeTestObservationsIncludedWAnOrderedTestBattery
Removes a repetition of OM5-2: "Test/Observations Included w/an Ordered Test Battery" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeOm52_TestObservationsIncludedWAnOrderedTestBattery
Removes a repetition of OM5-2: "Test/Observations Included w/an Ordered Test Battery" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getObservationIDSuffixes
Returns OM5-3: "Observation ID Suffixes" - creates it if necessary -
getOm53_ObservationIDSuffixes
Returns OM5-3: "Observation ID Suffixes" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-