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
|
TX[] |
getCommandResponseParameters()
Returns all repetitions of Command Response Parameters (ECR-3).
|
TX |
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
|
TX[] |
getEcr3_CommandResponseParameters()
Returns all repetitions of Command Response Parameters (ECR-3).
|
TX |
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).
|
TX |
insertCommandResponseParameters(int rep)
Inserts a repetition of
ECR-3: "Command Response Parameters" at a specific index
|
TX |
insertEcr3_CommandResponseParameters(int rep)
Inserts a repetition of
ECR-3: "Command Response Parameters" at a specific index
|
TX |
removeCommandResponseParameters(int rep)
Removes a repetition of
ECR-3: "Command Response Parameters" at a specific index
|
TX |
removeEcr3_CommandResponseParameters(int rep)
Removes a repetition of
ECR-3: "Command Response Parameters" 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 ECR(Group parent, ModelClassFactory factory)
public CE getCommandResponse()
public CE getEcr1_CommandResponse()
public TS getDateTimeCompleted()
public TS getEcr2_DateTimeCompleted()
public TX[] getCommandResponseParameters()
public TX[] getEcr3_CommandResponseParameters()
public int getCommandResponseParametersReps()
public TX getCommandResponseParameters(int rep)
rep
- The repetition index (0-indexed)public TX getEcr3_CommandResponseParameters(int rep)
rep
- The repetition index (0-indexed)public int getEcr3_CommandResponseParametersReps()
public TX 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 TX 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 TX 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 TX 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 AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.