Package ca.uhn.hl7v2.model.v24.segment
Class OBX
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.OBX
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 OBX message segment (Observation/Result). This segment has the following fields:
- OBX-1: Set ID - OBX (SI) optional
- OBX-2: Value Type (ID) optional
- OBX-3: Observation Identifier (CE)
- OBX-4: Observation Sub-Id (ST) optional
- OBX-5: Observation Value (Varies) optional repeating
- OBX-6: Units (CE) optional
- OBX-7: References Range (ST) optional
- OBX-8: Abnormal Flags (IS) optional
- OBX-9: Probability (NM) optional repeating
- OBX-10: Nature of Abnormal Test (ID) optional
- OBX-11: Observation Result Status (ID)
- OBX-12: Date Last Observation Normal Value (TS) optional
- OBX-13: User Defined Access Checks (ST) optional
- OBX-14: Date/Time of the Observation (TS) optional
- OBX-15: Producer's ID (CE) optional
- OBX-16: Responsible Observer (XCN) optional
- OBX-17: Observation Method (CE) optional repeating
- OBX-18: Equipment Instance Identifier (EI) optional repeating
- OBX-19: Date/Time of the Analysis (TS) 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 OBX-8: "Abnormal Flags" - creates it if necessaryReturns OBX-12: "Date Last Observation Normal Value" - creates it if necessaryReturns OBX-19: "Date/Time of the Analysis" - creates it if necessaryReturns OBX-14: "Date/Time of the Observation" - creates it if necessaryEI[]Returns all repetitions of Equipment Instance Identifier (OBX-18).getEquipmentInstanceIdentifier(int rep) Returns a specific repetition of OBX-18: "Equipment Instance Identifier" - creates it if necessaryintReturns a count of the current number of repetitions of Equipment Instance Identifier (OBX-18).Returns OBX-10: "Nature of Abnormal Test" - creates it if necessaryReturns OBX-3: "Observation Identifier" - creates it if necessaryCE[]Returns all repetitions of Observation Method (OBX-17).getObservationMethod(int rep) Returns a specific repetition of OBX-17: "Observation Method" - creates it if necessaryintReturns a count of the current number of repetitions of Observation Method (OBX-17).Returns OBX-11: "Observation Result Status" - creates it if necessaryReturns OBX-4: "Observation Sub-Id" - creates it if necessaryVaries[]Returns all repetitions of Observation Value (OBX-5).getObservationValue(int rep) Returns a specific repetition of OBX-5: "Observation Value" - creates it if necessaryintReturns a count of the current number of repetitions of Observation Value (OBX-5).Returns OBX-1: "Set ID - OBX" - creates it if necessaryReturns OBX-10: "Nature of Abnormal Test" - creates it if necessaryReturns OBX-11: "Observation Result Status" - creates it if necessaryReturns OBX-12: "Date Last Observation Normal Value" - creates it if necessaryReturns OBX-13: "User Defined Access Checks" - creates it if necessaryReturns OBX-14: "Date/Time of the Observation" - creates it if necessaryReturns OBX-15: "Producer's ID" - creates it if necessaryReturns OBX-16: "Responsible Observer" - creates it if necessaryCE[]Returns all repetitions of Observation Method (OBX-17).getObx17_ObservationMethod(int rep) Returns a specific repetition of OBX-17: "Observation Method" - creates it if necessaryintReturns a count of the current number of repetitions of Observation Method (OBX-17).EI[]Returns all repetitions of Equipment Instance Identifier (OBX-18).getObx18_EquipmentInstanceIdentifier(int rep) Returns a specific repetition of OBX-18: "Equipment Instance Identifier" - creates it if necessaryintReturns a count of the current number of repetitions of Equipment Instance Identifier (OBX-18).Returns OBX-19: "Date/Time of the Analysis" - creates it if necessaryReturns OBX-2: "Value Type" - creates it if necessaryReturns OBX-3: "Observation Identifier" - creates it if necessaryReturns OBX-4: "Observation Sub-Id" - creates it if necessaryVaries[]Returns all repetitions of Observation Value (OBX-5).getObx5_ObservationValue(int rep) Returns a specific repetition of OBX-5: "Observation Value" - creates it if necessaryintReturns a count of the current number of repetitions of Observation Value (OBX-5).Returns OBX-6: "Units" - creates it if necessaryReturns OBX-7: "References Range" - creates it if necessaryReturns OBX-8: "Abnormal Flags" - creates it if necessaryNM[]Returns all repetitions of Probability (OBX-9).getObx9_Probability(int rep) Returns a specific repetition of OBX-9: "Probability" - creates it if necessaryintReturns a count of the current number of repetitions of Probability (OBX-9).NM[]Returns all repetitions of Probability (OBX-9).getProbability(int rep) Returns a specific repetition of OBX-9: "Probability" - creates it if necessaryintReturns a count of the current number of repetitions of Probability (OBX-9).Returns OBX-15: "Producer's ID" - creates it if necessaryReturns OBX-7: "References Range" - creates it if necessaryReturns OBX-16: "Responsible Observer" - creates it if necessaryReturns OBX-1: "Set ID - OBX" - creates it if necessarygetUnits()Returns OBX-6: "Units" - creates it if necessaryReturns OBX-13: "User Defined Access Checks" - creates it if necessaryReturns OBX-2: "Value Type" - creates it if necessaryinsertEquipmentInstanceIdentifier(int rep) Inserts a repetition of OBX-18: "Equipment Instance Identifier" at a specific indexinsertObservationMethod(int rep) Inserts a repetition of OBX-17: "Observation Method" at a specific indexinsertObservationValue(int rep) Inserts a repetition of OBX-5: "Observation Value" at a specific indexinsertObx17_ObservationMethod(int rep) Inserts a repetition of OBX-17: "Observation Method" at a specific indexInserts a repetition of OBX-18: "Equipment Instance Identifier" at a specific indexinsertObx5_ObservationValue(int rep) Inserts a repetition of OBX-5: "Observation Value" at a specific indexinsertObx9_Probability(int rep) Inserts a repetition of OBX-9: "Probability" at a specific indexinsertProbability(int rep) Inserts a repetition of OBX-9: "Probability" at a specific indexremoveEquipmentInstanceIdentifier(int rep) Removes a repetition of OBX-18: "Equipment Instance Identifier" at a specific indexremoveObservationMethod(int rep) Removes a repetition of OBX-17: "Observation Method" at a specific indexremoveObservationValue(int rep) Removes a repetition of OBX-5: "Observation Value" at a specific indexremoveObx17_ObservationMethod(int rep) Removes a repetition of OBX-17: "Observation Method" at a specific indexRemoves a repetition of OBX-18: "Equipment Instance Identifier" at a specific indexremoveObx5_ObservationValue(int rep) Removes a repetition of OBX-5: "Observation Value" at a specific indexremoveObx9_Probability(int rep) Removes a repetition of OBX-9: "Probability" at a specific indexremoveProbability(int rep) Removes a repetition of OBX-9: "Probability" 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
-
OBX
Creates a new OBX segment
-
-
Method Details
-
getSetIDOBX
Returns OBX-1: "Set ID - OBX" - creates it if necessary -
getObx1_SetIDOBX
Returns OBX-1: "Set ID - OBX" - creates it if necessary -
getValueType
Returns OBX-2: "Value Type" - creates it if necessary -
getObx2_ValueType
Returns OBX-2: "Value Type" - creates it if necessary -
getObservationIdentifier
Returns OBX-3: "Observation Identifier" - creates it if necessary -
getObx3_ObservationIdentifier
Returns OBX-3: "Observation Identifier" - creates it if necessary -
getObservationSubId
Returns OBX-4: "Observation Sub-Id" - creates it if necessary -
getObx4_ObservationSubId
Returns OBX-4: "Observation Sub-Id" - creates it if necessary -
getObservationValue
Returns all repetitions of Observation Value (OBX-5). -
getObx5_ObservationValue
Returns all repetitions of Observation Value (OBX-5). -
getObservationValueReps
Returns a count of the current number of repetitions of Observation Value (OBX-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getObservationValue
Returns a specific repetition of OBX-5: "Observation Value" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getObx5_ObservationValue
Returns a specific repetition of OBX-5: "Observation Value" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getObx5_ObservationValueReps
Returns a count of the current number of repetitions of Observation Value (OBX-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertObservationValue
Inserts a repetition of OBX-5: "Observation Value" 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)
-
insertObx5_ObservationValue
Inserts a repetition of OBX-5: "Observation Value" 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)
-
removeObservationValue
Removes a repetition of OBX-5: "Observation Value" 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)
-
removeObx5_ObservationValue
Removes a repetition of OBX-5: "Observation Value" 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)
-
getUnits
Returns OBX-6: "Units" - creates it if necessary -
getObx6_Units
Returns OBX-6: "Units" - creates it if necessary -
getReferencesRange
Returns OBX-7: "References Range" - creates it if necessary -
getObx7_ReferencesRange
Returns OBX-7: "References Range" - creates it if necessary -
getAbnormalFlags
Returns OBX-8: "Abnormal Flags" - creates it if necessary -
getObx8_AbnormalFlags
Returns OBX-8: "Abnormal Flags" - creates it if necessary -
getProbability
Returns all repetitions of Probability (OBX-9). -
getObx9_Probability
Returns all repetitions of Probability (OBX-9). -
getProbabilityReps
Returns a count of the current number of repetitions of Probability (OBX-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getProbability
Returns a specific repetition of OBX-9: "Probability" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getObx9_Probability
Returns a specific repetition of OBX-9: "Probability" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getObx9_ProbabilityReps
Returns a count of the current number of repetitions of Probability (OBX-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertProbability
Inserts a repetition of OBX-9: "Probability" 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)
-
insertObx9_Probability
Inserts a repetition of OBX-9: "Probability" 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)
-
removeProbability
Removes a repetition of OBX-9: "Probability" 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)
-
removeObx9_Probability
Removes a repetition of OBX-9: "Probability" 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)
-
getNatureOfAbnormalTest
Returns OBX-10: "Nature of Abnormal Test" - creates it if necessary -
getObx10_NatureOfAbnormalTest
Returns OBX-10: "Nature of Abnormal Test" - creates it if necessary -
getObservationResultStatus
Returns OBX-11: "Observation Result Status" - creates it if necessary -
getObx11_ObservationResultStatus
Returns OBX-11: "Observation Result Status" - creates it if necessary -
getDateLastObservationNormalValue
Returns OBX-12: "Date Last Observation Normal Value" - creates it if necessary -
getObx12_DateLastObservationNormalValue
Returns OBX-12: "Date Last Observation Normal Value" - creates it if necessary -
getUserDefinedAccessChecks
Returns OBX-13: "User Defined Access Checks" - creates it if necessary -
getObx13_UserDefinedAccessChecks
Returns OBX-13: "User Defined Access Checks" - creates it if necessary -
getDateTimeOfTheObservation
Returns OBX-14: "Date/Time of the Observation" - creates it if necessary -
getObx14_DateTimeOfTheObservation
Returns OBX-14: "Date/Time of the Observation" - creates it if necessary -
getProducerSID
Returns OBX-15: "Producer's ID" - creates it if necessary -
getObx15_ProducerSID
Returns OBX-15: "Producer's ID" - creates it if necessary -
getResponsibleObserver
Returns OBX-16: "Responsible Observer" - creates it if necessary -
getObx16_ResponsibleObserver
Returns OBX-16: "Responsible Observer" - creates it if necessary -
getObservationMethod
Returns all repetitions of Observation Method (OBX-17). -
getObx17_ObservationMethod
Returns all repetitions of Observation Method (OBX-17). -
getObservationMethodReps
Returns a count of the current number of repetitions of Observation Method (OBX-17). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getObservationMethod
Returns a specific repetition of OBX-17: "Observation Method" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getObx17_ObservationMethod
Returns a specific repetition of OBX-17: "Observation Method" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getObx17_ObservationMethodReps
Returns a count of the current number of repetitions of Observation Method (OBX-17). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertObservationMethod
Inserts a repetition of OBX-17: "Observation Method" 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)
-
insertObx17_ObservationMethod
Inserts a repetition of OBX-17: "Observation Method" 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)
-
removeObservationMethod
Removes a repetition of OBX-17: "Observation Method" 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)
-
removeObx17_ObservationMethod
Removes a repetition of OBX-17: "Observation Method" 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)
-
getEquipmentInstanceIdentifier
Returns all repetitions of Equipment Instance Identifier (OBX-18). -
getObx18_EquipmentInstanceIdentifier
Returns all repetitions of Equipment Instance Identifier (OBX-18). -
getEquipmentInstanceIdentifierReps
Returns a count of the current number of repetitions of Equipment Instance Identifier (OBX-18). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getEquipmentInstanceIdentifier
Returns a specific repetition of OBX-18: "Equipment Instance Identifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getObx18_EquipmentInstanceIdentifier
Returns a specific repetition of OBX-18: "Equipment Instance Identifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getObx18_EquipmentInstanceIdentifierReps
Returns a count of the current number of repetitions of Equipment Instance Identifier (OBX-18). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertEquipmentInstanceIdentifier
Inserts a repetition of OBX-18: "Equipment Instance Identifier" 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)
-
insertObx18_EquipmentInstanceIdentifier
Inserts a repetition of OBX-18: "Equipment Instance Identifier" 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)
-
removeEquipmentInstanceIdentifier
Removes a repetition of OBX-18: "Equipment Instance Identifier" 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)
-
removeObx18_EquipmentInstanceIdentifier
Removes a repetition of OBX-18: "Equipment Instance Identifier" 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)
-
getDateTimeOfTheAnalysis
Returns OBX-19: "Date/Time of the Analysis" - creates it if necessary -
getObx19_DateTimeOfTheAnalysis
Returns OBX-19: "Date/Time of the Analysis" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-