public class OM3 extends AbstractSegment
Represents an HL7 OM3 message segment (CATEGORICAL TEST/OBSERVATION). This segment has the following fields:
log
Constructor and Description |
---|
OM3(Group parent,
ModelClassFactory factory)
Creates a new OM3 segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
CE |
getAbnormalTestCodesForCategoricalObservations()
Returns
OM3-6: "Abnormal test codes for categorical observations" - creates it if necessary
|
CE |
getCriticalTestCodesForCategoricalObservations()
Returns
OM3-7: "Critical test codes for categorical observations" - creates it if necessary
|
ID |
getDataType()
Returns
OM3-8: "Data Type" - creates it if necessary
|
CE[] |
getNormalTestCodesForCategoricalObservations()
Returns all repetitions of Normal test codes for categorical observations (OM3-5).
|
CE |
getNormalTestCodesForCategoricalObservations(int rep)
Returns a specific repetition of
OM3-5: "Normal test codes for categorical observations" - creates it if necessary
|
int |
getNormalTestCodesForCategoricalObservationsReps()
Returns a count of the current number of repetitions of Normal test codes for categorical observations (OM3-5).
|
ST |
getOm31_SegmentTypeID()
Returns
OM3-1: "Segment Type ID" - creates it if necessary
|
NM |
getOm32_SequenceNumberTestObservationMasterFile()
Returns
OM3-2: "Sequence Number - Test/ Observation Master File" - creates it if necessary
|
ID |
getOm33_PreferredCodingSystem()
Returns
OM3-3: "Preferred Coding System" - creates it if necessary
|
CE[] |
getOm34_ValidCodedAnswers()
Returns all repetitions of Valid coded answers (OM3-4).
|
CE |
getOm34_ValidCodedAnswers(int rep)
Returns a specific repetition of
OM3-4: "Valid coded answers" - creates it if necessary
|
int |
getOm34_ValidCodedAnswersReps()
Returns a count of the current number of repetitions of Valid coded answers (OM3-4).
|
CE[] |
getOm35_NormalTestCodesForCategoricalObservations()
Returns all repetitions of Normal test codes for categorical observations (OM3-5).
|
CE |
getOm35_NormalTestCodesForCategoricalObservations(int rep)
Returns a specific repetition of
OM3-5: "Normal test codes for categorical observations" - creates it if necessary
|
int |
getOm35_NormalTestCodesForCategoricalObservationsReps()
Returns a count of the current number of repetitions of Normal test codes for categorical observations (OM3-5).
|
CE |
getOm36_AbnormalTestCodesForCategoricalObservations()
Returns
OM3-6: "Abnormal test codes for categorical observations" - creates it if necessary
|
CE |
getOm37_CriticalTestCodesForCategoricalObservations()
Returns
OM3-7: "Critical test codes for categorical observations" - creates it if necessary
|
ID |
getOm38_DataType()
Returns
OM3-8: "Data Type" - creates it if necessary
|
ID |
getPreferredCodingSystem()
Returns
OM3-3: "Preferred Coding System" - creates it if necessary
|
ST |
getSegmentTypeID()
Returns
OM3-1: "Segment Type ID" - creates it if necessary
|
NM |
getSequenceNumberTestObservationMasterFile()
Returns
OM3-2: "Sequence Number - Test/ Observation Master File" - creates it if necessary
|
CE[] |
getValidCodedAnswers()
Returns all repetitions of Valid coded answers (OM3-4).
|
CE |
getValidCodedAnswers(int rep)
Returns a specific repetition of
OM3-4: "Valid coded answers" - creates it if necessary
|
int |
getValidCodedAnswersReps()
Returns a count of the current number of repetitions of Valid coded answers (OM3-4).
|
CE |
insertNormalTestCodesForCategoricalObservations(int rep)
Inserts a repetition of
OM3-5: "Normal test codes for categorical observations" at a specific index
|
CE |
insertOm34_ValidCodedAnswers(int rep)
Inserts a repetition of
OM3-4: "Valid coded answers" at a specific index
|
CE |
insertOm35_NormalTestCodesForCategoricalObservations(int rep)
Inserts a repetition of
OM3-5: "Normal test codes for categorical observations" at a specific index
|
CE |
insertValidCodedAnswers(int rep)
Inserts a repetition of
OM3-4: "Valid coded answers" at a specific index
|
CE |
removeNormalTestCodesForCategoricalObservations(int rep)
Removes a repetition of
OM3-5: "Normal test codes for categorical observations" at a specific index
|
CE |
removeOm34_ValidCodedAnswers(int rep)
Removes a repetition of
OM3-4: "Valid coded answers" at a specific index
|
CE |
removeOm35_NormalTestCodesForCategoricalObservations(int rep)
Removes a repetition of
OM3-5: "Normal test codes for categorical observations" at a specific index
|
CE |
removeValidCodedAnswers(int rep)
Removes a repetition of
OM3-4: "Valid coded answers" at a specific index
|
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetition
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public OM3(Group parent, ModelClassFactory factory)
public ST getSegmentTypeID()
public ST getOm31_SegmentTypeID()
public NM getSequenceNumberTestObservationMasterFile()
public NM getOm32_SequenceNumberTestObservationMasterFile()
public ID getPreferredCodingSystem()
public ID getOm33_PreferredCodingSystem()
public CE[] getValidCodedAnswers()
public CE[] getOm34_ValidCodedAnswers()
public int getValidCodedAnswersReps()
public CE getValidCodedAnswers(int rep)
rep
- The repetition index (0-indexed)public CE getOm34_ValidCodedAnswers(int rep)
rep
- The repetition index (0-indexed)public int getOm34_ValidCodedAnswersReps()
public CE insertValidCodedAnswers(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE insertOm34_ValidCodedAnswers(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE removeValidCodedAnswers(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE removeOm34_ValidCodedAnswers(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE[] getNormalTestCodesForCategoricalObservations()
public CE[] getOm35_NormalTestCodesForCategoricalObservations()
public int getNormalTestCodesForCategoricalObservationsReps()
public CE getNormalTestCodesForCategoricalObservations(int rep)
rep
- The repetition index (0-indexed)public CE getOm35_NormalTestCodesForCategoricalObservations(int rep)
rep
- The repetition index (0-indexed)public int getOm35_NormalTestCodesForCategoricalObservationsReps()
public CE insertNormalTestCodesForCategoricalObservations(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE insertOm35_NormalTestCodesForCategoricalObservations(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE removeNormalTestCodesForCategoricalObservations(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE removeOm35_NormalTestCodesForCategoricalObservations(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE getAbnormalTestCodesForCategoricalObservations()
public CE getOm36_AbnormalTestCodesForCategoricalObservations()
public CE getCriticalTestCodesForCategoricalObservations()
public CE getOm37_CriticalTestCodesForCategoricalObservations()
public ID getDataType()
public ID getOm38_DataType()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.