public class SPR extends AbstractSegment
Represents an HL7 SPR message segment (SPR - stored procedure request definition segment). This segment has the following fields:
log
Constructor and Description |
---|
SPR(Group parent,
ModelClassFactory factory)
Creates a new SPR segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
QIP[] |
getInputParameterList()
Returns all repetitions of Input Parameter List (SPR-4).
|
QIP |
getInputParameterList(int rep)
Returns a specific repetition of
SPR-4: "Input Parameter List" - creates it if necessary
|
int |
getInputParameterListReps()
Returns a count of the current number of repetitions of Input Parameter List (SPR-4).
|
ID |
getQueryResponseFormatCode()
Returns
SPR-2: "Query/ Response Format Code" - creates it if necessary
|
ST |
getQueryTag()
Returns
SPR-1: "Query Tag" - creates it if necessary
|
ST |
getSpr1_QueryTag()
Returns
SPR-1: "Query Tag" - creates it if necessary
|
ID |
getSpr2_QueryResponseFormatCode()
Returns
SPR-2: "Query/ Response Format Code" - creates it if necessary
|
CE |
getSpr3_StoredProcedureName()
Returns
SPR-3: "Stored Procedure Name" - creates it if necessary
|
QIP[] |
getSpr4_InputParameterList()
Returns all repetitions of Input Parameter List (SPR-4).
|
QIP |
getSpr4_InputParameterList(int rep)
Returns a specific repetition of
SPR-4: "Input Parameter List" - creates it if necessary
|
int |
getSpr4_InputParameterListReps()
Returns a count of the current number of repetitions of Input Parameter List (SPR-4).
|
CE |
getStoredProcedureName()
Returns
SPR-3: "Stored Procedure Name" - creates it if necessary
|
QIP |
insertInputParameterList(int rep)
Inserts a repetition of
SPR-4: "Input Parameter List" at a specific index
|
QIP |
insertSpr4_InputParameterList(int rep)
Inserts a repetition of
SPR-4: "Input Parameter List" at a specific index
|
QIP |
removeInputParameterList(int rep)
Removes a repetition of
SPR-4: "Input Parameter List" at a specific index
|
QIP |
removeSpr4_InputParameterList(int rep)
Removes a repetition of
SPR-4: "Input Parameter List" 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 SPR(Group parent, ModelClassFactory factory)
public ST getQueryTag()
public ST getSpr1_QueryTag()
public ID getQueryResponseFormatCode()
public ID getSpr2_QueryResponseFormatCode()
public CE getStoredProcedureName()
public CE getSpr3_StoredProcedureName()
public QIP[] getInputParameterList()
public QIP[] getSpr4_InputParameterList()
public int getInputParameterListReps()
public QIP getInputParameterList(int rep)
rep
- The repetition index (0-indexed)public QIP getSpr4_InputParameterList(int rep)
rep
- The repetition index (0-indexed)public int getSpr4_InputParameterListReps()
public QIP insertInputParameterList(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 QIP insertSpr4_InputParameterList(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 QIP removeInputParameterList(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 QIP removeSpr4_InputParameterList(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.