Package ca.uhn.hl7v2.model.v22.segment
Class OM2
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v22.segment.OM2
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 OM2 message segment (NUMERIC OBSERVATION). This segment has the following fields:
- OM2-1: Segment Type ID (ST) optional
- OM2-2: Sequence Number - Test/ Observation Master File (NM) optional
- OM2-3: Units of Measure (CE) optional
- OM2-4: Range of Decimal Precision (NM) optional
- OM2-5: Corresponding SI Units of Measure (CE) optional
- OM2-6: SI Conversion Factor (TX) repeating
- OM2-7: Reference (normal) range - ordinal & continuous observations (CM_RFR) optional repeating
- OM2-8: Critical range for ordinal and continuous observations (CM_RANGE) optional
- OM2-9: Absolute range for ordinal and continuous observations (CM_ABS_RANGE) optional
- OM2-10: Delta Check Criteria (CM_DLT) optional repeating
- OM2-11: Minimum Meaningful Increments (NM) 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 OM2-9: "Absolute range for ordinal and continuous observations" - creates it if necessaryReturns OM2-5: "Corresponding SI Units of Measure" - creates it if necessaryReturns OM2-8: "Critical range for ordinal and continuous observations" - creates it if necessaryCM_DLT[]Returns all repetitions of Delta Check Criteria (OM2-10).getDeltaCheckCriteria(int rep) Returns a specific repetition of OM2-10: "Delta Check Criteria" - creates it if necessaryintReturns a count of the current number of repetitions of Delta Check Criteria (OM2-10).Returns OM2-11: "Minimum Meaningful Increments" - creates it if necessaryReturns OM2-1: "Segment Type ID" - creates it if necessaryCM_DLT[]Returns all repetitions of Delta Check Criteria (OM2-10).getOm210_DeltaCheckCriteria(int rep) Returns a specific repetition of OM2-10: "Delta Check Criteria" - creates it if necessaryintReturns a count of the current number of repetitions of Delta Check Criteria (OM2-10).Returns OM2-11: "Minimum Meaningful Increments" - creates it if necessaryReturns OM2-2: "Sequence Number - Test/ Observation Master File" - creates it if necessaryReturns OM2-3: "Units of Measure" - creates it if necessaryReturns OM2-4: "Range of Decimal Precision" - creates it if necessaryReturns OM2-5: "Corresponding SI Units of Measure" - creates it if necessaryTX[]Returns all repetitions of SI Conversion Factor (OM2-6).getOm26_SIConversionFactor(int rep) Returns a specific repetition of OM2-6: "SI Conversion Factor" - creates it if necessaryintReturns a count of the current number of repetitions of SI Conversion Factor (OM2-6).CM_RFR[]Returns all repetitions of Reference (normal) range - ordinal & continuous observations (OM2-7).Returns a specific repetition of OM2-7: "Reference (normal) range - ordinal & continuous observations" - creates it if necessaryintReturns a count of the current number of repetitions of Reference (normal) range - ordinal & continuous observations (OM2-7).Returns OM2-8: "Critical range for ordinal and continuous observations" - creates it if necessaryReturns OM2-9: "Absolute range for ordinal and continuous observations" - creates it if necessaryReturns OM2-4: "Range of Decimal Precision" - creates it if necessaryCM_RFR[]Returns all repetitions of Reference (normal) range - ordinal & continuous observations (OM2-7).Returns a specific repetition of OM2-7: "Reference (normal) range - ordinal & continuous observations" - creates it if necessaryintReturns a count of the current number of repetitions of Reference (normal) range - ordinal & continuous observations (OM2-7).Returns OM2-1: "Segment Type ID" - creates it if necessaryReturns OM2-2: "Sequence Number - Test/ Observation Master File" - creates it if necessaryTX[]Returns all repetitions of SI Conversion Factor (OM2-6).getSIConversionFactor(int rep) Returns a specific repetition of OM2-6: "SI Conversion Factor" - creates it if necessaryintReturns a count of the current number of repetitions of SI Conversion Factor (OM2-6).Returns OM2-3: "Units of Measure" - creates it if necessaryinsertDeltaCheckCriteria(int rep) Inserts a repetition of OM2-10: "Delta Check Criteria" at a specific indexinsertOm210_DeltaCheckCriteria(int rep) Inserts a repetition of OM2-10: "Delta Check Criteria" at a specific indexinsertOm26_SIConversionFactor(int rep) Inserts a repetition of OM2-6: "SI Conversion Factor" at a specific indexInserts a repetition of OM2-7: "Reference (normal) range - ordinal & continuous observations" at a specific indexInserts a repetition of OM2-7: "Reference (normal) range - ordinal & continuous observations" at a specific indexinsertSIConversionFactor(int rep) Inserts a repetition of OM2-6: "SI Conversion Factor" at a specific indexremoveDeltaCheckCriteria(int rep) Removes a repetition of OM2-10: "Delta Check Criteria" at a specific indexremoveOm210_DeltaCheckCriteria(int rep) Removes a repetition of OM2-10: "Delta Check Criteria" at a specific indexremoveOm26_SIConversionFactor(int rep) Removes a repetition of OM2-6: "SI Conversion Factor" at a specific indexRemoves a repetition of OM2-7: "Reference (normal) range - ordinal & continuous observations" at a specific indexRemoves a repetition of OM2-7: "Reference (normal) range - ordinal & continuous observations" at a specific indexremoveSIConversionFactor(int rep) Removes a repetition of OM2-6: "SI Conversion Factor" 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
-
OM2
Creates a new OM2 segment
-
-
Method Details
-
getSegmentTypeID
Returns OM2-1: "Segment Type ID" - creates it if necessary -
getOm21_SegmentTypeID
Returns OM2-1: "Segment Type ID" - creates it if necessary -
getSequenceNumberTestObservationMasterFile
Returns OM2-2: "Sequence Number - Test/ Observation Master File" - creates it if necessary -
getOm22_SequenceNumberTestObservationMasterFile
Returns OM2-2: "Sequence Number - Test/ Observation Master File" - creates it if necessary -
getUnitsOfMeasure
Returns OM2-3: "Units of Measure" - creates it if necessary -
getOm23_UnitsOfMeasure
Returns OM2-3: "Units of Measure" - creates it if necessary -
getRangeOfDecimalPrecision
Returns OM2-4: "Range of Decimal Precision" - creates it if necessary -
getOm24_RangeOfDecimalPrecision
Returns OM2-4: "Range of Decimal Precision" - creates it if necessary -
getCorrespondingSIUnitsOfMeasure
Returns OM2-5: "Corresponding SI Units of Measure" - creates it if necessary -
getOm25_CorrespondingSIUnitsOfMeasure
Returns OM2-5: "Corresponding SI Units of Measure" - creates it if necessary -
getSIConversionFactor
Returns all repetitions of SI Conversion Factor (OM2-6). -
getOm26_SIConversionFactor
Returns all repetitions of SI Conversion Factor (OM2-6). -
getSIConversionFactorReps
Returns a count of the current number of repetitions of SI Conversion Factor (OM2-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSIConversionFactor
Returns a specific repetition of OM2-6: "SI Conversion Factor" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm26_SIConversionFactor
Returns a specific repetition of OM2-6: "SI Conversion Factor" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm26_SIConversionFactorReps
Returns a count of the current number of repetitions of SI Conversion Factor (OM2-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSIConversionFactor
Inserts a repetition of OM2-6: "SI Conversion Factor" 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)
-
insertOm26_SIConversionFactor
Inserts a repetition of OM2-6: "SI Conversion Factor" 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)
-
removeSIConversionFactor
Removes a repetition of OM2-6: "SI Conversion Factor" 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)
-
removeOm26_SIConversionFactor
Removes a repetition of OM2-6: "SI Conversion Factor" 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)
-
getReferenceNormalRangeOrdinalContinuousObservations
Returns all repetitions of Reference (normal) range - ordinal & continuous observations (OM2-7). -
getOm27_ReferenceNormalRangeOrdinalContinuousObservations
Returns all repetitions of Reference (normal) range - ordinal & continuous observations (OM2-7). -
getReferenceNormalRangeOrdinalContinuousObservationsReps
Returns a count of the current number of repetitions of Reference (normal) range - ordinal & continuous observations (OM2-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getReferenceNormalRangeOrdinalContinuousObservations
Returns a specific repetition of OM2-7: "Reference (normal) range - ordinal & continuous observations" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm27_ReferenceNormalRangeOrdinalContinuousObservations
Returns a specific repetition of OM2-7: "Reference (normal) range - ordinal & continuous observations" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm27_ReferenceNormalRangeOrdinalContinuousObservationsReps
Returns a count of the current number of repetitions of Reference (normal) range - ordinal & continuous observations (OM2-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertReferenceNormalRangeOrdinalContinuousObservations
Inserts a repetition of OM2-7: "Reference (normal) range - ordinal & continuous observations" 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)
-
insertOm27_ReferenceNormalRangeOrdinalContinuousObservations
public CM_RFR insertOm27_ReferenceNormalRangeOrdinalContinuousObservations(int rep) throws HL7Exception Inserts a repetition of OM2-7: "Reference (normal) range - ordinal & continuous observations" 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)
-
removeReferenceNormalRangeOrdinalContinuousObservations
Removes a repetition of OM2-7: "Reference (normal) range - ordinal & continuous observations" 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)
-
removeOm27_ReferenceNormalRangeOrdinalContinuousObservations
public CM_RFR removeOm27_ReferenceNormalRangeOrdinalContinuousObservations(int rep) throws HL7Exception Removes a repetition of OM2-7: "Reference (normal) range - ordinal & continuous observations" 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)
-
getCriticalRangeForOrdinalAndContinuousObservations
Returns OM2-8: "Critical range for ordinal and continuous observations" - creates it if necessary -
getOm28_CriticalRangeForOrdinalAndContinuousObservations
Returns OM2-8: "Critical range for ordinal and continuous observations" - creates it if necessary -
getAbsoluteRangeForOrdinalAndContinuousObservations
Returns OM2-9: "Absolute range for ordinal and continuous observations" - creates it if necessary -
getOm29_AbsoluteRangeForOrdinalAndContinuousObservations
Returns OM2-9: "Absolute range for ordinal and continuous observations" - creates it if necessary -
getDeltaCheckCriteria
Returns all repetitions of Delta Check Criteria (OM2-10). -
getOm210_DeltaCheckCriteria
Returns all repetitions of Delta Check Criteria (OM2-10). -
getDeltaCheckCriteriaReps
Returns a count of the current number of repetitions of Delta Check Criteria (OM2-10). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getDeltaCheckCriteria
Returns a specific repetition of OM2-10: "Delta Check Criteria" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm210_DeltaCheckCriteria
Returns a specific repetition of OM2-10: "Delta Check Criteria" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm210_DeltaCheckCriteriaReps
Returns a count of the current number of repetitions of Delta Check Criteria (OM2-10). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertDeltaCheckCriteria
Inserts a repetition of OM2-10: "Delta Check Criteria" 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)
-
insertOm210_DeltaCheckCriteria
Inserts a repetition of OM2-10: "Delta Check Criteria" 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)
-
removeDeltaCheckCriteria
Removes a repetition of OM2-10: "Delta Check Criteria" 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)
-
removeOm210_DeltaCheckCriteria
Removes a repetition of OM2-10: "Delta Check Criteria" 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)
-
getMinimumMeaningfulIncrements
Returns OM2-11: "Minimum Meaningful Increments" - creates it if necessary -
getOm211_MinimumMeaningfulIncrements
Returns OM2-11: "Minimum Meaningful Increments" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-