ca.uhn.hl7v2.model.v24.segment
Class ERQ

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractSegment
      extended by ca.uhn.hl7v2.model.v24.segment.ERQ
All Implemented Interfaces:
Segment, Structure, Serializable

public class ERQ
extends AbstractSegment

Represents an HL7 ERQ message segment (Event Replay Query). This segment has the following fields:

See Also:
Serialized Form

Constructor Summary
ERQ(Group parent, ModelClassFactory factory)
          Creates a new ERQ segment
 
Method Summary
protected  Type createNewTypeWithoutReflection(int field)
          
 ST getErq1_QueryTag()
          Returns ERQ-1: "Query Tag" - creates it if necessary
 CE getErq2_EventIdentifier()
          Returns ERQ-2: "Event Identifier" - creates it if necessary
 QIP getErq3_InputParameterList(int rep)
          Returns a specific repetition of ERQ-3: "Input Parameter List" - creates it if necessary
 int getErq3_InputParameterListReps()
          Returns a count of the current number of repetitions of Input Parameter List (ERQ-3).
 CE getEventIdentifier()
          Returns ERQ-2: "Event Identifier" - creates it if necessary
 QIP[] getInputParameterList()
          Returns all repetitions of Input Parameter List (ERQ-3).
 QIP getInputParameterList(int rep)
          Returns a specific repetition of ERQ-3: "Input Parameter List" - creates it if necessary
 int getInputParameterListReps()
          Returns a count of the current number of repetitions of Input Parameter List (ERQ-3).
 ST getQueryTag()
          Returns ERQ-1: "Query Tag" - creates it if necessary
 QIP insertErq3_InputParameterList(int rep)
          Inserts a repetition of ERQ-3: "Input Parameter List" at a specific index
 QIP insertInputParameterList(int rep)
          Inserts a repetition of ERQ-3: "Input Parameter List" at a specific index
 QIP removeErq3_InputParameterList(int rep)
          Removes a repetition of ERQ-3: "Input Parameter List" at a specific index
 QIP removeInputParameterList(int rep)
          Removes a repetition of ERQ-3: "Input Parameter List" at a specific index
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractSegment
add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getMessage, getName, getNames, getParent, insertRepetition, isRequired, main, numFields, parse, removeRepetition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERQ

public ERQ(Group parent,
           ModelClassFactory factory)
Creates a new ERQ segment

Method Detail

getQueryTag

public ST getQueryTag()
Returns ERQ-1: "Query Tag" - creates it if necessary


getErq1_QueryTag

public ST getErq1_QueryTag()
Returns ERQ-1: "Query Tag" - creates it if necessary


getEventIdentifier

public CE getEventIdentifier()
Returns ERQ-2: "Event Identifier" - creates it if necessary


getErq2_EventIdentifier

public CE getErq2_EventIdentifier()
Returns ERQ-2: "Event Identifier" - creates it if necessary


getInputParameterList

public QIP[] getInputParameterList()
Returns all repetitions of Input Parameter List (ERQ-3).


getInputParameterListReps

public int getInputParameterListReps()
Returns a count of the current number of repetitions of Input Parameter List (ERQ-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getInputParameterList

public QIP getInputParameterList(int rep)
Returns a specific repetition of ERQ-3: "Input Parameter List" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getErq3_InputParameterList

public QIP getErq3_InputParameterList(int rep)
Returns a specific repetition of ERQ-3: "Input Parameter List" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getErq3_InputParameterListReps

public int getErq3_InputParameterListReps()
Returns a count of the current number of repetitions of Input Parameter List (ERQ-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertInputParameterList

public QIP insertInputParameterList(int rep)
                             throws HL7Exception
Inserts a repetition of ERQ-3: "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)

insertErq3_InputParameterList

public QIP insertErq3_InputParameterList(int rep)
                                  throws HL7Exception
Inserts a repetition of ERQ-3: "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

public QIP removeInputParameterList(int rep)
                             throws HL7Exception
Removes a repetition of ERQ-3: "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)

removeErq3_InputParameterList

public QIP removeErq3_InputParameterList(int rep)
                                  throws HL7Exception
Removes a repetition of ERQ-3: "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

protected Type createNewTypeWithoutReflection(int field)

Overrides:
createNewTypeWithoutReflection in class AbstractSegment


Copyright © 2001-2011 University Health Network. All Rights Reserved.