public class GP2 extends AbstractSegment
Represents an HL7 GP2 message segment (Grouping/Reimbursement - Procedure Line Item). This segment has the following fields:
log
Constructor and Description |
---|
GP2(Group parent,
ModelClassFactory factory)
Creates a new GP2 segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
CE |
getAmbulatoryPaymentClassificationCode()
Returns
GP2-7: "Ambulatory Payment Classification Code" - creates it if necessary
|
CP |
getCharge()
Returns
GP2-3: "Charge" - creates it if necessary
|
CP |
getCoPayAmount()
Returns
GP2-13: "Co-Pay Amount" - creates it if necessary
|
IS |
getDenialOrRejectionCode()
Returns
GP2-5: "Denial or Rejection Code" - creates it if necessary
|
CP |
getExpectedHCFAPaymentAmount()
Returns
GP2-11: "Expected HCFA Payment Amount" - creates it if necessary
|
IS |
getGp21_RevenueCode()
Returns
GP2-1: "Revenue Code" - creates it if necessary
|
IS |
getGp210_PackagingStatusCode()
Returns
GP2-10: "Packaging Status Code" - creates it if necessary
|
CP |
getGp211_ExpectedHCFAPaymentAmount()
Returns
GP2-11: "Expected HCFA Payment Amount" - creates it if necessary
|
IS |
getGp212_ReimbursementTypeCode()
Returns
GP2-12: "Reimbursement Type Code" - creates it if necessary
|
CP |
getGp213_CoPayAmount()
Returns
GP2-13: "Co-Pay Amount" - creates it if necessary
|
NM |
getGp214_PayRatePerUnit()
Returns
GP2-14: "Pay Rate per Unit" - creates it if necessary
|
NM |
getGp22_NumberOfServiceUnits()
Returns
GP2-2: "Number of Service Units" - creates it if necessary
|
CP |
getGp23_Charge()
Returns
GP2-3: "Charge" - creates it if necessary
|
IS |
getGp24_ReimbursementActionCode()
Returns
GP2-4: "Reimbursement Action Code" - creates it if necessary
|
IS |
getGp25_DenialOrRejectionCode()
Returns
GP2-5: "Denial or Rejection Code" - creates it if necessary
|
IS[] |
getGp26_OCEEditCode()
Returns all repetitions of OCE Edit Code (GP2-6).
|
IS |
getGp26_OCEEditCode(int rep)
Returns a specific repetition of
GP2-6: "OCE Edit Code" - creates it if necessary
|
int |
getGp26_OCEEditCodeReps()
Returns a count of the current number of repetitions of OCE Edit Code (GP2-6).
|
CE |
getGp27_AmbulatoryPaymentClassificationCode()
Returns
GP2-7: "Ambulatory Payment Classification Code" - creates it if necessary
|
IS[] |
getGp28_ModifierEditCode()
Returns all repetitions of Modifier Edit Code (GP2-8).
|
IS |
getGp28_ModifierEditCode(int rep)
Returns a specific repetition of
GP2-8: "Modifier Edit Code" - creates it if necessary
|
int |
getGp28_ModifierEditCodeReps()
Returns a count of the current number of repetitions of Modifier Edit Code (GP2-8).
|
IS |
getGp29_PaymentAdjustmentCode()
Returns
GP2-9: "Payment Adjustment Code" - creates it if necessary
|
IS[] |
getModifierEditCode()
Returns all repetitions of Modifier Edit Code (GP2-8).
|
IS |
getModifierEditCode(int rep)
Returns a specific repetition of
GP2-8: "Modifier Edit Code" - creates it if necessary
|
int |
getModifierEditCodeReps()
Returns a count of the current number of repetitions of Modifier Edit Code (GP2-8).
|
NM |
getNumberOfServiceUnits()
Returns
GP2-2: "Number of Service Units" - creates it if necessary
|
IS[] |
getOCEEditCode()
Returns all repetitions of OCE Edit Code (GP2-6).
|
IS |
getOCEEditCode(int rep)
Returns a specific repetition of
GP2-6: "OCE Edit Code" - creates it if necessary
|
int |
getOCEEditCodeReps()
Returns a count of the current number of repetitions of OCE Edit Code (GP2-6).
|
IS |
getPackagingStatusCode()
Returns
GP2-10: "Packaging Status Code" - creates it if necessary
|
IS |
getPaymentAdjustmentCode()
Returns
GP2-9: "Payment Adjustment Code" - creates it if necessary
|
NM |
getPayRatePerUnit()
Returns
GP2-14: "Pay Rate per Unit" - creates it if necessary
|
IS |
getReimbursementActionCode()
Returns
GP2-4: "Reimbursement Action Code" - creates it if necessary
|
IS |
getReimbursementTypeCode()
Returns
GP2-12: "Reimbursement Type Code" - creates it if necessary
|
IS |
getRevenueCode()
Returns
GP2-1: "Revenue Code" - creates it if necessary
|
IS |
insertGp26_OCEEditCode(int rep)
Inserts a repetition of
GP2-6: "OCE Edit Code" at a specific index
|
IS |
insertGp28_ModifierEditCode(int rep)
Inserts a repetition of
GP2-8: "Modifier Edit Code" at a specific index
|
IS |
insertModifierEditCode(int rep)
Inserts a repetition of
GP2-8: "Modifier Edit Code" at a specific index
|
IS |
insertOCEEditCode(int rep)
Inserts a repetition of
GP2-6: "OCE Edit Code" at a specific index
|
IS |
removeGp26_OCEEditCode(int rep)
Removes a repetition of
GP2-6: "OCE Edit Code" at a specific index
|
IS |
removeGp28_ModifierEditCode(int rep)
Removes a repetition of
GP2-8: "Modifier Edit Code" at a specific index
|
IS |
removeModifierEditCode(int rep)
Removes a repetition of
GP2-8: "Modifier Edit Code" at a specific index
|
IS |
removeOCEEditCode(int rep)
Removes a repetition of
GP2-6: "OCE Edit Code" 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 GP2(Group parent, ModelClassFactory factory)
public IS getRevenueCode()
public IS getGp21_RevenueCode()
public NM getNumberOfServiceUnits()
public NM getGp22_NumberOfServiceUnits()
public CP getGp23_Charge()
public IS getReimbursementActionCode()
public IS getGp24_ReimbursementActionCode()
public IS getDenialOrRejectionCode()
public IS getGp25_DenialOrRejectionCode()
public IS[] getOCEEditCode()
public IS[] getGp26_OCEEditCode()
public int getOCEEditCodeReps()
public IS getOCEEditCode(int rep)
rep
- The repetition index (0-indexed)public IS getGp26_OCEEditCode(int rep)
rep
- The repetition index (0-indexed)public int getGp26_OCEEditCodeReps()
public IS insertOCEEditCode(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 IS insertGp26_OCEEditCode(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 IS removeOCEEditCode(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 IS removeGp26_OCEEditCode(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 CE getAmbulatoryPaymentClassificationCode()
public CE getGp27_AmbulatoryPaymentClassificationCode()
public IS[] getModifierEditCode()
public IS[] getGp28_ModifierEditCode()
public int getModifierEditCodeReps()
public IS getModifierEditCode(int rep)
rep
- The repetition index (0-indexed)public IS getGp28_ModifierEditCode(int rep)
rep
- The repetition index (0-indexed)public int getGp28_ModifierEditCodeReps()
public IS insertModifierEditCode(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 IS insertGp28_ModifierEditCode(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 IS removeModifierEditCode(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 IS removeGp28_ModifierEditCode(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 IS getPaymentAdjustmentCode()
public IS getGp29_PaymentAdjustmentCode()
public IS getPackagingStatusCode()
public IS getGp210_PackagingStatusCode()
public CP getExpectedHCFAPaymentAmount()
public CP getGp211_ExpectedHCFAPaymentAmount()
public IS getReimbursementTypeCode()
public IS getGp212_ReimbursementTypeCode()
public CP getCoPayAmount()
public CP getGp213_CoPayAmount()
public NM getPayRatePerUnit()
public NM getGp214_PayRatePerUnit()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.