public class ECR extends AbstractSegment
Represents an HL7 ECR message segment (Equipment Command Response). This segment has the following fields:
log| Constructor and Description |
|---|
ECR(Group parent,
ModelClassFactory factory)
Creates a new ECR segment
|
| Modifier and Type | Method and Description |
|---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
CE |
getCommandResponse()
Returns
ECR-1: "Command Response" - creates it if necessary
|
ST[] |
getCommandResponseParameters()
Returns all repetitions of Command Response Parameters (ECR-3).
|
ST |
getCommandResponseParameters(int rep)
Returns a specific repetition of
ECR-3: "Command Response Parameters" - creates it if necessary
|
int |
getCommandResponseParametersReps()
Returns a count of the current number of repetitions of Command Response Parameters (ECR-3).
|
TS |
getDateTimeCompleted()
Returns
ECR-2: "Date/Time Completed" - creates it if necessary
|
CE |
getEcr1_CommandResponse()
Returns
ECR-1: "Command Response" - creates it if necessary
|
TS |
getEcr2_DateTimeCompleted()
Returns
ECR-2: "Date/Time Completed" - creates it if necessary
|
ST[] |
getEcr3_CommandResponseParameters()
Returns all repetitions of Command Response Parameters (ECR-3).
|
ST |
getEcr3_CommandResponseParameters(int rep)
Returns a specific repetition of
ECR-3: "Command Response Parameters" - creates it if necessary
|
int |
getEcr3_CommandResponseParametersReps()
Returns a count of the current number of repetitions of Command Response Parameters (ECR-3).
|
ST |
insertCommandResponseParameters(int rep)
Inserts a repetition of
ECR-3: "Command Response Parameters" at a specific index
|
ST |
insertEcr3_CommandResponseParameters(int rep)
Inserts a repetition of
ECR-3: "Command Response Parameters" at a specific index
|
ST |
removeCommandResponseParameters(int rep)
Removes a repetition of
ECR-3: "Command Response Parameters" at a specific index
|
ST |
removeEcr3_CommandResponseParameters(int rep)
Removes a repetition of
ECR-3: "Command Response Parameters" at a specific index
|
add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isRequired, main, numFields, parse, removeRepetitiongetMessage, getParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessage, getParentpublic ECR(Group parent, ModelClassFactory factory)
public CE getCommandResponse()
public CE getEcr1_CommandResponse()
public TS getDateTimeCompleted()
public TS getEcr2_DateTimeCompleted()
public ST[] getCommandResponseParameters()
public ST[] getEcr3_CommandResponseParameters()
public int getCommandResponseParametersReps()
public ST getCommandResponseParameters(int rep)
rep - The repetition index (0-indexed)public ST getEcr3_CommandResponseParameters(int rep)
rep - The repetition index (0-indexed)public int getEcr3_CommandResponseParametersReps()
public ST insertCommandResponseParameters(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 insertEcr3_CommandResponseParameters(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 removeCommandResponseParameters(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 removeEcr3_CommandResponseParameters(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-2012 University Health Network. All Rights Reserved.