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) |
ID[] |
getErr1_ERRORCODEANDLOCATION()
Returns all repetitions of ERROR CODE AND LOCATION (ERR-1).
|
ID |
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).
|
ID[] |
getERRORCODEANDLOCATION()
Returns all repetitions of ERROR CODE AND LOCATION (ERR-1).
|
ID |
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).
|
ID |
insertErr1_ERRORCODEANDLOCATION(int rep)
Inserts a repetition of
ERR-1: "ERROR CODE AND LOCATION" at a specific index
|
ID |
insertERRORCODEANDLOCATION(int rep)
Inserts a repetition of
ERR-1: "ERROR CODE AND LOCATION" at a specific index
|
ID |
removeErr1_ERRORCODEANDLOCATION(int rep)
Removes a repetition of
ERR-1: "ERROR CODE AND LOCATION" at a specific index
|
ID |
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 ID[] getERRORCODEANDLOCATION()
public ID[] getErr1_ERRORCODEANDLOCATION()
public int getERRORCODEANDLOCATIONReps()
public ID getERRORCODEANDLOCATION(int rep)
rep
- The repetition index (0-indexed)public ID getErr1_ERRORCODEANDLOCATION(int rep)
rep
- The repetition index (0-indexed)public int getErr1_ERRORCODEANDLOCATIONReps()
public ID 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 ID 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 ID 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 ID 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.