ca.uhn.hl7v2.model.v24.segment
Class RXG

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractSegment
      extended by ca.uhn.hl7v2.model.v24.segment.RXG
All Implemented Interfaces:
Segment, Structure, Serializable

public class RXG
extends AbstractSegment

Represents an HL7 RXG message segment (Pharmacy/Treatment Give). This segment has the following fields:

See Also:
Serialized Form

Constructor Summary
RXG(Group parent, ModelClassFactory factory)
          Creates a new RXG segment
 
Method Summary
protected  Type createNewTypeWithoutReflection(int field)
          
 CE[] getAdministrationNotes()
          Returns all repetitions of Administration Notes (RXG-9).
 CE getAdministrationNotes(int rep)
          Returns a specific repetition of RXG-9: "Administration Notes" - creates it if necessary
 int getAdministrationNotesReps()
          Returns a count of the current number of repetitions of Administration Notes (RXG-9).
 NM getDispenseSubIDCounter()
          Returns RXG-2: "Dispense Sub-ID Counter" - creates it if necessary
 LA2 getDispenseToLocation()
          Returns RXG-11: "Dispense-To Location" - creates it if necessary
 NM getGiveAmountMaximum()
          Returns RXG-6: "Give Amount - Maximum" - creates it if necessary
 NM getGiveAmountMinimum()
          Returns RXG-5: "Give Amount - Minimum" - creates it if necessary
 CE getGiveCode()
          Returns RXG-4: "Give Code" - creates it if necessary
 CE getGiveDosageForm()
          Returns RXG-8: "Give Dosage Form" - creates it if necessary
 ST getGivePerTimeUnit()
          Returns RXG-14: "Give Per (Time Unit)" - creates it if necessary
 ST getGiveRateAmount()
          Returns RXG-15: "Give Rate Amount" - creates it if necessary
 CE getGiveRateUnits()
          Returns RXG-16: "Give Rate Units" - creates it if necessary
 NM getGiveStrength()
          Returns RXG-17: "Give Strength" - creates it if necessary
 CE getGiveStrengthUnits()
          Returns RXG-18: "Give Strength Units" - creates it if necessary
 NM getGiveSubIDCounter()
          Returns RXG-1: "Give Sub-ID Counter" - creates it if necessary
 CE getGiveUnits()
          Returns RXG-7: "Give Units" - creates it if necessary
 CE[] getIndication()
          Returns all repetitions of Indication (RXG-22).
 CE getIndication(int rep)
          Returns a specific repetition of RXG-22: "Indication" - creates it if necessary
 int getIndicationReps()
          Returns a count of the current number of repetitions of Indication (RXG-22).
 ID getNeedsHumanReview()
          Returns RXG-12: "Needs Human Review" - creates it if necessary
 CE[] getPharmacyTreatmentSupplierSSpecialAdministrationInstructions()
          Returns all repetitions of Pharmacy/Treatment Supplier's Special Administration Instructions (RXG-13).
 CE getPharmacyTreatmentSupplierSSpecialAdministrationInstructions(int rep)
          Returns a specific repetition of RXG-13: "Pharmacy/Treatment Supplier's Special Administration Instructions" - creates it if necessary
 int getPharmacyTreatmentSupplierSSpecialAdministrationInstructionsReps()
          Returns a count of the current number of repetitions of Pharmacy/Treatment Supplier's Special Administration Instructions (RXG-13).
 TQ getQuantityTiming()
          Returns RXG-3: "Quantity/Timing" - creates it if necessary
 NM getRxg1_GiveSubIDCounter()
          Returns RXG-1: "Give Sub-ID Counter" - creates it if necessary
 ID getRxg10_SubstitutionStatus()
          Returns RXG-10: "Substitution Status" - creates it if necessary
 LA2 getRxg11_DispenseToLocation()
          Returns RXG-11: "Dispense-To Location" - creates it if necessary
 ID getRxg12_NeedsHumanReview()
          Returns RXG-12: "Needs Human Review" - creates it if necessary
 CE getRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructions(int rep)
          Returns a specific repetition of RXG-13: "Pharmacy/Treatment Supplier's Special Administration Instructions" - creates it if necessary
 int getRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructionsReps()
          Returns a count of the current number of repetitions of Pharmacy/Treatment Supplier's Special Administration Instructions (RXG-13).
 ST getRxg14_GivePerTimeUnit()
          Returns RXG-14: "Give Per (Time Unit)" - creates it if necessary
 ST getRxg15_GiveRateAmount()
          Returns RXG-15: "Give Rate Amount" - creates it if necessary
 CE getRxg16_GiveRateUnits()
          Returns RXG-16: "Give Rate Units" - creates it if necessary
 NM getRxg17_GiveStrength()
          Returns RXG-17: "Give Strength" - creates it if necessary
 CE getRxg18_GiveStrengthUnits()
          Returns RXG-18: "Give Strength Units" - creates it if necessary
 ST getRxg19_SubstanceLotNumber(int rep)
          Returns a specific repetition of RXG-19: "Substance Lot Number" - creates it if necessary
 int getRxg19_SubstanceLotNumberReps()
          Returns a count of the current number of repetitions of Substance Lot Number (RXG-19).
 NM getRxg2_DispenseSubIDCounter()
          Returns RXG-2: "Dispense Sub-ID Counter" - creates it if necessary
 TS getRxg20_SubstanceExpirationDate(int rep)
          Returns a specific repetition of RXG-20: "Substance Expiration Date" - creates it if necessary
 int getRxg20_SubstanceExpirationDateReps()
          Returns a count of the current number of repetitions of Substance Expiration Date (RXG-20).
 CE getRxg21_SubstanceManufacturerName(int rep)
          Returns a specific repetition of RXG-21: "Substance Manufacturer Name" - creates it if necessary
 int getRxg21_SubstanceManufacturerNameReps()
          Returns a count of the current number of repetitions of Substance Manufacturer Name (RXG-21).
 CE getRxg22_Indication(int rep)
          Returns a specific repetition of RXG-22: "Indication" - creates it if necessary
 int getRxg22_IndicationReps()
          Returns a count of the current number of repetitions of Indication (RXG-22).
 TQ getRxg3_QuantityTiming()
          Returns RXG-3: "Quantity/Timing" - creates it if necessary
 CE getRxg4_GiveCode()
          Returns RXG-4: "Give Code" - creates it if necessary
 NM getRxg5_GiveAmountMinimum()
          Returns RXG-5: "Give Amount - Minimum" - creates it if necessary
 NM getRxg6_GiveAmountMaximum()
          Returns RXG-6: "Give Amount - Maximum" - creates it if necessary
 CE getRxg7_GiveUnits()
          Returns RXG-7: "Give Units" - creates it if necessary
 CE getRxg8_GiveDosageForm()
          Returns RXG-8: "Give Dosage Form" - creates it if necessary
 CE getRxg9_AdministrationNotes(int rep)
          Returns a specific repetition of RXG-9: "Administration Notes" - creates it if necessary
 int getRxg9_AdministrationNotesReps()
          Returns a count of the current number of repetitions of Administration Notes (RXG-9).
 TS[] getSubstanceExpirationDate()
          Returns all repetitions of Substance Expiration Date (RXG-20).
 TS getSubstanceExpirationDate(int rep)
          Returns a specific repetition of RXG-20: "Substance Expiration Date" - creates it if necessary
 int getSubstanceExpirationDateReps()
          Returns a count of the current number of repetitions of Substance Expiration Date (RXG-20).
 ST[] getSubstanceLotNumber()
          Returns all repetitions of Substance Lot Number (RXG-19).
 ST getSubstanceLotNumber(int rep)
          Returns a specific repetition of RXG-19: "Substance Lot Number" - creates it if necessary
 int getSubstanceLotNumberReps()
          Returns a count of the current number of repetitions of Substance Lot Number (RXG-19).
 CE[] getSubstanceManufacturerName()
          Returns all repetitions of Substance Manufacturer Name (RXG-21).
 CE getSubstanceManufacturerName(int rep)
          Returns a specific repetition of RXG-21: "Substance Manufacturer Name" - creates it if necessary
 int getSubstanceManufacturerNameReps()
          Returns a count of the current number of repetitions of Substance Manufacturer Name (RXG-21).
 ID getSubstitutionStatus()
          Returns RXG-10: "Substitution Status" - creates it if necessary
 CE insertAdministrationNotes(int rep)
          Inserts a repetition of RXG-9: "Administration Notes" at a specific index
 CE insertIndication(int rep)
          Inserts a repetition of RXG-22: "Indication" at a specific index
 CE insertPharmacyTreatmentSupplierSSpecialAdministrationInstructions(int rep)
          Inserts a repetition of RXG-13: "Pharmacy/Treatment Supplier's Special Administration Instructions" at a specific index
 CE insertRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructions(int rep)
          Inserts a repetition of RXG-13: "Pharmacy/Treatment Supplier's Special Administration Instructions" at a specific index
 ST insertRxg19_SubstanceLotNumber(int rep)
          Inserts a repetition of RXG-19: "Substance Lot Number" at a specific index
 TS insertRxg20_SubstanceExpirationDate(int rep)
          Inserts a repetition of RXG-20: "Substance Expiration Date" at a specific index
 CE insertRxg21_SubstanceManufacturerName(int rep)
          Inserts a repetition of RXG-21: "Substance Manufacturer Name" at a specific index
 CE insertRxg22_Indication(int rep)
          Inserts a repetition of RXG-22: "Indication" at a specific index
 CE insertRxg9_AdministrationNotes(int rep)
          Inserts a repetition of RXG-9: "Administration Notes" at a specific index
 TS insertSubstanceExpirationDate(int rep)
          Inserts a repetition of RXG-20: "Substance Expiration Date" at a specific index
 ST insertSubstanceLotNumber(int rep)
          Inserts a repetition of RXG-19: "Substance Lot Number" at a specific index
 CE insertSubstanceManufacturerName(int rep)
          Inserts a repetition of RXG-21: "Substance Manufacturer Name" at a specific index
 CE removeAdministrationNotes(int rep)
          Removes a repetition of RXG-9: "Administration Notes" at a specific index
 CE removeIndication(int rep)
          Removes a repetition of RXG-22: "Indication" at a specific index
 CE removePharmacyTreatmentSupplierSSpecialAdministrationInstructions(int rep)
          Removes a repetition of RXG-13: "Pharmacy/Treatment Supplier's Special Administration Instructions" at a specific index
 CE removeRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructions(int rep)
          Removes a repetition of RXG-13: "Pharmacy/Treatment Supplier's Special Administration Instructions" at a specific index
 ST removeRxg19_SubstanceLotNumber(int rep)
          Removes a repetition of RXG-19: "Substance Lot Number" at a specific index
 TS removeRxg20_SubstanceExpirationDate(int rep)
          Removes a repetition of RXG-20: "Substance Expiration Date" at a specific index
 CE removeRxg21_SubstanceManufacturerName(int rep)
          Removes a repetition of RXG-21: "Substance Manufacturer Name" at a specific index
 CE removeRxg22_Indication(int rep)
          Removes a repetition of RXG-22: "Indication" at a specific index
 CE removeRxg9_AdministrationNotes(int rep)
          Removes a repetition of RXG-9: "Administration Notes" at a specific index
 TS removeSubstanceExpirationDate(int rep)
          Removes a repetition of RXG-20: "Substance Expiration Date" at a specific index
 ST removeSubstanceLotNumber(int rep)
          Removes a repetition of RXG-19: "Substance Lot Number" at a specific index
 CE removeSubstanceManufacturerName(int rep)
          Removes a repetition of RXG-21: "Substance Manufacturer Name" at a specific index
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractSegment
add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getMessage, getName, getNames, getParent, insertRepetition, isRequired, main, numFields, parse, removeRepetition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RXG

public RXG(Group parent,
           ModelClassFactory factory)
Creates a new RXG segment

Method Detail

getGiveSubIDCounter

public NM getGiveSubIDCounter()
Returns RXG-1: "Give Sub-ID Counter" - creates it if necessary


getRxg1_GiveSubIDCounter

public NM getRxg1_GiveSubIDCounter()
Returns RXG-1: "Give Sub-ID Counter" - creates it if necessary


getDispenseSubIDCounter

public NM getDispenseSubIDCounter()
Returns RXG-2: "Dispense Sub-ID Counter" - creates it if necessary


getRxg2_DispenseSubIDCounter

public NM getRxg2_DispenseSubIDCounter()
Returns RXG-2: "Dispense Sub-ID Counter" - creates it if necessary


getQuantityTiming

public TQ getQuantityTiming()
Returns RXG-3: "Quantity/Timing" - creates it if necessary


getRxg3_QuantityTiming

public TQ getRxg3_QuantityTiming()
Returns RXG-3: "Quantity/Timing" - creates it if necessary


getGiveCode

public CE getGiveCode()
Returns RXG-4: "Give Code" - creates it if necessary


getRxg4_GiveCode

public CE getRxg4_GiveCode()
Returns RXG-4: "Give Code" - creates it if necessary


getGiveAmountMinimum

public NM getGiveAmountMinimum()
Returns RXG-5: "Give Amount - Minimum" - creates it if necessary


getRxg5_GiveAmountMinimum

public NM getRxg5_GiveAmountMinimum()
Returns RXG-5: "Give Amount - Minimum" - creates it if necessary


getGiveAmountMaximum

public NM getGiveAmountMaximum()
Returns RXG-6: "Give Amount - Maximum" - creates it if necessary


getRxg6_GiveAmountMaximum

public NM getRxg6_GiveAmountMaximum()
Returns RXG-6: "Give Amount - Maximum" - creates it if necessary


getGiveUnits

public CE getGiveUnits()
Returns RXG-7: "Give Units" - creates it if necessary


getRxg7_GiveUnits

public CE getRxg7_GiveUnits()
Returns RXG-7: "Give Units" - creates it if necessary


getGiveDosageForm

public CE getGiveDosageForm()
Returns RXG-8: "Give Dosage Form" - creates it if necessary


getRxg8_GiveDosageForm

public CE getRxg8_GiveDosageForm()
Returns RXG-8: "Give Dosage Form" - creates it if necessary


getAdministrationNotes

public CE[] getAdministrationNotes()
Returns all repetitions of Administration Notes (RXG-9).


getAdministrationNotesReps

public int getAdministrationNotesReps()
Returns a count of the current number of repetitions of Administration Notes (RXG-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getAdministrationNotes

public CE getAdministrationNotes(int rep)
Returns a specific repetition of RXG-9: "Administration Notes" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxg9_AdministrationNotes

public CE getRxg9_AdministrationNotes(int rep)
Returns a specific repetition of RXG-9: "Administration Notes" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxg9_AdministrationNotesReps

public int getRxg9_AdministrationNotesReps()
Returns a count of the current number of repetitions of Administration Notes (RXG-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertAdministrationNotes

public CE insertAdministrationNotes(int rep)
                             throws HL7Exception
Inserts a repetition of RXG-9: "Administration Notes" 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)

insertRxg9_AdministrationNotes

public CE insertRxg9_AdministrationNotes(int rep)
                                  throws HL7Exception
Inserts a repetition of RXG-9: "Administration Notes" 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)

removeAdministrationNotes

public CE removeAdministrationNotes(int rep)
                             throws HL7Exception
Removes a repetition of RXG-9: "Administration Notes" 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)

removeRxg9_AdministrationNotes

public CE removeRxg9_AdministrationNotes(int rep)
                                  throws HL7Exception
Removes a repetition of RXG-9: "Administration Notes" 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)

getSubstitutionStatus

public ID getSubstitutionStatus()
Returns RXG-10: "Substitution Status" - creates it if necessary


getRxg10_SubstitutionStatus

public ID getRxg10_SubstitutionStatus()
Returns RXG-10: "Substitution Status" - creates it if necessary


getDispenseToLocation

public LA2 getDispenseToLocation()
Returns RXG-11: "Dispense-To Location" - creates it if necessary


getRxg11_DispenseToLocation

public LA2 getRxg11_DispenseToLocation()
Returns RXG-11: "Dispense-To Location" - creates it if necessary


getNeedsHumanReview

public ID getNeedsHumanReview()
Returns RXG-12: "Needs Human Review" - creates it if necessary


getRxg12_NeedsHumanReview

public ID getRxg12_NeedsHumanReview()
Returns RXG-12: "Needs Human Review" - creates it if necessary


getPharmacyTreatmentSupplierSSpecialAdministrationInstructions

public CE[] getPharmacyTreatmentSupplierSSpecialAdministrationInstructions()
Returns all repetitions of Pharmacy/Treatment Supplier's Special Administration Instructions (RXG-13).


getPharmacyTreatmentSupplierSSpecialAdministrationInstructionsReps

public int getPharmacyTreatmentSupplierSSpecialAdministrationInstructionsReps()
Returns a count of the current number of repetitions of Pharmacy/Treatment Supplier's Special Administration Instructions (RXG-13). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getPharmacyTreatmentSupplierSSpecialAdministrationInstructions

public CE getPharmacyTreatmentSupplierSSpecialAdministrationInstructions(int rep)
Returns a specific repetition of RXG-13: "Pharmacy/Treatment Supplier's Special Administration Instructions" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructions

public CE getRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructions(int rep)
Returns a specific repetition of RXG-13: "Pharmacy/Treatment Supplier's Special Administration Instructions" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructionsReps

public int getRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructionsReps()
Returns a count of the current number of repetitions of Pharmacy/Treatment Supplier's Special Administration Instructions (RXG-13). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertPharmacyTreatmentSupplierSSpecialAdministrationInstructions

public CE insertPharmacyTreatmentSupplierSSpecialAdministrationInstructions(int rep)
                                                                     throws HL7Exception
Inserts a repetition of RXG-13: "Pharmacy/Treatment Supplier's Special Administration Instructions" 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)

insertRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructions

public CE insertRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructions(int rep)
                                                                           throws HL7Exception
Inserts a repetition of RXG-13: "Pharmacy/Treatment Supplier's Special Administration Instructions" 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)

removePharmacyTreatmentSupplierSSpecialAdministrationInstructions

public CE removePharmacyTreatmentSupplierSSpecialAdministrationInstructions(int rep)
                                                                     throws HL7Exception
Removes a repetition of RXG-13: "Pharmacy/Treatment Supplier's Special Administration Instructions" 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)

removeRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructions

public CE removeRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructions(int rep)
                                                                           throws HL7Exception
Removes a repetition of RXG-13: "Pharmacy/Treatment Supplier's Special Administration Instructions" 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)

getGivePerTimeUnit

public ST getGivePerTimeUnit()
Returns RXG-14: "Give Per (Time Unit)" - creates it if necessary


getRxg14_GivePerTimeUnit

public ST getRxg14_GivePerTimeUnit()
Returns RXG-14: "Give Per (Time Unit)" - creates it if necessary


getGiveRateAmount

public ST getGiveRateAmount()
Returns RXG-15: "Give Rate Amount" - creates it if necessary


getRxg15_GiveRateAmount

public ST getRxg15_GiveRateAmount()
Returns RXG-15: "Give Rate Amount" - creates it if necessary


getGiveRateUnits

public CE getGiveRateUnits()
Returns RXG-16: "Give Rate Units" - creates it if necessary


getRxg16_GiveRateUnits

public CE getRxg16_GiveRateUnits()
Returns RXG-16: "Give Rate Units" - creates it if necessary


getGiveStrength

public NM getGiveStrength()
Returns RXG-17: "Give Strength" - creates it if necessary


getRxg17_GiveStrength

public NM getRxg17_GiveStrength()
Returns RXG-17: "Give Strength" - creates it if necessary


getGiveStrengthUnits

public CE getGiveStrengthUnits()
Returns RXG-18: "Give Strength Units" - creates it if necessary


getRxg18_GiveStrengthUnits

public CE getRxg18_GiveStrengthUnits()
Returns RXG-18: "Give Strength Units" - creates it if necessary


getSubstanceLotNumber

public ST[] getSubstanceLotNumber()
Returns all repetitions of Substance Lot Number (RXG-19).


getSubstanceLotNumberReps

public int getSubstanceLotNumberReps()
Returns a count of the current number of repetitions of Substance Lot Number (RXG-19). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getSubstanceLotNumber

public ST getSubstanceLotNumber(int rep)
Returns a specific repetition of RXG-19: "Substance Lot Number" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxg19_SubstanceLotNumber

public ST getRxg19_SubstanceLotNumber(int rep)
Returns a specific repetition of RXG-19: "Substance Lot Number" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxg19_SubstanceLotNumberReps

public int getRxg19_SubstanceLotNumberReps()
Returns a count of the current number of repetitions of Substance Lot Number (RXG-19). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertSubstanceLotNumber

public ST insertSubstanceLotNumber(int rep)
                            throws HL7Exception
Inserts a repetition of RXG-19: "Substance Lot Number" 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)

insertRxg19_SubstanceLotNumber

public ST insertRxg19_SubstanceLotNumber(int rep)
                                  throws HL7Exception
Inserts a repetition of RXG-19: "Substance Lot Number" 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)

removeSubstanceLotNumber

public ST removeSubstanceLotNumber(int rep)
                            throws HL7Exception
Removes a repetition of RXG-19: "Substance Lot Number" 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)

removeRxg19_SubstanceLotNumber

public ST removeRxg19_SubstanceLotNumber(int rep)
                                  throws HL7Exception
Removes a repetition of RXG-19: "Substance Lot Number" 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)

getSubstanceExpirationDate

public TS[] getSubstanceExpirationDate()
Returns all repetitions of Substance Expiration Date (RXG-20).


getSubstanceExpirationDateReps

public int getSubstanceExpirationDateReps()
Returns a count of the current number of repetitions of Substance Expiration Date (RXG-20). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getSubstanceExpirationDate

public TS getSubstanceExpirationDate(int rep)
Returns a specific repetition of RXG-20: "Substance Expiration Date" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxg20_SubstanceExpirationDate

public TS getRxg20_SubstanceExpirationDate(int rep)
Returns a specific repetition of RXG-20: "Substance Expiration Date" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxg20_SubstanceExpirationDateReps

public int getRxg20_SubstanceExpirationDateReps()
Returns a count of the current number of repetitions of Substance Expiration Date (RXG-20). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertSubstanceExpirationDate

public TS insertSubstanceExpirationDate(int rep)
                                 throws HL7Exception
Inserts a repetition of RXG-20: "Substance Expiration Date" 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)

insertRxg20_SubstanceExpirationDate

public TS insertRxg20_SubstanceExpirationDate(int rep)
                                       throws HL7Exception
Inserts a repetition of RXG-20: "Substance Expiration Date" 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)

removeSubstanceExpirationDate

public TS removeSubstanceExpirationDate(int rep)
                                 throws HL7Exception
Removes a repetition of RXG-20: "Substance Expiration Date" 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)

removeRxg20_SubstanceExpirationDate

public TS removeRxg20_SubstanceExpirationDate(int rep)
                                       throws HL7Exception
Removes a repetition of RXG-20: "Substance Expiration Date" 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)

getSubstanceManufacturerName

public CE[] getSubstanceManufacturerName()
Returns all repetitions of Substance Manufacturer Name (RXG-21).


getSubstanceManufacturerNameReps

public int getSubstanceManufacturerNameReps()
Returns a count of the current number of repetitions of Substance Manufacturer Name (RXG-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getSubstanceManufacturerName

public CE getSubstanceManufacturerName(int rep)
Returns a specific repetition of RXG-21: "Substance Manufacturer Name" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxg21_SubstanceManufacturerName

public CE getRxg21_SubstanceManufacturerName(int rep)
Returns a specific repetition of RXG-21: "Substance Manufacturer Name" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxg21_SubstanceManufacturerNameReps

public int getRxg21_SubstanceManufacturerNameReps()
Returns a count of the current number of repetitions of Substance Manufacturer Name (RXG-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertSubstanceManufacturerName

public CE insertSubstanceManufacturerName(int rep)
                                   throws HL7Exception
Inserts a repetition of RXG-21: "Substance Manufacturer Name" 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)

insertRxg21_SubstanceManufacturerName

public CE insertRxg21_SubstanceManufacturerName(int rep)
                                         throws HL7Exception
Inserts a repetition of RXG-21: "Substance Manufacturer Name" 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)

removeSubstanceManufacturerName

public CE removeSubstanceManufacturerName(int rep)
                                   throws HL7Exception
Removes a repetition of RXG-21: "Substance Manufacturer Name" 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)

removeRxg21_SubstanceManufacturerName

public CE removeRxg21_SubstanceManufacturerName(int rep)
                                         throws HL7Exception
Removes a repetition of RXG-21: "Substance Manufacturer Name" 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)

getIndication

public CE[] getIndication()
Returns all repetitions of Indication (RXG-22).


getIndicationReps

public int getIndicationReps()
Returns a count of the current number of repetitions of Indication (RXG-22). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getIndication

public CE getIndication(int rep)
Returns a specific repetition of RXG-22: "Indication" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxg22_Indication

public CE getRxg22_Indication(int rep)
Returns a specific repetition of RXG-22: "Indication" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxg22_IndicationReps

public int getRxg22_IndicationReps()
Returns a count of the current number of repetitions of Indication (RXG-22). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertIndication

public CE insertIndication(int rep)
                    throws HL7Exception
Inserts a repetition of RXG-22: "Indication" 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)

insertRxg22_Indication

public CE insertRxg22_Indication(int rep)
                          throws HL7Exception
Inserts a repetition of RXG-22: "Indication" 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)

removeIndication

public CE removeIndication(int rep)
                    throws HL7Exception
Removes a repetition of RXG-22: "Indication" 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)

removeRxg22_Indication

public CE removeRxg22_Indication(int rep)
                          throws HL7Exception
Removes a repetition of RXG-22: "Indication" 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)

createNewTypeWithoutReflection

protected Type createNewTypeWithoutReflection(int field)

Overrides:
createNewTypeWithoutReflection in class AbstractSegment


Copyright © 2001-2011 University Health Network. All Rights Reserved.