public class RCP extends AbstractSegment
Represents an HL7 RCP message segment (Response Control Parameter). This segment has the following fields:
log
Constructor and Description |
---|
RCP(Group parent,
ModelClassFactory factory)
Creates a new RCP segment
|
Modifier and Type | Method and Description |
---|---|
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()
Returns all repetitions of Sort-by Field (RCP-6).
|
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()
Returns all repetitions of Segment group inclusion (RCP-7).
|
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
|
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 RCP(Group parent, ModelClassFactory factory)
public ID getQueryPriority()
public ID getRcp1_QueryPriority()
public CQ getQuantityLimitedRequest()
public CQ getRcp2_QuantityLimitedRequest()
public CE getResponseModality()
public CE getRcp3_ResponseModality()
public TS getExecutionAndDeliveryTime()
public TS getRcp4_ExecutionAndDeliveryTime()
public ID getModifyIndicator()
public ID getRcp5_ModifyIndicator()
public SRT[] getSortByField()
public SRT[] getRcp6_SortByField()
public int getSortByFieldReps()
public SRT getSortByField(int rep)
rep
- The repetition index (0-indexed)public SRT getRcp6_SortByField(int rep)
rep
- The repetition index (0-indexed)public int getRcp6_SortByFieldReps()
public SRT insertSortByField(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 SRT insertRcp6_SortByField(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 SRT removeSortByField(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 SRT removeRcp6_SortByField(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 ID[] getSegmentGroupInclusion()
public ID[] getRcp7_SegmentGroupInclusion()
public int getSegmentGroupInclusionReps()
public ID getSegmentGroupInclusion(int rep)
rep
- The repetition index (0-indexed)public ID getRcp7_SegmentGroupInclusion(int rep)
rep
- The repetition index (0-indexed)public int getRcp7_SegmentGroupInclusionReps()
public ID insertSegmentGroupInclusion(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 ID insertRcp7_SegmentGroupInclusion(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 ID removeSegmentGroupInclusion(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 ID removeRcp7_SegmentGroupInclusion(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.