public class ERR extends AbstractSegment
Represents an HL7 ERR message segment (Error). This segment has the following fields:
log
Constructor and Description |
---|
ERR(Group parent,
ModelClassFactory factory)
Creates a new ERR segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
CWE |
getApplicationErrorCode()
Returns
ERR-5: "Application Error Code" - creates it if necessary
|
ST[] |
getApplicationErrorParameter()
Returns all repetitions of Application Error Parameter (ERR-6).
|
ST |
getApplicationErrorParameter(int rep)
Returns a specific repetition of
ERR-6: "Application Error Parameter" - creates it if necessary
|
int |
getApplicationErrorParameterReps()
Returns a count of the current number of repetitions of Application Error Parameter (ERR-6).
|
TX |
getDiagnosticInformation()
Returns
ERR-7: "Diagnostic Information" - creates it if necessary
|
ELD[] |
getErr1_ErrorCodeAndLocation()
Returns all repetitions of Error Code and Location (ERR-1).
|
ELD |
getErr1_ErrorCodeAndLocation(int rep)
Returns a specific repetition of
ERR-1: "Error Code and Location" - creates it if necessary
|
int |
getErr1_ErrorCodeAndLocationReps()
Returns a count of the current number of repetitions of Error Code and Location (ERR-1).
|
CWE |
getErr10_OverrideType()
Returns
ERR-10: "Override Type" - creates it if necessary
|
CWE[] |
getErr11_OverrideReasonCode()
Returns all repetitions of Override Reason Code (ERR-11).
|
CWE |
getErr11_OverrideReasonCode(int rep)
Returns a specific repetition of
ERR-11: "Override Reason Code" - creates it if necessary
|
int |
getErr11_OverrideReasonCodeReps()
Returns a count of the current number of repetitions of Override Reason Code (ERR-11).
|
XTN[] |
getErr12_HelpDeskContactPoint()
Returns all repetitions of Help Desk Contact Point (ERR-12).
|
XTN |
getErr12_HelpDeskContactPoint(int rep)
Returns a specific repetition of
ERR-12: "Help Desk Contact Point" - creates it if necessary
|
int |
getErr12_HelpDeskContactPointReps()
Returns a count of the current number of repetitions of Help Desk Contact Point (ERR-12).
|
ERL[] |
getErr2_ErrorLocation()
Returns all repetitions of Error Location (ERR-2).
|
ERL |
getErr2_ErrorLocation(int rep)
Returns a specific repetition of
ERR-2: "Error Location" - creates it if necessary
|
int |
getErr2_ErrorLocationReps()
Returns a count of the current number of repetitions of Error Location (ERR-2).
|
CWE |
getErr3_HL7ErrorCode()
Returns
ERR-3: "HL7 Error Code" - creates it if necessary
|
ID |
getErr4_Severity()
Returns
ERR-4: "Severity" - creates it if necessary
|
CWE |
getErr5_ApplicationErrorCode()
Returns
ERR-5: "Application Error Code" - creates it if necessary
|
ST[] |
getErr6_ApplicationErrorParameter()
Returns all repetitions of Application Error Parameter (ERR-6).
|
ST |
getErr6_ApplicationErrorParameter(int rep)
Returns a specific repetition of
ERR-6: "Application Error Parameter" - creates it if necessary
|
int |
getErr6_ApplicationErrorParameterReps()
Returns a count of the current number of repetitions of Application Error Parameter (ERR-6).
|
TX |
getErr7_DiagnosticInformation()
Returns
ERR-7: "Diagnostic Information" - creates it if necessary
|
TX |
getErr8_UserMessage()
Returns
ERR-8: "User Message" - creates it if necessary
|
IS[] |
getErr9_InformPersonIndicator()
Returns all repetitions of Inform Person Indicator (ERR-9).
|
IS |
getErr9_InformPersonIndicator(int rep)
Returns a specific repetition of
ERR-9: "Inform Person Indicator" - creates it if necessary
|
int |
getErr9_InformPersonIndicatorReps()
Returns a count of the current number of repetitions of Inform Person Indicator (ERR-9).
|
ELD[] |
getErrorCodeAndLocation()
Returns all repetitions of Error Code and Location (ERR-1).
|
ELD |
getErrorCodeAndLocation(int rep)
Returns a specific repetition of
ERR-1: "Error Code and Location" - creates it if necessary
|
int |
getErrorCodeAndLocationReps()
Returns a count of the current number of repetitions of Error Code and Location (ERR-1).
|
ERL[] |
getErrorLocation()
Returns all repetitions of Error Location (ERR-2).
|
ERL |
getErrorLocation(int rep)
Returns a specific repetition of
ERR-2: "Error Location" - creates it if necessary
|
int |
getErrorLocationReps()
Returns a count of the current number of repetitions of Error Location (ERR-2).
|
XTN[] |
getHelpDeskContactPoint()
Returns all repetitions of Help Desk Contact Point (ERR-12).
|
XTN |
getHelpDeskContactPoint(int rep)
Returns a specific repetition of
ERR-12: "Help Desk Contact Point" - creates it if necessary
|
int |
getHelpDeskContactPointReps()
Returns a count of the current number of repetitions of Help Desk Contact Point (ERR-12).
|
CWE |
getHL7ErrorCode()
Returns
ERR-3: "HL7 Error Code" - creates it if necessary
|
IS[] |
getInformPersonIndicator()
Returns all repetitions of Inform Person Indicator (ERR-9).
|
IS |
getInformPersonIndicator(int rep)
Returns a specific repetition of
ERR-9: "Inform Person Indicator" - creates it if necessary
|
int |
getInformPersonIndicatorReps()
Returns a count of the current number of repetitions of Inform Person Indicator (ERR-9).
|
CWE[] |
getOverrideReasonCode()
Returns all repetitions of Override Reason Code (ERR-11).
|
CWE |
getOverrideReasonCode(int rep)
Returns a specific repetition of
ERR-11: "Override Reason Code" - creates it if necessary
|
int |
getOverrideReasonCodeReps()
Returns a count of the current number of repetitions of Override Reason Code (ERR-11).
|
CWE |
getOverrideType()
Returns
ERR-10: "Override Type" - creates it if necessary
|
ID |
getSeverity()
Returns
ERR-4: "Severity" - creates it if necessary
|
TX |
getUserMessage()
Returns
ERR-8: "User Message" - creates it if necessary
|
ST |
insertApplicationErrorParameter(int rep)
Inserts a repetition of
ERR-6: "Application Error Parameter" at a specific index
|
ELD |
insertErr1_ErrorCodeAndLocation(int rep)
Inserts a repetition of
ERR-1: "Error Code and Location" at a specific index
|
CWE |
insertErr11_OverrideReasonCode(int rep)
Inserts a repetition of
ERR-11: "Override Reason Code" at a specific index
|
XTN |
insertErr12_HelpDeskContactPoint(int rep)
Inserts a repetition of
ERR-12: "Help Desk Contact Point" at a specific index
|
ERL |
insertErr2_ErrorLocation(int rep)
Inserts a repetition of
ERR-2: "Error Location" at a specific index
|
ST |
insertErr6_ApplicationErrorParameter(int rep)
Inserts a repetition of
ERR-6: "Application Error Parameter" at a specific index
|
IS |
insertErr9_InformPersonIndicator(int rep)
Inserts a repetition of
ERR-9: "Inform Person Indicator" at a specific index
|
ELD |
insertErrorCodeAndLocation(int rep)
Inserts a repetition of
ERR-1: "Error Code and Location" at a specific index
|
ERL |
insertErrorLocation(int rep)
Inserts a repetition of
ERR-2: "Error Location" at a specific index
|
XTN |
insertHelpDeskContactPoint(int rep)
Inserts a repetition of
ERR-12: "Help Desk Contact Point" at a specific index
|
IS |
insertInformPersonIndicator(int rep)
Inserts a repetition of
ERR-9: "Inform Person Indicator" at a specific index
|
CWE |
insertOverrideReasonCode(int rep)
Inserts a repetition of
ERR-11: "Override Reason Code" at a specific index
|
ST |
removeApplicationErrorParameter(int rep)
Removes a repetition of
ERR-6: "Application Error Parameter" at a specific index
|
ELD |
removeErr1_ErrorCodeAndLocation(int rep)
Removes a repetition of
ERR-1: "Error Code and Location" at a specific index
|
CWE |
removeErr11_OverrideReasonCode(int rep)
Removes a repetition of
ERR-11: "Override Reason Code" at a specific index
|
XTN |
removeErr12_HelpDeskContactPoint(int rep)
Removes a repetition of
ERR-12: "Help Desk Contact Point" at a specific index
|
ERL |
removeErr2_ErrorLocation(int rep)
Removes a repetition of
ERR-2: "Error Location" at a specific index
|
ST |
removeErr6_ApplicationErrorParameter(int rep)
Removes a repetition of
ERR-6: "Application Error Parameter" at a specific index
|
IS |
removeErr9_InformPersonIndicator(int rep)
Removes a repetition of
ERR-9: "Inform Person Indicator" at a specific index
|
ELD |
removeErrorCodeAndLocation(int rep)
Removes a repetition of
ERR-1: "Error Code and Location" at a specific index
|
ERL |
removeErrorLocation(int rep)
Removes a repetition of
ERR-2: "Error Location" at a specific index
|
XTN |
removeHelpDeskContactPoint(int rep)
Removes a repetition of
ERR-12: "Help Desk Contact Point" at a specific index
|
IS |
removeInformPersonIndicator(int rep)
Removes a repetition of
ERR-9: "Inform Person Indicator" at a specific index
|
CWE |
removeOverrideReasonCode(int rep)
Removes a repetition of
ERR-11: "Override Reason Code" 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 ERR(Group parent, ModelClassFactory factory)
public ELD[] getErrorCodeAndLocation()
public ELD[] getErr1_ErrorCodeAndLocation()
public int getErrorCodeAndLocationReps()
public ELD getErrorCodeAndLocation(int rep)
rep
- The repetition index (0-indexed)public ELD getErr1_ErrorCodeAndLocation(int rep)
rep
- The repetition index (0-indexed)public int getErr1_ErrorCodeAndLocationReps()
public ELD insertErrorCodeAndLocation(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 ELD insertErr1_ErrorCodeAndLocation(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 ELD removeErrorCodeAndLocation(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 ELD removeErr1_ErrorCodeAndLocation(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 ERL[] getErrorLocation()
public ERL[] getErr2_ErrorLocation()
public int getErrorLocationReps()
public ERL getErrorLocation(int rep)
rep
- The repetition index (0-indexed)public ERL getErr2_ErrorLocation(int rep)
rep
- The repetition index (0-indexed)public int getErr2_ErrorLocationReps()
public ERL insertErrorLocation(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 ERL insertErr2_ErrorLocation(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 ERL removeErrorLocation(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 ERL removeErr2_ErrorLocation(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 CWE getHL7ErrorCode()
public CWE getErr3_HL7ErrorCode()
public ID getSeverity()
public ID getErr4_Severity()
public CWE getApplicationErrorCode()
public CWE getErr5_ApplicationErrorCode()
public ST[] getApplicationErrorParameter()
public ST[] getErr6_ApplicationErrorParameter()
public int getApplicationErrorParameterReps()
public ST getApplicationErrorParameter(int rep)
rep
- The repetition index (0-indexed)public ST getErr6_ApplicationErrorParameter(int rep)
rep
- The repetition index (0-indexed)public int getErr6_ApplicationErrorParameterReps()
public ST insertApplicationErrorParameter(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 ST insertErr6_ApplicationErrorParameter(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 ST removeApplicationErrorParameter(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 ST removeErr6_ApplicationErrorParameter(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 TX getDiagnosticInformation()
public TX getErr7_DiagnosticInformation()
public TX getUserMessage()
public TX getErr8_UserMessage()
public IS[] getInformPersonIndicator()
public IS[] getErr9_InformPersonIndicator()
public int getInformPersonIndicatorReps()
public IS getInformPersonIndicator(int rep)
rep
- The repetition index (0-indexed)public IS getErr9_InformPersonIndicator(int rep)
rep
- The repetition index (0-indexed)public int getErr9_InformPersonIndicatorReps()
public IS insertInformPersonIndicator(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 IS insertErr9_InformPersonIndicator(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 IS removeInformPersonIndicator(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 IS removeErr9_InformPersonIndicator(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 CWE getOverrideType()
public CWE getErr10_OverrideType()
public CWE[] getOverrideReasonCode()
public CWE[] getErr11_OverrideReasonCode()
public int getOverrideReasonCodeReps()
public CWE getOverrideReasonCode(int rep)
rep
- The repetition index (0-indexed)public CWE getErr11_OverrideReasonCode(int rep)
rep
- The repetition index (0-indexed)public int getErr11_OverrideReasonCodeReps()
public CWE insertOverrideReasonCode(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 CWE insertErr11_OverrideReasonCode(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 CWE removeOverrideReasonCode(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 CWE removeErr11_OverrideReasonCode(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 XTN[] getHelpDeskContactPoint()
public XTN[] getErr12_HelpDeskContactPoint()
public int getHelpDeskContactPointReps()
public XTN getHelpDeskContactPoint(int rep)
rep
- The repetition index (0-indexed)public XTN getErr12_HelpDeskContactPoint(int rep)
rep
- The repetition index (0-indexed)public int getErr12_HelpDeskContactPointReps()
public XTN insertHelpDeskContactPoint(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 XTN insertErr12_HelpDeskContactPoint(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 XTN removeHelpDeskContactPoint(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 XTN removeErr12_HelpDeskContactPoint(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)protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.