Package ca.uhn.hl7v2.model.v251.segment
Class RCP
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.RCP
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 RCP message segment (Response Control Parameter). This segment has the following fields:
- RCP-1: Query Priority (ID) optional
- RCP-2: Quantity Limited Request (CQ) optional
- RCP-3: Response Modality (CE) optional
- RCP-4: Execution and Delivery Time (TS) optional
- RCP-5: Modify Indicator (ID) optional
- RCP-6: Sort-by Field (SRT) optional repeating
- RCP-7: Segment group inclusion (ID) 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) Returns RCP-4: "Execution and Delivery Time" - creates it if necessaryReturns RCP-5: "Modify Indicator" - creates it if necessaryReturns RCP-2: "Quantity Limited Request" - creates it if necessaryReturns RCP-1: "Query Priority" - creates it if necessaryReturns RCP-1: "Query Priority" - creates it if necessaryReturns RCP-2: "Quantity Limited Request" - creates it if necessaryReturns RCP-3: "Response Modality" - creates it if necessaryReturns RCP-4: "Execution and Delivery Time" - creates it if necessaryReturns RCP-5: "Modify Indicator" - creates it if necessarySRT[]Returns all repetitions of Sort-by Field (RCP-6).getRcp6_SortByField(int rep) Returns a specific repetition of RCP-6: "Sort-by Field" - creates it if necessaryintReturns a count of the current number of repetitions of Sort-by Field (RCP-6).ID[]Returns all repetitions of Segment group inclusion (RCP-7).getRcp7_SegmentGroupInclusion(int rep) Returns a specific repetition of RCP-7: "Segment group inclusion" - creates it if necessaryintReturns a count of the current number of repetitions of Segment group inclusion (RCP-7).Returns RCP-3: "Response Modality" - creates it if necessaryID[]Returns all repetitions of Segment group inclusion (RCP-7).getSegmentGroupInclusion(int rep) Returns a specific repetition of RCP-7: "Segment group inclusion" - creates it if necessaryintReturns a count of the current number of repetitions of Segment group inclusion (RCP-7).SRT[]Returns all repetitions of Sort-by Field (RCP-6).getSortByField(int rep) Returns a specific repetition of RCP-6: "Sort-by Field" - creates it if necessaryintReturns a count of the current number of repetitions of Sort-by Field (RCP-6).insertRcp6_SortByField(int rep) Inserts a repetition of RCP-6: "Sort-by Field" at a specific indexinsertRcp7_SegmentGroupInclusion(int rep) Inserts a repetition of RCP-7: "Segment group inclusion" at a specific indexinsertSegmentGroupInclusion(int rep) Inserts a repetition of RCP-7: "Segment group inclusion" at a specific indexinsertSortByField(int rep) Inserts a repetition of RCP-6: "Sort-by Field" at a specific indexremoveRcp6_SortByField(int rep) Removes a repetition of RCP-6: "Sort-by Field" at a specific indexremoveRcp7_SegmentGroupInclusion(int rep) Removes a repetition of RCP-7: "Segment group inclusion" at a specific indexremoveSegmentGroupInclusion(int rep) Removes a repetition of RCP-7: "Segment group inclusion" at a specific indexremoveSortByField(int rep) Removes a repetition of RCP-6: "Sort-by Field" 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
-
RCP
Creates a new RCP segment
-
-
Method Details
-
getQueryPriority
Returns RCP-1: "Query Priority" - creates it if necessary -
getRcp1_QueryPriority
Returns RCP-1: "Query Priority" - creates it if necessary -
getQuantityLimitedRequest
Returns RCP-2: "Quantity Limited Request" - creates it if necessary -
getRcp2_QuantityLimitedRequest
Returns RCP-2: "Quantity Limited Request" - creates it if necessary -
getResponseModality
Returns RCP-3: "Response Modality" - creates it if necessary -
getRcp3_ResponseModality
Returns RCP-3: "Response Modality" - creates it if necessary -
getExecutionAndDeliveryTime
Returns RCP-4: "Execution and Delivery Time" - creates it if necessary -
getRcp4_ExecutionAndDeliveryTime
Returns RCP-4: "Execution and Delivery Time" - creates it if necessary -
getModifyIndicator
Returns RCP-5: "Modify Indicator" - creates it if necessary -
getRcp5_ModifyIndicator
Returns RCP-5: "Modify Indicator" - creates it if necessary -
getSortByField
Returns all repetitions of Sort-by Field (RCP-6). -
getRcp6_SortByField
Returns all repetitions of Sort-by Field (RCP-6). -
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
Returns a specific repetition of RCP-6: "Sort-by Field" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRcp6_SortByField
Returns a specific repetition of RCP-6: "Sort-by Field" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
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
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
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
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
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
Returns all repetitions of Segment group inclusion (RCP-7). -
getRcp7_SegmentGroupInclusion
Returns all repetitions of Segment group inclusion (RCP-7). -
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
Returns a specific repetition of RCP-7: "Segment group inclusion" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRcp7_SegmentGroupInclusion
Returns a specific repetition of RCP-7: "Segment group inclusion" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
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
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
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
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
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
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-