Package ca.uhn.hl7v2.model.v251.segment
Class ECD
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.ECD
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 ECD message segment (Equipment Command). This segment has the following fields:
- ECD-1: Reference Command Number (NM)
- ECD-2: Remote Control Command (CE)
- ECD-3: Response Required (ID) optional
- ECD-4: Requested Completion Time (TQ) optional
- ECD-5: Parameters (TX) optional repeating
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypecreateNewTypeWithoutReflection(int field) Returns ECD-1: "Reference Command Number" - creates it if necessaryReturns ECD-2: "Remote Control Command" - creates it if necessaryReturns ECD-3: "Response Required" - creates it if necessaryReturns ECD-4: "Requested Completion Time" - creates it if necessaryTX[]Returns all repetitions of Parameters (ECD-5).getEcd5_Parameters(int rep) Returns a specific repetition of ECD-5: "Parameters" - creates it if necessaryintReturns a count of the current number of repetitions of Parameters (ECD-5).TX[]Returns all repetitions of Parameters (ECD-5).getParameters(int rep) Returns a specific repetition of ECD-5: "Parameters" - creates it if necessaryintReturns a count of the current number of repetitions of Parameters (ECD-5).Returns ECD-1: "Reference Command Number" - creates it if necessaryReturns ECD-2: "Remote Control Command" - creates it if necessaryReturns ECD-4: "Requested Completion Time" - creates it if necessaryReturns ECD-3: "Response Required" - creates it if necessaryinsertEcd5_Parameters(int rep) Inserts a repetition of ECD-5: "Parameters" at a specific indexinsertParameters(int rep) Inserts a repetition of ECD-5: "Parameters" at a specific indexremoveEcd5_Parameters(int rep) Removes a repetition of ECD-5: "Parameters" at a specific indexremoveParameters(int rep) Removes a repetition of ECD-5: "Parameters" at a specific indexMethods inherited from class ca.uhn.hl7v2.model.AbstractSegment
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetitionMethods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParent
-
Constructor Details
-
ECD
Creates a new ECD segment
-
-
Method Details
-
getReferenceCommandNumber
Returns ECD-1: "Reference Command Number" - creates it if necessary -
getEcd1_ReferenceCommandNumber
Returns ECD-1: "Reference Command Number" - creates it if necessary -
getRemoteControlCommand
Returns ECD-2: "Remote Control Command" - creates it if necessary -
getEcd2_RemoteControlCommand
Returns ECD-2: "Remote Control Command" - creates it if necessary -
getResponseRequired
Returns ECD-3: "Response Required" - creates it if necessary -
getEcd3_ResponseRequired
Returns ECD-3: "Response Required" - creates it if necessary -
getRequestedCompletionTime
Returns ECD-4: "Requested Completion Time" - creates it if necessary -
getEcd4_RequestedCompletionTime
Returns ECD-4: "Requested Completion Time" - creates it if necessary -
getParameters
Returns all repetitions of Parameters (ECD-5). -
getEcd5_Parameters
Returns all repetitions of Parameters (ECD-5). -
getParametersReps
Returns a count of the current number of repetitions of Parameters (ECD-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getParameters
Returns a specific repetition of ECD-5: "Parameters" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getEcd5_Parameters
Returns a specific repetition of ECD-5: "Parameters" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getEcd5_ParametersReps
Returns a count of the current number of repetitions of Parameters (ECD-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertParameters
Inserts a repetition of ECD-5: "Parameters" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertEcd5_Parameters
Inserts a repetition of ECD-5: "Parameters" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeParameters
Removes a repetition of ECD-5: "Parameters" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeEcd5_Parameters
Removes a repetition of ECD-5: "Parameters" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-