Package ca.uhn.hl7v2.model.v23.segment
Class SPR
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v23.segment.SPR
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 SPR message segment (Stored Procedure Request Definition). This segment has the following fields:
- SPR-1: Query tag (ST) optional
- SPR-2: Query/ Response Format Code (ID)
- SPR-3: Stored procedure name (CE)
- SPR-4: Input parameter list (QIP) 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) QIP[]Returns all repetitions of Input parameter list (SPR-4).getInputParameterList(int rep) Returns a specific repetition of SPR-4: "Input parameter list" - creates it if necessaryintReturns a count of the current number of repetitions of Input parameter list (SPR-4).Returns SPR-2: "Query/ Response Format Code" - creates it if necessaryReturns SPR-1: "Query tag" - creates it if necessaryReturns SPR-1: "Query tag" - creates it if necessaryReturns SPR-2: "Query/ Response Format Code" - creates it if necessaryReturns SPR-3: "Stored procedure name" - creates it if necessaryQIP[]Returns all repetitions of Input parameter list (SPR-4).getSpr4_InputParameterList(int rep) Returns a specific repetition of SPR-4: "Input parameter list" - creates it if necessaryintReturns a count of the current number of repetitions of Input parameter list (SPR-4).Returns SPR-3: "Stored procedure name" - creates it if necessaryinsertInputParameterList(int rep) Inserts a repetition of SPR-4: "Input parameter list" at a specific indexinsertSpr4_InputParameterList(int rep) Inserts a repetition of SPR-4: "Input parameter list" at a specific indexremoveInputParameterList(int rep) Removes a repetition of SPR-4: "Input parameter list" at a specific indexremoveSpr4_InputParameterList(int rep) Removes a repetition of SPR-4: "Input parameter list" 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
-
SPR
Creates a new SPR segment
-
-
Method Details
-
getQueryTag
Returns SPR-1: "Query tag" - creates it if necessary -
getSpr1_QueryTag
Returns SPR-1: "Query tag" - creates it if necessary -
getQueryResponseFormatCode
Returns SPR-2: "Query/ Response Format Code" - creates it if necessary -
getSpr2_QueryResponseFormatCode
Returns SPR-2: "Query/ Response Format Code" - creates it if necessary -
getStoredProcedureName
Returns SPR-3: "Stored procedure name" - creates it if necessary -
getSpr3_StoredProcedureName
Returns SPR-3: "Stored procedure name" - creates it if necessary -
getInputParameterList
Returns all repetitions of Input parameter list (SPR-4). -
getSpr4_InputParameterList
Returns all repetitions of Input parameter list (SPR-4). -
getInputParameterListReps
Returns a count of the current number of repetitions of Input parameter list (SPR-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getInputParameterList
Returns a specific repetition of SPR-4: "Input parameter list" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpr4_InputParameterList
Returns a specific repetition of SPR-4: "Input parameter list" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpr4_InputParameterListReps
Returns a count of the current number of repetitions of Input parameter list (SPR-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertInputParameterList
Inserts a repetition of SPR-4: "Input parameter list" 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)
-
insertSpr4_InputParameterList
Inserts a repetition of SPR-4: "Input parameter list" 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)
-
removeInputParameterList
Removes a repetition of SPR-4: "Input parameter list" 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)
-
removeSpr4_InputParameterList
Removes a repetition of SPR-4: "Input parameter list" 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
-