Package ca.uhn.hl7v2.model.v251.segment
Class ERR
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.ERR
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 ERR message segment (Error). This segment has the following fields:
- ERR-1: Error Code and Location (ELD) optional repeating
- ERR-2: Error Location (ERL) optional repeating
- ERR-3: HL7 Error Code (CWE)
- ERR-4: Severity (ID)
- ERR-5: Application Error Code (CWE) optional
- ERR-6: Application Error Parameter (ST) optional repeating
- ERR-7: Diagnostic Information (TX) optional
- ERR-8: User Message (TX) optional
- ERR-9: Inform Person Indicator (IS) optional repeating
- ERR-10: Override Type (CWE) optional
- ERR-11: Override Reason Code (CWE) optional repeating
- ERR-12: Help Desk Contact Point (XTN) optional repeating
- 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 ERR-5: "Application Error Code" - creates it if necessaryST[]Returns all repetitions of Application Error Parameter (ERR-6).getApplicationErrorParameter(int rep) Returns a specific repetition of ERR-6: "Application Error Parameter" - creates it if necessaryintReturns a count of the current number of repetitions of Application Error Parameter (ERR-6).Returns ERR-7: "Diagnostic Information" - creates it if necessaryELD[]Returns all repetitions of Error Code and Location (ERR-1).getErr1_ErrorCodeAndLocation(int rep) Returns a specific repetition of ERR-1: "Error Code and Location" - creates it if necessaryintReturns a count of the current number of repetitions of Error Code and Location (ERR-1).Returns ERR-10: "Override Type" - creates it if necessaryCWE[]Returns all repetitions of Override Reason Code (ERR-11).getErr11_OverrideReasonCode(int rep) Returns a specific repetition of ERR-11: "Override Reason Code" - creates it if necessaryintReturns a count of the current number of repetitions of Override Reason Code (ERR-11).XTN[]Returns all repetitions of Help Desk Contact Point (ERR-12).getErr12_HelpDeskContactPoint(int rep) Returns a specific repetition of ERR-12: "Help Desk Contact Point" - creates it if necessaryintReturns a count of the current number of repetitions of Help Desk Contact Point (ERR-12).ERL[]Returns all repetitions of Error Location (ERR-2).getErr2_ErrorLocation(int rep) Returns a specific repetition of ERR-2: "Error Location" - creates it if necessaryintReturns a count of the current number of repetitions of Error Location (ERR-2).Returns ERR-3: "HL7 Error Code" - creates it if necessaryReturns ERR-4: "Severity" - creates it if necessaryReturns ERR-5: "Application Error Code" - creates it if necessaryST[]Returns all repetitions of Application Error Parameter (ERR-6).getErr6_ApplicationErrorParameter(int rep) Returns a specific repetition of ERR-6: "Application Error Parameter" - creates it if necessaryintReturns a count of the current number of repetitions of Application Error Parameter (ERR-6).Returns ERR-7: "Diagnostic Information" - creates it if necessaryReturns ERR-8: "User Message" - creates it if necessaryIS[]Returns all repetitions of Inform Person Indicator (ERR-9).getErr9_InformPersonIndicator(int rep) Returns a specific repetition of ERR-9: "Inform Person Indicator" - creates it if necessaryintReturns a count of the current number of repetitions of Inform Person Indicator (ERR-9).ELD[]Returns all repetitions of Error Code and Location (ERR-1).getErrorCodeAndLocation(int rep) Returns a specific repetition of ERR-1: "Error Code and Location" - creates it if necessaryintReturns a count of the current number of repetitions of Error Code and Location (ERR-1).ERL[]Returns all repetitions of Error Location (ERR-2).getErrorLocation(int rep) Returns a specific repetition of ERR-2: "Error Location" - creates it if necessaryintReturns a count of the current number of repetitions of Error Location (ERR-2).XTN[]Returns all repetitions of Help Desk Contact Point (ERR-12).getHelpDeskContactPoint(int rep) Returns a specific repetition of ERR-12: "Help Desk Contact Point" - creates it if necessaryintReturns a count of the current number of repetitions of Help Desk Contact Point (ERR-12).Returns ERR-3: "HL7 Error Code" - creates it if necessaryIS[]Returns all repetitions of Inform Person Indicator (ERR-9).getInformPersonIndicator(int rep) Returns a specific repetition of ERR-9: "Inform Person Indicator" - creates it if necessaryintReturns a count of the current number of repetitions of Inform Person Indicator (ERR-9).CWE[]Returns all repetitions of Override Reason Code (ERR-11).getOverrideReasonCode(int rep) Returns a specific repetition of ERR-11: "Override Reason Code" - creates it if necessaryintReturns a count of the current number of repetitions of Override Reason Code (ERR-11).Returns ERR-10: "Override Type" - creates it if necessaryReturns ERR-4: "Severity" - creates it if necessaryReturns ERR-8: "User Message" - creates it if necessaryinsertApplicationErrorParameter(int rep) Inserts a repetition of ERR-6: "Application Error Parameter" at a specific indexinsertErr1_ErrorCodeAndLocation(int rep) Inserts a repetition of ERR-1: "Error Code and Location" at a specific indexinsertErr11_OverrideReasonCode(int rep) Inserts a repetition of ERR-11: "Override Reason Code" at a specific indexinsertErr12_HelpDeskContactPoint(int rep) Inserts a repetition of ERR-12: "Help Desk Contact Point" at a specific indexinsertErr2_ErrorLocation(int rep) Inserts a repetition of ERR-2: "Error Location" at a specific indexinsertErr6_ApplicationErrorParameter(int rep) Inserts a repetition of ERR-6: "Application Error Parameter" at a specific indexinsertErr9_InformPersonIndicator(int rep) Inserts a repetition of ERR-9: "Inform Person Indicator" at a specific indexinsertErrorCodeAndLocation(int rep) Inserts a repetition of ERR-1: "Error Code and Location" at a specific indexinsertErrorLocation(int rep) Inserts a repetition of ERR-2: "Error Location" at a specific indexinsertHelpDeskContactPoint(int rep) Inserts a repetition of ERR-12: "Help Desk Contact Point" at a specific indexinsertInformPersonIndicator(int rep) Inserts a repetition of ERR-9: "Inform Person Indicator" at a specific indexinsertOverrideReasonCode(int rep) Inserts a repetition of ERR-11: "Override Reason Code" at a specific indexremoveApplicationErrorParameter(int rep) Removes a repetition of ERR-6: "Application Error Parameter" at a specific indexremoveErr1_ErrorCodeAndLocation(int rep) Removes a repetition of ERR-1: "Error Code and Location" at a specific indexremoveErr11_OverrideReasonCode(int rep) Removes a repetition of ERR-11: "Override Reason Code" at a specific indexremoveErr12_HelpDeskContactPoint(int rep) Removes a repetition of ERR-12: "Help Desk Contact Point" at a specific indexremoveErr2_ErrorLocation(int rep) Removes a repetition of ERR-2: "Error Location" at a specific indexremoveErr6_ApplicationErrorParameter(int rep) Removes a repetition of ERR-6: "Application Error Parameter" at a specific indexremoveErr9_InformPersonIndicator(int rep) Removes a repetition of ERR-9: "Inform Person Indicator" at a specific indexremoveErrorCodeAndLocation(int rep) Removes a repetition of ERR-1: "Error Code and Location" at a specific indexremoveErrorLocation(int rep) Removes a repetition of ERR-2: "Error Location" at a specific indexremoveHelpDeskContactPoint(int rep) Removes a repetition of ERR-12: "Help Desk Contact Point" at a specific indexremoveInformPersonIndicator(int rep) Removes a repetition of ERR-9: "Inform Person Indicator" at a specific indexremoveOverrideReasonCode(int rep) Removes a repetition of ERR-11: "Override Reason Code" 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
-
ERR
Creates a new ERR segment
-
-
Method Details
-
getErrorCodeAndLocation
Returns all repetitions of Error Code and Location (ERR-1). -
getErr1_ErrorCodeAndLocation
Returns all repetitions of Error Code and Location (ERR-1). -
getErrorCodeAndLocationReps
Returns a count of the current number of repetitions of Error Code and Location (ERR-1). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getErrorCodeAndLocation
Returns a specific repetition of ERR-1: "Error Code and Location" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getErr1_ErrorCodeAndLocation
Returns a specific repetition of ERR-1: "Error Code and Location" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getErr1_ErrorCodeAndLocationReps
Returns a count of the current number of repetitions of Error Code and Location (ERR-1). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertErrorCodeAndLocation
Inserts a repetition of ERR-1: "Error Code and Location" 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)
-
insertErr1_ErrorCodeAndLocation
Inserts a repetition of ERR-1: "Error Code and Location" 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)
-
removeErrorCodeAndLocation
Removes a repetition of ERR-1: "Error Code and Location" 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)
-
removeErr1_ErrorCodeAndLocation
Removes a repetition of ERR-1: "Error Code and Location" 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)
-
getErrorLocation
Returns all repetitions of Error Location (ERR-2). -
getErr2_ErrorLocation
Returns all repetitions of Error Location (ERR-2). -
getErrorLocationReps
Returns a count of the current number of repetitions of Error Location (ERR-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getErrorLocation
Returns a specific repetition of ERR-2: "Error Location" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getErr2_ErrorLocation
Returns a specific repetition of ERR-2: "Error Location" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getErr2_ErrorLocationReps
Returns a count of the current number of repetitions of Error Location (ERR-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertErrorLocation
Inserts a repetition of ERR-2: "Error Location" 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)
-
insertErr2_ErrorLocation
Inserts a repetition of ERR-2: "Error Location" 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)
-
removeErrorLocation
Removes a repetition of ERR-2: "Error Location" 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)
-
removeErr2_ErrorLocation
Removes a repetition of ERR-2: "Error Location" 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)
-
getHL7ErrorCode
Returns ERR-3: "HL7 Error Code" - creates it if necessary -
getErr3_HL7ErrorCode
Returns ERR-3: "HL7 Error Code" - creates it if necessary -
getSeverity
Returns ERR-4: "Severity" - creates it if necessary -
getErr4_Severity
Returns ERR-4: "Severity" - creates it if necessary -
getApplicationErrorCode
Returns ERR-5: "Application Error Code" - creates it if necessary -
getErr5_ApplicationErrorCode
Returns ERR-5: "Application Error Code" - creates it if necessary -
getApplicationErrorParameter
Returns all repetitions of Application Error Parameter (ERR-6). -
getErr6_ApplicationErrorParameter
Returns all repetitions of Application Error Parameter (ERR-6). -
getApplicationErrorParameterReps
Returns a count of the current number of repetitions of Application Error Parameter (ERR-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getApplicationErrorParameter
Returns a specific repetition of ERR-6: "Application Error Parameter" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getErr6_ApplicationErrorParameter
Returns a specific repetition of ERR-6: "Application Error Parameter" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getErr6_ApplicationErrorParameterReps
Returns a count of the current number of repetitions of Application Error Parameter (ERR-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertApplicationErrorParameter
Inserts a repetition of ERR-6: "Application Error Parameter" 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)
-
insertErr6_ApplicationErrorParameter
Inserts a repetition of ERR-6: "Application Error Parameter" 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)
-
removeApplicationErrorParameter
Removes a repetition of ERR-6: "Application Error Parameter" 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)
-
removeErr6_ApplicationErrorParameter
Removes a repetition of ERR-6: "Application Error Parameter" 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)
-
getDiagnosticInformation
Returns ERR-7: "Diagnostic Information" - creates it if necessary -
getErr7_DiagnosticInformation
Returns ERR-7: "Diagnostic Information" - creates it if necessary -
getUserMessage
Returns ERR-8: "User Message" - creates it if necessary -
getErr8_UserMessage
Returns ERR-8: "User Message" - creates it if necessary -
getInformPersonIndicator
Returns all repetitions of Inform Person Indicator (ERR-9). -
getErr9_InformPersonIndicator
Returns all repetitions of Inform Person Indicator (ERR-9). -
getInformPersonIndicatorReps
Returns a count of the current number of repetitions of Inform Person Indicator (ERR-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getInformPersonIndicator
Returns a specific repetition of ERR-9: "Inform Person Indicator" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getErr9_InformPersonIndicator
Returns a specific repetition of ERR-9: "Inform Person Indicator" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getErr9_InformPersonIndicatorReps
Returns a count of the current number of repetitions of Inform Person Indicator (ERR-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertInformPersonIndicator
Inserts a repetition of ERR-9: "Inform Person Indicator" 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)
-
insertErr9_InformPersonIndicator
Inserts a repetition of ERR-9: "Inform Person Indicator" 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)
-
removeInformPersonIndicator
Removes a repetition of ERR-9: "Inform Person Indicator" 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)
-
removeErr9_InformPersonIndicator
Removes a repetition of ERR-9: "Inform Person Indicator" 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)
-
getOverrideType
Returns ERR-10: "Override Type" - creates it if necessary -
getErr10_OverrideType
Returns ERR-10: "Override Type" - creates it if necessary -
getOverrideReasonCode
Returns all repetitions of Override Reason Code (ERR-11). -
getErr11_OverrideReasonCode
Returns all repetitions of Override Reason Code (ERR-11). -
getOverrideReasonCodeReps
Returns a count of the current number of repetitions of Override Reason Code (ERR-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getOverrideReasonCode
Returns a specific repetition of ERR-11: "Override Reason Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getErr11_OverrideReasonCode
Returns a specific repetition of ERR-11: "Override Reason Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getErr11_OverrideReasonCodeReps
Returns a count of the current number of repetitions of Override Reason Code (ERR-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertOverrideReasonCode
Inserts a repetition of ERR-11: "Override Reason Code" 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)
-
insertErr11_OverrideReasonCode
Inserts a repetition of ERR-11: "Override Reason Code" 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)
-
removeOverrideReasonCode
Removes a repetition of ERR-11: "Override Reason Code" 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)
-
removeErr11_OverrideReasonCode
Removes a repetition of ERR-11: "Override Reason Code" 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)
-
getHelpDeskContactPoint
Returns all repetitions of Help Desk Contact Point (ERR-12). -
getErr12_HelpDeskContactPoint
Returns all repetitions of Help Desk Contact Point (ERR-12). -
getHelpDeskContactPointReps
Returns a count of the current number of repetitions of Help Desk Contact Point (ERR-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getHelpDeskContactPoint
Returns a specific repetition of ERR-12: "Help Desk Contact Point" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getErr12_HelpDeskContactPoint
Returns a specific repetition of ERR-12: "Help Desk Contact Point" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getErr12_HelpDeskContactPointReps
Returns a count of the current number of repetitions of Help Desk Contact Point (ERR-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertHelpDeskContactPoint
Inserts a repetition of ERR-12: "Help Desk Contact Point" 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)
-
insertErr12_HelpDeskContactPoint
Inserts a repetition of ERR-12: "Help Desk Contact Point" 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)
-
removeHelpDeskContactPoint
Removes a repetition of ERR-12: "Help Desk Contact Point" 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)
-
removeErr12_HelpDeskContactPoint
Removes a repetition of ERR-12: "Help Desk Contact Point" 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)
-
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-