public class GP1 extends AbstractSegment
Represents an HL7 GP1 message segment (Grouping/Reimbursement - Visit). This segment has the following fields:
log
Constructor and Description |
---|
GP1(Group parent,
ModelClassFactory factory)
Creates a new GP1 segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
CWE |
getGp11_TypeOfBillCode()
Returns
GP1-1: "Type of Bill Code" - creates it if necessary
|
CWE[] |
getGp12_RevenueCode()
Returns all repetitions of Revenue Code (GP1-2).
|
CWE |
getGp12_RevenueCode(int rep)
Returns a specific repetition of
GP1-2: "Revenue Code" - creates it if necessary
|
int |
getGp12_RevenueCodeReps()
Returns a count of the current number of repetitions of Revenue Code (GP1-2).
|
CWE |
getGp13_OverallClaimDispositionCode()
Returns
GP1-3: "Overall Claim Disposition Code" - creates it if necessary
|
CWE[] |
getGp14_OCEEditsPerVisitCode()
Returns all repetitions of OCE Edits per Visit Code (GP1-4).
|
CWE |
getGp14_OCEEditsPerVisitCode(int rep)
Returns a specific repetition of
GP1-4: "OCE Edits per Visit Code" - creates it if necessary
|
int |
getGp14_OCEEditsPerVisitCodeReps()
Returns a count of the current number of repetitions of OCE Edits per Visit Code (GP1-4).
|
CP |
getGp15_OutlierCost()
Returns
GP1-5: "Outlier Cost" - creates it if necessary
|
CWE[] |
getOCEEditsPerVisitCode()
Returns all repetitions of OCE Edits per Visit Code (GP1-4).
|
CWE |
getOCEEditsPerVisitCode(int rep)
Returns a specific repetition of
GP1-4: "OCE Edits per Visit Code" - creates it if necessary
|
int |
getOCEEditsPerVisitCodeReps()
Returns a count of the current number of repetitions of OCE Edits per Visit Code (GP1-4).
|
CP |
getOutlierCost()
Returns
GP1-5: "Outlier Cost" - creates it if necessary
|
CWE |
getOverallClaimDispositionCode()
Returns
GP1-3: "Overall Claim Disposition Code" - creates it if necessary
|
CWE[] |
getRevenueCode()
Returns all repetitions of Revenue Code (GP1-2).
|
CWE |
getRevenueCode(int rep)
Returns a specific repetition of
GP1-2: "Revenue Code" - creates it if necessary
|
int |
getRevenueCodeReps()
Returns a count of the current number of repetitions of Revenue Code (GP1-2).
|
CWE |
getTypeOfBillCode()
Returns
GP1-1: "Type of Bill Code" - creates it if necessary
|
CWE |
insertGp12_RevenueCode(int rep)
Inserts a repetition of
GP1-2: "Revenue Code" at a specific index
|
CWE |
insertGp14_OCEEditsPerVisitCode(int rep)
Inserts a repetition of
GP1-4: "OCE Edits per Visit Code" at a specific index
|
CWE |
insertOCEEditsPerVisitCode(int rep)
Inserts a repetition of
GP1-4: "OCE Edits per Visit Code" at a specific index
|
CWE |
insertRevenueCode(int rep)
Inserts a repetition of
GP1-2: "Revenue Code" at a specific index
|
CWE |
removeGp12_RevenueCode(int rep)
Removes a repetition of
GP1-2: "Revenue Code" at a specific index
|
CWE |
removeGp14_OCEEditsPerVisitCode(int rep)
Removes a repetition of
GP1-4: "OCE Edits per Visit Code" at a specific index
|
CWE |
removeOCEEditsPerVisitCode(int rep)
Removes a repetition of
GP1-4: "OCE Edits per Visit Code" at a specific index
|
CWE |
removeRevenueCode(int rep)
Removes a repetition of
GP1-2: "Revenue 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 GP1(Group parent, ModelClassFactory factory)
public CWE getTypeOfBillCode()
public CWE getGp11_TypeOfBillCode()
public CWE[] getRevenueCode()
public CWE[] getGp12_RevenueCode()
public int getRevenueCodeReps()
public CWE getRevenueCode(int rep)
rep
- The repetition index (0-indexed)public CWE getGp12_RevenueCode(int rep)
rep
- The repetition index (0-indexed)public int getGp12_RevenueCodeReps()
public CWE insertRevenueCode(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 insertGp12_RevenueCode(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 removeRevenueCode(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 removeGp12_RevenueCode(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 getOverallClaimDispositionCode()
public CWE getGp13_OverallClaimDispositionCode()
public CWE[] getOCEEditsPerVisitCode()
public CWE[] getGp14_OCEEditsPerVisitCode()
public int getOCEEditsPerVisitCodeReps()
public CWE getOCEEditsPerVisitCode(int rep)
rep
- The repetition index (0-indexed)public CWE getGp14_OCEEditsPerVisitCode(int rep)
rep
- The repetition index (0-indexed)public int getGp14_OCEEditsPerVisitCodeReps()
public CWE insertOCEEditsPerVisitCode(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 insertGp14_OCEEditsPerVisitCode(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 removeOCEEditsPerVisitCode(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 removeGp14_OCEEditsPerVisitCode(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 CP getOutlierCost()
public CP getGp15_OutlierCost()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.