All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ca.uhn.hl7v2.model.v24.segment.ARQ Maven / Gradle / Ivy

There is a newer version: 2.5.1
Show 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.v24.segment;

// import ca.uhn.hl7v2.model.v24.group.*;
import ca.uhn.hl7v2.model.v24.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 ARQ message segment (Appointment Request). * This segment has the following fields:

*
    *
  • ARQ-1: Placer Appointment ID (EI) *
  • ARQ-2: Filler Appointment ID (EI) optional *
  • ARQ-3: Occurrence Number (NM) optional *
  • ARQ-4: Placer Group Number (EI) optional *
  • ARQ-5: Schedule ID (CE) optional *
  • ARQ-6: Request Event Reason (CE) optional *
  • ARQ-7: Appointment Reason (CE) optional *
  • ARQ-8: Appointment Type (CE) optional *
  • ARQ-9: Appointment Duration (NM) optional *
  • ARQ-10: Appointment Duration Units (CE) optional *
  • ARQ-11: Requested Start Date/Time Range (DR) optional repeating *
  • ARQ-12: Priority-ARQ (ST) optional *
  • ARQ-13: Repeating Interval (RI) optional *
  • ARQ-14: Repeating Interval Duration (ST) optional *
  • ARQ-15: Placer Contact Person (XCN) repeating *
  • ARQ-16: Placer Contact Phone Number (XTN) optional repeating *
  • ARQ-17: Placer Contact Address (XAD) optional repeating *
  • ARQ-18: Placer Contact Location (PL) optional *
  • ARQ-19: Entered By Person (XCN) repeating *
  • ARQ-20: Entered By Phone Number (XTN) optional repeating *
  • ARQ-21: Entered by Location (PL) optional *
  • ARQ-22: Parent Placer Appointment ID (EI) optional *
  • ARQ-23: Parent Filler Appointment ID (EI) optional *
  • ARQ-24: Placer Order Number (EI) optional repeating *
  • ARQ-25: Filler Order Number (EI) optional repeating *
*/ @SuppressWarnings("unused") public class ARQ extends AbstractSegment { /** * Creates a new ARQ segment */ public ARQ(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); } private void init(ModelClassFactory factory) { try { this.add(EI.class, true, 1, 75, new Object[]{ getMessage() }, "Placer Appointment ID"); this.add(EI.class, false, 1, 75, new Object[]{ getMessage() }, "Filler Appointment ID"); this.add(NM.class, false, 1, 5, new Object[]{ getMessage() }, "Occurrence Number"); this.add(EI.class, false, 1, 22, new Object[]{ getMessage() }, "Placer Group Number"); this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Schedule ID"); this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Request Event Reason"); this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Appointment Reason"); this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Appointment Type"); this.add(NM.class, false, 1, 20, new Object[]{ getMessage() }, "Appointment Duration"); this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Appointment Duration Units"); this.add(DR.class, false, 0, 53, new Object[]{ getMessage() }, "Requested Start Date/Time Range"); this.add(ST.class, false, 1, 5, new Object[]{ getMessage() }, "Priority-ARQ"); this.add(RI.class, false, 1, 100, new Object[]{ getMessage() }, "Repeating Interval"); this.add(ST.class, false, 1, 5, new Object[]{ getMessage() }, "Repeating Interval Duration"); this.add(XCN.class, true, 0, 250, new Object[]{ getMessage() }, "Placer Contact Person"); this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Placer Contact Phone Number"); this.add(XAD.class, false, 0, 250, new Object[]{ getMessage() }, "Placer Contact Address"); this.add(PL.class, false, 1, 80, new Object[]{ getMessage() }, "Placer Contact Location"); this.add(XCN.class, true, 0, 250, new Object[]{ getMessage() }, "Entered By Person"); this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Entered By Phone Number"); this.add(PL.class, false, 1, 80, new Object[]{ getMessage() }, "Entered by Location"); this.add(EI.class, false, 1, 75, new Object[]{ getMessage() }, "Parent Placer Appointment ID"); this.add(EI.class, false, 1, 75, new Object[]{ getMessage() }, "Parent Filler Appointment ID"); this.add(EI.class, false, 0, 22, new Object[]{ getMessage() }, "Placer Order Number"); this.add(EI.class, false, 0, 22, new Object[]{ getMessage() }, "Filler Order Number"); } catch(HL7Exception e) { log.error("Unexpected error creating ARQ - this is probably a bug in the source code generator.", e); } } /** * Returns * ARQ-1: "Placer Appointment ID" - creates it if necessary */ public EI getPlacerAppointmentID() { EI retVal = this.getTypedField(1, 0); return retVal; } /** * Returns * ARQ-1: "Placer Appointment ID" - creates it if necessary */ public EI getArq1_PlacerAppointmentID() { EI retVal = this.getTypedField(1, 0); return retVal; } /** * Returns * ARQ-2: "Filler Appointment ID" - creates it if necessary */ public EI getFillerAppointmentID() { EI retVal = this.getTypedField(2, 0); return retVal; } /** * Returns * ARQ-2: "Filler Appointment ID" - creates it if necessary */ public EI getArq2_FillerAppointmentID() { EI retVal = this.getTypedField(2, 0); return retVal; } /** * Returns * ARQ-3: "Occurrence Number" - creates it if necessary */ public NM getOccurrenceNumber() { NM retVal = this.getTypedField(3, 0); return retVal; } /** * Returns * ARQ-3: "Occurrence Number" - creates it if necessary */ public NM getArq3_OccurrenceNumber() { NM retVal = this.getTypedField(3, 0); return retVal; } /** * Returns * ARQ-4: "Placer Group Number" - creates it if necessary */ public EI getPlacerGroupNumber() { EI retVal = this.getTypedField(4, 0); return retVal; } /** * Returns * ARQ-4: "Placer Group Number" - creates it if necessary */ public EI getArq4_PlacerGroupNumber() { EI retVal = this.getTypedField(4, 0); return retVal; } /** * Returns * ARQ-5: "Schedule ID" - creates it if necessary */ public CE getScheduleID() { CE retVal = this.getTypedField(5, 0); return retVal; } /** * Returns * ARQ-5: "Schedule ID" - creates it if necessary */ public CE getArq5_ScheduleID() { CE retVal = this.getTypedField(5, 0); return retVal; } /** * Returns * ARQ-6: "Request Event Reason" - creates it if necessary */ public CE getRequestEventReason() { CE retVal = this.getTypedField(6, 0); return retVal; } /** * Returns * ARQ-6: "Request Event Reason" - creates it if necessary */ public CE getArq6_RequestEventReason() { CE retVal = this.getTypedField(6, 0); return retVal; } /** * Returns * ARQ-7: "Appointment Reason" - creates it if necessary */ public CE getAppointmentReason() { CE retVal = this.getTypedField(7, 0); return retVal; } /** * Returns * ARQ-7: "Appointment Reason" - creates it if necessary */ public CE getArq7_AppointmentReason() { CE retVal = this.getTypedField(7, 0); return retVal; } /** * Returns * ARQ-8: "Appointment Type" - creates it if necessary */ public CE getAppointmentType() { CE retVal = this.getTypedField(8, 0); return retVal; } /** * Returns * ARQ-8: "Appointment Type" - creates it if necessary */ public CE getArq8_AppointmentType() { CE retVal = this.getTypedField(8, 0); return retVal; } /** * Returns * ARQ-9: "Appointment Duration" - creates it if necessary */ public NM getAppointmentDuration() { NM retVal = this.getTypedField(9, 0); return retVal; } /** * Returns * ARQ-9: "Appointment Duration" - creates it if necessary */ public NM getArq9_AppointmentDuration() { NM retVal = this.getTypedField(9, 0); return retVal; } /** * Returns * ARQ-10: "Appointment Duration Units" - creates it if necessary */ public CE getAppointmentDurationUnits() { CE retVal = this.getTypedField(10, 0); return retVal; } /** * Returns * ARQ-10: "Appointment Duration Units" - creates it if necessary */ public CE getArq10_AppointmentDurationUnits() { CE retVal = this.getTypedField(10, 0); return retVal; } /** * Returns all repetitions of Requested Start Date/Time Range (ARQ-11). */ public DR[] getRequestedStartDateTimeRange() { DR[] retVal = this.getTypedField(11, new DR[0]); return retVal; } /** * Returns all repetitions of Requested Start Date/Time Range (ARQ-11). */ public DR[] getArq11_RequestedStartDateTimeRange() { DR[] retVal = this.getTypedField(11, new DR[0]); return retVal; } /** * Returns a count of the current number of repetitions of Requested Start Date/Time Range (ARQ-11). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getRequestedStartDateTimeRangeReps() { return this.getReps(11); } /** * Returns a specific repetition of * ARQ-11: "Requested Start Date/Time Range" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public DR getRequestedStartDateTimeRange(int rep) { DR retVal = this.getTypedField(11, rep); return retVal; } /** * Returns a specific repetition of * ARQ-11: "Requested Start Date/Time Range" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public DR getArq11_RequestedStartDateTimeRange(int rep) { DR retVal = this.getTypedField(11, rep); return retVal; } /** * Returns a count of the current number of repetitions of Requested Start Date/Time Range (ARQ-11). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getArq11_RequestedStartDateTimeRangeReps() { return this.getReps(11); } /** * Inserts a repetition of * ARQ-11: "Requested Start Date/Time Range" 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 DR insertRequestedStartDateTimeRange(int rep) throws HL7Exception { return (DR) super.insertRepetition(11, rep); } /** * Inserts a repetition of * ARQ-11: "Requested Start Date/Time Range" 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 DR insertArq11_RequestedStartDateTimeRange(int rep) throws HL7Exception { return (DR) super.insertRepetition(11, rep); } /** * Removes a repetition of * ARQ-11: "Requested Start Date/Time Range" 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 DR removeRequestedStartDateTimeRange(int rep) throws HL7Exception { return (DR) super.removeRepetition(11, rep); } /** * Removes a repetition of * ARQ-11: "Requested Start Date/Time Range" 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 DR removeArq11_RequestedStartDateTimeRange(int rep) throws HL7Exception { return (DR) super.removeRepetition(11, rep); } /** * Returns * ARQ-12: "Priority-ARQ" - creates it if necessary */ public ST getPriorityARQ() { ST retVal = this.getTypedField(12, 0); return retVal; } /** * Returns * ARQ-12: "Priority-ARQ" - creates it if necessary */ public ST getArq12_PriorityARQ() { ST retVal = this.getTypedField(12, 0); return retVal; } /** * Returns * ARQ-13: "Repeating Interval" - creates it if necessary */ public RI getRepeatingInterval() { RI retVal = this.getTypedField(13, 0); return retVal; } /** * Returns * ARQ-13: "Repeating Interval" - creates it if necessary */ public RI getArq13_RepeatingInterval() { RI retVal = this.getTypedField(13, 0); return retVal; } /** * Returns * ARQ-14: "Repeating Interval Duration" - creates it if necessary */ public ST getRepeatingIntervalDuration() { ST retVal = this.getTypedField(14, 0); return retVal; } /** * Returns * ARQ-14: "Repeating Interval Duration" - creates it if necessary */ public ST getArq14_RepeatingIntervalDuration() { ST retVal = this.getTypedField(14, 0); return retVal; } /** * Returns all repetitions of Placer Contact Person (ARQ-15). */ public XCN[] getPlacerContactPerson() { XCN[] retVal = this.getTypedField(15, new XCN[0]); return retVal; } /** * Returns all repetitions of Placer Contact Person (ARQ-15). */ public XCN[] getArq15_PlacerContactPerson() { XCN[] retVal = this.getTypedField(15, new XCN[0]); return retVal; } /** * Returns a count of the current number of repetitions of Placer Contact Person (ARQ-15). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getPlacerContactPersonReps() { return this.getReps(15); } /** * Returns a specific repetition of * ARQ-15: "Placer Contact Person" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XCN getPlacerContactPerson(int rep) { XCN retVal = this.getTypedField(15, rep); return retVal; } /** * Returns a specific repetition of * ARQ-15: "Placer Contact Person" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XCN getArq15_PlacerContactPerson(int rep) { XCN retVal = this.getTypedField(15, rep); return retVal; } /** * Returns a count of the current number of repetitions of Placer Contact Person (ARQ-15). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getArq15_PlacerContactPersonReps() { return this.getReps(15); } /** * Inserts a repetition of * ARQ-15: "Placer Contact Person" 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 XCN insertPlacerContactPerson(int rep) throws HL7Exception { return (XCN) super.insertRepetition(15, rep); } /** * Inserts a repetition of * ARQ-15: "Placer Contact Person" 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 XCN insertArq15_PlacerContactPerson(int rep) throws HL7Exception { return (XCN) super.insertRepetition(15, rep); } /** * Removes a repetition of * ARQ-15: "Placer Contact Person" 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 XCN removePlacerContactPerson(int rep) throws HL7Exception { return (XCN) super.removeRepetition(15, rep); } /** * Removes a repetition of * ARQ-15: "Placer Contact Person" 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 XCN removeArq15_PlacerContactPerson(int rep) throws HL7Exception { return (XCN) super.removeRepetition(15, rep); } /** * Returns all repetitions of Placer Contact Phone Number (ARQ-16). */ public XTN[] getPlacerContactPhoneNumber() { XTN[] retVal = this.getTypedField(16, new XTN[0]); return retVal; } /** * Returns all repetitions of Placer Contact Phone Number (ARQ-16). */ public XTN[] getArq16_PlacerContactPhoneNumber() { XTN[] retVal = this.getTypedField(16, new XTN[0]); return retVal; } /** * Returns a count of the current number of repetitions of Placer Contact Phone Number (ARQ-16). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getPlacerContactPhoneNumberReps() { return this.getReps(16); } /** * Returns a specific repetition of * ARQ-16: "Placer Contact Phone Number" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XTN getPlacerContactPhoneNumber(int rep) { XTN retVal = this.getTypedField(16, rep); return retVal; } /** * Returns a specific repetition of * ARQ-16: "Placer Contact Phone Number" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XTN getArq16_PlacerContactPhoneNumber(int rep) { XTN retVal = this.getTypedField(16, rep); return retVal; } /** * Returns a count of the current number of repetitions of Placer Contact Phone Number (ARQ-16). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getArq16_PlacerContactPhoneNumberReps() { return this.getReps(16); } /** * Inserts a repetition of * ARQ-16: "Placer Contact Phone Number" 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 XTN insertPlacerContactPhoneNumber(int rep) throws HL7Exception { return (XTN) super.insertRepetition(16, rep); } /** * Inserts a repetition of * ARQ-16: "Placer Contact Phone Number" 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 XTN insertArq16_PlacerContactPhoneNumber(int rep) throws HL7Exception { return (XTN) super.insertRepetition(16, rep); } /** * Removes a repetition of * ARQ-16: "Placer Contact Phone Number" 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 XTN removePlacerContactPhoneNumber(int rep) throws HL7Exception { return (XTN) super.removeRepetition(16, rep); } /** * Removes a repetition of * ARQ-16: "Placer Contact Phone Number" 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 XTN removeArq16_PlacerContactPhoneNumber(int rep) throws HL7Exception { return (XTN) super.removeRepetition(16, rep); } /** * Returns all repetitions of Placer Contact Address (ARQ-17). */ public XAD[] getPlacerContactAddress() { XAD[] retVal = this.getTypedField(17, new XAD[0]); return retVal; } /** * Returns all repetitions of Placer Contact Address (ARQ-17). */ public XAD[] getArq17_PlacerContactAddress() { XAD[] retVal = this.getTypedField(17, new XAD[0]); return retVal; } /** * Returns a count of the current number of repetitions of Placer Contact Address (ARQ-17). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getPlacerContactAddressReps() { return this.getReps(17); } /** * Returns a specific repetition of * ARQ-17: "Placer Contact Address" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XAD getPlacerContactAddress(int rep) { XAD retVal = this.getTypedField(17, rep); return retVal; } /** * Returns a specific repetition of * ARQ-17: "Placer Contact Address" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XAD getArq17_PlacerContactAddress(int rep) { XAD retVal = this.getTypedField(17, rep); return retVal; } /** * Returns a count of the current number of repetitions of Placer Contact Address (ARQ-17). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getArq17_PlacerContactAddressReps() { return this.getReps(17); } /** * Inserts a repetition of * ARQ-17: "Placer Contact Address" 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 XAD insertPlacerContactAddress(int rep) throws HL7Exception { return (XAD) super.insertRepetition(17, rep); } /** * Inserts a repetition of * ARQ-17: "Placer Contact Address" 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 XAD insertArq17_PlacerContactAddress(int rep) throws HL7Exception { return (XAD) super.insertRepetition(17, rep); } /** * Removes a repetition of * ARQ-17: "Placer Contact Address" 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 XAD removePlacerContactAddress(int rep) throws HL7Exception { return (XAD) super.removeRepetition(17, rep); } /** * Removes a repetition of * ARQ-17: "Placer Contact Address" 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 XAD removeArq17_PlacerContactAddress(int rep) throws HL7Exception { return (XAD) super.removeRepetition(17, rep); } /** * Returns * ARQ-18: "Placer Contact Location" - creates it if necessary */ public PL getPlacerContactLocation() { PL retVal = this.getTypedField(18, 0); return retVal; } /** * Returns * ARQ-18: "Placer Contact Location" - creates it if necessary */ public PL getArq18_PlacerContactLocation() { PL retVal = this.getTypedField(18, 0); return retVal; } /** * Returns all repetitions of Entered By Person (ARQ-19). */ public XCN[] getEnteredByPerson() { XCN[] retVal = this.getTypedField(19, new XCN[0]); return retVal; } /** * Returns all repetitions of Entered By Person (ARQ-19). */ public XCN[] getArq19_EnteredByPerson() { XCN[] retVal = this.getTypedField(19, new XCN[0]); return retVal; } /** * Returns a count of the current number of repetitions of Entered By Person (ARQ-19). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getEnteredByPersonReps() { return this.getReps(19); } /** * Returns a specific repetition of * ARQ-19: "Entered By Person" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XCN getEnteredByPerson(int rep) { XCN retVal = this.getTypedField(19, rep); return retVal; } /** * Returns a specific repetition of * ARQ-19: "Entered By Person" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XCN getArq19_EnteredByPerson(int rep) { XCN retVal = this.getTypedField(19, rep); return retVal; } /** * Returns a count of the current number of repetitions of Entered By Person (ARQ-19). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getArq19_EnteredByPersonReps() { return this.getReps(19); } /** * Inserts a repetition of * ARQ-19: "Entered By Person" 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 XCN insertEnteredByPerson(int rep) throws HL7Exception { return (XCN) super.insertRepetition(19, rep); } /** * Inserts a repetition of * ARQ-19: "Entered By Person" 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 XCN insertArq19_EnteredByPerson(int rep) throws HL7Exception { return (XCN) super.insertRepetition(19, rep); } /** * Removes a repetition of * ARQ-19: "Entered By Person" 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 XCN removeEnteredByPerson(int rep) throws HL7Exception { return (XCN) super.removeRepetition(19, rep); } /** * Removes a repetition of * ARQ-19: "Entered By Person" 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 XCN removeArq19_EnteredByPerson(int rep) throws HL7Exception { return (XCN) super.removeRepetition(19, rep); } /** * Returns all repetitions of Entered By Phone Number (ARQ-20). */ public XTN[] getEnteredByPhoneNumber() { XTN[] retVal = this.getTypedField(20, new XTN[0]); return retVal; } /** * Returns all repetitions of Entered By Phone Number (ARQ-20). */ public XTN[] getArq20_EnteredByPhoneNumber() { XTN[] retVal = this.getTypedField(20, new XTN[0]); return retVal; } /** * Returns a count of the current number of repetitions of Entered By Phone Number (ARQ-20). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getEnteredByPhoneNumberReps() { return this.getReps(20); } /** * Returns a specific repetition of * ARQ-20: "Entered By Phone Number" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XTN getEnteredByPhoneNumber(int rep) { XTN retVal = this.getTypedField(20, rep); return retVal; } /** * Returns a specific repetition of * ARQ-20: "Entered By Phone Number" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XTN getArq20_EnteredByPhoneNumber(int rep) { XTN retVal = this.getTypedField(20, rep); return retVal; } /** * Returns a count of the current number of repetitions of Entered By Phone Number (ARQ-20). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getArq20_EnteredByPhoneNumberReps() { return this.getReps(20); } /** * Inserts a repetition of * ARQ-20: "Entered By Phone Number" 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 XTN insertEnteredByPhoneNumber(int rep) throws HL7Exception { return (XTN) super.insertRepetition(20, rep); } /** * Inserts a repetition of * ARQ-20: "Entered By Phone Number" 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 XTN insertArq20_EnteredByPhoneNumber(int rep) throws HL7Exception { return (XTN) super.insertRepetition(20, rep); } /** * Removes a repetition of * ARQ-20: "Entered By Phone Number" 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 XTN removeEnteredByPhoneNumber(int rep) throws HL7Exception { return (XTN) super.removeRepetition(20, rep); } /** * Removes a repetition of * ARQ-20: "Entered By Phone Number" 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 XTN removeArq20_EnteredByPhoneNumber(int rep) throws HL7Exception { return (XTN) super.removeRepetition(20, rep); } /** * Returns * ARQ-21: "Entered by Location" - creates it if necessary */ public PL getEnteredByLocation() { PL retVal = this.getTypedField(21, 0); return retVal; } /** * Returns * ARQ-21: "Entered by Location" - creates it if necessary */ public PL getArq21_EnteredByLocation() { PL retVal = this.getTypedField(21, 0); return retVal; } /** * Returns * ARQ-22: "Parent Placer Appointment ID" - creates it if necessary */ public EI getParentPlacerAppointmentID() { EI retVal = this.getTypedField(22, 0); return retVal; } /** * Returns * ARQ-22: "Parent Placer Appointment ID" - creates it if necessary */ public EI getArq22_ParentPlacerAppointmentID() { EI retVal = this.getTypedField(22, 0); return retVal; } /** * Returns * ARQ-23: "Parent Filler Appointment ID" - creates it if necessary */ public EI getParentFillerAppointmentID() { EI retVal = this.getTypedField(23, 0); return retVal; } /** * Returns * ARQ-23: "Parent Filler Appointment ID" - creates it if necessary */ public EI getArq23_ParentFillerAppointmentID() { EI retVal = this.getTypedField(23, 0); return retVal; } /** * Returns all repetitions of Placer Order Number (ARQ-24). */ public EI[] getPlacerOrderNumber() { EI[] retVal = this.getTypedField(24, new EI[0]); return retVal; } /** * Returns all repetitions of Placer Order Number (ARQ-24). */ public EI[] getArq24_PlacerOrderNumber() { EI[] retVal = this.getTypedField(24, new EI[0]); return retVal; } /** * Returns a count of the current number of repetitions of Placer Order Number (ARQ-24). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getPlacerOrderNumberReps() { return this.getReps(24); } /** * Returns a specific repetition of * ARQ-24: "Placer Order Number" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public EI getPlacerOrderNumber(int rep) { EI retVal = this.getTypedField(24, rep); return retVal; } /** * Returns a specific repetition of * ARQ-24: "Placer Order Number" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public EI getArq24_PlacerOrderNumber(int rep) { EI retVal = this.getTypedField(24, rep); return retVal; } /** * Returns a count of the current number of repetitions of Placer Order Number (ARQ-24). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getArq24_PlacerOrderNumberReps() { return this.getReps(24); } /** * Inserts a repetition of * ARQ-24: "Placer Order Number" 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 EI insertPlacerOrderNumber(int rep) throws HL7Exception { return (EI) super.insertRepetition(24, rep); } /** * Inserts a repetition of * ARQ-24: "Placer Order Number" 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 EI insertArq24_PlacerOrderNumber(int rep) throws HL7Exception { return (EI) super.insertRepetition(24, rep); } /** * Removes a repetition of * ARQ-24: "Placer Order Number" 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 EI removePlacerOrderNumber(int rep) throws HL7Exception { return (EI) super.removeRepetition(24, rep); } /** * Removes a repetition of * ARQ-24: "Placer Order Number" 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 EI removeArq24_PlacerOrderNumber(int rep) throws HL7Exception { return (EI) super.removeRepetition(24, rep); } /** * Returns all repetitions of Filler Order Number (ARQ-25). */ public EI[] getFillerOrderNumber() { EI[] retVal = this.getTypedField(25, new EI[0]); return retVal; } /** * Returns all repetitions of Filler Order Number (ARQ-25). */ public EI[] getArq25_FillerOrderNumber() { EI[] retVal = this.getTypedField(25, new EI[0]); return retVal; } /** * Returns a count of the current number of repetitions of Filler Order Number (ARQ-25). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getFillerOrderNumberReps() { return this.getReps(25); } /** * Returns a specific repetition of * ARQ-25: "Filler Order Number" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public EI getFillerOrderNumber(int rep) { EI retVal = this.getTypedField(25, rep); return retVal; } /** * Returns a specific repetition of * ARQ-25: "Filler Order Number" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public EI getArq25_FillerOrderNumber(int rep) { EI retVal = this.getTypedField(25, rep); return retVal; } /** * Returns a count of the current number of repetitions of Filler Order Number (ARQ-25). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getArq25_FillerOrderNumberReps() { return this.getReps(25); } /** * Inserts a repetition of * ARQ-25: "Filler Order Number" 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 EI insertFillerOrderNumber(int rep) throws HL7Exception { return (EI) super.insertRepetition(25, rep); } /** * Inserts a repetition of * ARQ-25: "Filler Order Number" 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 EI insertArq25_FillerOrderNumber(int rep) throws HL7Exception { return (EI) super.insertRepetition(25, rep); } /** * Removes a repetition of * ARQ-25: "Filler Order Number" 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 EI removeFillerOrderNumber(int rep) throws HL7Exception { return (EI) super.removeRepetition(25, rep); } /** * Removes a repetition of * ARQ-25: "Filler Order Number" 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 EI removeArq25_FillerOrderNumber(int rep) throws HL7Exception { return (EI) super.removeRepetition(25, rep); } /** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new EI(getMessage()); case 1: return new EI(getMessage()); case 2: return new NM(getMessage()); case 3: return new EI(getMessage()); case 4: return new CE(getMessage()); case 5: return new CE(getMessage()); case 6: return new CE(getMessage()); case 7: return new CE(getMessage()); case 8: return new NM(getMessage()); case 9: return new CE(getMessage()); case 10: return new DR(getMessage()); case 11: return new ST(getMessage()); case 12: return new RI(getMessage()); case 13: return new ST(getMessage()); case 14: return new XCN(getMessage()); case 15: return new XTN(getMessage()); case 16: return new XAD(getMessage()); case 17: return new PL(getMessage()); case 18: return new XCN(getMessage()); case 19: return new XTN(getMessage()); case 20: return new PL(getMessage()); case 21: return new EI(getMessage()); case 22: return new EI(getMessage()); case 23: return new EI(getMessage()); case 24: return new EI(getMessage()); default: return null; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy