public class RXG extends AbstractSegment
Represents an HL7 RXG message segment (Pharmacy/Treatment Give). This segment has the following fields:
log
Constructor and Description |
---|
RXG(Group parent,
ModelClassFactory factory)
Creates a new RXG segment
|
Modifier and Type | Method and Description |
---|---|
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
|
CWE |
getGiveBarcodeIdentifier()
Returns
RXG-25: "Give Barcode Identifier" - 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
|
NM |
getGiveDrugStrengthVolume()
Returns
RXG-23: "Give Drug Strength Volume" - creates it if necessary
|
CWE |
getGiveDrugStrengthVolumeUnits()
Returns
RXG-24: "Give Drug Strength Volume Units" - 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
|
ID |
getPharmacyOrderType()
Returns
RXG-26: "Pharmacy Order Type" - 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()
Returns all repetitions of Pharmacy/Treatment Supplier's Special Administration Instructions (RXG-13).
|
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()
Returns all repetitions of Substance Lot Number (RXG-19).
|
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()
Returns all repetitions of Substance Expiration Date (RXG-20).
|
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()
Returns all repetitions of Substance Manufacturer Name (RXG-21).
|
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()
Returns all repetitions of Indication (RXG-22).
|
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).
|
NM |
getRxg23_GiveDrugStrengthVolume()
Returns
RXG-23: "Give Drug Strength Volume" - creates it if necessary
|
CWE |
getRxg24_GiveDrugStrengthVolumeUnits()
Returns
RXG-24: "Give Drug Strength Volume Units" - creates it if necessary
|
CWE |
getRxg25_GiveBarcodeIdentifier()
Returns
RXG-25: "Give Barcode Identifier" - creates it if necessary
|
ID |
getRxg26_PharmacyOrderType()
Returns
RXG-26: "Pharmacy Order Type" - creates it if necessary
|
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()
Returns all repetitions of Administration Notes (RXG-9).
|
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
|
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 RXG(Group parent, ModelClassFactory factory)
public NM getGiveSubIDCounter()
public NM getRxg1_GiveSubIDCounter()
public NM getDispenseSubIDCounter()
public NM getRxg2_DispenseSubIDCounter()
public TQ getQuantityTiming()
public TQ getRxg3_QuantityTiming()
public CE getGiveCode()
public CE getRxg4_GiveCode()
public NM getGiveAmountMinimum()
public NM getRxg5_GiveAmountMinimum()
public NM getGiveAmountMaximum()
public NM getRxg6_GiveAmountMaximum()
public CE getGiveUnits()
public CE getRxg7_GiveUnits()
public CE getGiveDosageForm()
public CE getRxg8_GiveDosageForm()
public CE[] getAdministrationNotes()
public CE[] getRxg9_AdministrationNotes()
public int getAdministrationNotesReps()
public CE getAdministrationNotes(int rep)
rep
- The repetition index (0-indexed)public CE getRxg9_AdministrationNotes(int rep)
rep
- The repetition index (0-indexed)public int getRxg9_AdministrationNotesReps()
public CE insertAdministrationNotes(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 CE insertRxg9_AdministrationNotes(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 CE removeAdministrationNotes(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 CE removeRxg9_AdministrationNotes(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 getSubstitutionStatus()
public ID getRxg10_SubstitutionStatus()
public LA2 getDispenseToLocation()
public LA2 getRxg11_DispenseToLocation()
public ID getNeedsHumanReview()
public ID getRxg12_NeedsHumanReview()
public CE[] getPharmacyTreatmentSupplierSSpecialAdministrationInstructions()
public CE[] getRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructions()
public int getPharmacyTreatmentSupplierSSpecialAdministrationInstructionsReps()
public CE getPharmacyTreatmentSupplierSSpecialAdministrationInstructions(int rep)
rep
- The repetition index (0-indexed)public CE getRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructions(int rep)
rep
- The repetition index (0-indexed)public int getRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructionsReps()
public CE insertPharmacyTreatmentSupplierSSpecialAdministrationInstructions(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 CE insertRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructions(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 CE removePharmacyTreatmentSupplierSSpecialAdministrationInstructions(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 CE removeRxg13_PharmacyTreatmentSupplierSSpecialAdministrationInstructions(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 getGivePerTimeUnit()
public ST getRxg14_GivePerTimeUnit()
public ST getGiveRateAmount()
public ST getRxg15_GiveRateAmount()
public CE getGiveRateUnits()
public CE getRxg16_GiveRateUnits()
public NM getGiveStrength()
public NM getRxg17_GiveStrength()
public CE getGiveStrengthUnits()
public CE getRxg18_GiveStrengthUnits()
public ST[] getSubstanceLotNumber()
public ST[] getRxg19_SubstanceLotNumber()
public int getSubstanceLotNumberReps()
public ST getSubstanceLotNumber(int rep)
rep
- The repetition index (0-indexed)public ST getRxg19_SubstanceLotNumber(int rep)
rep
- The repetition index (0-indexed)public int getRxg19_SubstanceLotNumberReps()
public ST insertSubstanceLotNumber(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 insertRxg19_SubstanceLotNumber(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 removeSubstanceLotNumber(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 removeRxg19_SubstanceLotNumber(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 TS[] getSubstanceExpirationDate()
public TS[] getRxg20_SubstanceExpirationDate()
public int getSubstanceExpirationDateReps()
public TS getSubstanceExpirationDate(int rep)
rep
- The repetition index (0-indexed)public TS getRxg20_SubstanceExpirationDate(int rep)
rep
- The repetition index (0-indexed)public int getRxg20_SubstanceExpirationDateReps()
public TS insertSubstanceExpirationDate(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 TS insertRxg20_SubstanceExpirationDate(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 TS removeSubstanceExpirationDate(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 TS removeRxg20_SubstanceExpirationDate(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 CE[] getSubstanceManufacturerName()
public CE[] getRxg21_SubstanceManufacturerName()
public int getSubstanceManufacturerNameReps()
public CE getSubstanceManufacturerName(int rep)
rep
- The repetition index (0-indexed)public CE getRxg21_SubstanceManufacturerName(int rep)
rep
- The repetition index (0-indexed)public int getRxg21_SubstanceManufacturerNameReps()
public CE insertSubstanceManufacturerName(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 CE insertRxg21_SubstanceManufacturerName(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 CE removeSubstanceManufacturerName(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 CE removeRxg21_SubstanceManufacturerName(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 CE[] getIndication()
public CE[] getRxg22_Indication()
public int getIndicationReps()
public CE getIndication(int rep)
rep
- The repetition index (0-indexed)public CE getRxg22_Indication(int rep)
rep
- The repetition index (0-indexed)public int getRxg22_IndicationReps()
public CE insertIndication(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 CE insertRxg22_Indication(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 CE removeIndication(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 CE removeRxg22_Indication(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 getGiveDrugStrengthVolume()
public NM getRxg23_GiveDrugStrengthVolume()
public CWE getGiveDrugStrengthVolumeUnits()
public CWE getRxg24_GiveDrugStrengthVolumeUnits()
public CWE getGiveBarcodeIdentifier()
public CWE getRxg25_GiveBarcodeIdentifier()
public ID getPharmacyOrderType()
public ID getRxg26_PharmacyOrderType()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.