Package ca.uhn.hl7v2.model.v251.segment
Class GP2
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.GP2
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 GP2 message segment (Grouping/Reimbursement - Procedure Line Item). This segment has the following fields:
- GP2-1: Revenue Code (IS) optional
- GP2-2: Number of Service Units (NM) optional
- GP2-3: Charge (CP) optional
- GP2-4: Reimbursement Action Code (IS) optional
- GP2-5: Denial or Rejection Code (IS) optional
- GP2-6: OCE Edit Code (IS) optional repeating
- GP2-7: Ambulatory Payment Classification Code (CE) optional
- GP2-8: Modifier Edit Code (IS) optional repeating
- GP2-9: Payment Adjustment Code (IS) optional
- GP2-10: Packaging Status Code (IS) optional
- GP2-11: Expected CMS Payment Amount (CP) optional
- GP2-12: Reimbursement Type Code (IS) optional
- GP2-13: Co-Pay Amount (CP) optional
- GP2-14: Pay Rate per Service Unit (NM) optional
- 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 GP2-7: "Ambulatory Payment Classification Code" - creates it if necessaryReturns GP2-3: "Charge" - creates it if necessaryReturns GP2-13: "Co-Pay Amount" - creates it if necessaryReturns GP2-5: "Denial or Rejection Code" - creates it if necessaryReturns GP2-11: "Expected CMS Payment Amount" - creates it if necessaryReturns GP2-1: "Revenue Code" - creates it if necessaryReturns GP2-10: "Packaging Status Code" - creates it if necessaryReturns GP2-11: "Expected CMS Payment Amount" - creates it if necessaryReturns GP2-12: "Reimbursement Type Code" - creates it if necessaryReturns GP2-13: "Co-Pay Amount" - creates it if necessaryReturns GP2-14: "Pay Rate per Service Unit" - creates it if necessaryReturns GP2-2: "Number of Service Units" - creates it if necessaryReturns GP2-3: "Charge" - creates it if necessaryReturns GP2-4: "Reimbursement Action Code" - creates it if necessaryReturns GP2-5: "Denial or Rejection Code" - creates it if necessaryIS[]Returns all repetitions of OCE Edit Code (GP2-6).getGp26_OCEEditCode(int rep) Returns a specific repetition of GP2-6: "OCE Edit Code" - creates it if necessaryintReturns a count of the current number of repetitions of OCE Edit Code (GP2-6).Returns GP2-7: "Ambulatory Payment Classification Code" - creates it if necessaryIS[]Returns all repetitions of Modifier Edit Code (GP2-8).getGp28_ModifierEditCode(int rep) Returns a specific repetition of GP2-8: "Modifier Edit Code" - creates it if necessaryintReturns a count of the current number of repetitions of Modifier Edit Code (GP2-8).Returns GP2-9: "Payment Adjustment Code" - creates it if necessaryIS[]Returns all repetitions of Modifier Edit Code (GP2-8).getModifierEditCode(int rep) Returns a specific repetition of GP2-8: "Modifier Edit Code" - creates it if necessaryintReturns a count of the current number of repetitions of Modifier Edit Code (GP2-8).Returns GP2-2: "Number of Service Units" - creates it if necessaryIS[]Returns all repetitions of OCE Edit Code (GP2-6).getOCEEditCode(int rep) Returns a specific repetition of GP2-6: "OCE Edit Code" - creates it if necessaryintReturns a count of the current number of repetitions of OCE Edit Code (GP2-6).Returns GP2-10: "Packaging Status Code" - creates it if necessaryReturns GP2-9: "Payment Adjustment Code" - creates it if necessaryReturns GP2-14: "Pay Rate per Service Unit" - creates it if necessaryReturns GP2-4: "Reimbursement Action Code" - creates it if necessaryReturns GP2-12: "Reimbursement Type Code" - creates it if necessaryReturns GP2-1: "Revenue Code" - creates it if necessaryinsertGp26_OCEEditCode(int rep) Inserts a repetition of GP2-6: "OCE Edit Code" at a specific indexinsertGp28_ModifierEditCode(int rep) Inserts a repetition of GP2-8: "Modifier Edit Code" at a specific indexinsertModifierEditCode(int rep) Inserts a repetition of GP2-8: "Modifier Edit Code" at a specific indexinsertOCEEditCode(int rep) Inserts a repetition of GP2-6: "OCE Edit Code" at a specific indexremoveGp26_OCEEditCode(int rep) Removes a repetition of GP2-6: "OCE Edit Code" at a specific indexremoveGp28_ModifierEditCode(int rep) Removes a repetition of GP2-8: "Modifier Edit Code" at a specific indexremoveModifierEditCode(int rep) Removes a repetition of GP2-8: "Modifier Edit Code" at a specific indexremoveOCEEditCode(int rep) Removes a repetition of GP2-6: "OCE Edit Code" 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
-
GP2
Creates a new GP2 segment
-
-
Method Details
-
getRevenueCode
Returns GP2-1: "Revenue Code" - creates it if necessary -
getGp21_RevenueCode
Returns GP2-1: "Revenue Code" - creates it if necessary -
getNumberOfServiceUnits
Returns GP2-2: "Number of Service Units" - creates it if necessary -
getGp22_NumberOfServiceUnits
Returns GP2-2: "Number of Service Units" - creates it if necessary -
getCharge
Returns GP2-3: "Charge" - creates it if necessary -
getGp23_Charge
Returns GP2-3: "Charge" - creates it if necessary -
getReimbursementActionCode
Returns GP2-4: "Reimbursement Action Code" - creates it if necessary -
getGp24_ReimbursementActionCode
Returns GP2-4: "Reimbursement Action Code" - creates it if necessary -
getDenialOrRejectionCode
Returns GP2-5: "Denial or Rejection Code" - creates it if necessary -
getGp25_DenialOrRejectionCode
Returns GP2-5: "Denial or Rejection Code" - creates it if necessary -
getOCEEditCode
Returns all repetitions of OCE Edit Code (GP2-6). -
getGp26_OCEEditCode
Returns all repetitions of OCE Edit Code (GP2-6). -
getOCEEditCodeReps
Returns a count of the current number of repetitions of OCE Edit Code (GP2-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getOCEEditCode
Returns a specific repetition of GP2-6: "OCE Edit Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGp26_OCEEditCode
Returns a specific repetition of GP2-6: "OCE Edit Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGp26_OCEEditCodeReps
Returns a count of the current number of repetitions of OCE Edit Code (GP2-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertOCEEditCode
Inserts a repetition of GP2-6: "OCE Edit Code" 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)
-
insertGp26_OCEEditCode
Inserts a repetition of GP2-6: "OCE Edit Code" 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)
-
removeOCEEditCode
Removes a repetition of GP2-6: "OCE Edit Code" 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)
-
removeGp26_OCEEditCode
Removes a repetition of GP2-6: "OCE Edit Code" 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)
-
getAmbulatoryPaymentClassificationCode
Returns GP2-7: "Ambulatory Payment Classification Code" - creates it if necessary -
getGp27_AmbulatoryPaymentClassificationCode
Returns GP2-7: "Ambulatory Payment Classification Code" - creates it if necessary -
getModifierEditCode
Returns all repetitions of Modifier Edit Code (GP2-8). -
getGp28_ModifierEditCode
Returns all repetitions of Modifier Edit Code (GP2-8). -
getModifierEditCodeReps
Returns a count of the current number of repetitions of Modifier Edit Code (GP2-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getModifierEditCode
Returns a specific repetition of GP2-8: "Modifier Edit Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGp28_ModifierEditCode
Returns a specific repetition of GP2-8: "Modifier Edit Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGp28_ModifierEditCodeReps
Returns a count of the current number of repetitions of Modifier Edit Code (GP2-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertModifierEditCode
Inserts a repetition of GP2-8: "Modifier Edit Code" 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)
-
insertGp28_ModifierEditCode
Inserts a repetition of GP2-8: "Modifier Edit Code" 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)
-
removeModifierEditCode
Removes a repetition of GP2-8: "Modifier Edit Code" 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)
-
removeGp28_ModifierEditCode
Removes a repetition of GP2-8: "Modifier Edit Code" 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)
-
getPaymentAdjustmentCode
Returns GP2-9: "Payment Adjustment Code" - creates it if necessary -
getGp29_PaymentAdjustmentCode
Returns GP2-9: "Payment Adjustment Code" - creates it if necessary -
getPackagingStatusCode
Returns GP2-10: "Packaging Status Code" - creates it if necessary -
getGp210_PackagingStatusCode
Returns GP2-10: "Packaging Status Code" - creates it if necessary -
getExpectedCMSPaymentAmount
Returns GP2-11: "Expected CMS Payment Amount" - creates it if necessary -
getGp211_ExpectedCMSPaymentAmount
Returns GP2-11: "Expected CMS Payment Amount" - creates it if necessary -
getReimbursementTypeCode
Returns GP2-12: "Reimbursement Type Code" - creates it if necessary -
getGp212_ReimbursementTypeCode
Returns GP2-12: "Reimbursement Type Code" - creates it if necessary -
getCoPayAmount
Returns GP2-13: "Co-Pay Amount" - creates it if necessary -
getGp213_CoPayAmount
Returns GP2-13: "Co-Pay Amount" - creates it if necessary -
getPayRatePerServiceUnit
Returns GP2-14: "Pay Rate per Service Unit" - creates it if necessary -
getGp214_PayRatePerServiceUnit
Returns GP2-14: "Pay Rate per Service Unit" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-