Package ca.uhn.hl7v2.model.v24.segment
Class OM3
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.OM3
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 OM3 message segment (Categorical Service/Test/Observation). This segment has the following fields:
- OM3-1: Sequence Number - Test/ Observation Master File (NM) optional
- OM3-2: Preferred Coding System (CE) optional
- OM3-3: Valid Coded "Answers" (CE) optional
- OM3-4: Normal Text/Codes for Categorical Observations (CE) optional repeating
- OM3-5: Abnormal Text/Codes for Categorical Observations (CE) optional
- OM3-6: Critical Text/Codes for Categorical Observations (CE) optional
- OM3-7: Value Type (ID) 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 OM3-5: "Abnormal Text/Codes for Categorical Observations" - creates it if necessaryReturns OM3-6: "Critical Text/Codes for Categorical Observations" - creates it if necessaryCE[]Returns all repetitions of Normal Text/Codes for Categorical Observations (OM3-4).Returns a specific repetition of OM3-4: "Normal Text/Codes for Categorical Observations" - creates it if necessaryintReturns a count of the current number of repetitions of Normal Text/Codes for Categorical Observations (OM3-4).Returns OM3-1: "Sequence Number - Test/ Observation Master File" - creates it if necessaryReturns OM3-2: "Preferred Coding System" - creates it if necessaryReturns OM3-3: "Valid Coded "Answers"" - creates it if necessaryCE[]Returns all repetitions of Normal Text/Codes for Categorical Observations (OM3-4).Returns a specific repetition of OM3-4: "Normal Text/Codes for Categorical Observations" - creates it if necessaryintReturns a count of the current number of repetitions of Normal Text/Codes for Categorical Observations (OM3-4).Returns OM3-5: "Abnormal Text/Codes for Categorical Observations" - creates it if necessaryReturns OM3-6: "Critical Text/Codes for Categorical Observations" - creates it if necessaryReturns OM3-7: "Value Type" - creates it if necessaryReturns OM3-2: "Preferred Coding System" - creates it if necessaryReturns OM3-1: "Sequence Number - Test/ Observation Master File" - creates it if necessaryReturns OM3-3: "Valid Coded "Answers"" - creates it if necessaryReturns OM3-7: "Value Type" - creates it if necessaryInserts a repetition of OM3-4: "Normal Text/Codes for Categorical Observations" at a specific indexInserts a repetition of OM3-4: "Normal Text/Codes for Categorical Observations" at a specific indexRemoves a repetition of OM3-4: "Normal Text/Codes for Categorical Observations" at a specific indexRemoves a repetition of OM3-4: "Normal Text/Codes for Categorical 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
-
OM3
Creates a new OM3 segment
-
-
Method Details
-
getSequenceNumberTestObservationMasterFile
Returns OM3-1: "Sequence Number - Test/ Observation Master File" - creates it if necessary -
getOm31_SequenceNumberTestObservationMasterFile
Returns OM3-1: "Sequence Number - Test/ Observation Master File" - creates it if necessary -
getPreferredCodingSystem
Returns OM3-2: "Preferred Coding System" - creates it if necessary -
getOm32_PreferredCodingSystem
Returns OM3-2: "Preferred Coding System" - creates it if necessary -
getValidCodedAnswers
Returns OM3-3: "Valid Coded "Answers"" - creates it if necessary -
getOm33_ValidCodedAnswers
Returns OM3-3: "Valid Coded "Answers"" - creates it if necessary -
getNormalTextCodesForCategoricalObservations
Returns all repetitions of Normal Text/Codes for Categorical Observations (OM3-4). -
getOm34_NormalTextCodesForCategoricalObservations
Returns all repetitions of Normal Text/Codes for Categorical Observations (OM3-4). -
getNormalTextCodesForCategoricalObservationsReps
Returns a count of the current number of repetitions of Normal Text/Codes for Categorical Observations (OM3-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getNormalTextCodesForCategoricalObservations
Returns a specific repetition of OM3-4: "Normal Text/Codes for Categorical Observations" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm34_NormalTextCodesForCategoricalObservations
Returns a specific repetition of OM3-4: "Normal Text/Codes for Categorical Observations" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm34_NormalTextCodesForCategoricalObservationsReps
Returns a count of the current number of repetitions of Normal Text/Codes for Categorical Observations (OM3-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertNormalTextCodesForCategoricalObservations
Inserts a repetition of OM3-4: "Normal Text/Codes for Categorical 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)
-
insertOm34_NormalTextCodesForCategoricalObservations
Inserts a repetition of OM3-4: "Normal Text/Codes for Categorical 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)
-
removeNormalTextCodesForCategoricalObservations
Removes a repetition of OM3-4: "Normal Text/Codes for Categorical 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)
-
removeOm34_NormalTextCodesForCategoricalObservations
Removes a repetition of OM3-4: "Normal Text/Codes for Categorical 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)
-
getAbnormalTextCodesForCategoricalObservations
Returns OM3-5: "Abnormal Text/Codes for Categorical Observations" - creates it if necessary -
getOm35_AbnormalTextCodesForCategoricalObservations
Returns OM3-5: "Abnormal Text/Codes for Categorical Observations" - creates it if necessary -
getCriticalTextCodesForCategoricalObservations
Returns OM3-6: "Critical Text/Codes for Categorical Observations" - creates it if necessary -
getOm36_CriticalTextCodesForCategoricalObservations
Returns OM3-6: "Critical Text/Codes for Categorical Observations" - creates it if necessary -
getValueType
Returns OM3-7: "Value Type" - creates it if necessary -
getOm37_ValueType
Returns OM3-7: "Value Type" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-