Package ca.uhn.hl7v2.model.v23.segment
Class OM2
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v23.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: Sequence Number - Test/ Observation Master File (NM) optional
- OM2-2: Units of Measure (CE) optional
- OM2-3: Range of Decimal Precision (NM) optional repeating
- OM2-4: Corresponding SI Units of Measure (CE) optional
- OM2-5: SI Conversion Factor (TX) optional
- OM2-6: Reference (Normal) Range - Ordinal & Continuous Obs (CM_RFR) optional
- OM2-7: Critical Range for Ordinal & Continuous Obs (CM_RANGE) optional
- OM2-8: Absolute Range for Ordinal & Continuous Obs (CM_ABS_RANGE) optional
- OM2-9: Delta Check Criteria (CM_DLT) optional repeating
- OM2-10: 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-8: "Absolute Range for Ordinal & Continuous Obs" - creates it if necessaryReturns OM2-4: "Corresponding SI Units of Measure" - creates it if necessaryReturns OM2-7: "Critical Range for Ordinal & Continuous Obs" - creates it if necessaryCM_DLT[]Returns all repetitions of Delta Check Criteria (OM2-9).getDeltaCheckCriteria(int rep) Returns a specific repetition of OM2-9: "Delta Check Criteria" - creates it if necessaryintReturns a count of the current number of repetitions of Delta Check Criteria (OM2-9).Returns OM2-10: "Minimum Meaningful Increments" - creates it if necessaryReturns OM2-1: "Sequence Number - Test/ Observation Master File" - creates it if necessaryReturns OM2-10: "Minimum Meaningful Increments" - creates it if necessaryReturns OM2-2: "Units of Measure" - creates it if necessaryNM[]Returns all repetitions of Range of Decimal Precision (OM2-3).getOm23_RangeOfDecimalPrecision(int rep) Returns a specific repetition of OM2-3: "Range of Decimal Precision" - creates it if necessaryintReturns a count of the current number of repetitions of Range of Decimal Precision (OM2-3).Returns OM2-4: "Corresponding SI Units of Measure" - creates it if necessaryReturns OM2-5: "SI Conversion Factor" - creates it if necessaryReturns OM2-6: "Reference (Normal) Range - Ordinal & Continuous Obs" - creates it if necessaryReturns OM2-7: "Critical Range for Ordinal & Continuous Obs" - creates it if necessaryReturns OM2-8: "Absolute Range for Ordinal & Continuous Obs" - creates it if necessaryCM_DLT[]Returns all repetitions of Delta Check Criteria (OM2-9).getOm29_DeltaCheckCriteria(int rep) Returns a specific repetition of OM2-9: "Delta Check Criteria" - creates it if necessaryintReturns a count of the current number of repetitions of Delta Check Criteria (OM2-9).NM[]Returns all repetitions of Range of Decimal Precision (OM2-3).getRangeOfDecimalPrecision(int rep) Returns a specific repetition of OM2-3: "Range of Decimal Precision" - creates it if necessaryintReturns a count of the current number of repetitions of Range of Decimal Precision (OM2-3).Returns OM2-6: "Reference (Normal) Range - Ordinal & Continuous Obs" - creates it if necessaryReturns OM2-1: "Sequence Number - Test/ Observation Master File" - creates it if necessaryReturns OM2-5: "SI Conversion Factor" - creates it if necessaryReturns OM2-2: "Units of Measure" - creates it if necessaryinsertDeltaCheckCriteria(int rep) Inserts a repetition of OM2-9: "Delta Check Criteria" at a specific indexinsertOm23_RangeOfDecimalPrecision(int rep) Inserts a repetition of OM2-3: "Range of Decimal Precision" at a specific indexinsertOm29_DeltaCheckCriteria(int rep) Inserts a repetition of OM2-9: "Delta Check Criteria" at a specific indexinsertRangeOfDecimalPrecision(int rep) Inserts a repetition of OM2-3: "Range of Decimal Precision" at a specific indexremoveDeltaCheckCriteria(int rep) Removes a repetition of OM2-9: "Delta Check Criteria" at a specific indexremoveOm23_RangeOfDecimalPrecision(int rep) Removes a repetition of OM2-3: "Range of Decimal Precision" at a specific indexremoveOm29_DeltaCheckCriteria(int rep) Removes a repetition of OM2-9: "Delta Check Criteria" at a specific indexremoveRangeOfDecimalPrecision(int rep) Removes a repetition of OM2-3: "Range of Decimal Precision" 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
-
getSequenceNumberTestObservationMasterFile
Returns OM2-1: "Sequence Number - Test/ Observation Master File" - creates it if necessary -
getOm21_SequenceNumberTestObservationMasterFile
Returns OM2-1: "Sequence Number - Test/ Observation Master File" - creates it if necessary -
getUnitsOfMeasure
Returns OM2-2: "Units of Measure" - creates it if necessary -
getOm22_UnitsOfMeasure
Returns OM2-2: "Units of Measure" - creates it if necessary -
getRangeOfDecimalPrecision
Returns all repetitions of Range of Decimal Precision (OM2-3). -
getOm23_RangeOfDecimalPrecision
Returns all repetitions of Range of Decimal Precision (OM2-3). -
getRangeOfDecimalPrecisionReps
Returns a count of the current number of repetitions of Range of Decimal Precision (OM2-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getRangeOfDecimalPrecision
Returns a specific repetition of OM2-3: "Range of Decimal Precision" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm23_RangeOfDecimalPrecision
Returns a specific repetition of OM2-3: "Range of Decimal Precision" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm23_RangeOfDecimalPrecisionReps
Returns a count of the current number of repetitions of Range of Decimal Precision (OM2-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertRangeOfDecimalPrecision
Inserts a repetition of OM2-3: "Range of Decimal Precision" 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)
-
insertOm23_RangeOfDecimalPrecision
Inserts a repetition of OM2-3: "Range of Decimal Precision" 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)
-
removeRangeOfDecimalPrecision
Removes a repetition of OM2-3: "Range of Decimal Precision" 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)
-
removeOm23_RangeOfDecimalPrecision
Removes a repetition of OM2-3: "Range of Decimal Precision" 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)
-
getCorrespondingSIUnitsOfMeasure
Returns OM2-4: "Corresponding SI Units of Measure" - creates it if necessary -
getOm24_CorrespondingSIUnitsOfMeasure
Returns OM2-4: "Corresponding SI Units of Measure" - creates it if necessary -
getSIConversionFactor
Returns OM2-5: "SI Conversion Factor" - creates it if necessary -
getOm25_SIConversionFactor
Returns OM2-5: "SI Conversion Factor" - creates it if necessary -
getReferenceNormalRangeOrdinalContinuousObs
Returns OM2-6: "Reference (Normal) Range - Ordinal & Continuous Obs" - creates it if necessary -
getOm26_ReferenceNormalRangeOrdinalContinuousObs
Returns OM2-6: "Reference (Normal) Range - Ordinal & Continuous Obs" - creates it if necessary -
getCriticalRangeForOrdinalContinuousObs
Returns OM2-7: "Critical Range for Ordinal & Continuous Obs" - creates it if necessary -
getOm27_CriticalRangeForOrdinalContinuousObs
Returns OM2-7: "Critical Range for Ordinal & Continuous Obs" - creates it if necessary -
getAbsoluteRangeForOrdinalContinuousObs
Returns OM2-8: "Absolute Range for Ordinal & Continuous Obs" - creates it if necessary -
getOm28_AbsoluteRangeForOrdinalContinuousObs
Returns OM2-8: "Absolute Range for Ordinal & Continuous Obs" - creates it if necessary -
getDeltaCheckCriteria
Returns all repetitions of Delta Check Criteria (OM2-9). -
getOm29_DeltaCheckCriteria
Returns all repetitions of Delta Check Criteria (OM2-9). -
getDeltaCheckCriteriaReps
Returns a count of the current number of repetitions of Delta Check Criteria (OM2-9). 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-9: "Delta Check Criteria" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm29_DeltaCheckCriteria
Returns a specific repetition of OM2-9: "Delta Check Criteria" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm29_DeltaCheckCriteriaReps
Returns a count of the current number of repetitions of Delta Check Criteria (OM2-9). 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-9: "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)
-
insertOm29_DeltaCheckCriteria
Inserts a repetition of OM2-9: "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-9: "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)
-
removeOm29_DeltaCheckCriteria
Removes a repetition of OM2-9: "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-10: "Minimum Meaningful Increments" - creates it if necessary -
getOm210_MinimumMeaningfulIncrements
Returns OM2-10: "Minimum Meaningful Increments" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-