public class RXG extends AbstractSegment
Represents an HL7 RXG message segment (Pharmacy give segment). 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
|
CM_LA1 |
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
|
ID |
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
RXG-22: "Indication" - creates it if necessary
|
ID |
getNeedsHumanReview()
Returns
RXG-12: "Needs Human Review" - creates it if necessary
|
CE |
getPharmacySpecialAdministrationInstructions()
Returns
RXG-13: "Pharmacy Special Administration Instructions" - creates it if necessary
|
TQ |
getQuantityTiming()
Returns
RXG-3: "Quantity/Timing" - creates it if necessary
|
ID |
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
|
CM_LA1 |
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_PharmacySpecialAdministrationInstructions()
Returns
RXG-13: "Pharmacy Special Administration Instructions" - creates it if necessary
|
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
RXG-22: "Indication" - 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
|
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 |
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
|
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 |
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 ID getGiveSubIDCounter()
public ID 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 CM_LA1 getDispenseToLocation()
public CM_LA1 getRxg11_DispenseToLocation()
public ID getNeedsHumanReview()
public ID getRxg12_NeedsHumanReview()
public CE getPharmacySpecialAdministrationInstructions()
public CE getRxg13_PharmacySpecialAdministrationInstructions()
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()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.