Package ca.uhn.hl7v2.model.v251.segment
Class OM2
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.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 and Continuous Observations (RFR) optional repeating
- OM2-7: Critical Range for Ordinal and Continuous Observations (RFR) optional repeating
- OM2-8: Absolute Range for Ordinal and Continuous Observations (RFR) optional
- OM2-9: Delta Check Criteria (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 and Continuous Observations" - creates it if necessaryReturns OM2-4: "Corresponding SI Units of Measure" - creates it if necessaryRFR[]Returns all repetitions of Critical Range for Ordinal and Continuous Observations (OM2-7).Returns a specific repetition of OM2-7: "Critical Range for Ordinal and Continuous Observations" - creates it if necessaryintReturns a count of the current number of repetitions of Critical Range for Ordinal and Continuous Observations (OM2-7).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 necessaryRFR[]Returns all repetitions of Reference (Normal) Range - Ordinal and Continuous Observations (OM2-6).Returns a specific repetition of OM2-6: "Reference (Normal) Range - Ordinal and Continuous Observations" - creates it if necessaryintReturns a count of the current number of repetitions of Reference (Normal) Range - Ordinal and Continuous Observations (OM2-6).RFR[]Returns all repetitions of Critical Range for Ordinal and Continuous Observations (OM2-7).Returns a specific repetition of OM2-7: "Critical Range for Ordinal and Continuous Observations" - creates it if necessaryintReturns a count of the current number of repetitions of Critical Range for Ordinal and Continuous Observations (OM2-7).Returns OM2-8: "Absolute Range for Ordinal and Continuous Observations" - creates it if necessaryDLT[]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).RFR[]Returns all repetitions of Reference (Normal) Range - Ordinal and Continuous Observations (OM2-6).Returns a specific repetition of OM2-6: "Reference (Normal) Range - Ordinal and Continuous Observations" - creates it if necessaryintReturns a count of the current number of repetitions of Reference (Normal) Range - Ordinal and Continuous Observations (OM2-6).Returns 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 necessaryInserts a repetition of OM2-7: "Critical Range for Ordinal and Continuous Observations" at a specific indexinsertDeltaCheckCriteria(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 indexInserts a repetition of OM2-6: "Reference (Normal) Range - Ordinal and Continuous Observations" at a specific indexInserts a repetition of OM2-7: "Critical Range for Ordinal and Continuous Observations" 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 indexInserts a repetition of OM2-6: "Reference (Normal) Range - Ordinal and Continuous Observations" at a specific indexRemoves a repetition of OM2-7: "Critical Range for Ordinal and Continuous Observations" 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 indexRemoves a repetition of OM2-6: "Reference (Normal) Range - Ordinal and Continuous Observations" at a specific indexRemoves a repetition of OM2-7: "Critical Range for Ordinal and Continuous Observations" 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 indexRemoves a repetition of OM2-6: "Reference (Normal) Range - Ordinal and Continuous Observations" 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 -
getReferenceNormalRangeOrdinalAndContinuousObservations
Returns all repetitions of Reference (Normal) Range - Ordinal and Continuous Observations (OM2-6). -
getOm26_ReferenceNormalRangeOrdinalAndContinuousObservations
Returns all repetitions of Reference (Normal) Range - Ordinal and Continuous Observations (OM2-6). -
getReferenceNormalRangeOrdinalAndContinuousObservationsReps
Returns a count of the current number of repetitions of Reference (Normal) Range - Ordinal and Continuous Observations (OM2-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getReferenceNormalRangeOrdinalAndContinuousObservations
Returns a specific repetition of OM2-6: "Reference (Normal) Range - Ordinal and Continuous Observations" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm26_ReferenceNormalRangeOrdinalAndContinuousObservations
Returns a specific repetition of OM2-6: "Reference (Normal) Range - Ordinal and Continuous Observations" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm26_ReferenceNormalRangeOrdinalAndContinuousObservationsReps
Returns a count of the current number of repetitions of Reference (Normal) Range - Ordinal and Continuous Observations (OM2-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertReferenceNormalRangeOrdinalAndContinuousObservations
Inserts a repetition of OM2-6: "Reference (Normal) Range - Ordinal and 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)
-
insertOm26_ReferenceNormalRangeOrdinalAndContinuousObservations
public RFR insertOm26_ReferenceNormalRangeOrdinalAndContinuousObservations(int rep) throws HL7Exception Inserts a repetition of OM2-6: "Reference (Normal) Range - Ordinal and 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)
-
removeReferenceNormalRangeOrdinalAndContinuousObservations
Removes a repetition of OM2-6: "Reference (Normal) Range - Ordinal and 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)
-
removeOm26_ReferenceNormalRangeOrdinalAndContinuousObservations
public RFR removeOm26_ReferenceNormalRangeOrdinalAndContinuousObservations(int rep) throws HL7Exception Removes a repetition of OM2-6: "Reference (Normal) Range - Ordinal and 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 all repetitions of Critical Range for Ordinal and Continuous Observations (OM2-7). -
getOm27_CriticalRangeForOrdinalAndContinuousObservations
Returns all repetitions of Critical Range for Ordinal and Continuous Observations (OM2-7). -
getCriticalRangeForOrdinalAndContinuousObservationsReps
Returns a count of the current number of repetitions of Critical Range for Ordinal and 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. -
getCriticalRangeForOrdinalAndContinuousObservations
Returns a specific repetition of OM2-7: "Critical Range for Ordinal and Continuous Observations" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm27_CriticalRangeForOrdinalAndContinuousObservations
Returns a specific repetition of OM2-7: "Critical Range for Ordinal and Continuous Observations" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm27_CriticalRangeForOrdinalAndContinuousObservationsReps
Returns a count of the current number of repetitions of Critical Range for Ordinal and 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. -
insertCriticalRangeForOrdinalAndContinuousObservations
Inserts a repetition of OM2-7: "Critical Range for Ordinal and 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_CriticalRangeForOrdinalAndContinuousObservations
Inserts a repetition of OM2-7: "Critical Range for Ordinal and 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)
-
removeCriticalRangeForOrdinalAndContinuousObservations
Removes a repetition of OM2-7: "Critical Range for Ordinal and 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_CriticalRangeForOrdinalAndContinuousObservations
Removes a repetition of OM2-7: "Critical Range for Ordinal and 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)
-
getAbsoluteRangeForOrdinalAndContinuousObservations
Returns OM2-8: "Absolute Range for Ordinal and Continuous Observations" - creates it if necessary -
getOm28_AbsoluteRangeForOrdinalAndContinuousObservations
Returns OM2-8: "Absolute Range for Ordinal and Continuous Observations" - 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
-