public class RXG extends AbstractSegment
Represents an HL7 RXG message segment (PHARMACY 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) |
ST |
getAdministrationNotes()
Returns
RXG-9: "Administration Notes" - creates it if necessary
|
CM_LA1 |
getDeliverToLocation()
Returns
RXG-11: "Deliver-to location" - creates it if necessary
|
NM |
getDispenseSubIDCounter()
Returns
RXG-2: "Dispense Sub-ID Counter" - 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
|
CE |
getGiveRateAmount()
Returns
RXG-15: "Give Rate Amount" - creates it if necessary
|
CE |
getGiveRateUnits()
Returns
RXG-16: "Give Rate 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
|
ID |
getNeedsHumanReview()
Returns
RXG-12: "Needs Human Review" - creates it if necessary
|
CE[] |
getPharmacySpecialAdministrationInstructions()
Returns all repetitions of Pharmacy Special Administration Instructions (RXG-13).
|
CE |
getPharmacySpecialAdministrationInstructions(int rep)
Returns a specific repetition of
RXG-13: "Pharmacy Special Administration Instructions" - creates it if necessary
|
int |
getPharmacySpecialAdministrationInstructionsReps()
Returns a count of the current number of repetitions of Pharmacy Special Administration Instructions (RXG-13).
|
TQ[] |
getQuantityTiming()
Returns all repetitions of Quantity / timing (RXG-3).
|
TQ |
getQuantityTiming(int rep)
Returns a specific repetition of
RXG-3: "Quantity / timing" - creates it if necessary
|
int |
getQuantityTimingReps()
Returns a count of the current number of repetitions of Quantity / timing (RXG-3).
|
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
|
CM_LA1 |
getRxg11_DeliverToLocation()
Returns
RXG-11: "Deliver-to location" - creates it if necessary
|
ID |
getRxg12_NeedsHumanReview()
Returns
RXG-12: "Needs Human Review" - creates it if necessary
|
CE[] |
getRxg13_PharmacySpecialAdministrationInstructions()
Returns all repetitions of Pharmacy Special Administration Instructions (RXG-13).
|
CE |
getRxg13_PharmacySpecialAdministrationInstructions(int rep)
Returns a specific repetition of
RXG-13: "Pharmacy Special Administration Instructions" - creates it if necessary
|
int |
getRxg13_PharmacySpecialAdministrationInstructionsReps()
Returns a count of the current number of repetitions of Pharmacy Special Administration Instructions (RXG-13).
|
ST |
getRxg14_GivePerTimeUnit()
Returns
RXG-14: "Give Per (Time Unit)" - creates it if necessary
|
CE |
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 |
getRxg2_DispenseSubIDCounter()
Returns
RXG-2: "Dispense Sub-ID Counter" - creates it if necessary
|
TQ[] |
getRxg3_QuantityTiming()
Returns all repetitions of Quantity / timing (RXG-3).
|
TQ |
getRxg3_QuantityTiming(int rep)
Returns a specific repetition of
RXG-3: "Quantity / timing" - creates it if necessary
|
int |
getRxg3_QuantityTimingReps()
Returns a count of the current number of repetitions of Quantity / timing (RXG-3).
|
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
|
ST |
getRxg9_AdministrationNotes()
Returns
RXG-9: "Administration Notes" - creates it if necessary
|
ID |
getSubstitutionStatus()
Returns
RXG-10: "Substitution Status" - creates it if necessary
|
CE |
insertPharmacySpecialAdministrationInstructions(int rep)
Inserts a repetition of
RXG-13: "Pharmacy Special Administration Instructions" at a specific index
|
TQ |
insertQuantityTiming(int rep)
Inserts a repetition of
RXG-3: "Quantity / timing" at a specific index
|
CE |
insertRxg13_PharmacySpecialAdministrationInstructions(int rep)
Inserts a repetition of
RXG-13: "Pharmacy Special Administration Instructions" at a specific index
|
TQ |
insertRxg3_QuantityTiming(int rep)
Inserts a repetition of
RXG-3: "Quantity / timing" at a specific index
|
CE |
removePharmacySpecialAdministrationInstructions(int rep)
Removes a repetition of
RXG-13: "Pharmacy Special Administration Instructions" at a specific index
|
TQ |
removeQuantityTiming(int rep)
Removes a repetition of
RXG-3: "Quantity / timing" at a specific index
|
CE |
removeRxg13_PharmacySpecialAdministrationInstructions(int rep)
Removes a repetition of
RXG-13: "Pharmacy Special Administration Instructions" at a specific index
|
TQ |
removeRxg3_QuantityTiming(int rep)
Removes a repetition of
RXG-3: "Quantity / timing" 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 int getQuantityTimingReps()
public TQ getQuantityTiming(int rep)
rep
- The repetition index (0-indexed)public TQ getRxg3_QuantityTiming(int rep)
rep
- The repetition index (0-indexed)public int getRxg3_QuantityTimingReps()
public TQ insertQuantityTiming(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 TQ insertRxg3_QuantityTiming(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 TQ removeQuantityTiming(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 TQ removeRxg3_QuantityTiming(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 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 ST getAdministrationNotes()
public ST getRxg9_AdministrationNotes()
public ID getSubstitutionStatus()
public ID getRxg10_SubstitutionStatus()
public CM_LA1 getDeliverToLocation()
public CM_LA1 getRxg11_DeliverToLocation()
public ID getNeedsHumanReview()
public ID getRxg12_NeedsHumanReview()
public CE[] getPharmacySpecialAdministrationInstructions()
public CE[] getRxg13_PharmacySpecialAdministrationInstructions()
public int getPharmacySpecialAdministrationInstructionsReps()
public CE getPharmacySpecialAdministrationInstructions(int rep)
rep
- The repetition index (0-indexed)public CE getRxg13_PharmacySpecialAdministrationInstructions(int rep)
rep
- The repetition index (0-indexed)public int getRxg13_PharmacySpecialAdministrationInstructionsReps()
public CE insertPharmacySpecialAdministrationInstructions(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_PharmacySpecialAdministrationInstructions(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 removePharmacySpecialAdministrationInstructions(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_PharmacySpecialAdministrationInstructions(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 CE getGiveRateAmount()
public CE getRxg15_GiveRateAmount()
public CE getGiveRateUnits()
public CE getRxg16_GiveRateUnits()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.