public class OM5 extends AbstractSegment
Represents an HL7 OM5 message segment (OBSERVATION BATTERIES). This segment has the following fields:
log
Constructor and Description |
---|
OM5(Group parent,
ModelClassFactory factory)
Creates a new OM5 segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
ST |
getObservationIDSuffixes()
Returns
OM5-4: "Observation ID Suffixes" - creates it if necessary
|
ST |
getOm51_SegmentTypeID()
Returns
OM5-1: "Segment Type ID" - creates it if necessary
|
NM |
getOm52_SequenceNumberTestObservationMasterFile()
Returns
OM5-2: "Sequence Number - Test/ Observation Master File" - creates it if necessary
|
CE[] |
getOm53_TestsObservationsIncludedWithinAnOrderedTestBattery()
Returns all repetitions of Tests / observations included within an ordered test battery (OM5-3).
|
CE |
getOm53_TestsObservationsIncludedWithinAnOrderedTestBattery(int rep)
Returns a specific repetition of
OM5-3: "Tests / observations included within an ordered test battery" - creates it if necessary
|
int |
getOm53_TestsObservationsIncludedWithinAnOrderedTestBatteryReps()
Returns a count of the current number of repetitions of Tests / observations included within an ordered test battery (OM5-3).
|
ST |
getOm54_ObservationIDSuffixes()
Returns
OM5-4: "Observation ID Suffixes" - creates it if necessary
|
ST |
getSegmentTypeID()
Returns
OM5-1: "Segment Type ID" - creates it if necessary
|
NM |
getSequenceNumberTestObservationMasterFile()
Returns
OM5-2: "Sequence Number - Test/ Observation Master File" - creates it if necessary
|
CE[] |
getTestsObservationsIncludedWithinAnOrderedTestBattery()
Returns all repetitions of Tests / observations included within an ordered test battery (OM5-3).
|
CE |
getTestsObservationsIncludedWithinAnOrderedTestBattery(int rep)
Returns a specific repetition of
OM5-3: "Tests / observations included within an ordered test battery" - creates it if necessary
|
int |
getTestsObservationsIncludedWithinAnOrderedTestBatteryReps()
Returns a count of the current number of repetitions of Tests / observations included within an ordered test battery (OM5-3).
|
CE |
insertOm53_TestsObservationsIncludedWithinAnOrderedTestBattery(int rep)
Inserts a repetition of
OM5-3: "Tests / observations included within an ordered test battery" at a specific index
|
CE |
insertTestsObservationsIncludedWithinAnOrderedTestBattery(int rep)
Inserts a repetition of
OM5-3: "Tests / observations included within an ordered test battery" at a specific index
|
CE |
removeOm53_TestsObservationsIncludedWithinAnOrderedTestBattery(int rep)
Removes a repetition of
OM5-3: "Tests / observations included within an ordered test battery" at a specific index
|
CE |
removeTestsObservationsIncludedWithinAnOrderedTestBattery(int rep)
Removes a repetition of
OM5-3: "Tests / observations included within an ordered test battery" at a specific index
|
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetition
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public OM5(Group parent, ModelClassFactory factory)
public ST getSegmentTypeID()
public ST getOm51_SegmentTypeID()
public NM getSequenceNumberTestObservationMasterFile()
public NM getOm52_SequenceNumberTestObservationMasterFile()
public CE[] getTestsObservationsIncludedWithinAnOrderedTestBattery()
public CE[] getOm53_TestsObservationsIncludedWithinAnOrderedTestBattery()
public int getTestsObservationsIncludedWithinAnOrderedTestBatteryReps()
public CE getTestsObservationsIncludedWithinAnOrderedTestBattery(int rep)
rep
- The repetition index (0-indexed)public CE getOm53_TestsObservationsIncludedWithinAnOrderedTestBattery(int rep)
rep
- The repetition index (0-indexed)public int getOm53_TestsObservationsIncludedWithinAnOrderedTestBatteryReps()
public CE insertTestsObservationsIncludedWithinAnOrderedTestBattery(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE insertOm53_TestsObservationsIncludedWithinAnOrderedTestBattery(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE removeTestsObservationsIncludedWithinAnOrderedTestBattery(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE removeOm53_TestsObservationsIncludedWithinAnOrderedTestBattery(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public ST getObservationIDSuffixes()
public ST getOm54_ObservationIDSuffixes()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.