Package ca.uhn.hl7v2.model.v24.segment
Class ECR
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.ECR
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 ECR message segment (Equipment Command Response). This segment has the following fields:
- ECR-1: Command Response (CE)
- ECR-2: Date/Time Completed (TS)
- ECR-3: Command Response Parameters (ST) 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 ECR-1: "Command Response" - creates it if necessaryST[]Returns all repetitions of Command Response Parameters (ECR-3).getCommandResponseParameters(int rep) Returns a specific repetition of ECR-3: "Command Response Parameters" - creates it if necessaryintReturns a count of the current number of repetitions of Command Response Parameters (ECR-3).Returns ECR-2: "Date/Time Completed" - creates it if necessaryReturns ECR-1: "Command Response" - creates it if necessaryReturns ECR-2: "Date/Time Completed" - creates it if necessaryST[]Returns all repetitions of Command Response Parameters (ECR-3).getEcr3_CommandResponseParameters(int rep) Returns a specific repetition of ECR-3: "Command Response Parameters" - creates it if necessaryintReturns a count of the current number of repetitions of Command Response Parameters (ECR-3).insertCommandResponseParameters(int rep) Inserts a repetition of ECR-3: "Command Response Parameters" at a specific indexinsertEcr3_CommandResponseParameters(int rep) Inserts a repetition of ECR-3: "Command Response Parameters" at a specific indexremoveCommandResponseParameters(int rep) Removes a repetition of ECR-3: "Command Response Parameters" at a specific indexremoveEcr3_CommandResponseParameters(int rep) Removes a repetition of ECR-3: "Command Response 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
-
ECR
Creates a new ECR segment
-
-
Method Details
-
getCommandResponse
Returns ECR-1: "Command Response" - creates it if necessary -
getEcr1_CommandResponse
Returns ECR-1: "Command Response" - creates it if necessary -
getDateTimeCompleted
Returns ECR-2: "Date/Time Completed" - creates it if necessary -
getEcr2_DateTimeCompleted
Returns ECR-2: "Date/Time Completed" - creates it if necessary -
getCommandResponseParameters
Returns all repetitions of Command Response Parameters (ECR-3). -
getEcr3_CommandResponseParameters
Returns all repetitions of Command Response Parameters (ECR-3). -
getCommandResponseParametersReps
Returns a count of the current number of repetitions of Command Response Parameters (ECR-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getCommandResponseParameters
Returns a specific repetition of ECR-3: "Command Response Parameters" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getEcr3_CommandResponseParameters
Returns a specific repetition of ECR-3: "Command Response Parameters" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getEcr3_CommandResponseParametersReps
Returns a count of the current number of repetitions of Command Response Parameters (ECR-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertCommandResponseParameters
Inserts a repetition of ECR-3: "Command Response 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)
-
insertEcr3_CommandResponseParameters
Inserts a repetition of ECR-3: "Command Response 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)
-
removeCommandResponseParameters
Removes a repetition of ECR-3: "Command Response 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)
-
removeEcr3_CommandResponseParameters
Removes a repetition of ECR-3: "Command Response 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
-