ca.uhn.hl7v2.model.v23.segment.RXE Maven / Gradle / Ivy
The newest version!
/*
* This class is an auto-generated source file for a HAPI
* HL7 v2.x standard structure class.
*
* For more information, visit: http://hl7api.sourceforge.net/
*
* The contents of this file are subject to the Mozilla Public License Version 1.1
* (the "License"); you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.mozilla.org/MPL/
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
* specific language governing rights and limitations under the License.
*
* The Original Code is "[file_name]". Description:
* "[one_line_description]"
*
* The Initial Developer of the Original Code is University Health Network. Copyright (C)
* 2012. All Rights Reserved.
*
* Contributor(s): ______________________________________.
*
* Alternatively, the contents of this file may be used under the terms of the
* GNU General Public License (the "GPL"), in which case the provisions of the GPL are
* applicable instead of those above. If you wish to allow use of your version of this
* file only under the terms of the GPL and not to allow others to use your version
* of this file under the MPL, indicate your decision by deleting the provisions above
* and replace them with the notice and other provisions required by the GPL License.
* If you do not delete the provisions above, a recipient may use your version of
* this file under either the MPL or the GPL.
*
*/
package ca.uhn.hl7v2.model.v23.segment;
// import ca.uhn.hl7v2.model.v23.group.*;
import ca.uhn.hl7v2.model.v23.datatype.*;
import ca.uhn.hl7v2.HL7Exception;
import ca.uhn.hl7v2.parser.ModelClassFactory;
import ca.uhn.hl7v2.parser.DefaultModelClassFactory;
import ca.uhn.hl7v2.model.AbstractMessage;
import ca.uhn.hl7v2.model.Group;
import ca.uhn.hl7v2.model.Type;
import ca.uhn.hl7v2.model.AbstractSegment;
import ca.uhn.hl7v2.model.Varies;
/**
*Represents an HL7 RXE message segment (Pharmacy encoded order segment).
* This segment has the following fields:
*
* - RXE-1: Quantity/Timing (TQ)
*
- RXE-2: Give Code (CE)
*
- RXE-3: Give Amount - Minimum (NM)
*
- RXE-4: Give Amount - Maximum (NM) optional
*
- RXE-5: Give Units (CE)
*
- RXE-6: Give Dosage Form (CE) optional
*
- RXE-7: Provider's Administration Instructions (CE) optional repeating
*
- RXE-8: Deliver To Location (CM_LA1) optional
*
- RXE-9: Substitution Status (ID) optional
*
- RXE-10: Dispense Amount (NM) optional
*
- RXE-11: Dispense Units (CE) optional
*
- RXE-12: Number of Refills (NM) optional
*
- RXE-13: Ordering Provider's DEA Number (CN) optional
*
- RXE-14: Pharmacist/Treatment Supplier's Verifier ID (CN) optional
*
- RXE-15: Prescription Number (ST) optional
*
- RXE-16: Number of Refills Remaining (NM) optional
*
- RXE-17: Number of Refills/Doses Dispensed (NM) optional
*
- RXE-18: Date / time of most recent refill or dose dispensed (TS) optional
*
- RXE-19: Total Daily Dose (CQ) optional
*
- RXE-20: Needs Human Review (ID) optional
*
- RXE-21: Pharmacy/Treatment Supplier's Special Dispensing Instructions (CE) optional repeating
*
- RXE-22: Give Per (Time Unit) (ST) optional
*
- RXE-23: Give Rate Amount (ST) optional
*
- RXE-24: Give Rate Units (CE) optional
*
- RXE-25: Give Strength (NM) optional
*
- RXE-26: Give Strength Units (CE) optional
*
- RXE-27: Give Indication (CE) optional
*
- RXE-28: Dispense Package Size (NM) optional
*
- RXE-29: Dispense Package Size Unit (CE) optional
*
- RXE-30: Dispense Package Method (ID) optional
*
*/
@SuppressWarnings("unused")
public class RXE extends AbstractSegment {
/**
* Creates a new RXE segment
*/
public RXE(Group parent, ModelClassFactory factory) {
super(parent, factory);
init(factory);
}
private void init(ModelClassFactory factory) {
try {
this.add(TQ.class, true, 1, 200, new Object[]{ getMessage() }, "Quantity/Timing");
this.add(CE.class, true, 1, 100, new Object[]{ getMessage() }, "Give Code");
this.add(NM.class, true, 1, 20, new Object[]{ getMessage() }, "Give Amount - Minimum");
this.add(NM.class, false, 1, 20, new Object[]{ getMessage() }, "Give Amount - Maximum");
this.add(CE.class, true, 1, 60, new Object[]{ getMessage() }, "Give Units");
this.add(CE.class, false, 1, 60, new Object[]{ getMessage() }, "Give Dosage Form");
this.add(CE.class, false, 0, 200, new Object[]{ getMessage() }, "Provider's Administration Instructions");
this.add(CM_LA1.class, false, 1, 200, new Object[]{ getMessage() }, "Deliver To Location");
this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(167) }, "Substitution Status");
this.add(NM.class, false, 1, 20, new Object[]{ getMessage() }, "Dispense Amount");
this.add(CE.class, false, 1, 60, new Object[]{ getMessage() }, "Dispense Units");
this.add(NM.class, false, 1, 3, new Object[]{ getMessage() }, "Number of Refills");
this.add(CN.class, false, 1, 60, new Object[]{ getMessage() }, "Ordering Provider's DEA Number");
this.add(CN.class, false, 1, 60, new Object[]{ getMessage() }, "Pharmacist/Treatment Supplier's Verifier ID");
this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Prescription Number");
this.add(NM.class, false, 1, 20, new Object[]{ getMessage() }, "Number of Refills Remaining");
this.add(NM.class, false, 1, 20, new Object[]{ getMessage() }, "Number of Refills/Doses Dispensed");
this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Date / time of most recent refill or dose dispensed");
this.add(CQ.class, false, 1, 10, new Object[]{ getMessage() }, "Total Daily Dose");
this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Needs Human Review");
this.add(CE.class, false, 0, 200, new Object[]{ getMessage() }, "Pharmacy/Treatment Supplier's Special Dispensing Instructions");
this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Give Per (Time Unit)");
this.add(ST.class, false, 1, 6, new Object[]{ getMessage() }, "Give Rate Amount");
this.add(CE.class, false, 1, 60, new Object[]{ getMessage() }, "Give Rate Units");
this.add(NM.class, false, 1, 20, new Object[]{ getMessage() }, "Give Strength");
this.add(CE.class, false, 1, 60, new Object[]{ getMessage() }, "Give Strength Units");
this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Give Indication");
this.add(NM.class, false, 1, 20, new Object[]{ getMessage() }, "Dispense Package Size");
this.add(CE.class, false, 1, 60, new Object[]{ getMessage() }, "Dispense Package Size Unit");
this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(321) }, "Dispense Package Method");
} catch(HL7Exception e) {
log.error("Unexpected error creating RXE - this is probably a bug in the source code generator.", e);
}
}
/**
* Returns
* RXE-1: "Quantity/Timing" - creates it if necessary
*/
public TQ getQuantityTiming() {
TQ retVal = this.getTypedField(1, 0);
return retVal;
}
/**
* Returns
* RXE-1: "Quantity/Timing" - creates it if necessary
*/
public TQ getRxe1_QuantityTiming() {
TQ retVal = this.getTypedField(1, 0);
return retVal;
}
/**
* Returns
* RXE-2: "Give Code" - creates it if necessary
*/
public CE getGiveCode() {
CE retVal = this.getTypedField(2, 0);
return retVal;
}
/**
* Returns
* RXE-2: "Give Code" - creates it if necessary
*/
public CE getRxe2_GiveCode() {
CE retVal = this.getTypedField(2, 0);
return retVal;
}
/**
* Returns
* RXE-3: "Give Amount - Minimum" - creates it if necessary
*/
public NM getGiveAmountMinimum() {
NM retVal = this.getTypedField(3, 0);
return retVal;
}
/**
* Returns
* RXE-3: "Give Amount - Minimum" - creates it if necessary
*/
public NM getRxe3_GiveAmountMinimum() {
NM retVal = this.getTypedField(3, 0);
return retVal;
}
/**
* Returns
* RXE-4: "Give Amount - Maximum" - creates it if necessary
*/
public NM getGiveAmountMaximum() {
NM retVal = this.getTypedField(4, 0);
return retVal;
}
/**
* Returns
* RXE-4: "Give Amount - Maximum" - creates it if necessary
*/
public NM getRxe4_GiveAmountMaximum() {
NM retVal = this.getTypedField(4, 0);
return retVal;
}
/**
* Returns
* RXE-5: "Give Units" - creates it if necessary
*/
public CE getGiveUnits() {
CE retVal = this.getTypedField(5, 0);
return retVal;
}
/**
* Returns
* RXE-5: "Give Units" - creates it if necessary
*/
public CE getRxe5_GiveUnits() {
CE retVal = this.getTypedField(5, 0);
return retVal;
}
/**
* Returns
* RXE-6: "Give Dosage Form" - creates it if necessary
*/
public CE getGiveDosageForm() {
CE retVal = this.getTypedField(6, 0);
return retVal;
}
/**
* Returns
* RXE-6: "Give Dosage Form" - creates it if necessary
*/
public CE getRxe6_GiveDosageForm() {
CE retVal = this.getTypedField(6, 0);
return retVal;
}
/**
* Returns all repetitions of Provider's Administration Instructions (RXE-7).
*/
public CE[] getProviderSAdministrationInstructions() {
CE[] retVal = this.getTypedField(7, new CE[0]);
return retVal;
}
/**
* Returns all repetitions of Provider's Administration Instructions (RXE-7).
*/
public CE[] getRxe7_ProviderSAdministrationInstructions() {
CE[] retVal = this.getTypedField(7, new CE[0]);
return retVal;
}
/**
* Returns a count of the current number of repetitions of Provider's Administration Instructions (RXE-7).
* This method does not create a repetition, so if no repetitions have currently been defined or accessed,
* it will return zero.
*/
public int getProviderSAdministrationInstructionsReps() {
return this.getReps(7);
}
/**
* Returns a specific repetition of
* RXE-7: "Provider's Administration Instructions" - creates it if necessary
*
* @param rep The repetition index (0-indexed)
*/
public CE getProviderSAdministrationInstructions(int rep) {
CE retVal = this.getTypedField(7, rep);
return retVal;
}
/**
* Returns a specific repetition of
* RXE-7: "Provider's Administration Instructions" - creates it if necessary
*
* @param rep The repetition index (0-indexed)
*/
public CE getRxe7_ProviderSAdministrationInstructions(int rep) {
CE retVal = this.getTypedField(7, rep);
return retVal;
}
/**
* Returns a count of the current number of repetitions of Provider's Administration Instructions (RXE-7).
* This method does not create a repetition, so if no repetitions have currently been defined or accessed,
* it will return zero.
*/
public int getRxe7_ProviderSAdministrationInstructionsReps() {
return this.getReps(7);
}
/**
* Inserts a repetition of
* RXE-7: "Provider's Administration Instructions" at a specific index
*
* @param rep The repetition index (0-indexed)
* @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
*/
public CE insertProviderSAdministrationInstructions(int rep) throws HL7Exception {
return (CE) super.insertRepetition(7, rep);
}
/**
* Inserts a repetition of
* RXE-7: "Provider's Administration Instructions" at a specific index
*
* @param rep The repetition index (0-indexed)
* @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
*/
public CE insertRxe7_ProviderSAdministrationInstructions(int rep) throws HL7Exception {
return (CE) super.insertRepetition(7, rep);
}
/**
* Removes a repetition of
* RXE-7: "Provider's Administration Instructions" at a specific index
*
* @param rep The repetition index (0-indexed)
* @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
*/
public CE removeProviderSAdministrationInstructions(int rep) throws HL7Exception {
return (CE) super.removeRepetition(7, rep);
}
/**
* Removes a repetition of
* RXE-7: "Provider's Administration Instructions" at a specific index
*
* @param rep The repetition index (0-indexed)
* @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
*/
public CE removeRxe7_ProviderSAdministrationInstructions(int rep) throws HL7Exception {
return (CE) super.removeRepetition(7, rep);
}
/**
* Returns
* RXE-8: "Deliver To Location" - creates it if necessary
*/
public CM_LA1 getDeliverToLocation() {
CM_LA1 retVal = this.getTypedField(8, 0);
return retVal;
}
/**
* Returns
* RXE-8: "Deliver To Location" - creates it if necessary
*/
public CM_LA1 getRxe8_DeliverToLocation() {
CM_LA1 retVal = this.getTypedField(8, 0);
return retVal;
}
/**
* Returns
* RXE-9: "Substitution Status" - creates it if necessary
*/
public ID getSubstitutionStatus() {
ID retVal = this.getTypedField(9, 0);
return retVal;
}
/**
* Returns
* RXE-9: "Substitution Status" - creates it if necessary
*/
public ID getRxe9_SubstitutionStatus() {
ID retVal = this.getTypedField(9, 0);
return retVal;
}
/**
* Returns
* RXE-10: "Dispense Amount" - creates it if necessary
*/
public NM getDispenseAmount() {
NM retVal = this.getTypedField(10, 0);
return retVal;
}
/**
* Returns
* RXE-10: "Dispense Amount" - creates it if necessary
*/
public NM getRxe10_DispenseAmount() {
NM retVal = this.getTypedField(10, 0);
return retVal;
}
/**
* Returns
* RXE-11: "Dispense Units" - creates it if necessary
*/
public CE getDispenseUnits() {
CE retVal = this.getTypedField(11, 0);
return retVal;
}
/**
* Returns
* RXE-11: "Dispense Units" - creates it if necessary
*/
public CE getRxe11_DispenseUnits() {
CE retVal = this.getTypedField(11, 0);
return retVal;
}
/**
* Returns
* RXE-12: "Number of Refills" - creates it if necessary
*/
public NM getNumberOfRefills() {
NM retVal = this.getTypedField(12, 0);
return retVal;
}
/**
* Returns
* RXE-12: "Number of Refills" - creates it if necessary
*/
public NM getRxe12_NumberOfRefills() {
NM retVal = this.getTypedField(12, 0);
return retVal;
}
/**
* Returns
* RXE-13: "Ordering Provider's DEA Number" - creates it if necessary
*/
public CN getOrderingProviderSDEANumber() {
CN retVal = this.getTypedField(13, 0);
return retVal;
}
/**
* Returns
* RXE-13: "Ordering Provider's DEA Number" - creates it if necessary
*/
public CN getRxe13_OrderingProviderSDEANumber() {
CN retVal = this.getTypedField(13, 0);
return retVal;
}
/**
* Returns
* RXE-14: "Pharmacist/Treatment Supplier's Verifier ID" - creates it if necessary
*/
public CN getPharmacistTreatmentSupplierSVerifierID() {
CN retVal = this.getTypedField(14, 0);
return retVal;
}
/**
* Returns
* RXE-14: "Pharmacist/Treatment Supplier's Verifier ID" - creates it if necessary
*/
public CN getRxe14_PharmacistTreatmentSupplierSVerifierID() {
CN retVal = this.getTypedField(14, 0);
return retVal;
}
/**
* Returns
* RXE-15: "Prescription Number" - creates it if necessary
*/
public ST getPrescriptionNumber() {
ST retVal = this.getTypedField(15, 0);
return retVal;
}
/**
* Returns
* RXE-15: "Prescription Number" - creates it if necessary
*/
public ST getRxe15_PrescriptionNumber() {
ST retVal = this.getTypedField(15, 0);
return retVal;
}
/**
* Returns
* RXE-16: "Number of Refills Remaining" - creates it if necessary
*/
public NM getNumberOfRefillsRemaining() {
NM retVal = this.getTypedField(16, 0);
return retVal;
}
/**
* Returns
* RXE-16: "Number of Refills Remaining" - creates it if necessary
*/
public NM getRxe16_NumberOfRefillsRemaining() {
NM retVal = this.getTypedField(16, 0);
return retVal;
}
/**
* Returns
* RXE-17: "Number of Refills/Doses Dispensed" - creates it if necessary
*/
public NM getNumberOfRefillsDosesDispensed() {
NM retVal = this.getTypedField(17, 0);
return retVal;
}
/**
* Returns
* RXE-17: "Number of Refills/Doses Dispensed" - creates it if necessary
*/
public NM getRxe17_NumberOfRefillsDosesDispensed() {
NM retVal = this.getTypedField(17, 0);
return retVal;
}
/**
* Returns
* RXE-18: "Date / time of most recent refill or dose dispensed" - creates it if necessary
*/
public TS getDateTimeOfMostRecentRefillOrDoseDispensed() {
TS retVal = this.getTypedField(18, 0);
return retVal;
}
/**
* Returns
* RXE-18: "Date / time of most recent refill or dose dispensed" - creates it if necessary
*/
public TS getRxe18_DateTimeOfMostRecentRefillOrDoseDispensed() {
TS retVal = this.getTypedField(18, 0);
return retVal;
}
/**
* Returns
* RXE-19: "Total Daily Dose" - creates it if necessary
*/
public CQ getTotalDailyDose() {
CQ retVal = this.getTypedField(19, 0);
return retVal;
}
/**
* Returns
* RXE-19: "Total Daily Dose" - creates it if necessary
*/
public CQ getRxe19_TotalDailyDose() {
CQ retVal = this.getTypedField(19, 0);
return retVal;
}
/**
* Returns
* RXE-20: "Needs Human Review" - creates it if necessary
*/
public ID getNeedsHumanReview() {
ID retVal = this.getTypedField(20, 0);
return retVal;
}
/**
* Returns
* RXE-20: "Needs Human Review" - creates it if necessary
*/
public ID getRxe20_NeedsHumanReview() {
ID retVal = this.getTypedField(20, 0);
return retVal;
}
/**
* Returns all repetitions of Pharmacy/Treatment Supplier's Special Dispensing Instructions (RXE-21).
*/
public CE[] getPharmacyTreatmentSupplierSSpecialDispensingInstructions() {
CE[] retVal = this.getTypedField(21, new CE[0]);
return retVal;
}
/**
* Returns all repetitions of Pharmacy/Treatment Supplier's Special Dispensing Instructions (RXE-21).
*/
public CE[] getRxe21_PharmacyTreatmentSupplierSSpecialDispensingInstructions() {
CE[] retVal = this.getTypedField(21, new CE[0]);
return retVal;
}
/**
* Returns a count of the current number of repetitions of Pharmacy/Treatment Supplier's Special Dispensing Instructions (RXE-21).
* This method does not create a repetition, so if no repetitions have currently been defined or accessed,
* it will return zero.
*/
public int getPharmacyTreatmentSupplierSSpecialDispensingInstructionsReps() {
return this.getReps(21);
}
/**
* Returns a specific repetition of
* RXE-21: "Pharmacy/Treatment Supplier's Special Dispensing Instructions" - creates it if necessary
*
* @param rep The repetition index (0-indexed)
*/
public CE getPharmacyTreatmentSupplierSSpecialDispensingInstructions(int rep) {
CE retVal = this.getTypedField(21, rep);
return retVal;
}
/**
* Returns a specific repetition of
* RXE-21: "Pharmacy/Treatment Supplier's Special Dispensing Instructions" - creates it if necessary
*
* @param rep The repetition index (0-indexed)
*/
public CE getRxe21_PharmacyTreatmentSupplierSSpecialDispensingInstructions(int rep) {
CE retVal = this.getTypedField(21, rep);
return retVal;
}
/**
* Returns a count of the current number of repetitions of Pharmacy/Treatment Supplier's Special Dispensing Instructions (RXE-21).
* This method does not create a repetition, so if no repetitions have currently been defined or accessed,
* it will return zero.
*/
public int getRxe21_PharmacyTreatmentSupplierSSpecialDispensingInstructionsReps() {
return this.getReps(21);
}
/**
* Inserts a repetition of
* RXE-21: "Pharmacy/Treatment Supplier's Special Dispensing Instructions" at a specific index
*
* @param rep The repetition index (0-indexed)
* @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
*/
public CE insertPharmacyTreatmentSupplierSSpecialDispensingInstructions(int rep) throws HL7Exception {
return (CE) super.insertRepetition(21, rep);
}
/**
* Inserts a repetition of
* RXE-21: "Pharmacy/Treatment Supplier's Special Dispensing Instructions" at a specific index
*
* @param rep The repetition index (0-indexed)
* @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
*/
public CE insertRxe21_PharmacyTreatmentSupplierSSpecialDispensingInstructions(int rep) throws HL7Exception {
return (CE) super.insertRepetition(21, rep);
}
/**
* Removes a repetition of
* RXE-21: "Pharmacy/Treatment Supplier's Special Dispensing Instructions" at a specific index
*
* @param rep The repetition index (0-indexed)
* @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
*/
public CE removePharmacyTreatmentSupplierSSpecialDispensingInstructions(int rep) throws HL7Exception {
return (CE) super.removeRepetition(21, rep);
}
/**
* Removes a repetition of
* RXE-21: "Pharmacy/Treatment Supplier's Special Dispensing Instructions" at a specific index
*
* @param rep The repetition index (0-indexed)
* @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
*/
public CE removeRxe21_PharmacyTreatmentSupplierSSpecialDispensingInstructions(int rep) throws HL7Exception {
return (CE) super.removeRepetition(21, rep);
}
/**
* Returns
* RXE-22: "Give Per (Time Unit)" - creates it if necessary
*/
public ST getGivePerTimeUnit() {
ST retVal = this.getTypedField(22, 0);
return retVal;
}
/**
* Returns
* RXE-22: "Give Per (Time Unit)" - creates it if necessary
*/
public ST getRxe22_GivePerTimeUnit() {
ST retVal = this.getTypedField(22, 0);
return retVal;
}
/**
* Returns
* RXE-23: "Give Rate Amount" - creates it if necessary
*/
public ST getGiveRateAmount() {
ST retVal = this.getTypedField(23, 0);
return retVal;
}
/**
* Returns
* RXE-23: "Give Rate Amount" - creates it if necessary
*/
public ST getRxe23_GiveRateAmount() {
ST retVal = this.getTypedField(23, 0);
return retVal;
}
/**
* Returns
* RXE-24: "Give Rate Units" - creates it if necessary
*/
public CE getGiveRateUnits() {
CE retVal = this.getTypedField(24, 0);
return retVal;
}
/**
* Returns
* RXE-24: "Give Rate Units" - creates it if necessary
*/
public CE getRxe24_GiveRateUnits() {
CE retVal = this.getTypedField(24, 0);
return retVal;
}
/**
* Returns
* RXE-25: "Give Strength" - creates it if necessary
*/
public NM getGiveStrength() {
NM retVal = this.getTypedField(25, 0);
return retVal;
}
/**
* Returns
* RXE-25: "Give Strength" - creates it if necessary
*/
public NM getRxe25_GiveStrength() {
NM retVal = this.getTypedField(25, 0);
return retVal;
}
/**
* Returns
* RXE-26: "Give Strength Units" - creates it if necessary
*/
public CE getGiveStrengthUnits() {
CE retVal = this.getTypedField(26, 0);
return retVal;
}
/**
* Returns
* RXE-26: "Give Strength Units" - creates it if necessary
*/
public CE getRxe26_GiveStrengthUnits() {
CE retVal = this.getTypedField(26, 0);
return retVal;
}
/**
* Returns
* RXE-27: "Give Indication" - creates it if necessary
*/
public CE getGiveIndication() {
CE retVal = this.getTypedField(27, 0);
return retVal;
}
/**
* Returns
* RXE-27: "Give Indication" - creates it if necessary
*/
public CE getRxe27_GiveIndication() {
CE retVal = this.getTypedField(27, 0);
return retVal;
}
/**
* Returns
* RXE-28: "Dispense Package Size" - creates it if necessary
*/
public NM getDispensePackageSize() {
NM retVal = this.getTypedField(28, 0);
return retVal;
}
/**
* Returns
* RXE-28: "Dispense Package Size" - creates it if necessary
*/
public NM getRxe28_DispensePackageSize() {
NM retVal = this.getTypedField(28, 0);
return retVal;
}
/**
* Returns
* RXE-29: "Dispense Package Size Unit" - creates it if necessary
*/
public CE getDispensePackageSizeUnit() {
CE retVal = this.getTypedField(29, 0);
return retVal;
}
/**
* Returns
* RXE-29: "Dispense Package Size Unit" - creates it if necessary
*/
public CE getRxe29_DispensePackageSizeUnit() {
CE retVal = this.getTypedField(29, 0);
return retVal;
}
/**
* Returns
* RXE-30: "Dispense Package Method" - creates it if necessary
*/
public ID getDispensePackageMethod() {
ID retVal = this.getTypedField(30, 0);
return retVal;
}
/**
* Returns
* RXE-30: "Dispense Package Method" - creates it if necessary
*/
public ID getRxe30_DispensePackageMethod() {
ID retVal = this.getTypedField(30, 0);
return retVal;
}
/** {@inheritDoc} */
protected Type createNewTypeWithoutReflection(int field) {
switch (field) {
case 0: return new TQ(getMessage());
case 1: return new CE(getMessage());
case 2: return new NM(getMessage());
case 3: return new NM(getMessage());
case 4: return new CE(getMessage());
case 5: return new CE(getMessage());
case 6: return new CE(getMessage());
case 7: return new CM_LA1(getMessage());
case 8: return new ID(getMessage(), new Integer( 167 ));
case 9: return new NM(getMessage());
case 10: return new CE(getMessage());
case 11: return new NM(getMessage());
case 12: return new CN(getMessage());
case 13: return new CN(getMessage());
case 14: return new ST(getMessage());
case 15: return new NM(getMessage());
case 16: return new NM(getMessage());
case 17: return new TS(getMessage());
case 18: return new CQ(getMessage());
case 19: return new ID(getMessage(), new Integer( 136 ));
case 20: return new CE(getMessage());
case 21: return new ST(getMessage());
case 22: return new ST(getMessage());
case 23: return new CE(getMessage());
case 24: return new NM(getMessage());
case 25: return new CE(getMessage());
case 26: return new CE(getMessage());
case 27: return new NM(getMessage());
case 28: return new CE(getMessage());
case 29: return new ID(getMessage(), new Integer( 321 ));
default: return null;
}
}
}