public class ECD extends AbstractSegment
Represents an HL7 ECD message segment (Equipment Command). This segment has the following fields:
log
Constructor and Description |
---|
ECD(Group parent,
ModelClassFactory factory)
Creates a new ECD segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
NM |
getEcd1_ReferenceCommandNumber()
Returns
ECD-1: "Reference Command Number" - creates it if necessary
|
CWE |
getEcd2_RemoteControlCommand()
Returns
ECD-2: "Remote Control Command" - creates it if necessary
|
ID |
getEcd3_ResponseRequired()
Returns
ECD-3: "Response Required" - creates it if necessary
|
NULLDT |
getEcd4_RequestedCompletionTime()
Returns
ECD-4: "Requested Completion Time" - creates it if necessary
|
TX[] |
getEcd5_Parameters()
Returns all repetitions of Parameters (ECD-5).
|
TX |
getEcd5_Parameters(int rep)
Returns a specific repetition of
ECD-5: "Parameters" - creates it if necessary
|
int |
getEcd5_ParametersReps()
Returns a count of the current number of repetitions of Parameters (ECD-5).
|
TX[] |
getParameters()
Returns all repetitions of Parameters (ECD-5).
|
TX |
getParameters(int rep)
Returns a specific repetition of
ECD-5: "Parameters" - creates it if necessary
|
int |
getParametersReps()
Returns a count of the current number of repetitions of Parameters (ECD-5).
|
NM |
getReferenceCommandNumber()
Returns
ECD-1: "Reference Command Number" - creates it if necessary
|
CWE |
getRemoteControlCommand()
Returns
ECD-2: "Remote Control Command" - creates it if necessary
|
NULLDT |
getRequestedCompletionTime()
Returns
ECD-4: "Requested Completion Time" - creates it if necessary
|
ID |
getResponseRequired()
Returns
ECD-3: "Response Required" - creates it if necessary
|
TX |
insertEcd5_Parameters(int rep)
Inserts a repetition of
ECD-5: "Parameters" at a specific index
|
TX |
insertParameters(int rep)
Inserts a repetition of
ECD-5: "Parameters" at a specific index
|
TX |
removeEcd5_Parameters(int rep)
Removes a repetition of
ECD-5: "Parameters" at a specific index
|
TX |
removeParameters(int rep)
Removes a repetition of
ECD-5: "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 ECD(Group parent, ModelClassFactory factory)
public NM getReferenceCommandNumber()
public NM getEcd1_ReferenceCommandNumber()
public CWE getRemoteControlCommand()
public CWE getEcd2_RemoteControlCommand()
public ID getResponseRequired()
public ID getEcd3_ResponseRequired()
public NULLDT getRequestedCompletionTime()
public NULLDT getEcd4_RequestedCompletionTime()
public TX[] getParameters()
public TX[] getEcd5_Parameters()
public int getParametersReps()
public TX getParameters(int rep)
rep
- The repetition index (0-indexed)public TX getEcd5_Parameters(int rep)
rep
- The repetition index (0-indexed)public int getEcd5_ParametersReps()
public TX insertParameters(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 insertEcd5_Parameters(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 removeParameters(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 removeEcd5_Parameters(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.