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

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

public class RCP
extends AbstractSegment

Represents an HL7 RCP message segment (Response Control Parameter). This segment has the following fields:

See Also:
Serialized Form

Constructor Summary
RCP(Group parent, ModelClassFactory factory)
          Creates a new RCP segment
 
Method Summary
protected  Type createNewTypeWithoutReflection(int field)
          
 TS getExecutionAndDeliveryTime()
          Returns RCP-4: "Execution and Delivery Time" - creates it if necessary
 ID getModifyIndicator()
          Returns RCP-5: "Modify Indicator" - creates it if necessary
 CQ getQuantityLimitedRequest()
          Returns RCP-2: "Quantity Limited Request" - creates it if necessary
 ID getQueryPriority()
          Returns RCP-1: "Query Priority" - creates it if necessary
 ID getRcp1_QueryPriority()
          Returns RCP-1: "Query Priority" - creates it if necessary
 CQ getRcp2_QuantityLimitedRequest()
          Returns RCP-2: "Quantity Limited Request" - creates it if necessary
 CE getRcp3_ResponseModality()
          Returns RCP-3: "Response Modality" - creates it if necessary
 TS getRcp4_ExecutionAndDeliveryTime()
          Returns RCP-4: "Execution and Delivery Time" - creates it if necessary
 ID getRcp5_ModifyIndicator()
          Returns RCP-5: "Modify Indicator" - creates it if necessary
 SRT getRcp6_SortByField(int rep)
          Returns a specific repetition of RCP-6: "Sort-by Field" - creates it if necessary
 int getRcp6_SortByFieldReps()
          Returns a count of the current number of repetitions of Sort-by Field (RCP-6).
 ID getRcp7_SegmentGroupInclusion(int rep)
          Returns a specific repetition of RCP-7: "Segment group inclusion" - creates it if necessary
 int getRcp7_SegmentGroupInclusionReps()
          Returns a count of the current number of repetitions of Segment group inclusion (RCP-7).
 CE getResponseModality()
          Returns RCP-3: "Response Modality" - creates it if necessary
 ID[] getSegmentGroupInclusion()
          Returns all repetitions of Segment group inclusion (RCP-7).
 ID getSegmentGroupInclusion(int rep)
          Returns a specific repetition of RCP-7: "Segment group inclusion" - creates it if necessary
 int getSegmentGroupInclusionReps()
          Returns a count of the current number of repetitions of Segment group inclusion (RCP-7).
 SRT[] getSortByField()
          Returns all repetitions of Sort-by Field (RCP-6).
 SRT getSortByField(int rep)
          Returns a specific repetition of RCP-6: "Sort-by Field" - creates it if necessary
 int getSortByFieldReps()
          Returns a count of the current number of repetitions of Sort-by Field (RCP-6).
 SRT insertRcp6_SortByField(int rep)
          Inserts a repetition of RCP-6: "Sort-by Field" at a specific index
 ID insertRcp7_SegmentGroupInclusion(int rep)
          Inserts a repetition of RCP-7: "Segment group inclusion" at a specific index
 ID insertSegmentGroupInclusion(int rep)
          Inserts a repetition of RCP-7: "Segment group inclusion" at a specific index
 SRT insertSortByField(int rep)
          Inserts a repetition of RCP-6: "Sort-by Field" at a specific index
 SRT removeRcp6_SortByField(int rep)
          Removes a repetition of RCP-6: "Sort-by Field" at a specific index
 ID removeRcp7_SegmentGroupInclusion(int rep)
          Removes a repetition of RCP-7: "Segment group inclusion" at a specific index
 ID removeSegmentGroupInclusion(int rep)
          Removes a repetition of RCP-7: "Segment group inclusion" at a specific index
 SRT removeSortByField(int rep)
          Removes a repetition of RCP-6: "Sort-by Field" 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

RCP

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

Method Detail

getQueryPriority

public ID getQueryPriority()
Returns RCP-1: "Query Priority" - creates it if necessary


getRcp1_QueryPriority

public ID getRcp1_QueryPriority()
Returns RCP-1: "Query Priority" - creates it if necessary


getQuantityLimitedRequest

public CQ getQuantityLimitedRequest()
Returns RCP-2: "Quantity Limited Request" - creates it if necessary


getRcp2_QuantityLimitedRequest

public CQ getRcp2_QuantityLimitedRequest()
Returns RCP-2: "Quantity Limited Request" - creates it if necessary


getResponseModality

public CE getResponseModality()
Returns RCP-3: "Response Modality" - creates it if necessary


getRcp3_ResponseModality

public CE getRcp3_ResponseModality()
Returns RCP-3: "Response Modality" - creates it if necessary


getExecutionAndDeliveryTime

public TS getExecutionAndDeliveryTime()
Returns RCP-4: "Execution and Delivery Time" - creates it if necessary


getRcp4_ExecutionAndDeliveryTime

public TS getRcp4_ExecutionAndDeliveryTime()
Returns RCP-4: "Execution and Delivery Time" - creates it if necessary


getModifyIndicator

public ID getModifyIndicator()
Returns RCP-5: "Modify Indicator" - creates it if necessary


getRcp5_ModifyIndicator

public ID getRcp5_ModifyIndicator()
Returns RCP-5: "Modify Indicator" - creates it if necessary


getSortByField

public SRT[] getSortByField()
Returns all repetitions of Sort-by Field (RCP-6).


getSortByFieldReps

public int getSortByFieldReps()
Returns a count of the current number of repetitions of Sort-by Field (RCP-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getSortByField

public SRT getSortByField(int rep)
Returns a specific repetition of RCP-6: "Sort-by Field" - creates it if necessary

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

getRcp6_SortByField

public SRT getRcp6_SortByField(int rep)
Returns a specific repetition of RCP-6: "Sort-by Field" - creates it if necessary

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

getRcp6_SortByFieldReps

public int getRcp6_SortByFieldReps()
Returns a count of the current number of repetitions of Sort-by Field (RCP-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertSortByField

public SRT insertSortByField(int rep)
                      throws HL7Exception
Inserts a repetition of RCP-6: "Sort-by Field" 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)

insertRcp6_SortByField

public SRT insertRcp6_SortByField(int rep)
                           throws HL7Exception
Inserts a repetition of RCP-6: "Sort-by Field" 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)

removeSortByField

public SRT removeSortByField(int rep)
                      throws HL7Exception
Removes a repetition of RCP-6: "Sort-by Field" 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)

removeRcp6_SortByField

public SRT removeRcp6_SortByField(int rep)
                           throws HL7Exception
Removes a repetition of RCP-6: "Sort-by Field" 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)

getSegmentGroupInclusion

public ID[] getSegmentGroupInclusion()
Returns all repetitions of Segment group inclusion (RCP-7).


getSegmentGroupInclusionReps

public int getSegmentGroupInclusionReps()
Returns a count of the current number of repetitions of Segment group inclusion (RCP-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getSegmentGroupInclusion

public ID getSegmentGroupInclusion(int rep)
Returns a specific repetition of RCP-7: "Segment group inclusion" - creates it if necessary

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

getRcp7_SegmentGroupInclusion

public ID getRcp7_SegmentGroupInclusion(int rep)
Returns a specific repetition of RCP-7: "Segment group inclusion" - creates it if necessary

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

getRcp7_SegmentGroupInclusionReps

public int getRcp7_SegmentGroupInclusionReps()
Returns a count of the current number of repetitions of Segment group inclusion (RCP-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertSegmentGroupInclusion

public ID insertSegmentGroupInclusion(int rep)
                               throws HL7Exception
Inserts a repetition of RCP-7: "Segment group inclusion" 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)

insertRcp7_SegmentGroupInclusion

public ID insertRcp7_SegmentGroupInclusion(int rep)
                                    throws HL7Exception
Inserts a repetition of RCP-7: "Segment group inclusion" 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)

removeSegmentGroupInclusion

public ID removeSegmentGroupInclusion(int rep)
                               throws HL7Exception
Removes a repetition of RCP-7: "Segment group inclusion" 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)

removeRcp7_SegmentGroupInclusion

public ID removeRcp7_SegmentGroupInclusion(int rep)
                                    throws HL7Exception
Removes a repetition of RCP-7: "Segment group inclusion" 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.