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) |
CM_ELD[] |
getErr1_ErrorCodeAndLocation()
Returns all repetitions of Error Code and Location (ERR-1).
|
CM_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).
|
CM_ELD[] |
getErrorCodeAndLocation()
Returns all repetitions of Error Code and Location (ERR-1).
|
CM_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).
|
CM_ELD |
insertErr1_ErrorCodeAndLocation(int rep)
Inserts a repetition of
ERR-1: "Error Code and Location" at a specific index
|
CM_ELD |
insertErrorCodeAndLocation(int rep)
Inserts a repetition of
ERR-1: "Error Code and Location" at a specific index
|
CM_ELD |
removeErr1_ErrorCodeAndLocation(int rep)
Removes a repetition of
ERR-1: "Error Code and Location" at a specific index
|
CM_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, removeRepetitiongetMessage, getParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessage, getParentpublic ERR(Group parent, ModelClassFactory factory)
public CM_ELD[] getErrorCodeAndLocation()
public CM_ELD[] getErr1_ErrorCodeAndLocation()
public int getErrorCodeAndLocationReps()
public CM_ELD getErrorCodeAndLocation(int rep)
rep - The repetition index (0-indexed)public CM_ELD getErr1_ErrorCodeAndLocation(int rep)
rep - The repetition index (0-indexed)public int getErr1_ErrorCodeAndLocationReps()
public CM_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 CM_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 CM_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 CM_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 AbstractSegmentCopyright © 2001-2014 University Health Network. All Rights Reserved.