Package ca.uhn.hl7v2.model.v22.segment
Class OM3
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v22.segment.OM3
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 OM3 message segment (CATEGORICAL TEST/OBSERVATION). This segment has the following fields:
- OM3-1: Segment Type ID (ST) optional
- OM3-2: Sequence Number - Test/ Observation Master File (NM) optional
- OM3-3: Preferred Coding System (ID) optional
- OM3-4: Valid coded answers (CE) optional repeating
- OM3-5: Normal test codes for categorical observations (CE) optional repeating
- OM3-6: Abnormal test codes for categorical observations (CE) optional
- OM3-7: Critical test codes for categorical observations (CE) optional
- OM3-8: Data 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-6: "Abnormal test codes for categorical observations" - creates it if necessaryReturns OM3-7: "Critical test codes for categorical observations" - creates it if necessaryReturns OM3-8: "Data Type" - creates it if necessaryCE[]Returns all repetitions of Normal test codes for categorical observations (OM3-5).Returns a specific repetition of OM3-5: "Normal test codes for categorical observations" - creates it if necessaryintReturns a count of the current number of repetitions of Normal test codes for categorical observations (OM3-5).Returns OM3-1: "Segment Type ID" - creates it if necessaryReturns OM3-2: "Sequence Number - Test/ Observation Master File" - creates it if necessaryReturns OM3-3: "Preferred Coding System" - creates it if necessaryCE[]Returns all repetitions of Valid coded answers (OM3-4).getOm34_ValidCodedAnswers(int rep) Returns a specific repetition of OM3-4: "Valid coded answers" - creates it if necessaryintReturns a count of the current number of repetitions of Valid coded answers (OM3-4).CE[]Returns all repetitions of Normal test codes for categorical observations (OM3-5).Returns a specific repetition of OM3-5: "Normal test codes for categorical observations" - creates it if necessaryintReturns a count of the current number of repetitions of Normal test codes for categorical observations (OM3-5).Returns OM3-6: "Abnormal test codes for categorical observations" - creates it if necessaryReturns OM3-7: "Critical test codes for categorical observations" - creates it if necessaryReturns OM3-8: "Data Type" - creates it if necessaryReturns OM3-3: "Preferred Coding System" - creates it if necessaryReturns OM3-1: "Segment Type ID" - creates it if necessaryReturns OM3-2: "Sequence Number - Test/ Observation Master File" - creates it if necessaryCE[]Returns all repetitions of Valid coded answers (OM3-4).getValidCodedAnswers(int rep) Returns a specific repetition of OM3-4: "Valid coded answers" - creates it if necessaryintReturns a count of the current number of repetitions of Valid coded answers (OM3-4).Inserts a repetition of OM3-5: "Normal test codes for categorical observations" at a specific indexinsertOm34_ValidCodedAnswers(int rep) Inserts a repetition of OM3-4: "Valid coded answers" at a specific indexInserts a repetition of OM3-5: "Normal test codes for categorical observations" at a specific indexinsertValidCodedAnswers(int rep) Inserts a repetition of OM3-4: "Valid coded answers" at a specific indexRemoves a repetition of OM3-5: "Normal test codes for categorical observations" at a specific indexremoveOm34_ValidCodedAnswers(int rep) Removes a repetition of OM3-4: "Valid coded answers" at a specific indexRemoves a repetition of OM3-5: "Normal test codes for categorical observations" at a specific indexremoveValidCodedAnswers(int rep) Removes a repetition of OM3-4: "Valid coded answers" 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
-
getSegmentTypeID
Returns OM3-1: "Segment Type ID" - creates it if necessary -
getOm31_SegmentTypeID
Returns OM3-1: "Segment Type ID" - creates it if necessary -
getSequenceNumberTestObservationMasterFile
Returns OM3-2: "Sequence Number - Test/ Observation Master File" - creates it if necessary -
getOm32_SequenceNumberTestObservationMasterFile
Returns OM3-2: "Sequence Number - Test/ Observation Master File" - creates it if necessary -
getPreferredCodingSystem
Returns OM3-3: "Preferred Coding System" - creates it if necessary -
getOm33_PreferredCodingSystem
Returns OM3-3: "Preferred Coding System" - creates it if necessary -
getValidCodedAnswers
Returns all repetitions of Valid coded answers (OM3-4). -
getOm34_ValidCodedAnswers
Returns all repetitions of Valid coded answers (OM3-4). -
getValidCodedAnswersReps
Returns a count of the current number of repetitions of Valid coded answers (OM3-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getValidCodedAnswers
Returns a specific repetition of OM3-4: "Valid coded answers" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm34_ValidCodedAnswers
Returns a specific repetition of OM3-4: "Valid coded answers" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm34_ValidCodedAnswersReps
Returns a count of the current number of repetitions of Valid coded answers (OM3-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertValidCodedAnswers
Inserts a repetition of OM3-4: "Valid coded answers" 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_ValidCodedAnswers
Inserts a repetition of OM3-4: "Valid coded answers" 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)
-
removeValidCodedAnswers
Removes a repetition of OM3-4: "Valid coded answers" 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_ValidCodedAnswers
Removes a repetition of OM3-4: "Valid coded answers" 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)
-
getNormalTestCodesForCategoricalObservations
Returns all repetitions of Normal test codes for categorical observations (OM3-5). -
getOm35_NormalTestCodesForCategoricalObservations
Returns all repetitions of Normal test codes for categorical observations (OM3-5). -
getNormalTestCodesForCategoricalObservationsReps
Returns a count of the current number of repetitions of Normal test 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. -
getNormalTestCodesForCategoricalObservations
Returns a specific repetition of OM3-5: "Normal test codes for categorical observations" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm35_NormalTestCodesForCategoricalObservations
Returns a specific repetition of OM3-5: "Normal test codes for categorical observations" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm35_NormalTestCodesForCategoricalObservationsReps
Returns a count of the current number of repetitions of Normal test 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. -
insertNormalTestCodesForCategoricalObservations
Inserts a repetition of OM3-5: "Normal test 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_NormalTestCodesForCategoricalObservations
Inserts a repetition of OM3-5: "Normal test 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)
-
removeNormalTestCodesForCategoricalObservations
Removes a repetition of OM3-5: "Normal test 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_NormalTestCodesForCategoricalObservations
Removes a repetition of OM3-5: "Normal test 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)
-
getAbnormalTestCodesForCategoricalObservations
Returns OM3-6: "Abnormal test codes for categorical observations" - creates it if necessary -
getOm36_AbnormalTestCodesForCategoricalObservations
Returns OM3-6: "Abnormal test codes for categorical observations" - creates it if necessary -
getCriticalTestCodesForCategoricalObservations
Returns OM3-7: "Critical test codes for categorical observations" - creates it if necessary -
getOm37_CriticalTestCodesForCategoricalObservations
Returns OM3-7: "Critical test codes for categorical observations" - creates it if necessary -
getDataType
Returns OM3-8: "Data Type" - creates it if necessary -
getOm38_DataType
Returns OM3-8: "Data Type" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-