Package ca.uhn.hl7v2.model.v24.segment
Class GP1
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.GP1
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 GP1 message segment (Grouping/Reimbursement - Visit). This segment has the following fields:
- GP1-1: Type of Bill Code (IS)
- GP1-2: Revenue Code (IS) optional repeating
- GP1-3: Overall Claim Disposition Code (IS) optional
- GP1-4: OCE Edits per Visit Code (IS) optional repeating
- GP1-5: Outlier Cost (CP) 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 GP1-1: "Type of Bill Code" - creates it if necessaryIS[]Returns all repetitions of Revenue Code (GP1-2).getGp12_RevenueCode(int rep) Returns a specific repetition of GP1-2: "Revenue Code" - creates it if necessaryintReturns a count of the current number of repetitions of Revenue Code (GP1-2).Returns GP1-3: "Overall Claim Disposition Code" - creates it if necessaryIS[]Returns all repetitions of OCE Edits per Visit Code (GP1-4).getGp14_OCEEditsPerVisitCode(int rep) Returns a specific repetition of GP1-4: "OCE Edits per Visit Code" - creates it if necessaryintReturns a count of the current number of repetitions of OCE Edits per Visit Code (GP1-4).Returns GP1-5: "Outlier Cost" - creates it if necessaryIS[]Returns all repetitions of OCE Edits per Visit Code (GP1-4).getOCEEditsPerVisitCode(int rep) Returns a specific repetition of GP1-4: "OCE Edits per Visit Code" - creates it if necessaryintReturns a count of the current number of repetitions of OCE Edits per Visit Code (GP1-4).Returns GP1-5: "Outlier Cost" - creates it if necessaryReturns GP1-3: "Overall Claim Disposition Code" - creates it if necessaryIS[]Returns all repetitions of Revenue Code (GP1-2).getRevenueCode(int rep) Returns a specific repetition of GP1-2: "Revenue Code" - creates it if necessaryintReturns a count of the current number of repetitions of Revenue Code (GP1-2).Returns GP1-1: "Type of Bill Code" - creates it if necessaryinsertGp12_RevenueCode(int rep) Inserts a repetition of GP1-2: "Revenue Code" at a specific indexinsertGp14_OCEEditsPerVisitCode(int rep) Inserts a repetition of GP1-4: "OCE Edits per Visit Code" at a specific indexinsertOCEEditsPerVisitCode(int rep) Inserts a repetition of GP1-4: "OCE Edits per Visit Code" at a specific indexinsertRevenueCode(int rep) Inserts a repetition of GP1-2: "Revenue Code" at a specific indexremoveGp12_RevenueCode(int rep) Removes a repetition of GP1-2: "Revenue Code" at a specific indexremoveGp14_OCEEditsPerVisitCode(int rep) Removes a repetition of GP1-4: "OCE Edits per Visit Code" at a specific indexremoveOCEEditsPerVisitCode(int rep) Removes a repetition of GP1-4: "OCE Edits per Visit Code" at a specific indexremoveRevenueCode(int rep) Removes a repetition of GP1-2: "Revenue 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
-
GP1
Creates a new GP1 segment
-
-
Method Details
-
getTypeOfBillCode
Returns GP1-1: "Type of Bill Code" - creates it if necessary -
getGp11_TypeOfBillCode
Returns GP1-1: "Type of Bill Code" - creates it if necessary -
getRevenueCode
Returns all repetitions of Revenue Code (GP1-2). -
getGp12_RevenueCode
Returns all repetitions of Revenue Code (GP1-2). -
getRevenueCodeReps
Returns a count of the current number of repetitions of Revenue Code (GP1-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getRevenueCode
Returns a specific repetition of GP1-2: "Revenue Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGp12_RevenueCode
Returns a specific repetition of GP1-2: "Revenue Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGp12_RevenueCodeReps
Returns a count of the current number of repetitions of Revenue Code (GP1-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertRevenueCode
Inserts a repetition of GP1-2: "Revenue 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)
-
insertGp12_RevenueCode
Inserts a repetition of GP1-2: "Revenue 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)
-
removeRevenueCode
Removes a repetition of GP1-2: "Revenue 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)
-
removeGp12_RevenueCode
Removes a repetition of GP1-2: "Revenue 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)
-
getOverallClaimDispositionCode
Returns GP1-3: "Overall Claim Disposition Code" - creates it if necessary -
getGp13_OverallClaimDispositionCode
Returns GP1-3: "Overall Claim Disposition Code" - creates it if necessary -
getOCEEditsPerVisitCode
Returns all repetitions of OCE Edits per Visit Code (GP1-4). -
getGp14_OCEEditsPerVisitCode
Returns all repetitions of OCE Edits per Visit Code (GP1-4). -
getOCEEditsPerVisitCodeReps
Returns a count of the current number of repetitions of OCE Edits per Visit Code (GP1-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getOCEEditsPerVisitCode
Returns a specific repetition of GP1-4: "OCE Edits per Visit Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGp14_OCEEditsPerVisitCode
Returns a specific repetition of GP1-4: "OCE Edits per Visit Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGp14_OCEEditsPerVisitCodeReps
Returns a count of the current number of repetitions of OCE Edits per Visit Code (GP1-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertOCEEditsPerVisitCode
Inserts a repetition of GP1-4: "OCE Edits per Visit 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)
-
insertGp14_OCEEditsPerVisitCode
Inserts a repetition of GP1-4: "OCE Edits per Visit 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)
-
removeOCEEditsPerVisitCode
Removes a repetition of GP1-4: "OCE Edits per Visit 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)
-
removeGp14_OCEEditsPerVisitCode
Removes a repetition of GP1-4: "OCE Edits per Visit 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)
-
getOutlierCost
Returns GP1-5: "Outlier Cost" - creates it if necessary -
getGp15_OutlierCost
Returns GP1-5: "Outlier Cost" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-