Package ca.uhn.hl7v2.model.v24.segment
Class PRC
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.PRC
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 PRC message segment (Pricing). This segment has the following fields:
- PRC-1: Primary Key Value - PRC (CE)
- PRC-2: Facility ID - PRC (CE) optional repeating
- PRC-3: Department (CE) optional repeating
- PRC-4: Valid Patient Classes (IS) optional repeating
- PRC-5: Price (CP) optional repeating
- PRC-6: Formula (ST) optional repeating
- PRC-7: Minimum Quantity (NM) optional
- PRC-8: Maximum Quantity (NM) optional
- PRC-9: Minimum Price (MO) optional
- PRC-10: Maximum Price (MO) optional
- PRC-11: Effective Start Date (TS) optional
- PRC-12: Effective End Date (TS) optional
- PRC-13: Price Override Flag (IS) optional
- PRC-14: Billing Category (CE) optional repeating
- PRC-15: Chargeable Flag (ID) optional
- PRC-16: Active/Inactive Flag (ID) optional
- PRC-17: Cost (MO) optional
- PRC-18: Charge On Indicator (IS) 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 PRC-16: "Active/Inactive Flag" - creates it if necessaryCE[]Returns all repetitions of Billing Category (PRC-14).getBillingCategory(int rep) Returns a specific repetition of PRC-14: "Billing Category" - creates it if necessaryintReturns a count of the current number of repetitions of Billing Category (PRC-14).Returns PRC-15: "Chargeable Flag" - creates it if necessaryReturns PRC-18: "Charge On Indicator" - creates it if necessarygetCost()Returns PRC-17: "Cost" - creates it if necessaryCE[]Returns all repetitions of Department (PRC-3).getDepartment(int rep) Returns a specific repetition of PRC-3: "Department" - creates it if necessaryintReturns a count of the current number of repetitions of Department (PRC-3).Returns PRC-12: "Effective End Date" - creates it if necessaryReturns PRC-11: "Effective Start Date" - creates it if necessaryCE[]Returns all repetitions of Facility ID - PRC (PRC-2).getFacilityIDPRC(int rep) Returns a specific repetition of PRC-2: "Facility ID - PRC" - creates it if necessaryintReturns a count of the current number of repetitions of Facility ID - PRC (PRC-2).ST[]Returns all repetitions of Formula (PRC-6).getFormula(int rep) Returns a specific repetition of PRC-6: "Formula" - creates it if necessaryintReturns a count of the current number of repetitions of Formula (PRC-6).Returns PRC-10: "Maximum Price" - creates it if necessaryReturns PRC-8: "Maximum Quantity" - creates it if necessaryReturns PRC-9: "Minimum Price" - creates it if necessaryReturns PRC-7: "Minimum Quantity" - creates it if necessaryReturns PRC-1: "Primary Key Value - PRC" - creates it if necessaryReturns PRC-10: "Maximum Price" - creates it if necessaryReturns PRC-11: "Effective Start Date" - creates it if necessaryReturns PRC-12: "Effective End Date" - creates it if necessaryReturns PRC-13: "Price Override Flag" - creates it if necessaryCE[]Returns all repetitions of Billing Category (PRC-14).getPrc14_BillingCategory(int rep) Returns a specific repetition of PRC-14: "Billing Category" - creates it if necessaryintReturns a count of the current number of repetitions of Billing Category (PRC-14).Returns PRC-15: "Chargeable Flag" - creates it if necessaryReturns PRC-16: "Active/Inactive Flag" - creates it if necessaryReturns PRC-17: "Cost" - creates it if necessaryReturns PRC-18: "Charge On Indicator" - creates it if necessaryCE[]Returns all repetitions of Facility ID - PRC (PRC-2).getPrc2_FacilityIDPRC(int rep) Returns a specific repetition of PRC-2: "Facility ID - PRC" - creates it if necessaryintReturns a count of the current number of repetitions of Facility ID - PRC (PRC-2).CE[]Returns all repetitions of Department (PRC-3).getPrc3_Department(int rep) Returns a specific repetition of PRC-3: "Department" - creates it if necessaryintReturns a count of the current number of repetitions of Department (PRC-3).IS[]Returns all repetitions of Valid Patient Classes (PRC-4).getPrc4_ValidPatientClasses(int rep) Returns a specific repetition of PRC-4: "Valid Patient Classes" - creates it if necessaryintReturns a count of the current number of repetitions of Valid Patient Classes (PRC-4).CP[]Returns all repetitions of Price (PRC-5).getPrc5_Price(int rep) Returns a specific repetition of PRC-5: "Price" - creates it if necessaryintReturns a count of the current number of repetitions of Price (PRC-5).ST[]Returns all repetitions of Formula (PRC-6).getPrc6_Formula(int rep) Returns a specific repetition of PRC-6: "Formula" - creates it if necessaryintReturns a count of the current number of repetitions of Formula (PRC-6).Returns PRC-7: "Minimum Quantity" - creates it if necessaryReturns PRC-8: "Maximum Quantity" - creates it if necessaryReturns PRC-9: "Minimum Price" - creates it if necessaryCP[]getPrice()Returns all repetitions of Price (PRC-5).getPrice(int rep) Returns a specific repetition of PRC-5: "Price" - creates it if necessaryReturns PRC-13: "Price Override Flag" - creates it if necessaryintReturns a count of the current number of repetitions of Price (PRC-5).Returns PRC-1: "Primary Key Value - PRC" - creates it if necessaryIS[]Returns all repetitions of Valid Patient Classes (PRC-4).getValidPatientClasses(int rep) Returns a specific repetition of PRC-4: "Valid Patient Classes" - creates it if necessaryintReturns a count of the current number of repetitions of Valid Patient Classes (PRC-4).insertBillingCategory(int rep) Inserts a repetition of PRC-14: "Billing Category" at a specific indexinsertDepartment(int rep) Inserts a repetition of PRC-3: "Department" at a specific indexinsertFacilityIDPRC(int rep) Inserts a repetition of PRC-2: "Facility ID - PRC" at a specific indexinsertFormula(int rep) Inserts a repetition of PRC-6: "Formula" at a specific indexinsertPrc14_BillingCategory(int rep) Inserts a repetition of PRC-14: "Billing Category" at a specific indexinsertPrc2_FacilityIDPRC(int rep) Inserts a repetition of PRC-2: "Facility ID - PRC" at a specific indexinsertPrc3_Department(int rep) Inserts a repetition of PRC-3: "Department" at a specific indexinsertPrc4_ValidPatientClasses(int rep) Inserts a repetition of PRC-4: "Valid Patient Classes" at a specific indexinsertPrc5_Price(int rep) Inserts a repetition of PRC-5: "Price" at a specific indexinsertPrc6_Formula(int rep) Inserts a repetition of PRC-6: "Formula" at a specific indexinsertPrice(int rep) Inserts a repetition of PRC-5: "Price" at a specific indexinsertValidPatientClasses(int rep) Inserts a repetition of PRC-4: "Valid Patient Classes" at a specific indexremoveBillingCategory(int rep) Removes a repetition of PRC-14: "Billing Category" at a specific indexremoveDepartment(int rep) Removes a repetition of PRC-3: "Department" at a specific indexremoveFacilityIDPRC(int rep) Removes a repetition of PRC-2: "Facility ID - PRC" at a specific indexremoveFormula(int rep) Removes a repetition of PRC-6: "Formula" at a specific indexremovePrc14_BillingCategory(int rep) Removes a repetition of PRC-14: "Billing Category" at a specific indexremovePrc2_FacilityIDPRC(int rep) Removes a repetition of PRC-2: "Facility ID - PRC" at a specific indexremovePrc3_Department(int rep) Removes a repetition of PRC-3: "Department" at a specific indexremovePrc4_ValidPatientClasses(int rep) Removes a repetition of PRC-4: "Valid Patient Classes" at a specific indexremovePrc5_Price(int rep) Removes a repetition of PRC-5: "Price" at a specific indexremovePrc6_Formula(int rep) Removes a repetition of PRC-6: "Formula" at a specific indexremovePrice(int rep) Removes a repetition of PRC-5: "Price" at a specific indexremoveValidPatientClasses(int rep) Removes a repetition of PRC-4: "Valid Patient Classes" 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
-
PRC
Creates a new PRC segment
-
-
Method Details
-
getPrimaryKeyValuePRC
Returns PRC-1: "Primary Key Value - PRC" - creates it if necessary -
getPrc1_PrimaryKeyValuePRC
Returns PRC-1: "Primary Key Value - PRC" - creates it if necessary -
getFacilityIDPRC
Returns all repetitions of Facility ID - PRC (PRC-2). -
getPrc2_FacilityIDPRC
Returns all repetitions of Facility ID - PRC (PRC-2). -
getFacilityIDPRCReps
Returns a count of the current number of repetitions of Facility ID - PRC (PRC-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getFacilityIDPRC
Returns a specific repetition of PRC-2: "Facility ID - PRC" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrc2_FacilityIDPRC
Returns a specific repetition of PRC-2: "Facility ID - PRC" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrc2_FacilityIDPRCReps
Returns a count of the current number of repetitions of Facility ID - PRC (PRC-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertFacilityIDPRC
Inserts a repetition of PRC-2: "Facility ID - PRC" 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)
-
insertPrc2_FacilityIDPRC
Inserts a repetition of PRC-2: "Facility ID - PRC" 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)
-
removeFacilityIDPRC
Removes a repetition of PRC-2: "Facility ID - PRC" 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)
-
removePrc2_FacilityIDPRC
Removes a repetition of PRC-2: "Facility ID - PRC" 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)
-
getDepartment
Returns all repetitions of Department (PRC-3). -
getPrc3_Department
Returns all repetitions of Department (PRC-3). -
getDepartmentReps
Returns a count of the current number of repetitions of Department (PRC-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getDepartment
Returns a specific repetition of PRC-3: "Department" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrc3_Department
Returns a specific repetition of PRC-3: "Department" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrc3_DepartmentReps
Returns a count of the current number of repetitions of Department (PRC-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertDepartment
Inserts a repetition of PRC-3: "Department" 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)
-
insertPrc3_Department
Inserts a repetition of PRC-3: "Department" 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)
-
removeDepartment
Removes a repetition of PRC-3: "Department" 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)
-
removePrc3_Department
Removes a repetition of PRC-3: "Department" 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)
-
getValidPatientClasses
Returns all repetitions of Valid Patient Classes (PRC-4). -
getPrc4_ValidPatientClasses
Returns all repetitions of Valid Patient Classes (PRC-4). -
getValidPatientClassesReps
Returns a count of the current number of repetitions of Valid Patient Classes (PRC-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getValidPatientClasses
Returns a specific repetition of PRC-4: "Valid Patient Classes" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrc4_ValidPatientClasses
Returns a specific repetition of PRC-4: "Valid Patient Classes" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrc4_ValidPatientClassesReps
Returns a count of the current number of repetitions of Valid Patient Classes (PRC-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertValidPatientClasses
Inserts a repetition of PRC-4: "Valid Patient Classes" 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)
-
insertPrc4_ValidPatientClasses
Inserts a repetition of PRC-4: "Valid Patient Classes" 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)
-
removeValidPatientClasses
Removes a repetition of PRC-4: "Valid Patient Classes" 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)
-
removePrc4_ValidPatientClasses
Removes a repetition of PRC-4: "Valid Patient Classes" 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)
-
getPrice
Returns all repetitions of Price (PRC-5). -
getPrc5_Price
Returns all repetitions of Price (PRC-5). -
getPriceReps
Returns a count of the current number of repetitions of Price (PRC-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPrice
Returns a specific repetition of PRC-5: "Price" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrc5_Price
Returns a specific repetition of PRC-5: "Price" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrc5_PriceReps
Returns a count of the current number of repetitions of Price (PRC-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPrice
Inserts a repetition of PRC-5: "Price" 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)
-
insertPrc5_Price
Inserts a repetition of PRC-5: "Price" 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)
-
removePrice
Removes a repetition of PRC-5: "Price" 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)
-
removePrc5_Price
Removes a repetition of PRC-5: "Price" 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)
-
getFormula
Returns all repetitions of Formula (PRC-6). -
getPrc6_Formula
Returns all repetitions of Formula (PRC-6). -
getFormulaReps
Returns a count of the current number of repetitions of Formula (PRC-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getFormula
Returns a specific repetition of PRC-6: "Formula" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrc6_Formula
Returns a specific repetition of PRC-6: "Formula" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrc6_FormulaReps
Returns a count of the current number of repetitions of Formula (PRC-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertFormula
Inserts a repetition of PRC-6: "Formula" 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)
-
insertPrc6_Formula
Inserts a repetition of PRC-6: "Formula" 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)
-
removeFormula
Removes a repetition of PRC-6: "Formula" 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)
-
removePrc6_Formula
Removes a repetition of PRC-6: "Formula" 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)
-
getMinimumQuantity
Returns PRC-7: "Minimum Quantity" - creates it if necessary -
getPrc7_MinimumQuantity
Returns PRC-7: "Minimum Quantity" - creates it if necessary -
getMaximumQuantity
Returns PRC-8: "Maximum Quantity" - creates it if necessary -
getPrc8_MaximumQuantity
Returns PRC-8: "Maximum Quantity" - creates it if necessary -
getMinimumPrice
Returns PRC-9: "Minimum Price" - creates it if necessary -
getPrc9_MinimumPrice
Returns PRC-9: "Minimum Price" - creates it if necessary -
getMaximumPrice
Returns PRC-10: "Maximum Price" - creates it if necessary -
getPrc10_MaximumPrice
Returns PRC-10: "Maximum Price" - creates it if necessary -
getEffectiveStartDate
Returns PRC-11: "Effective Start Date" - creates it if necessary -
getPrc11_EffectiveStartDate
Returns PRC-11: "Effective Start Date" - creates it if necessary -
getEffectiveEndDate
Returns PRC-12: "Effective End Date" - creates it if necessary -
getPrc12_EffectiveEndDate
Returns PRC-12: "Effective End Date" - creates it if necessary -
getPriceOverrideFlag
Returns PRC-13: "Price Override Flag" - creates it if necessary -
getPrc13_PriceOverrideFlag
Returns PRC-13: "Price Override Flag" - creates it if necessary -
getBillingCategory
Returns all repetitions of Billing Category (PRC-14). -
getPrc14_BillingCategory
Returns all repetitions of Billing Category (PRC-14). -
getBillingCategoryReps
Returns a count of the current number of repetitions of Billing Category (PRC-14). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getBillingCategory
Returns a specific repetition of PRC-14: "Billing Category" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrc14_BillingCategory
Returns a specific repetition of PRC-14: "Billing Category" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrc14_BillingCategoryReps
Returns a count of the current number of repetitions of Billing Category (PRC-14). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertBillingCategory
Inserts a repetition of PRC-14: "Billing Category" 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)
-
insertPrc14_BillingCategory
Inserts a repetition of PRC-14: "Billing Category" 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)
-
removeBillingCategory
Removes a repetition of PRC-14: "Billing Category" 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)
-
removePrc14_BillingCategory
Removes a repetition of PRC-14: "Billing Category" 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)
-
getChargeableFlag
Returns PRC-15: "Chargeable Flag" - creates it if necessary -
getPrc15_ChargeableFlag
Returns PRC-15: "Chargeable Flag" - creates it if necessary -
getActiveInactiveFlag
Returns PRC-16: "Active/Inactive Flag" - creates it if necessary -
getPrc16_ActiveInactiveFlag
Returns PRC-16: "Active/Inactive Flag" - creates it if necessary -
getCost
Returns PRC-17: "Cost" - creates it if necessary -
getPrc17_Cost
Returns PRC-17: "Cost" - creates it if necessary -
getChargeOnIndicator
Returns PRC-18: "Charge On Indicator" - creates it if necessary -
getPrc18_ChargeOnIndicator
Returns PRC-18: "Charge On Indicator" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-