public class ERR extends AbstractSegment
Represents an HL7 ERR message segment (ERR - error segment). 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) |
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).
|
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).
|
ELD |
insertErr1_ErrorCodeAndLocation(int rep)
Inserts a repetition of
ERR-1: "Error Code and Location" at a specific index
|
ELD |
insertErrorCodeAndLocation(int rep)
Inserts a repetition of
ERR-1: "Error Code and Location" at a specific index
|
ELD |
removeErr1_ErrorCodeAndLocation(int rep)
Removes a repetition of
ERR-1: "Error Code and Location" at a specific index
|
ELD |
removeErrorCodeAndLocation(int rep)
Removes a repetition of
ERR-1: "Error Code and Location" 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)protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.