public class PRC extends AbstractSegment
Represents an HL7 PRC message segment (Pricing). This segment has the following fields:
log
Constructor and Description |
---|
PRC(Group parent,
ModelClassFactory factory)
Creates a new PRC segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
ID |
getActiveInactiveFlag()
Returns
PRC-16: "Active/Inactive Flag" - creates it if necessary
|
CWE[] |
getBillingCategory()
Returns all repetitions of Billing Category (PRC-14).
|
CWE |
getBillingCategory(int rep)
Returns a specific repetition of
PRC-14: "Billing Category" - creates it if necessary
|
int |
getBillingCategoryReps()
Returns a count of the current number of repetitions of Billing Category (PRC-14).
|
ID |
getChargeableFlag()
Returns
PRC-15: "Chargeable Flag" - creates it if necessary
|
IS |
getChargeOnIndicator()
Returns
PRC-18: "Charge on Indicator" - creates it if necessary
|
MO |
getCost()
Returns
PRC-17: "Cost" - creates it if necessary
|
CWE[] |
getDepartment()
Returns all repetitions of Department (PRC-3).
|
CWE |
getDepartment(int rep)
Returns a specific repetition of
PRC-3: "Department" - creates it if necessary
|
int |
getDepartmentReps()
Returns a count of the current number of repetitions of Department (PRC-3).
|
DTM |
getEffectiveEndDate()
Returns
PRC-12: "Effective End Date" - creates it if necessary
|
DTM |
getEffectiveStartDate()
Returns
PRC-11: "Effective Start Date" - creates it if necessary
|
CWE[] |
getFacilityIDPRC()
Returns all repetitions of Facility ID-PRC (PRC-2).
|
CWE |
getFacilityIDPRC(int rep)
Returns a specific repetition of
PRC-2: "Facility ID-PRC" - creates it if necessary
|
int |
getFacilityIDPRCReps()
Returns a count of the current number of repetitions of Facility ID-PRC (PRC-2).
|
ST[] |
getFormula()
Returns all repetitions of Formula (PRC-6).
|
ST |
getFormula(int rep)
Returns a specific repetition of
PRC-6: "Formula" - creates it if necessary
|
int |
getFormulaReps()
Returns a count of the current number of repetitions of Formula (PRC-6).
|
MO |
getMaximumPrice()
Returns
PRC-10: "Maximum Price" - creates it if necessary
|
NM |
getMaximumQuantity()
Returns
PRC-8: "Maximum Quantity" - creates it if necessary
|
MO |
getMinimumPrice()
Returns
PRC-9: "Minimum Price" - creates it if necessary
|
NM |
getMinimumQuantity()
Returns
PRC-7: "Minimum Quantity" - creates it if necessary
|
CWE |
getPrc1_PrimaryKeyValuePRC()
Returns
PRC-1: "Primary Key Value-PRC" - creates it if necessary
|
MO |
getPrc10_MaximumPrice()
Returns
PRC-10: "Maximum Price" - creates it if necessary
|
DTM |
getPrc11_EffectiveStartDate()
Returns
PRC-11: "Effective Start Date" - creates it if necessary
|
DTM |
getPrc12_EffectiveEndDate()
Returns
PRC-12: "Effective End Date" - creates it if necessary
|
IS |
getPrc13_PriceOverrideFlag()
Returns
PRC-13: "Price Override Flag" - creates it if necessary
|
CWE[] |
getPrc14_BillingCategory()
Returns all repetitions of Billing Category (PRC-14).
|
CWE |
getPrc14_BillingCategory(int rep)
Returns a specific repetition of
PRC-14: "Billing Category" - creates it if necessary
|
int |
getPrc14_BillingCategoryReps()
Returns a count of the current number of repetitions of Billing Category (PRC-14).
|
ID |
getPrc15_ChargeableFlag()
Returns
PRC-15: "Chargeable Flag" - creates it if necessary
|
ID |
getPrc16_ActiveInactiveFlag()
Returns
PRC-16: "Active/Inactive Flag" - creates it if necessary
|
MO |
getPrc17_Cost()
Returns
PRC-17: "Cost" - creates it if necessary
|
IS |
getPrc18_ChargeOnIndicator()
Returns
PRC-18: "Charge on Indicator" - creates it if necessary
|
CWE[] |
getPrc2_FacilityIDPRC()
Returns all repetitions of Facility ID-PRC (PRC-2).
|
CWE |
getPrc2_FacilityIDPRC(int rep)
Returns a specific repetition of
PRC-2: "Facility ID-PRC" - creates it if necessary
|
int |
getPrc2_FacilityIDPRCReps()
Returns a count of the current number of repetitions of Facility ID-PRC (PRC-2).
|
CWE[] |
getPrc3_Department()
Returns all repetitions of Department (PRC-3).
|
CWE |
getPrc3_Department(int rep)
Returns a specific repetition of
PRC-3: "Department" - creates it if necessary
|
int |
getPrc3_DepartmentReps()
Returns a count of the current number of repetitions of Department (PRC-3).
|
IS[] |
getPrc4_ValidPatientClasses()
Returns all repetitions of Valid Patient Classes (PRC-4).
|
IS |
getPrc4_ValidPatientClasses(int rep)
Returns a specific repetition of
PRC-4: "Valid Patient Classes" - creates it if necessary
|
int |
getPrc4_ValidPatientClassesReps()
Returns a count of the current number of repetitions of Valid Patient Classes (PRC-4).
|
CP[] |
getPrc5_Price()
Returns all repetitions of Price (PRC-5).
|
CP |
getPrc5_Price(int rep)
Returns a specific repetition of
PRC-5: "Price" - creates it if necessary
|
int |
getPrc5_PriceReps()
Returns a count of the current number of repetitions of Price (PRC-5).
|
ST[] |
getPrc6_Formula()
Returns all repetitions of Formula (PRC-6).
|
ST |
getPrc6_Formula(int rep)
Returns a specific repetition of
PRC-6: "Formula" - creates it if necessary
|
int |
getPrc6_FormulaReps()
Returns a count of the current number of repetitions of Formula (PRC-6).
|
NM |
getPrc7_MinimumQuantity()
Returns
PRC-7: "Minimum Quantity" - creates it if necessary
|
NM |
getPrc8_MaximumQuantity()
Returns
PRC-8: "Maximum Quantity" - creates it if necessary
|
MO |
getPrc9_MinimumPrice()
Returns
PRC-9: "Minimum Price" - creates it if necessary
|
CP[] |
getPrice()
Returns all repetitions of Price (PRC-5).
|
CP |
getPrice(int rep)
Returns a specific repetition of
PRC-5: "Price" - creates it if necessary
|
IS |
getPriceOverrideFlag()
Returns
PRC-13: "Price Override Flag" - creates it if necessary
|
int |
getPriceReps()
Returns a count of the current number of repetitions of Price (PRC-5).
|
CWE |
getPrimaryKeyValuePRC()
Returns
PRC-1: "Primary Key Value-PRC" - creates it if necessary
|
IS[] |
getValidPatientClasses()
Returns all repetitions of Valid Patient Classes (PRC-4).
|
IS |
getValidPatientClasses(int rep)
Returns a specific repetition of
PRC-4: "Valid Patient Classes" - creates it if necessary
|
int |
getValidPatientClassesReps()
Returns a count of the current number of repetitions of Valid Patient Classes (PRC-4).
|
CWE |
insertBillingCategory(int rep)
Inserts a repetition of
PRC-14: "Billing Category" at a specific index
|
CWE |
insertDepartment(int rep)
Inserts a repetition of
PRC-3: "Department" at a specific index
|
CWE |
insertFacilityIDPRC(int rep)
Inserts a repetition of
PRC-2: "Facility ID-PRC" at a specific index
|
ST |
insertFormula(int rep)
Inserts a repetition of
PRC-6: "Formula" at a specific index
|
CWE |
insertPrc14_BillingCategory(int rep)
Inserts a repetition of
PRC-14: "Billing Category" at a specific index
|
CWE |
insertPrc2_FacilityIDPRC(int rep)
Inserts a repetition of
PRC-2: "Facility ID-PRC" at a specific index
|
CWE |
insertPrc3_Department(int rep)
Inserts a repetition of
PRC-3: "Department" at a specific index
|
IS |
insertPrc4_ValidPatientClasses(int rep)
Inserts a repetition of
PRC-4: "Valid Patient Classes" at a specific index
|
CP |
insertPrc5_Price(int rep)
Inserts a repetition of
PRC-5: "Price" at a specific index
|
ST |
insertPrc6_Formula(int rep)
Inserts a repetition of
PRC-6: "Formula" at a specific index
|
CP |
insertPrice(int rep)
Inserts a repetition of
PRC-5: "Price" at a specific index
|
IS |
insertValidPatientClasses(int rep)
Inserts a repetition of
PRC-4: "Valid Patient Classes" at a specific index
|
CWE |
removeBillingCategory(int rep)
Removes a repetition of
PRC-14: "Billing Category" at a specific index
|
CWE |
removeDepartment(int rep)
Removes a repetition of
PRC-3: "Department" at a specific index
|
CWE |
removeFacilityIDPRC(int rep)
Removes a repetition of
PRC-2: "Facility ID-PRC" at a specific index
|
ST |
removeFormula(int rep)
Removes a repetition of
PRC-6: "Formula" at a specific index
|
CWE |
removePrc14_BillingCategory(int rep)
Removes a repetition of
PRC-14: "Billing Category" at a specific index
|
CWE |
removePrc2_FacilityIDPRC(int rep)
Removes a repetition of
PRC-2: "Facility ID-PRC" at a specific index
|
CWE |
removePrc3_Department(int rep)
Removes a repetition of
PRC-3: "Department" at a specific index
|
IS |
removePrc4_ValidPatientClasses(int rep)
Removes a repetition of
PRC-4: "Valid Patient Classes" at a specific index
|
CP |
removePrc5_Price(int rep)
Removes a repetition of
PRC-5: "Price" at a specific index
|
ST |
removePrc6_Formula(int rep)
Removes a repetition of
PRC-6: "Formula" at a specific index
|
CP |
removePrice(int rep)
Removes a repetition of
PRC-5: "Price" at a specific index
|
IS |
removeValidPatientClasses(int rep)
Removes a repetition of
PRC-4: "Valid Patient Classes" 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 PRC(Group parent, ModelClassFactory factory)
public CWE getPrimaryKeyValuePRC()
public CWE getPrc1_PrimaryKeyValuePRC()
public CWE[] getFacilityIDPRC()
public CWE[] getPrc2_FacilityIDPRC()
public int getFacilityIDPRCReps()
public CWE getFacilityIDPRC(int rep)
rep
- The repetition index (0-indexed)public CWE getPrc2_FacilityIDPRC(int rep)
rep
- The repetition index (0-indexed)public int getPrc2_FacilityIDPRCReps()
public CWE insertFacilityIDPRC(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 insertPrc2_FacilityIDPRC(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 removeFacilityIDPRC(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 removePrc2_FacilityIDPRC(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[] getDepartment()
public CWE[] getPrc3_Department()
public int getDepartmentReps()
public CWE getDepartment(int rep)
rep
- The repetition index (0-indexed)public CWE getPrc3_Department(int rep)
rep
- The repetition index (0-indexed)public int getPrc3_DepartmentReps()
public CWE insertDepartment(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 insertPrc3_Department(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 removeDepartment(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 removePrc3_Department(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[] getValidPatientClasses()
public IS[] getPrc4_ValidPatientClasses()
public int getValidPatientClassesReps()
public IS getValidPatientClasses(int rep)
rep
- The repetition index (0-indexed)public IS getPrc4_ValidPatientClasses(int rep)
rep
- The repetition index (0-indexed)public int getPrc4_ValidPatientClassesReps()
public IS insertValidPatientClasses(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 insertPrc4_ValidPatientClasses(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 removeValidPatientClasses(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 removePrc4_ValidPatientClasses(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[] getPrc5_Price()
public int getPriceReps()
public CP getPrice(int rep)
rep
- The repetition index (0-indexed)public CP getPrc5_Price(int rep)
rep
- The repetition index (0-indexed)public int getPrc5_PriceReps()
public CP insertPrice(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 insertPrc5_Price(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 removePrice(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 removePrc5_Price(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 ST[] getFormula()
public ST[] getPrc6_Formula()
public int getFormulaReps()
public ST getFormula(int rep)
rep
- The repetition index (0-indexed)public ST getPrc6_Formula(int rep)
rep
- The repetition index (0-indexed)public int getPrc6_FormulaReps()
public ST insertFormula(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 ST insertPrc6_Formula(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 ST removeFormula(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 ST removePrc6_Formula(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 NM getMinimumQuantity()
public NM getPrc7_MinimumQuantity()
public NM getMaximumQuantity()
public NM getPrc8_MaximumQuantity()
public MO getMinimumPrice()
public MO getPrc9_MinimumPrice()
public MO getMaximumPrice()
public MO getPrc10_MaximumPrice()
public DTM getEffectiveStartDate()
public DTM getPrc11_EffectiveStartDate()
public DTM getEffectiveEndDate()
public DTM getPrc12_EffectiveEndDate()
public IS getPriceOverrideFlag()
public IS getPrc13_PriceOverrideFlag()
public CWE[] getBillingCategory()
public CWE[] getPrc14_BillingCategory()
public int getBillingCategoryReps()
public CWE getBillingCategory(int rep)
rep
- The repetition index (0-indexed)public CWE getPrc14_BillingCategory(int rep)
rep
- The repetition index (0-indexed)public int getPrc14_BillingCategoryReps()
public CWE insertBillingCategory(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 insertPrc14_BillingCategory(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 removeBillingCategory(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 removePrc14_BillingCategory(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 ID getChargeableFlag()
public ID getPrc15_ChargeableFlag()
public ID getActiveInactiveFlag()
public ID getPrc16_ActiveInactiveFlag()
public MO getPrc17_Cost()
public IS getChargeOnIndicator()
public IS getPrc18_ChargeOnIndicator()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.