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

ca.uhn.hl7v2.model.v231.segment.STF 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.v231.segment;

// import ca.uhn.hl7v2.model.v231.group.*;
import ca.uhn.hl7v2.model.v231.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 STF message segment (STF - staff identification segment). * This segment has the following fields:

*
    *
  • STF-1: Primary Key Value - STF (CE) *
  • STF-2: Staff ID Code (CX) optional repeating *
  • STF-3: Staff Name (XPN) optional repeating *
  • STF-4: Staff Type (IS) optional repeating *
  • STF-5: Sex (IS) optional *
  • STF-6: Date/Time Of Birth (TS) optional *
  • STF-7: Active/Inactive Flag (ID) optional *
  • STF-8: Department (CE) optional repeating *
  • STF-9: Hospital Service (CE) optional repeating *
  • STF-10: Phone (XTN) optional repeating *
  • STF-11: Office/Home Address (XAD) optional repeating *
  • STF-12: Institution Activation Date (DIN) optional repeating *
  • STF-13: Institution Inactivation Date (DIN) optional repeating *
  • STF-14: Backup Person ID (CE) optional repeating *
  • STF-15: E-Mail Address (ST) optional repeating *
  • STF-16: Preferred Method Of Contact (CE) optional *
  • STF-17: Marital Status (CE) optional *
  • STF-18: Job Title (ST) optional *
  • STF-19: Job Code/Class (JCC) optional *
  • STF-20: Employment Status (IS) optional *
  • STF-21: Additional Insured on Auto (ID) optional *
  • STF-22: Driver’s License Number - Staff (DLN) optional *
  • STF-23: Copy Auto Ins (ID) optional *
  • STF-24: Auto Ins. Expires (DT) optional *
  • STF-25: Date Last DMV Review (DT) optional *
  • STF-26: Date Next DMV Review (DT) optional *
*/ @SuppressWarnings("unused") public class STF extends AbstractSegment { /** * Creates a new STF segment */ public STF(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); } private void init(ModelClassFactory factory) { try { this.add(CE.class, true, 1, 60, new Object[]{ getMessage() }, "Primary Key Value - STF"); this.add(CX.class, false, 0, 60, new Object[]{ getMessage() }, "Staff ID Code"); this.add(XPN.class, false, 0, 48, new Object[]{ getMessage() }, "Staff Name"); this.add(IS.class, false, 0, 2, new Object[]{ getMessage(), new Integer(182) }, "Staff Type"); this.add(IS.class, false, 1, 1, new Object[]{ getMessage(), new Integer(1) }, "Sex"); this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Date/Time Of Birth"); this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(183) }, "Active/Inactive Flag"); this.add(CE.class, false, 0, 200, new Object[]{ getMessage() }, "Department"); this.add(CE.class, false, 0, 200, new Object[]{ getMessage() }, "Hospital Service"); this.add(XTN.class, false, 0, 40, new Object[]{ getMessage() }, "Phone"); this.add(XAD.class, false, 0, 106, new Object[]{ getMessage() }, "Office/Home Address"); this.add(DIN.class, false, 0, 26, new Object[]{ getMessage() }, "Institution Activation Date"); this.add(DIN.class, false, 0, 26, new Object[]{ getMessage() }, "Institution Inactivation Date"); this.add(CE.class, false, 0, 60, new Object[]{ getMessage() }, "Backup Person ID"); this.add(ST.class, false, 0, 40, new Object[]{ getMessage() }, "E-Mail Address"); this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Preferred Method Of Contact"); this.add(CE.class, false, 1, 80, new Object[]{ getMessage() }, "Marital Status"); this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Job Title"); this.add(JCC.class, false, 1, 20, new Object[]{ getMessage() }, "Job Code/Class"); this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(66) }, "Employment Status"); this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Additional Insured on Auto"); this.add(DLN.class, false, 1, 25, new Object[]{ getMessage() }, "Driver’s License Number - Staff"); this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Copy Auto Ins"); this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Auto Ins. Expires"); this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Date Last DMV Review"); this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Date Next DMV Review"); } catch(HL7Exception e) { log.error("Unexpected error creating STF - this is probably a bug in the source code generator.", e); } } /** * Returns * STF-1: "Primary Key Value - STF" - creates it if necessary */ public CE getPrimaryKeyValueSTF() { CE retVal = this.getTypedField(1, 0); return retVal; } /** * Returns * STF-1: "Primary Key Value - STF" - creates it if necessary */ public CE getStf1_PrimaryKeyValueSTF() { CE retVal = this.getTypedField(1, 0); return retVal; } /** * Returns all repetitions of Staff ID Code (STF-2). */ public CX[] getStaffIDCode() { CX[] retVal = this.getTypedField(2, new CX[0]); return retVal; } /** * Returns all repetitions of Staff ID Code (STF-2). */ public CX[] getStf2_StaffIDCode() { CX[] retVal = this.getTypedField(2, new CX[0]); return retVal; } /** * Returns a count of the current number of repetitions of Staff ID Code (STF-2). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getStaffIDCodeReps() { return this.getReps(2); } /** * Returns a specific repetition of * STF-2: "Staff ID Code" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public CX getStaffIDCode(int rep) { CX retVal = this.getTypedField(2, rep); return retVal; } /** * Returns a specific repetition of * STF-2: "Staff ID Code" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public CX getStf2_StaffIDCode(int rep) { CX retVal = this.getTypedField(2, rep); return retVal; } /** * Returns a count of the current number of repetitions of Staff ID Code (STF-2). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getStf2_StaffIDCodeReps() { return this.getReps(2); } /** * Inserts a repetition of * STF-2: "Staff ID Code" 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 CX insertStaffIDCode(int rep) throws HL7Exception { return (CX) super.insertRepetition(2, rep); } /** * Inserts a repetition of * STF-2: "Staff ID Code" 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 CX insertStf2_StaffIDCode(int rep) throws HL7Exception { return (CX) super.insertRepetition(2, rep); } /** * Removes a repetition of * STF-2: "Staff ID Code" 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 CX removeStaffIDCode(int rep) throws HL7Exception { return (CX) super.removeRepetition(2, rep); } /** * Removes a repetition of * STF-2: "Staff ID Code" 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 CX removeStf2_StaffIDCode(int rep) throws HL7Exception { return (CX) super.removeRepetition(2, rep); } /** * Returns all repetitions of Staff Name (STF-3). */ public XPN[] getStaffName() { XPN[] retVal = this.getTypedField(3, new XPN[0]); return retVal; } /** * Returns all repetitions of Staff Name (STF-3). */ public XPN[] getStf3_StaffName() { XPN[] retVal = this.getTypedField(3, new XPN[0]); return retVal; } /** * Returns a count of the current number of repetitions of Staff Name (STF-3). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getStaffNameReps() { return this.getReps(3); } /** * Returns a specific repetition of * STF-3: "Staff Name" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XPN getStaffName(int rep) { XPN retVal = this.getTypedField(3, rep); return retVal; } /** * Returns a specific repetition of * STF-3: "Staff Name" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XPN getStf3_StaffName(int rep) { XPN retVal = this.getTypedField(3, rep); return retVal; } /** * Returns a count of the current number of repetitions of Staff Name (STF-3). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getStf3_StaffNameReps() { return this.getReps(3); } /** * Inserts a repetition of * STF-3: "Staff Name" 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 XPN insertStaffName(int rep) throws HL7Exception { return (XPN) super.insertRepetition(3, rep); } /** * Inserts a repetition of * STF-3: "Staff Name" 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 XPN insertStf3_StaffName(int rep) throws HL7Exception { return (XPN) super.insertRepetition(3, rep); } /** * Removes a repetition of * STF-3: "Staff Name" 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 XPN removeStaffName(int rep) throws HL7Exception { return (XPN) super.removeRepetition(3, rep); } /** * Removes a repetition of * STF-3: "Staff Name" 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 XPN removeStf3_StaffName(int rep) throws HL7Exception { return (XPN) super.removeRepetition(3, rep); } /** * Returns all repetitions of Staff Type (STF-4). */ public IS[] getStaffType() { IS[] retVal = this.getTypedField(4, new IS[0]); return retVal; } /** * Returns all repetitions of Staff Type (STF-4). */ public IS[] getStf4_StaffType() { IS[] retVal = this.getTypedField(4, new IS[0]); return retVal; } /** * Returns a count of the current number of repetitions of Staff Type (STF-4). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getStaffTypeReps() { return this.getReps(4); } /** * Returns a specific repetition of * STF-4: "Staff Type" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public IS getStaffType(int rep) { IS retVal = this.getTypedField(4, rep); return retVal; } /** * Returns a specific repetition of * STF-4: "Staff Type" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public IS getStf4_StaffType(int rep) { IS retVal = this.getTypedField(4, rep); return retVal; } /** * Returns a count of the current number of repetitions of Staff Type (STF-4). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getStf4_StaffTypeReps() { return this.getReps(4); } /** * Inserts a repetition of * STF-4: "Staff Type" 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 IS insertStaffType(int rep) throws HL7Exception { return (IS) super.insertRepetition(4, rep); } /** * Inserts a repetition of * STF-4: "Staff Type" 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 IS insertStf4_StaffType(int rep) throws HL7Exception { return (IS) super.insertRepetition(4, rep); } /** * Removes a repetition of * STF-4: "Staff Type" 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 IS removeStaffType(int rep) throws HL7Exception { return (IS) super.removeRepetition(4, rep); } /** * Removes a repetition of * STF-4: "Staff Type" 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 IS removeStf4_StaffType(int rep) throws HL7Exception { return (IS) super.removeRepetition(4, rep); } /** * Returns * STF-5: "Sex" - creates it if necessary */ public IS getSex() { IS retVal = this.getTypedField(5, 0); return retVal; } /** * Returns * STF-5: "Sex" - creates it if necessary */ public IS getStf5_Sex() { IS retVal = this.getTypedField(5, 0); return retVal; } /** * Returns * STF-6: "Date/Time Of Birth" - creates it if necessary */ public TS getDateTimeOfBirth() { TS retVal = this.getTypedField(6, 0); return retVal; } /** * Returns * STF-6: "Date/Time Of Birth" - creates it if necessary */ public TS getStf6_DateTimeOfBirth() { TS retVal = this.getTypedField(6, 0); return retVal; } /** * Returns * STF-7: "Active/Inactive Flag" - creates it if necessary */ public ID getActiveInactiveFlag() { ID retVal = this.getTypedField(7, 0); return retVal; } /** * Returns * STF-7: "Active/Inactive Flag" - creates it if necessary */ public ID getStf7_ActiveInactiveFlag() { ID retVal = this.getTypedField(7, 0); return retVal; } /** * Returns all repetitions of Department (STF-8). */ public CE[] getDepartment() { CE[] retVal = this.getTypedField(8, new CE[0]); return retVal; } /** * Returns all repetitions of Department (STF-8). */ public CE[] getStf8_Department() { CE[] retVal = this.getTypedField(8, new CE[0]); return retVal; } /** * Returns a count of the current number of repetitions of Department (STF-8). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getDepartmentReps() { return this.getReps(8); } /** * Returns a specific repetition of * STF-8: "Department" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public CE getDepartment(int rep) { CE retVal = this.getTypedField(8, rep); return retVal; } /** * Returns a specific repetition of * STF-8: "Department" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public CE getStf8_Department(int rep) { CE retVal = this.getTypedField(8, rep); return retVal; } /** * Returns a count of the current number of repetitions of Department (STF-8). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getStf8_DepartmentReps() { return this.getReps(8); } /** * Inserts a repetition of * STF-8: "Department" 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 insertDepartment(int rep) throws HL7Exception { return (CE) super.insertRepetition(8, rep); } /** * Inserts a repetition of * STF-8: "Department" 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 insertStf8_Department(int rep) throws HL7Exception { return (CE) super.insertRepetition(8, rep); } /** * Removes a repetition of * STF-8: "Department" 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 removeDepartment(int rep) throws HL7Exception { return (CE) super.removeRepetition(8, rep); } /** * Removes a repetition of * STF-8: "Department" 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 removeStf8_Department(int rep) throws HL7Exception { return (CE) super.removeRepetition(8, rep); } /** * Returns all repetitions of Hospital Service (STF-9). */ public CE[] getHospitalService() { CE[] retVal = this.getTypedField(9, new CE[0]); return retVal; } /** * Returns all repetitions of Hospital Service (STF-9). */ public CE[] getStf9_HospitalService() { CE[] retVal = this.getTypedField(9, new CE[0]); return retVal; } /** * Returns a count of the current number of repetitions of Hospital Service (STF-9). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getHospitalServiceReps() { return this.getReps(9); } /** * Returns a specific repetition of * STF-9: "Hospital Service" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public CE getHospitalService(int rep) { CE retVal = this.getTypedField(9, rep); return retVal; } /** * Returns a specific repetition of * STF-9: "Hospital Service" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public CE getStf9_HospitalService(int rep) { CE retVal = this.getTypedField(9, rep); return retVal; } /** * Returns a count of the current number of repetitions of Hospital Service (STF-9). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getStf9_HospitalServiceReps() { return this.getReps(9); } /** * Inserts a repetition of * STF-9: "Hospital Service" 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 insertHospitalService(int rep) throws HL7Exception { return (CE) super.insertRepetition(9, rep); } /** * Inserts a repetition of * STF-9: "Hospital Service" 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 insertStf9_HospitalService(int rep) throws HL7Exception { return (CE) super.insertRepetition(9, rep); } /** * Removes a repetition of * STF-9: "Hospital Service" 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 removeHospitalService(int rep) throws HL7Exception { return (CE) super.removeRepetition(9, rep); } /** * Removes a repetition of * STF-9: "Hospital Service" 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 removeStf9_HospitalService(int rep) throws HL7Exception { return (CE) super.removeRepetition(9, rep); } /** * Returns all repetitions of Phone (STF-10). */ public XTN[] getPhone() { XTN[] retVal = this.getTypedField(10, new XTN[0]); return retVal; } /** * Returns all repetitions of Phone (STF-10). */ public XTN[] getStf10_Phone() { XTN[] retVal = this.getTypedField(10, new XTN[0]); return retVal; } /** * Returns a count of the current number of repetitions of Phone (STF-10). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getPhoneReps() { return this.getReps(10); } /** * Returns a specific repetition of * STF-10: "Phone" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XTN getPhone(int rep) { XTN retVal = this.getTypedField(10, rep); return retVal; } /** * Returns a specific repetition of * STF-10: "Phone" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XTN getStf10_Phone(int rep) { XTN retVal = this.getTypedField(10, rep); return retVal; } /** * Returns a count of the current number of repetitions of Phone (STF-10). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getStf10_PhoneReps() { return this.getReps(10); } /** * Inserts a repetition of * STF-10: "Phone" 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 insertPhone(int rep) throws HL7Exception { return (XTN) super.insertRepetition(10, rep); } /** * Inserts a repetition of * STF-10: "Phone" 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 insertStf10_Phone(int rep) throws HL7Exception { return (XTN) super.insertRepetition(10, rep); } /** * Removes a repetition of * STF-10: "Phone" 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 removePhone(int rep) throws HL7Exception { return (XTN) super.removeRepetition(10, rep); } /** * Removes a repetition of * STF-10: "Phone" 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 removeStf10_Phone(int rep) throws HL7Exception { return (XTN) super.removeRepetition(10, rep); } /** * Returns all repetitions of Office/Home Address (STF-11). */ public XAD[] getOfficeHomeAddress() { XAD[] retVal = this.getTypedField(11, new XAD[0]); return retVal; } /** * Returns all repetitions of Office/Home Address (STF-11). */ public XAD[] getStf11_OfficeHomeAddress() { XAD[] retVal = this.getTypedField(11, new XAD[0]); return retVal; } /** * Returns a count of the current number of repetitions of Office/Home Address (STF-11). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getOfficeHomeAddressReps() { return this.getReps(11); } /** * Returns a specific repetition of * STF-11: "Office/Home Address" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XAD getOfficeHomeAddress(int rep) { XAD retVal = this.getTypedField(11, rep); return retVal; } /** * Returns a specific repetition of * STF-11: "Office/Home Address" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XAD getStf11_OfficeHomeAddress(int rep) { XAD retVal = this.getTypedField(11, rep); return retVal; } /** * Returns a count of the current number of repetitions of Office/Home Address (STF-11). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getStf11_OfficeHomeAddressReps() { return this.getReps(11); } /** * Inserts a repetition of * STF-11: "Office/Home 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 insertOfficeHomeAddress(int rep) throws HL7Exception { return (XAD) super.insertRepetition(11, rep); } /** * Inserts a repetition of * STF-11: "Office/Home 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 insertStf11_OfficeHomeAddress(int rep) throws HL7Exception { return (XAD) super.insertRepetition(11, rep); } /** * Removes a repetition of * STF-11: "Office/Home 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 removeOfficeHomeAddress(int rep) throws HL7Exception { return (XAD) super.removeRepetition(11, rep); } /** * Removes a repetition of * STF-11: "Office/Home 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 removeStf11_OfficeHomeAddress(int rep) throws HL7Exception { return (XAD) super.removeRepetition(11, rep); } /** * Returns all repetitions of Institution Activation Date (STF-12). */ public DIN[] getInstitutionActivationDate() { DIN[] retVal = this.getTypedField(12, new DIN[0]); return retVal; } /** * Returns all repetitions of Institution Activation Date (STF-12). */ public DIN[] getStf12_InstitutionActivationDate() { DIN[] retVal = this.getTypedField(12, new DIN[0]); return retVal; } /** * Returns a count of the current number of repetitions of Institution Activation Date (STF-12). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getInstitutionActivationDateReps() { return this.getReps(12); } /** * Returns a specific repetition of * STF-12: "Institution Activation Date" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public DIN getInstitutionActivationDate(int rep) { DIN retVal = this.getTypedField(12, rep); return retVal; } /** * Returns a specific repetition of * STF-12: "Institution Activation Date" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public DIN getStf12_InstitutionActivationDate(int rep) { DIN retVal = this.getTypedField(12, rep); return retVal; } /** * Returns a count of the current number of repetitions of Institution Activation Date (STF-12). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getStf12_InstitutionActivationDateReps() { return this.getReps(12); } /** * Inserts a repetition of * STF-12: "Institution Activation Date" 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 DIN insertInstitutionActivationDate(int rep) throws HL7Exception { return (DIN) super.insertRepetition(12, rep); } /** * Inserts a repetition of * STF-12: "Institution Activation Date" 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 DIN insertStf12_InstitutionActivationDate(int rep) throws HL7Exception { return (DIN) super.insertRepetition(12, rep); } /** * Removes a repetition of * STF-12: "Institution Activation Date" 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 DIN removeInstitutionActivationDate(int rep) throws HL7Exception { return (DIN) super.removeRepetition(12, rep); } /** * Removes a repetition of * STF-12: "Institution Activation Date" 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 DIN removeStf12_InstitutionActivationDate(int rep) throws HL7Exception { return (DIN) super.removeRepetition(12, rep); } /** * Returns all repetitions of Institution Inactivation Date (STF-13). */ public DIN[] getInstitutionInactivationDate() { DIN[] retVal = this.getTypedField(13, new DIN[0]); return retVal; } /** * Returns all repetitions of Institution Inactivation Date (STF-13). */ public DIN[] getStf13_InstitutionInactivationDate() { DIN[] retVal = this.getTypedField(13, new DIN[0]); return retVal; } /** * Returns a count of the current number of repetitions of Institution Inactivation Date (STF-13). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getInstitutionInactivationDateReps() { return this.getReps(13); } /** * Returns a specific repetition of * STF-13: "Institution Inactivation Date" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public DIN getInstitutionInactivationDate(int rep) { DIN retVal = this.getTypedField(13, rep); return retVal; } /** * Returns a specific repetition of * STF-13: "Institution Inactivation Date" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public DIN getStf13_InstitutionInactivationDate(int rep) { DIN retVal = this.getTypedField(13, rep); return retVal; } /** * Returns a count of the current number of repetitions of Institution Inactivation Date (STF-13). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getStf13_InstitutionInactivationDateReps() { return this.getReps(13); } /** * Inserts a repetition of * STF-13: "Institution Inactivation Date" 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 DIN insertInstitutionInactivationDate(int rep) throws HL7Exception { return (DIN) super.insertRepetition(13, rep); } /** * Inserts a repetition of * STF-13: "Institution Inactivation Date" 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 DIN insertStf13_InstitutionInactivationDate(int rep) throws HL7Exception { return (DIN) super.insertRepetition(13, rep); } /** * Removes a repetition of * STF-13: "Institution Inactivation Date" 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 DIN removeInstitutionInactivationDate(int rep) throws HL7Exception { return (DIN) super.removeRepetition(13, rep); } /** * Removes a repetition of * STF-13: "Institution Inactivation Date" 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 DIN removeStf13_InstitutionInactivationDate(int rep) throws HL7Exception { return (DIN) super.removeRepetition(13, rep); } /** * Returns all repetitions of Backup Person ID (STF-14). */ public CE[] getBackupPersonID() { CE[] retVal = this.getTypedField(14, new CE[0]); return retVal; } /** * Returns all repetitions of Backup Person ID (STF-14). */ public CE[] getStf14_BackupPersonID() { CE[] retVal = this.getTypedField(14, new CE[0]); return retVal; } /** * Returns a count of the current number of repetitions of Backup Person ID (STF-14). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getBackupPersonIDReps() { return this.getReps(14); } /** * Returns a specific repetition of * STF-14: "Backup Person ID" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public CE getBackupPersonID(int rep) { CE retVal = this.getTypedField(14, rep); return retVal; } /** * Returns a specific repetition of * STF-14: "Backup Person ID" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public CE getStf14_BackupPersonID(int rep) { CE retVal = this.getTypedField(14, rep); return retVal; } /** * Returns a count of the current number of repetitions of Backup Person ID (STF-14). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getStf14_BackupPersonIDReps() { return this.getReps(14); } /** * Inserts a repetition of * STF-14: "Backup Person ID" 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 insertBackupPersonID(int rep) throws HL7Exception { return (CE) super.insertRepetition(14, rep); } /** * Inserts a repetition of * STF-14: "Backup Person ID" 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 insertStf14_BackupPersonID(int rep) throws HL7Exception { return (CE) super.insertRepetition(14, rep); } /** * Removes a repetition of * STF-14: "Backup Person ID" 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 removeBackupPersonID(int rep) throws HL7Exception { return (CE) super.removeRepetition(14, rep); } /** * Removes a repetition of * STF-14: "Backup Person ID" 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 removeStf14_BackupPersonID(int rep) throws HL7Exception { return (CE) super.removeRepetition(14, rep); } /** * Returns all repetitions of E-Mail Address (STF-15). */ public ST[] getEMailAddress() { ST[] retVal = this.getTypedField(15, new ST[0]); return retVal; } /** * Returns all repetitions of E-Mail Address (STF-15). */ public ST[] getStf15_EMailAddress() { ST[] retVal = this.getTypedField(15, new ST[0]); return retVal; } /** * Returns a count of the current number of repetitions of E-Mail Address (STF-15). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getEMailAddressReps() { return this.getReps(15); } /** * Returns a specific repetition of * STF-15: "E-Mail Address" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public ST getEMailAddress(int rep) { ST retVal = this.getTypedField(15, rep); return retVal; } /** * Returns a specific repetition of * STF-15: "E-Mail Address" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public ST getStf15_EMailAddress(int rep) { ST retVal = this.getTypedField(15, rep); return retVal; } /** * Returns a count of the current number of repetitions of E-Mail Address (STF-15). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getStf15_EMailAddressReps() { return this.getReps(15); } /** * Inserts a repetition of * STF-15: "E-Mail 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 ST insertEMailAddress(int rep) throws HL7Exception { return (ST) super.insertRepetition(15, rep); } /** * Inserts a repetition of * STF-15: "E-Mail 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 ST insertStf15_EMailAddress(int rep) throws HL7Exception { return (ST) super.insertRepetition(15, rep); } /** * Removes a repetition of * STF-15: "E-Mail 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 ST removeEMailAddress(int rep) throws HL7Exception { return (ST) super.removeRepetition(15, rep); } /** * Removes a repetition of * STF-15: "E-Mail 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 ST removeStf15_EMailAddress(int rep) throws HL7Exception { return (ST) super.removeRepetition(15, rep); } /** * Returns * STF-16: "Preferred Method Of Contact" - creates it if necessary */ public CE getPreferredMethodOfContact() { CE retVal = this.getTypedField(16, 0); return retVal; } /** * Returns * STF-16: "Preferred Method Of Contact" - creates it if necessary */ public CE getStf16_PreferredMethodOfContact() { CE retVal = this.getTypedField(16, 0); return retVal; } /** * Returns * STF-17: "Marital Status" - creates it if necessary */ public CE getMaritalStatus() { CE retVal = this.getTypedField(17, 0); return retVal; } /** * Returns * STF-17: "Marital Status" - creates it if necessary */ public CE getStf17_MaritalStatus() { CE retVal = this.getTypedField(17, 0); return retVal; } /** * Returns * STF-18: "Job Title" - creates it if necessary */ public ST getJobTitle() { ST retVal = this.getTypedField(18, 0); return retVal; } /** * Returns * STF-18: "Job Title" - creates it if necessary */ public ST getStf18_JobTitle() { ST retVal = this.getTypedField(18, 0); return retVal; } /** * Returns * STF-19: "Job Code/Class" - creates it if necessary */ public JCC getJobCodeClass() { JCC retVal = this.getTypedField(19, 0); return retVal; } /** * Returns * STF-19: "Job Code/Class" - creates it if necessary */ public JCC getStf19_JobCodeClass() { JCC retVal = this.getTypedField(19, 0); return retVal; } /** * Returns * STF-20: "Employment Status" - creates it if necessary */ public IS getEmploymentStatus() { IS retVal = this.getTypedField(20, 0); return retVal; } /** * Returns * STF-20: "Employment Status" - creates it if necessary */ public IS getStf20_EmploymentStatus() { IS retVal = this.getTypedField(20, 0); return retVal; } /** * Returns * STF-21: "Additional Insured on Auto" - creates it if necessary */ public ID getAdditionalInsuredOnAuto() { ID retVal = this.getTypedField(21, 0); return retVal; } /** * Returns * STF-21: "Additional Insured on Auto" - creates it if necessary */ public ID getStf21_AdditionalInsuredOnAuto() { ID retVal = this.getTypedField(21, 0); return retVal; } /** * Returns * STF-22: "Driver’s License Number - Staff" - creates it if necessary */ public DLN getDriverSLicenseNumberStaff() { DLN retVal = this.getTypedField(22, 0); return retVal; } /** * Returns * STF-22: "Driver’s License Number - Staff" - creates it if necessary */ public DLN getStf22_DriverSLicenseNumberStaff() { DLN retVal = this.getTypedField(22, 0); return retVal; } /** * Returns * STF-23: "Copy Auto Ins" - creates it if necessary */ public ID getCopyAutoIns() { ID retVal = this.getTypedField(23, 0); return retVal; } /** * Returns * STF-23: "Copy Auto Ins" - creates it if necessary */ public ID getStf23_CopyAutoIns() { ID retVal = this.getTypedField(23, 0); return retVal; } /** * Returns * STF-24: "Auto Ins. Expires" - creates it if necessary */ public DT getAutoInsExpires() { DT retVal = this.getTypedField(24, 0); return retVal; } /** * Returns * STF-24: "Auto Ins. Expires" - creates it if necessary */ public DT getStf24_AutoInsExpires() { DT retVal = this.getTypedField(24, 0); return retVal; } /** * Returns * STF-25: "Date Last DMV Review" - creates it if necessary */ public DT getDateLastDMVReview() { DT retVal = this.getTypedField(25, 0); return retVal; } /** * Returns * STF-25: "Date Last DMV Review" - creates it if necessary */ public DT getStf25_DateLastDMVReview() { DT retVal = this.getTypedField(25, 0); return retVal; } /** * Returns * STF-26: "Date Next DMV Review" - creates it if necessary */ public DT getDateNextDMVReview() { DT retVal = this.getTypedField(26, 0); return retVal; } /** * Returns * STF-26: "Date Next DMV Review" - creates it if necessary */ public DT getStf26_DateNextDMVReview() { DT retVal = this.getTypedField(26, 0); return retVal; } /** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CE(getMessage()); case 1: return new CX(getMessage()); case 2: return new XPN(getMessage()); case 3: return new IS(getMessage(), new Integer( 182 )); case 4: return new IS(getMessage(), new Integer( 1 )); case 5: return new TS(getMessage()); case 6: return new ID(getMessage(), new Integer( 183 )); case 7: return new CE(getMessage()); case 8: return new CE(getMessage()); case 9: return new XTN(getMessage()); case 10: return new XAD(getMessage()); case 11: return new DIN(getMessage()); case 12: return new DIN(getMessage()); case 13: return new CE(getMessage()); case 14: return new ST(getMessage()); case 15: return new CE(getMessage()); case 16: return new CE(getMessage()); case 17: return new ST(getMessage()); case 18: return new JCC(getMessage()); case 19: return new IS(getMessage(), new Integer( 66 )); case 20: return new ID(getMessage(), new Integer( 136 )); case 21: return new DLN(getMessage()); case 22: return new ID(getMessage(), new Integer( 136 )); case 23: return new DT(getMessage()); case 24: return new DT(getMessage()); case 25: return new DT(getMessage()); default: return null; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy