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) |
CWE |
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
|
CWE |
getDenialOrRejectionCode()
Returns
GP2-5: "Denial or Rejection Code" - creates it if necessary
|
CP |
getExpectedCMSPaymentAmount()
Returns
GP2-11: "Expected CMS Payment Amount" - creates it if necessary
|
CWE |
getGp21_RevenueCode()
Returns
GP2-1: "Revenue Code" - creates it if necessary
|
CWE |
getGp210_PackagingStatusCode()
Returns
GP2-10: "Packaging Status Code" - creates it if necessary
|
CP |
getGp211_ExpectedCMSPaymentAmount()
Returns
GP2-11: "Expected CMS Payment Amount" - creates it if necessary
|
CWE |
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_PayRatePerServiceUnit()
Returns
GP2-14: "Pay Rate per Service 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
|
CWE |
getGp24_ReimbursementActionCode()
Returns
GP2-4: "Reimbursement Action Code" - creates it if necessary
|
CWE |
getGp25_DenialOrRejectionCode()
Returns
GP2-5: "Denial or Rejection Code" - creates it if necessary
|
CWE[] |
getGp26_OCEEditCode()
Returns all repetitions of OCE Edit Code (GP2-6).
|
CWE |
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).
|
CWE |
getGp27_AmbulatoryPaymentClassificationCode()
Returns
GP2-7: "Ambulatory Payment Classification Code" - creates it if necessary
|
CWE[] |
getGp28_ModifierEditCode()
Returns all repetitions of Modifier Edit Code (GP2-8).
|
CWE |
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).
|
CWE |
getGp29_PaymentAdjustmentCode()
Returns
GP2-9: "Payment Adjustment Code" - creates it if necessary
|
CWE[] |
getModifierEditCode()
Returns all repetitions of Modifier Edit Code (GP2-8).
|
CWE |
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
|
CWE[] |
getOCEEditCode()
Returns all repetitions of OCE Edit Code (GP2-6).
|
CWE |
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).
|
CWE |
getPackagingStatusCode()
Returns
GP2-10: "Packaging Status Code" - creates it if necessary
|
CWE |
getPaymentAdjustmentCode()
Returns
GP2-9: "Payment Adjustment Code" - creates it if necessary
|
NM |
getPayRatePerServiceUnit()
Returns
GP2-14: "Pay Rate per Service Unit" - creates it if necessary
|
CWE |
getReimbursementActionCode()
Returns
GP2-4: "Reimbursement Action Code" - creates it if necessary
|
CWE |
getReimbursementTypeCode()
Returns
GP2-12: "Reimbursement Type Code" - creates it if necessary
|
CWE |
getRevenueCode()
Returns
GP2-1: "Revenue Code" - creates it if necessary
|
CWE |
insertGp26_OCEEditCode(int rep)
Inserts a repetition of
GP2-6: "OCE Edit Code" at a specific index
|
CWE |
insertGp28_ModifierEditCode(int rep)
Inserts a repetition of
GP2-8: "Modifier Edit Code" at a specific index
|
CWE |
insertModifierEditCode(int rep)
Inserts a repetition of
GP2-8: "Modifier Edit Code" at a specific index
|
CWE |
insertOCEEditCode(int rep)
Inserts a repetition of
GP2-6: "OCE Edit Code" at a specific index
|
CWE |
removeGp26_OCEEditCode(int rep)
Removes a repetition of
GP2-6: "OCE Edit Code" at a specific index
|
CWE |
removeGp28_ModifierEditCode(int rep)
Removes a repetition of
GP2-8: "Modifier Edit Code" at a specific index
|
CWE |
removeModifierEditCode(int rep)
Removes a repetition of
GP2-8: "Modifier Edit Code" at a specific index
|
CWE |
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 CWE getRevenueCode()
public CWE getGp21_RevenueCode()
public NM getNumberOfServiceUnits()
public NM getGp22_NumberOfServiceUnits()
public CP getGp23_Charge()
public CWE getReimbursementActionCode()
public CWE getGp24_ReimbursementActionCode()
public CWE getDenialOrRejectionCode()
public CWE getGp25_DenialOrRejectionCode()
public CWE[] getOCEEditCode()
public CWE[] getGp26_OCEEditCode()
public int getOCEEditCodeReps()
public CWE getOCEEditCode(int rep)
rep
- The repetition index (0-indexed)public CWE getGp26_OCEEditCode(int rep)
rep
- The repetition index (0-indexed)public int getGp26_OCEEditCodeReps()
public CWE 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 CWE 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 CWE 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 CWE 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 CWE getAmbulatoryPaymentClassificationCode()
public CWE getGp27_AmbulatoryPaymentClassificationCode()
public CWE[] getModifierEditCode()
public CWE[] getGp28_ModifierEditCode()
public int getModifierEditCodeReps()
public CWE getModifierEditCode(int rep)
rep
- The repetition index (0-indexed)public CWE getGp28_ModifierEditCode(int rep)
rep
- The repetition index (0-indexed)public int getGp28_ModifierEditCodeReps()
public CWE 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 CWE 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 CWE 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 CWE 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 CWE getPaymentAdjustmentCode()
public CWE getGp29_PaymentAdjustmentCode()
public CWE getPackagingStatusCode()
public CWE getGp210_PackagingStatusCode()
public CP getExpectedCMSPaymentAmount()
public CP getGp211_ExpectedCMSPaymentAmount()
public CWE getReimbursementTypeCode()
public CWE getGp212_ReimbursementTypeCode()
public CP getCoPayAmount()
public CP getGp213_CoPayAmount()
public NM getPayRatePerServiceUnit()
public NM getGp214_PayRatePerServiceUnit()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.