Package ca.uhn.hl7v2.model.v251.segment
Class OM3
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.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 repeating
- OM3-6: Critical Text/Codes for Categorical Observations (CE) optional repeating
- 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) CE[]Returns all repetitions of Abnormal Text/Codes for Categorical Observations (OM3-5).Returns a specific repetition of OM3-5: "Abnormal Text/Codes for Categorical Observations" - creates it if necessaryintReturns a count of the current number of repetitions of Abnormal Text/Codes for Categorical Observations (OM3-5).CE[]Returns all repetitions of Critical Text/Codes for Categorical Observations (OM3-6).Returns a specific repetition of OM3-6: "Critical Text/Codes for Categorical Observations" - creates it if necessaryintReturns a count of the current number of repetitions of Critical Text/Codes for Categorical Observations (OM3-6).CE[]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).CE[]Returns all repetitions of Abnormal Text/Codes for Categorical Observations (OM3-5).Returns a specific repetition of OM3-5: "Abnormal Text/Codes for Categorical Observations" - creates it if necessaryintReturns a count of the current number of repetitions of Abnormal Text/Codes for Categorical Observations (OM3-5).CE[]Returns all repetitions of Critical Text/Codes for Categorical Observations (OM3-6).Returns a specific repetition of OM3-6: "Critical Text/Codes for Categorical Observations" - creates it if necessaryintReturns a count of the current number of repetitions of Critical Text/Codes for Categorical Observations (OM3-6).Returns 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-5: "Abnormal Text/Codes for Categorical Observations" at a specific indexInserts a repetition of OM3-6: "Critical Text/Codes for Categorical Observations" at a specific indexInserts 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 indexInserts a repetition of OM3-5: "Abnormal Text/Codes for Categorical Observations" at a specific indexInserts a repetition of OM3-6: "Critical Text/Codes for Categorical Observations" at a specific indexRemoves a repetition of OM3-5: "Abnormal Text/Codes for Categorical Observations" at a specific indexRemoves a repetition of OM3-6: "Critical 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 indexRemoves a repetition of OM3-5: "Abnormal Text/Codes for Categorical Observations" at a specific indexRemoves a repetition of OM3-6: "Critical 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 all repetitions of Abnormal Text/Codes for Categorical Observations (OM3-5). -
getOm35_AbnormalTextCodesForCategoricalObservations
Returns all repetitions of Abnormal Text/Codes for Categorical Observations (OM3-5). -
getAbnormalTextCodesForCategoricalObservationsReps
Returns a count of the current number of repetitions of Abnormal Text/Codes for Categorical Observations (OM3-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getAbnormalTextCodesForCategoricalObservations
Returns a specific repetition of OM3-5: "Abnormal Text/Codes for Categorical Observations" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm35_AbnormalTextCodesForCategoricalObservations
Returns a specific repetition of OM3-5: "Abnormal Text/Codes for Categorical Observations" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm35_AbnormalTextCodesForCategoricalObservationsReps
Returns a count of the current number of repetitions of Abnormal Text/Codes for Categorical Observations (OM3-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertAbnormalTextCodesForCategoricalObservations
Inserts a repetition of OM3-5: "Abnormal 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)
-
insertOm35_AbnormalTextCodesForCategoricalObservations
Inserts a repetition of OM3-5: "Abnormal 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)
-
removeAbnormalTextCodesForCategoricalObservations
Removes a repetition of OM3-5: "Abnormal 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)
-
removeOm35_AbnormalTextCodesForCategoricalObservations
Removes a repetition of OM3-5: "Abnormal 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)
-
getCriticalTextCodesForCategoricalObservations
Returns all repetitions of Critical Text/Codes for Categorical Observations (OM3-6). -
getOm36_CriticalTextCodesForCategoricalObservations
Returns all repetitions of Critical Text/Codes for Categorical Observations (OM3-6). -
getCriticalTextCodesForCategoricalObservationsReps
Returns a count of the current number of repetitions of Critical Text/Codes for Categorical Observations (OM3-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getCriticalTextCodesForCategoricalObservations
Returns a specific repetition of OM3-6: "Critical Text/Codes for Categorical Observations" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm36_CriticalTextCodesForCategoricalObservations
Returns a specific repetition of OM3-6: "Critical Text/Codes for Categorical Observations" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm36_CriticalTextCodesForCategoricalObservationsReps
Returns a count of the current number of repetitions of Critical Text/Codes for Categorical Observations (OM3-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertCriticalTextCodesForCategoricalObservations
Inserts a repetition of OM3-6: "Critical 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)
-
insertOm36_CriticalTextCodesForCategoricalObservations
Inserts a repetition of OM3-6: "Critical 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)
-
removeCriticalTextCodesForCategoricalObservations
Removes a repetition of OM3-6: "Critical 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)
-
removeOm36_CriticalTextCodesForCategoricalObservations
Removes a repetition of OM3-6: "Critical 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)
-
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
-