Coverage Report - ca.uhn.hl7v2.test.singledt.conf.segment.GT1
 
Classes in this File Line Coverage Branch Coverage Complexity
GT1
0%
0/551
0%
0/58
1.415
 
 1  
 /*
 2  
  * This class is an auto-generated source file for a HAPI
 3  
  * HL7 v2.x standard structure class.
 4  
  *
 5  
  * For more information, visit: http://hl7api.sourceforge.net/
 6  
  * 
 7  
  * The contents of this file are subject to the Mozilla Public License Version 1.1 
 8  
  * (the "License"); you may not use this file except in compliance with the License. 
 9  
  * You may obtain a copy of the License at http://www.mozilla.org/MPL/ 
 10  
  * Software distributed under the License is distributed on an "AS IS" basis, 
 11  
  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the 
 12  
  * specific language governing rights and limitations under the License. 
 13  
  * 
 14  
  * The Original Code is "[file_name]".  Description: 
 15  
  * "[one_line_description]" 
 16  
  * 
 17  
  * The Initial Developer of the Original Code is University Health Network. Copyright (C) 
 18  
  * 2012.  All Rights Reserved. 
 19  
  * 
 20  
  * Contributor(s): ______________________________________. 
 21  
  * 
 22  
  * Alternatively, the contents of this file may be used under the terms of the 
 23  
  * GNU General Public License (the  "GPL"), in which case the provisions of the GPL are 
 24  
  * applicable instead of those above.  If you wish to allow use of your version of this 
 25  
  * file only under the terms of the GPL and not to allow others to use your version 
 26  
  * of this file under the MPL, indicate your decision by deleting  the provisions above 
 27  
  * and replace  them with the notice and other provisions required by the GPL License.  
 28  
  * If you do not delete the provisions above, a recipient may use your version of 
 29  
  * this file under either the MPL or the GPL. 
 30  
  * 
 31  
  */
 32  
 
 33  
 
 34  
 package ca.uhn.hl7v2.test.singledt.conf.segment;
 35  
 
 36  
 // import ca.uhn.hl7v2.test.singledt.conf.group.*;
 37  
 import ca.uhn.hl7v2.model.v25.datatype.*;
 38  
 import ca.uhn.hl7v2.HL7Exception;
 39  
 import ca.uhn.hl7v2.parser.ModelClassFactory;
 40  
 import ca.uhn.hl7v2.parser.DefaultModelClassFactory;
 41  
 import ca.uhn.hl7v2.model.AbstractMessage;
 42  
 import ca.uhn.hl7v2.model.Group;
 43  
 import ca.uhn.hl7v2.model.Type;
 44  
 import ca.uhn.hl7v2.model.AbstractSegment;
 45  
 import ca.uhn.hl7v2.model.Varies;
 46  
 
 47  
 
 48  
 /**
 49  
  *<p>Represents an HL7 GT1 message segment (Guarantor). 
 50  
  * This segment has the following fields:</p>
 51  
  * <ul>
 52  
      * <li>GT1-1: Set ID - GT1 (SI) <b> </b>
 53  
      * <li>GT1-2: Guarantor Number (CX) <b>optional repeating</b>
 54  
      * <li>GT1-3: Guarantor Name (XPN) <b> repeating</b>
 55  
      * <li>GT1-4: Guarantor Spouse Name (XPN) <b>optional repeating</b>
 56  
      * <li>GT1-5: Guarantor Address (XAD) <b>optional repeating</b>
 57  
      * <li>GT1-6: Guarantor Ph Num - Home (XTN) <b>optional repeating</b>
 58  
      * <li>GT1-7: Guarantor Ph Num - Business (XTN) <b>optional repeating</b>
 59  
      * <li>GT1-8: Guarantor Date/Time Of Birth (TS) <b>optional </b>
 60  
      * <li>GT1-9: Guarantor Administrative Sex (IS) <b>optional </b>
 61  
      * <li>GT1-10: Guarantor Type (IS) <b>optional </b>
 62  
      * <li>GT1-11: Guarantor Relationship (CE) <b>optional </b>
 63  
      * <li>GT1-12: Guarantor SSN (ST) <b>optional </b>
 64  
      * <li>GT1-13: Guarantor Date - Begin (DT) <b>optional </b>
 65  
      * <li>GT1-14: Guarantor Date - End (DT) <b>optional </b>
 66  
      * <li>GT1-15: Guarantor Priority (NM) <b>optional </b>
 67  
      * <li>GT1-16: Guarantor Employer Name (XPN) <b>optional repeating</b>
 68  
      * <li>GT1-17: Guarantor Employer Address (XAD) <b>optional repeating</b>
 69  
      * <li>GT1-18: Guarantor Employer Phone Number (XTN) <b>optional repeating</b>
 70  
      * <li>GT1-19: Guarantor Employee ID Number (CX) <b>optional repeating</b>
 71  
      * <li>GT1-20: Guarantor Employment Status (IS) <b>optional </b>
 72  
      * <li>GT1-21: Guarantor Organization Name (XON) <b>optional repeating</b>
 73  
      * <li>GT1-22: Guarantor Billing Hold Flag (ID) <b>optional </b>
 74  
      * <li>GT1-23: Guarantor Credit Rating Code (CE) <b>optional </b>
 75  
      * <li>GT1-24: Guarantor Death Date And Time (TS) <b>optional </b>
 76  
      * <li>GT1-25: Guarantor Death Flag (ID) <b>optional </b>
 77  
      * <li>GT1-26: Guarantor Charge Adjustment Code (CE) <b>optional </b>
 78  
      * <li>GT1-27: Guarantor Household Annual Income (CP) <b>optional </b>
 79  
      * <li>GT1-28: Guarantor Household Size (NM) <b>optional </b>
 80  
      * <li>GT1-29: Guarantor Employer ID Number (CX) <b>optional repeating</b>
 81  
      * <li>GT1-30: Guarantor Marital Status Code (CE) <b>optional </b>
 82  
      * <li>GT1-31: Guarantor Hire Effective Date (DT) <b>optional </b>
 83  
      * <li>GT1-32: Employment Stop Date (DT) <b>optional </b>
 84  
      * <li>GT1-33: Living Dependency (IS) <b>optional </b>
 85  
      * <li>GT1-34: Ambulatory Status (IS) <b>optional repeating</b>
 86  
      * <li>GT1-35: Citizenship (CE) <b>optional repeating</b>
 87  
      * <li>GT1-36: Primary Language (CE) <b>optional </b>
 88  
      * <li>GT1-37: Living Arrangement (IS) <b>optional </b>
 89  
      * <li>GT1-38: Publicity Code (CE) <b>optional </b>
 90  
      * <li>GT1-39: Protection Indicator (ID) <b>optional </b>
 91  
      * <li>GT1-40: Student Indicator (IS) <b>optional </b>
 92  
      * <li>GT1-41: Religion (CE) <b>optional </b>
 93  
      * <li>GT1-42: Mother_s Maiden Name (XPN) <b>optional repeating</b>
 94  
      * <li>GT1-43: Nationality (CE) <b>optional </b>
 95  
      * <li>GT1-44: Ethnic Group (CE) <b>optional repeating</b>
 96  
      * <li>GT1-45: Contact Person_s Name (XPN) <b>optional repeating</b>
 97  
      * <li>GT1-46: Contact Person_s Telephone Number (XTN) <b>optional repeating</b>
 98  
      * <li>GT1-47: Contact Reason (CE) <b>optional </b>
 99  
      * <li>GT1-48: Contact Relationship (IS) <b>optional </b>
 100  
      * <li>GT1-49: Job Title (ST) <b>optional </b>
 101  
      * <li>GT1-50: Job Code/Class (JCC) <b>optional </b>
 102  
      * <li>GT1-51: Guarantor Employer_s Organization Name (XON) <b>optional repeating</b>
 103  
      * <li>GT1-52: Handicap (IS) <b>optional </b>
 104  
      * <li>GT1-53: Job Status (IS) <b>optional </b>
 105  
      * <li>GT1-54: Guarantor Financial Class (FC) <b>optional </b>
 106  
      * <li>GT1-55: Guarantor Race (CE) <b>optional repeating</b>
 107  
      * <li>GT1-56: Guarantor Birth Place (ST) <b>optional </b>
 108  
      * <li>GT1-57: VIP Indicator (IS) <b>optional </b>
 109  
  * </ul>
 110  
  */
 111  
 @SuppressWarnings("unused")
 112  
 public class GT1 extends AbstractSegment {
 113  
 
 114  
     /** 
 115  
      * Creates a new GT1 segment
 116  
      */
 117  
     public GT1(Group parent, ModelClassFactory factory) {
 118  0
        super(parent, factory);
 119  0
        init(factory);
 120  0
     }
 121  
 
 122  
     private void init(ModelClassFactory factory) {
 123  
        try {
 124  0
                                   this.add(SI.class, true, 1, 4, new Object[]{ getMessage() }, "Set ID - GT1");
 125  0
                                   this.add(CX.class, false, -1, 250, new Object[]{ getMessage() }, "Guarantor Number");
 126  0
                                   this.add(XPN.class, true, -1, 294, new Object[]{ getMessage() }, "Guarantor Name");
 127  0
                                   this.add(XPN.class, false, -1, 294, new Object[]{ getMessage() }, "Guarantor Spouse Name");
 128  0
                                   this.add(XAD.class, false, -1, 513, new Object[]{ getMessage() }, "Guarantor Address");
 129  0
                                   this.add(XTN.class, false, -1, 250, new Object[]{ getMessage() }, "Guarantor Ph Num - Home");
 130  0
                                   this.add(XTN.class, false, -1, 250, new Object[]{ getMessage() }, "Guarantor Ph Num - Business");
 131  0
                                   this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Guarantor Date/Time Of Birth");
 132  0
                                               this.add(IS.class, false, 1, 1, new Object[]{ getMessage(), new Integer(1) }, "Guarantor Administrative Sex");
 133  0
                                               this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(68) }, "Guarantor Type");
 134  0
                                   this.add(CE.class, false, 1, 478, new Object[]{ getMessage() }, "Guarantor Relationship");
 135  0
                                   this.add(ST.class, false, 1, 11, new Object[]{ getMessage() }, "Guarantor SSN");
 136  0
                                   this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Guarantor Date - Begin");
 137  0
                                   this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Guarantor Date - End");
 138  0
                                   this.add(NM.class, false, 1, 2, new Object[]{ getMessage() }, "Guarantor Priority");
 139  0
                                   this.add(XPN.class, false, -1, 294, new Object[]{ getMessage() }, "Guarantor Employer Name");
 140  0
                                   this.add(XAD.class, false, -1, 513, new Object[]{ getMessage() }, "Guarantor Employer Address");
 141  0
                                   this.add(XTN.class, false, -1, 250, new Object[]{ getMessage() }, "Guarantor Employer Phone Number");
 142  0
                                   this.add(CX.class, false, -1, 250, new Object[]{ getMessage() }, "Guarantor Employee ID Number");
 143  0
                                               this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(66) }, "Guarantor Employment Status");
 144  0
                                   this.add(XON.class, false, -1, 250, new Object[]{ getMessage() }, "Guarantor Organization Name");
 145  0
                                               this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Guarantor Billing Hold Flag");
 146  0
                                   this.add(CE.class, false, 1, 478, new Object[]{ getMessage() }, "Guarantor Credit Rating Code");
 147  0
                                   this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Guarantor Death Date And Time");
 148  0
                                               this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Guarantor Death Flag");
 149  0
                                   this.add(CE.class, false, 1, 478, new Object[]{ getMessage() }, "Guarantor Charge Adjustment Code");
 150  0
                                   this.add(CP.class, false, 1, 538, new Object[]{ getMessage() }, "Guarantor Household Annual Income");
 151  0
                                   this.add(NM.class, false, 1, 3, new Object[]{ getMessage() }, "Guarantor Household Size");
 152  0
                                   this.add(CX.class, false, -1, 250, new Object[]{ getMessage() }, "Guarantor Employer ID Number");
 153  0
                                   this.add(CE.class, false, 1, 478, new Object[]{ getMessage() }, "Guarantor Marital Status Code");
 154  0
                                   this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Guarantor Hire Effective Date");
 155  0
                                   this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Employment Stop Date");
 156  0
                                               this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(223) }, "Living Dependency");
 157  0
                                               this.add(IS.class, false, -1, 2, new Object[]{ getMessage(), new Integer(9) }, "Ambulatory Status");
 158  0
                                   this.add(CE.class, false, -1, 478, new Object[]{ getMessage() }, "Citizenship");
 159  0
                                   this.add(CE.class, false, 1, 478, new Object[]{ getMessage() }, "Primary Language");
 160  0
                                               this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(220) }, "Living Arrangement");
 161  0
                                   this.add(CE.class, false, 1, 478, new Object[]{ getMessage() }, "Publicity Code");
 162  0
                                               this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Protection Indicator");
 163  0
                                               this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(231) }, "Student Indicator");
 164  0
                                   this.add(CE.class, false, 1, 478, new Object[]{ getMessage() }, "Religion");
 165  0
                                   this.add(XPN.class, false, -1, 294, new Object[]{ getMessage() }, "Mother_s Maiden Name");
 166  0
                                   this.add(CE.class, false, 1, 478, new Object[]{ getMessage() }, "Nationality");
 167  0
                                   this.add(CE.class, false, -1, 478, new Object[]{ getMessage() }, "Ethnic Group");
 168  0
                                   this.add(XPN.class, false, -1, 294, new Object[]{ getMessage() }, "Contact Person_s Name");
 169  0
                                   this.add(XTN.class, false, -1, 250, new Object[]{ getMessage() }, "Contact Person_s Telephone Number");
 170  0
                                   this.add(CE.class, false, 1, 478, new Object[]{ getMessage() }, "Contact Reason");
 171  0
                                               this.add(IS.class, false, 1, 3, new Object[]{ getMessage(), new Integer(63) }, "Contact Relationship");
 172  0
                                   this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Job Title");
 173  0
                                   this.add(JCC.class, false, 1, 290, new Object[]{ getMessage() }, "Job Code/Class");
 174  0
                                   this.add(XON.class, false, -1, 250, new Object[]{ getMessage() }, "Guarantor Employer_s Organization Name");
 175  0
                                               this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(295) }, "Handicap");
 176  0
                                               this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(311) }, "Job Status");
 177  0
                                   this.add(FC.class, false, 1, 50, new Object[]{ getMessage() }, "Guarantor Financial Class");
 178  0
                                   this.add(CE.class, false, -1, 478, new Object[]{ getMessage() }, "Guarantor Race");
 179  0
                                   this.add(ST.class, false, 1, 250, new Object[]{ getMessage() }, "Guarantor Birth Place");
 180  0
                                               this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(99) }, "VIP Indicator");
 181  0
        } catch(HL7Exception e) {
 182  0
           log.error("Unexpected error creating GT1 - this is probably a bug in the source code generator.", e);
 183  0
        }
 184  0
     }
 185  
 
 186  
 
 187  
 
 188  
     /**
 189  
      * Returns
 190  
      * GT1-1: "Set ID - GT1" - creates it if necessary
 191  
      */
 192  
     public SI getSetIDGT1() { 
 193  0
                 SI retVal = this.getTypedField(1, 0);
 194  0
                 return retVal;
 195  
     }
 196  
     
 197  
     /**
 198  
      * Returns
 199  
      * GT1-1: "Set ID - GT1" - creates it if necessary
 200  
      */
 201  
     public SI getGt11_SetIDGT1() { 
 202  0
                 SI retVal = this.getTypedField(1, 0);
 203  0
                 return retVal;
 204  
     }
 205  
 
 206  
 
 207  
     /**
 208  
      * Returns all repetitions of Guarantor Number (GT1-2).
 209  
      */
 210  
     public CX[] getGuarantorNumber() {
 211  0
             CX[] retVal = this.getTypedField(2, new CX[0]);
 212  0
             return retVal;
 213  
     }
 214  
 
 215  
 
 216  
     /**
 217  
      * Returns all repetitions of Guarantor Number (GT1-2).
 218  
      */
 219  
     public CX[] getGt12_GuarantorNumber() {
 220  0
             CX[] retVal = this.getTypedField(2, new CX[0]);
 221  0
             return retVal;
 222  
     }
 223  
 
 224  
 
 225  
     /**
 226  
      * Returns a count of the current number of repetitions of Guarantor Number (GT1-2).
 227  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 228  
      * it will return zero.
 229  
      */
 230  
     public int getGuarantorNumberReps() {
 231  0
             return this.getReps(2);
 232  
     }
 233  
 
 234  
 
 235  
     /**
 236  
      * Returns a specific repetition of
 237  
      * GT1-2: "Guarantor Number" - creates it if necessary
 238  
      *
 239  
      * @param rep The repetition index (0-indexed)
 240  
      */
 241  
     public CX getGuarantorNumber(int rep) { 
 242  0
                 CX retVal = this.getTypedField(2, rep);
 243  0
                 return retVal;
 244  
     }
 245  
 
 246  
     /**
 247  
      * Returns a specific repetition of
 248  
      * GT1-2: "Guarantor Number" - creates it if necessary
 249  
      *
 250  
      * @param rep The repetition index (0-indexed)
 251  
      */
 252  
     public CX getGt12_GuarantorNumber(int rep) { 
 253  0
                 CX retVal = this.getTypedField(2, rep);
 254  0
                 return retVal;
 255  
     }
 256  
 
 257  
     /**
 258  
      * Returns a count of the current number of repetitions of Guarantor Number (GT1-2).
 259  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 260  
      * it will return zero.
 261  
      */
 262  
     public int getGt12_GuarantorNumberReps() {
 263  0
             return this.getReps(2);
 264  
     }
 265  
 
 266  
 
 267  
     /**
 268  
      * Inserts a repetition of
 269  
      * GT1-2: "Guarantor Number" at a specific index
 270  
      *
 271  
      * @param rep The repetition index (0-indexed)
 272  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 273  
      */
 274  
     public CX insertGuarantorNumber(int rep) throws HL7Exception { 
 275  0
         return (CX) super.insertRepetition(2, rep);
 276  
     }
 277  
 
 278  
 
 279  
     /**
 280  
      * Inserts a repetition of
 281  
      * GT1-2: "Guarantor Number" at a specific index
 282  
      *
 283  
      * @param rep The repetition index (0-indexed)
 284  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 285  
      */
 286  
     public CX insertGt12_GuarantorNumber(int rep) throws HL7Exception { 
 287  0
         return (CX) super.insertRepetition(2, rep);
 288  
     }
 289  
 
 290  
 
 291  
     /**
 292  
      * Removes a repetition of
 293  
      * GT1-2: "Guarantor Number" at a specific index
 294  
      *
 295  
      * @param rep The repetition index (0-indexed)
 296  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 297  
      */
 298  
     public CX removeGuarantorNumber(int rep) throws HL7Exception { 
 299  0
         return (CX) super.removeRepetition(2, rep);
 300  
     }
 301  
 
 302  
 
 303  
     /**
 304  
      * Removes a repetition of
 305  
      * GT1-2: "Guarantor Number" at a specific index
 306  
      *
 307  
      * @param rep The repetition index (0-indexed)
 308  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 309  
      */
 310  
     public CX removeGt12_GuarantorNumber(int rep) throws HL7Exception { 
 311  0
         return (CX) super.removeRepetition(2, rep);
 312  
     }
 313  
 
 314  
 
 315  
 
 316  
     /**
 317  
      * Returns all repetitions of Guarantor Name (GT1-3).
 318  
      */
 319  
     public XPN[] getGuarantorName() {
 320  0
             XPN[] retVal = this.getTypedField(3, new XPN[0]);
 321  0
             return retVal;
 322  
     }
 323  
 
 324  
 
 325  
     /**
 326  
      * Returns all repetitions of Guarantor Name (GT1-3).
 327  
      */
 328  
     public XPN[] getGt13_GuarantorName() {
 329  0
             XPN[] retVal = this.getTypedField(3, new XPN[0]);
 330  0
             return retVal;
 331  
     }
 332  
 
 333  
 
 334  
     /**
 335  
      * Returns a count of the current number of repetitions of Guarantor Name (GT1-3).
 336  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 337  
      * it will return zero.
 338  
      */
 339  
     public int getGuarantorNameReps() {
 340  0
             return this.getReps(3);
 341  
     }
 342  
 
 343  
 
 344  
     /**
 345  
      * Returns a specific repetition of
 346  
      * GT1-3: "Guarantor Name" - creates it if necessary
 347  
      *
 348  
      * @param rep The repetition index (0-indexed)
 349  
      */
 350  
     public XPN getGuarantorName(int rep) { 
 351  0
                 XPN retVal = this.getTypedField(3, rep);
 352  0
                 return retVal;
 353  
     }
 354  
 
 355  
     /**
 356  
      * Returns a specific repetition of
 357  
      * GT1-3: "Guarantor Name" - creates it if necessary
 358  
      *
 359  
      * @param rep The repetition index (0-indexed)
 360  
      */
 361  
     public XPN getGt13_GuarantorName(int rep) { 
 362  0
                 XPN retVal = this.getTypedField(3, rep);
 363  0
                 return retVal;
 364  
     }
 365  
 
 366  
     /**
 367  
      * Returns a count of the current number of repetitions of Guarantor Name (GT1-3).
 368  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 369  
      * it will return zero.
 370  
      */
 371  
     public int getGt13_GuarantorNameReps() {
 372  0
             return this.getReps(3);
 373  
     }
 374  
 
 375  
 
 376  
     /**
 377  
      * Inserts a repetition of
 378  
      * GT1-3: "Guarantor Name" at a specific index
 379  
      *
 380  
      * @param rep The repetition index (0-indexed)
 381  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 382  
      */
 383  
     public XPN insertGuarantorName(int rep) throws HL7Exception { 
 384  0
         return (XPN) super.insertRepetition(3, rep);
 385  
     }
 386  
 
 387  
 
 388  
     /**
 389  
      * Inserts a repetition of
 390  
      * GT1-3: "Guarantor Name" at a specific index
 391  
      *
 392  
      * @param rep The repetition index (0-indexed)
 393  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 394  
      */
 395  
     public XPN insertGt13_GuarantorName(int rep) throws HL7Exception { 
 396  0
         return (XPN) super.insertRepetition(3, rep);
 397  
     }
 398  
 
 399  
 
 400  
     /**
 401  
      * Removes a repetition of
 402  
      * GT1-3: "Guarantor Name" at a specific index
 403  
      *
 404  
      * @param rep The repetition index (0-indexed)
 405  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 406  
      */
 407  
     public XPN removeGuarantorName(int rep) throws HL7Exception { 
 408  0
         return (XPN) super.removeRepetition(3, rep);
 409  
     }
 410  
 
 411  
 
 412  
     /**
 413  
      * Removes a repetition of
 414  
      * GT1-3: "Guarantor Name" at a specific index
 415  
      *
 416  
      * @param rep The repetition index (0-indexed)
 417  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 418  
      */
 419  
     public XPN removeGt13_GuarantorName(int rep) throws HL7Exception { 
 420  0
         return (XPN) super.removeRepetition(3, rep);
 421  
     }
 422  
 
 423  
 
 424  
 
 425  
     /**
 426  
      * Returns all repetitions of Guarantor Spouse Name (GT1-4).
 427  
      */
 428  
     public XPN[] getGuarantorSpouseName() {
 429  0
             XPN[] retVal = this.getTypedField(4, new XPN[0]);
 430  0
             return retVal;
 431  
     }
 432  
 
 433  
 
 434  
     /**
 435  
      * Returns all repetitions of Guarantor Spouse Name (GT1-4).
 436  
      */
 437  
     public XPN[] getGt14_GuarantorSpouseName() {
 438  0
             XPN[] retVal = this.getTypedField(4, new XPN[0]);
 439  0
             return retVal;
 440  
     }
 441  
 
 442  
 
 443  
     /**
 444  
      * Returns a count of the current number of repetitions of Guarantor Spouse Name (GT1-4).
 445  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 446  
      * it will return zero.
 447  
      */
 448  
     public int getGuarantorSpouseNameReps() {
 449  0
             return this.getReps(4);
 450  
     }
 451  
 
 452  
 
 453  
     /**
 454  
      * Returns a specific repetition of
 455  
      * GT1-4: "Guarantor Spouse Name" - creates it if necessary
 456  
      *
 457  
      * @param rep The repetition index (0-indexed)
 458  
      */
 459  
     public XPN getGuarantorSpouseName(int rep) { 
 460  0
                 XPN retVal = this.getTypedField(4, rep);
 461  0
                 return retVal;
 462  
     }
 463  
 
 464  
     /**
 465  
      * Returns a specific repetition of
 466  
      * GT1-4: "Guarantor Spouse Name" - creates it if necessary
 467  
      *
 468  
      * @param rep The repetition index (0-indexed)
 469  
      */
 470  
     public XPN getGt14_GuarantorSpouseName(int rep) { 
 471  0
                 XPN retVal = this.getTypedField(4, rep);
 472  0
                 return retVal;
 473  
     }
 474  
 
 475  
     /**
 476  
      * Returns a count of the current number of repetitions of Guarantor Spouse Name (GT1-4).
 477  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 478  
      * it will return zero.
 479  
      */
 480  
     public int getGt14_GuarantorSpouseNameReps() {
 481  0
             return this.getReps(4);
 482  
     }
 483  
 
 484  
 
 485  
     /**
 486  
      * Inserts a repetition of
 487  
      * GT1-4: "Guarantor Spouse Name" at a specific index
 488  
      *
 489  
      * @param rep The repetition index (0-indexed)
 490  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 491  
      */
 492  
     public XPN insertGuarantorSpouseName(int rep) throws HL7Exception { 
 493  0
         return (XPN) super.insertRepetition(4, rep);
 494  
     }
 495  
 
 496  
 
 497  
     /**
 498  
      * Inserts a repetition of
 499  
      * GT1-4: "Guarantor Spouse Name" at a specific index
 500  
      *
 501  
      * @param rep The repetition index (0-indexed)
 502  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 503  
      */
 504  
     public XPN insertGt14_GuarantorSpouseName(int rep) throws HL7Exception { 
 505  0
         return (XPN) super.insertRepetition(4, rep);
 506  
     }
 507  
 
 508  
 
 509  
     /**
 510  
      * Removes a repetition of
 511  
      * GT1-4: "Guarantor Spouse Name" at a specific index
 512  
      *
 513  
      * @param rep The repetition index (0-indexed)
 514  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 515  
      */
 516  
     public XPN removeGuarantorSpouseName(int rep) throws HL7Exception { 
 517  0
         return (XPN) super.removeRepetition(4, rep);
 518  
     }
 519  
 
 520  
 
 521  
     /**
 522  
      * Removes a repetition of
 523  
      * GT1-4: "Guarantor Spouse Name" at a specific index
 524  
      *
 525  
      * @param rep The repetition index (0-indexed)
 526  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 527  
      */
 528  
     public XPN removeGt14_GuarantorSpouseName(int rep) throws HL7Exception { 
 529  0
         return (XPN) super.removeRepetition(4, rep);
 530  
     }
 531  
 
 532  
 
 533  
 
 534  
     /**
 535  
      * Returns all repetitions of Guarantor Address (GT1-5).
 536  
      */
 537  
     public XAD[] getGuarantorAddress() {
 538  0
             XAD[] retVal = this.getTypedField(5, new XAD[0]);
 539  0
             return retVal;
 540  
     }
 541  
 
 542  
 
 543  
     /**
 544  
      * Returns all repetitions of Guarantor Address (GT1-5).
 545  
      */
 546  
     public XAD[] getGt15_GuarantorAddress() {
 547  0
             XAD[] retVal = this.getTypedField(5, new XAD[0]);
 548  0
             return retVal;
 549  
     }
 550  
 
 551  
 
 552  
     /**
 553  
      * Returns a count of the current number of repetitions of Guarantor Address (GT1-5).
 554  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 555  
      * it will return zero.
 556  
      */
 557  
     public int getGuarantorAddressReps() {
 558  0
             return this.getReps(5);
 559  
     }
 560  
 
 561  
 
 562  
     /**
 563  
      * Returns a specific repetition of
 564  
      * GT1-5: "Guarantor Address" - creates it if necessary
 565  
      *
 566  
      * @param rep The repetition index (0-indexed)
 567  
      */
 568  
     public XAD getGuarantorAddress(int rep) { 
 569  0
                 XAD retVal = this.getTypedField(5, rep);
 570  0
                 return retVal;
 571  
     }
 572  
 
 573  
     /**
 574  
      * Returns a specific repetition of
 575  
      * GT1-5: "Guarantor Address" - creates it if necessary
 576  
      *
 577  
      * @param rep The repetition index (0-indexed)
 578  
      */
 579  
     public XAD getGt15_GuarantorAddress(int rep) { 
 580  0
                 XAD retVal = this.getTypedField(5, rep);
 581  0
                 return retVal;
 582  
     }
 583  
 
 584  
     /**
 585  
      * Returns a count of the current number of repetitions of Guarantor Address (GT1-5).
 586  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 587  
      * it will return zero.
 588  
      */
 589  
     public int getGt15_GuarantorAddressReps() {
 590  0
             return this.getReps(5);
 591  
     }
 592  
 
 593  
 
 594  
     /**
 595  
      * Inserts a repetition of
 596  
      * GT1-5: "Guarantor Address" at a specific index
 597  
      *
 598  
      * @param rep The repetition index (0-indexed)
 599  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 600  
      */
 601  
     public XAD insertGuarantorAddress(int rep) throws HL7Exception { 
 602  0
         return (XAD) super.insertRepetition(5, rep);
 603  
     }
 604  
 
 605  
 
 606  
     /**
 607  
      * Inserts a repetition of
 608  
      * GT1-5: "Guarantor Address" at a specific index
 609  
      *
 610  
      * @param rep The repetition index (0-indexed)
 611  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 612  
      */
 613  
     public XAD insertGt15_GuarantorAddress(int rep) throws HL7Exception { 
 614  0
         return (XAD) super.insertRepetition(5, rep);
 615  
     }
 616  
 
 617  
 
 618  
     /**
 619  
      * Removes a repetition of
 620  
      * GT1-5: "Guarantor Address" at a specific index
 621  
      *
 622  
      * @param rep The repetition index (0-indexed)
 623  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 624  
      */
 625  
     public XAD removeGuarantorAddress(int rep) throws HL7Exception { 
 626  0
         return (XAD) super.removeRepetition(5, rep);
 627  
     }
 628  
 
 629  
 
 630  
     /**
 631  
      * Removes a repetition of
 632  
      * GT1-5: "Guarantor Address" at a specific index
 633  
      *
 634  
      * @param rep The repetition index (0-indexed)
 635  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 636  
      */
 637  
     public XAD removeGt15_GuarantorAddress(int rep) throws HL7Exception { 
 638  0
         return (XAD) super.removeRepetition(5, rep);
 639  
     }
 640  
 
 641  
 
 642  
 
 643  
     /**
 644  
      * Returns all repetitions of Guarantor Ph Num - Home (GT1-6).
 645  
      */
 646  
     public XTN[] getGuarantorPhNumHome() {
 647  0
             XTN[] retVal = this.getTypedField(6, new XTN[0]);
 648  0
             return retVal;
 649  
     }
 650  
 
 651  
 
 652  
     /**
 653  
      * Returns all repetitions of Guarantor Ph Num - Home (GT1-6).
 654  
      */
 655  
     public XTN[] getGt16_GuarantorPhNumHome() {
 656  0
             XTN[] retVal = this.getTypedField(6, new XTN[0]);
 657  0
             return retVal;
 658  
     }
 659  
 
 660  
 
 661  
     /**
 662  
      * Returns a count of the current number of repetitions of Guarantor Ph Num - Home (GT1-6).
 663  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 664  
      * it will return zero.
 665  
      */
 666  
     public int getGuarantorPhNumHomeReps() {
 667  0
             return this.getReps(6);
 668  
     }
 669  
 
 670  
 
 671  
     /**
 672  
      * Returns a specific repetition of
 673  
      * GT1-6: "Guarantor Ph Num - Home" - creates it if necessary
 674  
      *
 675  
      * @param rep The repetition index (0-indexed)
 676  
      */
 677  
     public XTN getGuarantorPhNumHome(int rep) { 
 678  0
                 XTN retVal = this.getTypedField(6, rep);
 679  0
                 return retVal;
 680  
     }
 681  
 
 682  
     /**
 683  
      * Returns a specific repetition of
 684  
      * GT1-6: "Guarantor Ph Num - Home" - creates it if necessary
 685  
      *
 686  
      * @param rep The repetition index (0-indexed)
 687  
      */
 688  
     public XTN getGt16_GuarantorPhNumHome(int rep) { 
 689  0
                 XTN retVal = this.getTypedField(6, rep);
 690  0
                 return retVal;
 691  
     }
 692  
 
 693  
     /**
 694  
      * Returns a count of the current number of repetitions of Guarantor Ph Num - Home (GT1-6).
 695  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 696  
      * it will return zero.
 697  
      */
 698  
     public int getGt16_GuarantorPhNumHomeReps() {
 699  0
             return this.getReps(6);
 700  
     }
 701  
 
 702  
 
 703  
     /**
 704  
      * Inserts a repetition of
 705  
      * GT1-6: "Guarantor Ph Num - Home" at a specific index
 706  
      *
 707  
      * @param rep The repetition index (0-indexed)
 708  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 709  
      */
 710  
     public XTN insertGuarantorPhNumHome(int rep) throws HL7Exception { 
 711  0
         return (XTN) super.insertRepetition(6, rep);
 712  
     }
 713  
 
 714  
 
 715  
     /**
 716  
      * Inserts a repetition of
 717  
      * GT1-6: "Guarantor Ph Num - Home" at a specific index
 718  
      *
 719  
      * @param rep The repetition index (0-indexed)
 720  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 721  
      */
 722  
     public XTN insertGt16_GuarantorPhNumHome(int rep) throws HL7Exception { 
 723  0
         return (XTN) super.insertRepetition(6, rep);
 724  
     }
 725  
 
 726  
 
 727  
     /**
 728  
      * Removes a repetition of
 729  
      * GT1-6: "Guarantor Ph Num - Home" at a specific index
 730  
      *
 731  
      * @param rep The repetition index (0-indexed)
 732  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 733  
      */
 734  
     public XTN removeGuarantorPhNumHome(int rep) throws HL7Exception { 
 735  0
         return (XTN) super.removeRepetition(6, rep);
 736  
     }
 737  
 
 738  
 
 739  
     /**
 740  
      * Removes a repetition of
 741  
      * GT1-6: "Guarantor Ph Num - Home" at a specific index
 742  
      *
 743  
      * @param rep The repetition index (0-indexed)
 744  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 745  
      */
 746  
     public XTN removeGt16_GuarantorPhNumHome(int rep) throws HL7Exception { 
 747  0
         return (XTN) super.removeRepetition(6, rep);
 748  
     }
 749  
 
 750  
 
 751  
 
 752  
     /**
 753  
      * Returns all repetitions of Guarantor Ph Num - Business (GT1-7).
 754  
      */
 755  
     public XTN[] getGuarantorPhNumBusiness() {
 756  0
             XTN[] retVal = this.getTypedField(7, new XTN[0]);
 757  0
             return retVal;
 758  
     }
 759  
 
 760  
 
 761  
     /**
 762  
      * Returns all repetitions of Guarantor Ph Num - Business (GT1-7).
 763  
      */
 764  
     public XTN[] getGt17_GuarantorPhNumBusiness() {
 765  0
             XTN[] retVal = this.getTypedField(7, new XTN[0]);
 766  0
             return retVal;
 767  
     }
 768  
 
 769  
 
 770  
     /**
 771  
      * Returns a count of the current number of repetitions of Guarantor Ph Num - Business (GT1-7).
 772  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 773  
      * it will return zero.
 774  
      */
 775  
     public int getGuarantorPhNumBusinessReps() {
 776  0
             return this.getReps(7);
 777  
     }
 778  
 
 779  
 
 780  
     /**
 781  
      * Returns a specific repetition of
 782  
      * GT1-7: "Guarantor Ph Num - Business" - creates it if necessary
 783  
      *
 784  
      * @param rep The repetition index (0-indexed)
 785  
      */
 786  
     public XTN getGuarantorPhNumBusiness(int rep) { 
 787  0
                 XTN retVal = this.getTypedField(7, rep);
 788  0
                 return retVal;
 789  
     }
 790  
 
 791  
     /**
 792  
      * Returns a specific repetition of
 793  
      * GT1-7: "Guarantor Ph Num - Business" - creates it if necessary
 794  
      *
 795  
      * @param rep The repetition index (0-indexed)
 796  
      */
 797  
     public XTN getGt17_GuarantorPhNumBusiness(int rep) { 
 798  0
                 XTN retVal = this.getTypedField(7, rep);
 799  0
                 return retVal;
 800  
     }
 801  
 
 802  
     /**
 803  
      * Returns a count of the current number of repetitions of Guarantor Ph Num - Business (GT1-7).
 804  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 805  
      * it will return zero.
 806  
      */
 807  
     public int getGt17_GuarantorPhNumBusinessReps() {
 808  0
             return this.getReps(7);
 809  
     }
 810  
 
 811  
 
 812  
     /**
 813  
      * Inserts a repetition of
 814  
      * GT1-7: "Guarantor Ph Num - Business" at a specific index
 815  
      *
 816  
      * @param rep The repetition index (0-indexed)
 817  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 818  
      */
 819  
     public XTN insertGuarantorPhNumBusiness(int rep) throws HL7Exception { 
 820  0
         return (XTN) super.insertRepetition(7, rep);
 821  
     }
 822  
 
 823  
 
 824  
     /**
 825  
      * Inserts a repetition of
 826  
      * GT1-7: "Guarantor Ph Num - Business" at a specific index
 827  
      *
 828  
      * @param rep The repetition index (0-indexed)
 829  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 830  
      */
 831  
     public XTN insertGt17_GuarantorPhNumBusiness(int rep) throws HL7Exception { 
 832  0
         return (XTN) super.insertRepetition(7, rep);
 833  
     }
 834  
 
 835  
 
 836  
     /**
 837  
      * Removes a repetition of
 838  
      * GT1-7: "Guarantor Ph Num - Business" at a specific index
 839  
      *
 840  
      * @param rep The repetition index (0-indexed)
 841  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 842  
      */
 843  
     public XTN removeGuarantorPhNumBusiness(int rep) throws HL7Exception { 
 844  0
         return (XTN) super.removeRepetition(7, rep);
 845  
     }
 846  
 
 847  
 
 848  
     /**
 849  
      * Removes a repetition of
 850  
      * GT1-7: "Guarantor Ph Num - Business" at a specific index
 851  
      *
 852  
      * @param rep The repetition index (0-indexed)
 853  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 854  
      */
 855  
     public XTN removeGt17_GuarantorPhNumBusiness(int rep) throws HL7Exception { 
 856  0
         return (XTN) super.removeRepetition(7, rep);
 857  
     }
 858  
 
 859  
 
 860  
 
 861  
 
 862  
     /**
 863  
      * Returns
 864  
      * GT1-8: "Guarantor Date/Time Of Birth" - creates it if necessary
 865  
      */
 866  
     public TS getGuarantorDateTimeOfBirth() { 
 867  0
                 TS retVal = this.getTypedField(8, 0);
 868  0
                 return retVal;
 869  
     }
 870  
     
 871  
     /**
 872  
      * Returns
 873  
      * GT1-8: "Guarantor Date/Time Of Birth" - creates it if necessary
 874  
      */
 875  
     public TS getGt18_GuarantorDateTimeOfBirth() { 
 876  0
                 TS retVal = this.getTypedField(8, 0);
 877  0
                 return retVal;
 878  
     }
 879  
 
 880  
 
 881  
 
 882  
     /**
 883  
      * Returns
 884  
      * GT1-9: "Guarantor Administrative Sex" - creates it if necessary
 885  
      */
 886  
     public IS getGuarantorAdministrativeSex() { 
 887  0
                 IS retVal = this.getTypedField(9, 0);
 888  0
                 return retVal;
 889  
     }
 890  
     
 891  
     /**
 892  
      * Returns
 893  
      * GT1-9: "Guarantor Administrative Sex" - creates it if necessary
 894  
      */
 895  
     public IS getGt19_GuarantorAdministrativeSex() { 
 896  0
                 IS retVal = this.getTypedField(9, 0);
 897  0
                 return retVal;
 898  
     }
 899  
 
 900  
 
 901  
 
 902  
     /**
 903  
      * Returns
 904  
      * GT1-10: "Guarantor Type" - creates it if necessary
 905  
      */
 906  
     public IS getGuarantorType() { 
 907  0
                 IS retVal = this.getTypedField(10, 0);
 908  0
                 return retVal;
 909  
     }
 910  
     
 911  
     /**
 912  
      * Returns
 913  
      * GT1-10: "Guarantor Type" - creates it if necessary
 914  
      */
 915  
     public IS getGt110_GuarantorType() { 
 916  0
                 IS retVal = this.getTypedField(10, 0);
 917  0
                 return retVal;
 918  
     }
 919  
 
 920  
 
 921  
 
 922  
     /**
 923  
      * Returns
 924  
      * GT1-11: "Guarantor Relationship" - creates it if necessary
 925  
      */
 926  
     public CE getGuarantorRelationship() { 
 927  0
                 CE retVal = this.getTypedField(11, 0);
 928  0
                 return retVal;
 929  
     }
 930  
     
 931  
     /**
 932  
      * Returns
 933  
      * GT1-11: "Guarantor Relationship" - creates it if necessary
 934  
      */
 935  
     public CE getGt111_GuarantorRelationship() { 
 936  0
                 CE retVal = this.getTypedField(11, 0);
 937  0
                 return retVal;
 938  
     }
 939  
 
 940  
 
 941  
 
 942  
     /**
 943  
      * Returns
 944  
      * GT1-12: "Guarantor SSN" - creates it if necessary
 945  
      */
 946  
     public ST getGuarantorSSN() { 
 947  0
                 ST retVal = this.getTypedField(12, 0);
 948  0
                 return retVal;
 949  
     }
 950  
     
 951  
     /**
 952  
      * Returns
 953  
      * GT1-12: "Guarantor SSN" - creates it if necessary
 954  
      */
 955  
     public ST getGt112_GuarantorSSN() { 
 956  0
                 ST retVal = this.getTypedField(12, 0);
 957  0
                 return retVal;
 958  
     }
 959  
 
 960  
 
 961  
 
 962  
     /**
 963  
      * Returns
 964  
      * GT1-13: "Guarantor Date - Begin" - creates it if necessary
 965  
      */
 966  
     public DT getGuarantorDateBegin() { 
 967  0
                 DT retVal = this.getTypedField(13, 0);
 968  0
                 return retVal;
 969  
     }
 970  
     
 971  
     /**
 972  
      * Returns
 973  
      * GT1-13: "Guarantor Date - Begin" - creates it if necessary
 974  
      */
 975  
     public DT getGt113_GuarantorDateBegin() { 
 976  0
                 DT retVal = this.getTypedField(13, 0);
 977  0
                 return retVal;
 978  
     }
 979  
 
 980  
 
 981  
 
 982  
     /**
 983  
      * Returns
 984  
      * GT1-14: "Guarantor Date - End" - creates it if necessary
 985  
      */
 986  
     public DT getGuarantorDateEnd() { 
 987  0
                 DT retVal = this.getTypedField(14, 0);
 988  0
                 return retVal;
 989  
     }
 990  
     
 991  
     /**
 992  
      * Returns
 993  
      * GT1-14: "Guarantor Date - End" - creates it if necessary
 994  
      */
 995  
     public DT getGt114_GuarantorDateEnd() { 
 996  0
                 DT retVal = this.getTypedField(14, 0);
 997  0
                 return retVal;
 998  
     }
 999  
 
 1000  
 
 1001  
 
 1002  
     /**
 1003  
      * Returns
 1004  
      * GT1-15: "Guarantor Priority" - creates it if necessary
 1005  
      */
 1006  
     public NM getGuarantorPriority() { 
 1007  0
                 NM retVal = this.getTypedField(15, 0);
 1008  0
                 return retVal;
 1009  
     }
 1010  
     
 1011  
     /**
 1012  
      * Returns
 1013  
      * GT1-15: "Guarantor Priority" - creates it if necessary
 1014  
      */
 1015  
     public NM getGt115_GuarantorPriority() { 
 1016  0
                 NM retVal = this.getTypedField(15, 0);
 1017  0
                 return retVal;
 1018  
     }
 1019  
 
 1020  
 
 1021  
     /**
 1022  
      * Returns all repetitions of Guarantor Employer Name (GT1-16).
 1023  
      */
 1024  
     public XPN[] getGuarantorEmployerName() {
 1025  0
             XPN[] retVal = this.getTypedField(16, new XPN[0]);
 1026  0
             return retVal;
 1027  
     }
 1028  
 
 1029  
 
 1030  
     /**
 1031  
      * Returns all repetitions of Guarantor Employer Name (GT1-16).
 1032  
      */
 1033  
     public XPN[] getGt116_GuarantorEmployerName() {
 1034  0
             XPN[] retVal = this.getTypedField(16, new XPN[0]);
 1035  0
             return retVal;
 1036  
     }
 1037  
 
 1038  
 
 1039  
     /**
 1040  
      * Returns a count of the current number of repetitions of Guarantor Employer Name (GT1-16).
 1041  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 1042  
      * it will return zero.
 1043  
      */
 1044  
     public int getGuarantorEmployerNameReps() {
 1045  0
             return this.getReps(16);
 1046  
     }
 1047  
 
 1048  
 
 1049  
     /**
 1050  
      * Returns a specific repetition of
 1051  
      * GT1-16: "Guarantor Employer Name" - creates it if necessary
 1052  
      *
 1053  
      * @param rep The repetition index (0-indexed)
 1054  
      */
 1055  
     public XPN getGuarantorEmployerName(int rep) { 
 1056  0
                 XPN retVal = this.getTypedField(16, rep);
 1057  0
                 return retVal;
 1058  
     }
 1059  
 
 1060  
     /**
 1061  
      * Returns a specific repetition of
 1062  
      * GT1-16: "Guarantor Employer Name" - creates it if necessary
 1063  
      *
 1064  
      * @param rep The repetition index (0-indexed)
 1065  
      */
 1066  
     public XPN getGt116_GuarantorEmployerName(int rep) { 
 1067  0
                 XPN retVal = this.getTypedField(16, rep);
 1068  0
                 return retVal;
 1069  
     }
 1070  
 
 1071  
     /**
 1072  
      * Returns a count of the current number of repetitions of Guarantor Employer Name (GT1-16).
 1073  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 1074  
      * it will return zero.
 1075  
      */
 1076  
     public int getGt116_GuarantorEmployerNameReps() {
 1077  0
             return this.getReps(16);
 1078  
     }
 1079  
 
 1080  
 
 1081  
     /**
 1082  
      * Inserts a repetition of
 1083  
      * GT1-16: "Guarantor Employer Name" at a specific index
 1084  
      *
 1085  
      * @param rep The repetition index (0-indexed)
 1086  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1087  
      */
 1088  
     public XPN insertGuarantorEmployerName(int rep) throws HL7Exception { 
 1089  0
         return (XPN) super.insertRepetition(16, rep);
 1090  
     }
 1091  
 
 1092  
 
 1093  
     /**
 1094  
      * Inserts a repetition of
 1095  
      * GT1-16: "Guarantor Employer Name" at a specific index
 1096  
      *
 1097  
      * @param rep The repetition index (0-indexed)
 1098  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1099  
      */
 1100  
     public XPN insertGt116_GuarantorEmployerName(int rep) throws HL7Exception { 
 1101  0
         return (XPN) super.insertRepetition(16, rep);
 1102  
     }
 1103  
 
 1104  
 
 1105  
     /**
 1106  
      * Removes a repetition of
 1107  
      * GT1-16: "Guarantor Employer Name" at a specific index
 1108  
      *
 1109  
      * @param rep The repetition index (0-indexed)
 1110  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1111  
      */
 1112  
     public XPN removeGuarantorEmployerName(int rep) throws HL7Exception { 
 1113  0
         return (XPN) super.removeRepetition(16, rep);
 1114  
     }
 1115  
 
 1116  
 
 1117  
     /**
 1118  
      * Removes a repetition of
 1119  
      * GT1-16: "Guarantor Employer Name" at a specific index
 1120  
      *
 1121  
      * @param rep The repetition index (0-indexed)
 1122  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1123  
      */
 1124  
     public XPN removeGt116_GuarantorEmployerName(int rep) throws HL7Exception { 
 1125  0
         return (XPN) super.removeRepetition(16, rep);
 1126  
     }
 1127  
 
 1128  
 
 1129  
 
 1130  
     /**
 1131  
      * Returns all repetitions of Guarantor Employer Address (GT1-17).
 1132  
      */
 1133  
     public XAD[] getGuarantorEmployerAddress() {
 1134  0
             XAD[] retVal = this.getTypedField(17, new XAD[0]);
 1135  0
             return retVal;
 1136  
     }
 1137  
 
 1138  
 
 1139  
     /**
 1140  
      * Returns all repetitions of Guarantor Employer Address (GT1-17).
 1141  
      */
 1142  
     public XAD[] getGt117_GuarantorEmployerAddress() {
 1143  0
             XAD[] retVal = this.getTypedField(17, new XAD[0]);
 1144  0
             return retVal;
 1145  
     }
 1146  
 
 1147  
 
 1148  
     /**
 1149  
      * Returns a count of the current number of repetitions of Guarantor Employer Address (GT1-17).
 1150  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 1151  
      * it will return zero.
 1152  
      */
 1153  
     public int getGuarantorEmployerAddressReps() {
 1154  0
             return this.getReps(17);
 1155  
     }
 1156  
 
 1157  
 
 1158  
     /**
 1159  
      * Returns a specific repetition of
 1160  
      * GT1-17: "Guarantor Employer Address" - creates it if necessary
 1161  
      *
 1162  
      * @param rep The repetition index (0-indexed)
 1163  
      */
 1164  
     public XAD getGuarantorEmployerAddress(int rep) { 
 1165  0
                 XAD retVal = this.getTypedField(17, rep);
 1166  0
                 return retVal;
 1167  
     }
 1168  
 
 1169  
     /**
 1170  
      * Returns a specific repetition of
 1171  
      * GT1-17: "Guarantor Employer Address" - creates it if necessary
 1172  
      *
 1173  
      * @param rep The repetition index (0-indexed)
 1174  
      */
 1175  
     public XAD getGt117_GuarantorEmployerAddress(int rep) { 
 1176  0
                 XAD retVal = this.getTypedField(17, rep);
 1177  0
                 return retVal;
 1178  
     }
 1179  
 
 1180  
     /**
 1181  
      * Returns a count of the current number of repetitions of Guarantor Employer Address (GT1-17).
 1182  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 1183  
      * it will return zero.
 1184  
      */
 1185  
     public int getGt117_GuarantorEmployerAddressReps() {
 1186  0
             return this.getReps(17);
 1187  
     }
 1188  
 
 1189  
 
 1190  
     /**
 1191  
      * Inserts a repetition of
 1192  
      * GT1-17: "Guarantor Employer Address" at a specific index
 1193  
      *
 1194  
      * @param rep The repetition index (0-indexed)
 1195  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1196  
      */
 1197  
     public XAD insertGuarantorEmployerAddress(int rep) throws HL7Exception { 
 1198  0
         return (XAD) super.insertRepetition(17, rep);
 1199  
     }
 1200  
 
 1201  
 
 1202  
     /**
 1203  
      * Inserts a repetition of
 1204  
      * GT1-17: "Guarantor Employer Address" at a specific index
 1205  
      *
 1206  
      * @param rep The repetition index (0-indexed)
 1207  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1208  
      */
 1209  
     public XAD insertGt117_GuarantorEmployerAddress(int rep) throws HL7Exception { 
 1210  0
         return (XAD) super.insertRepetition(17, rep);
 1211  
     }
 1212  
 
 1213  
 
 1214  
     /**
 1215  
      * Removes a repetition of
 1216  
      * GT1-17: "Guarantor Employer Address" at a specific index
 1217  
      *
 1218  
      * @param rep The repetition index (0-indexed)
 1219  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1220  
      */
 1221  
     public XAD removeGuarantorEmployerAddress(int rep) throws HL7Exception { 
 1222  0
         return (XAD) super.removeRepetition(17, rep);
 1223  
     }
 1224  
 
 1225  
 
 1226  
     /**
 1227  
      * Removes a repetition of
 1228  
      * GT1-17: "Guarantor Employer Address" at a specific index
 1229  
      *
 1230  
      * @param rep The repetition index (0-indexed)
 1231  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1232  
      */
 1233  
     public XAD removeGt117_GuarantorEmployerAddress(int rep) throws HL7Exception { 
 1234  0
         return (XAD) super.removeRepetition(17, rep);
 1235  
     }
 1236  
 
 1237  
 
 1238  
 
 1239  
     /**
 1240  
      * Returns all repetitions of Guarantor Employer Phone Number (GT1-18).
 1241  
      */
 1242  
     public XTN[] getGuarantorEmployerPhoneNumber() {
 1243  0
             XTN[] retVal = this.getTypedField(18, new XTN[0]);
 1244  0
             return retVal;
 1245  
     }
 1246  
 
 1247  
 
 1248  
     /**
 1249  
      * Returns all repetitions of Guarantor Employer Phone Number (GT1-18).
 1250  
      */
 1251  
     public XTN[] getGt118_GuarantorEmployerPhoneNumber() {
 1252  0
             XTN[] retVal = this.getTypedField(18, new XTN[0]);
 1253  0
             return retVal;
 1254  
     }
 1255  
 
 1256  
 
 1257  
     /**
 1258  
      * Returns a count of the current number of repetitions of Guarantor Employer Phone Number (GT1-18).
 1259  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 1260  
      * it will return zero.
 1261  
      */
 1262  
     public int getGuarantorEmployerPhoneNumberReps() {
 1263  0
             return this.getReps(18);
 1264  
     }
 1265  
 
 1266  
 
 1267  
     /**
 1268  
      * Returns a specific repetition of
 1269  
      * GT1-18: "Guarantor Employer Phone Number" - creates it if necessary
 1270  
      *
 1271  
      * @param rep The repetition index (0-indexed)
 1272  
      */
 1273  
     public XTN getGuarantorEmployerPhoneNumber(int rep) { 
 1274  0
                 XTN retVal = this.getTypedField(18, rep);
 1275  0
                 return retVal;
 1276  
     }
 1277  
 
 1278  
     /**
 1279  
      * Returns a specific repetition of
 1280  
      * GT1-18: "Guarantor Employer Phone Number" - creates it if necessary
 1281  
      *
 1282  
      * @param rep The repetition index (0-indexed)
 1283  
      */
 1284  
     public XTN getGt118_GuarantorEmployerPhoneNumber(int rep) { 
 1285  0
                 XTN retVal = this.getTypedField(18, rep);
 1286  0
                 return retVal;
 1287  
     }
 1288  
 
 1289  
     /**
 1290  
      * Returns a count of the current number of repetitions of Guarantor Employer Phone Number (GT1-18).
 1291  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 1292  
      * it will return zero.
 1293  
      */
 1294  
     public int getGt118_GuarantorEmployerPhoneNumberReps() {
 1295  0
             return this.getReps(18);
 1296  
     }
 1297  
 
 1298  
 
 1299  
     /**
 1300  
      * Inserts a repetition of
 1301  
      * GT1-18: "Guarantor Employer Phone Number" at a specific index
 1302  
      *
 1303  
      * @param rep The repetition index (0-indexed)
 1304  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1305  
      */
 1306  
     public XTN insertGuarantorEmployerPhoneNumber(int rep) throws HL7Exception { 
 1307  0
         return (XTN) super.insertRepetition(18, rep);
 1308  
     }
 1309  
 
 1310  
 
 1311  
     /**
 1312  
      * Inserts a repetition of
 1313  
      * GT1-18: "Guarantor Employer Phone Number" at a specific index
 1314  
      *
 1315  
      * @param rep The repetition index (0-indexed)
 1316  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1317  
      */
 1318  
     public XTN insertGt118_GuarantorEmployerPhoneNumber(int rep) throws HL7Exception { 
 1319  0
         return (XTN) super.insertRepetition(18, rep);
 1320  
     }
 1321  
 
 1322  
 
 1323  
     /**
 1324  
      * Removes a repetition of
 1325  
      * GT1-18: "Guarantor Employer Phone Number" at a specific index
 1326  
      *
 1327  
      * @param rep The repetition index (0-indexed)
 1328  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1329  
      */
 1330  
     public XTN removeGuarantorEmployerPhoneNumber(int rep) throws HL7Exception { 
 1331  0
         return (XTN) super.removeRepetition(18, rep);
 1332  
     }
 1333  
 
 1334  
 
 1335  
     /**
 1336  
      * Removes a repetition of
 1337  
      * GT1-18: "Guarantor Employer Phone Number" at a specific index
 1338  
      *
 1339  
      * @param rep The repetition index (0-indexed)
 1340  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1341  
      */
 1342  
     public XTN removeGt118_GuarantorEmployerPhoneNumber(int rep) throws HL7Exception { 
 1343  0
         return (XTN) super.removeRepetition(18, rep);
 1344  
     }
 1345  
 
 1346  
 
 1347  
 
 1348  
     /**
 1349  
      * Returns all repetitions of Guarantor Employee ID Number (GT1-19).
 1350  
      */
 1351  
     public CX[] getGuarantorEmployeeIDNumber() {
 1352  0
             CX[] retVal = this.getTypedField(19, new CX[0]);
 1353  0
             return retVal;
 1354  
     }
 1355  
 
 1356  
 
 1357  
     /**
 1358  
      * Returns all repetitions of Guarantor Employee ID Number (GT1-19).
 1359  
      */
 1360  
     public CX[] getGt119_GuarantorEmployeeIDNumber() {
 1361  0
             CX[] retVal = this.getTypedField(19, new CX[0]);
 1362  0
             return retVal;
 1363  
     }
 1364  
 
 1365  
 
 1366  
     /**
 1367  
      * Returns a count of the current number of repetitions of Guarantor Employee ID Number (GT1-19).
 1368  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 1369  
      * it will return zero.
 1370  
      */
 1371  
     public int getGuarantorEmployeeIDNumberReps() {
 1372  0
             return this.getReps(19);
 1373  
     }
 1374  
 
 1375  
 
 1376  
     /**
 1377  
      * Returns a specific repetition of
 1378  
      * GT1-19: "Guarantor Employee ID Number" - creates it if necessary
 1379  
      *
 1380  
      * @param rep The repetition index (0-indexed)
 1381  
      */
 1382  
     public CX getGuarantorEmployeeIDNumber(int rep) { 
 1383  0
                 CX retVal = this.getTypedField(19, rep);
 1384  0
                 return retVal;
 1385  
     }
 1386  
 
 1387  
     /**
 1388  
      * Returns a specific repetition of
 1389  
      * GT1-19: "Guarantor Employee ID Number" - creates it if necessary
 1390  
      *
 1391  
      * @param rep The repetition index (0-indexed)
 1392  
      */
 1393  
     public CX getGt119_GuarantorEmployeeIDNumber(int rep) { 
 1394  0
                 CX retVal = this.getTypedField(19, rep);
 1395  0
                 return retVal;
 1396  
     }
 1397  
 
 1398  
     /**
 1399  
      * Returns a count of the current number of repetitions of Guarantor Employee ID Number (GT1-19).
 1400  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 1401  
      * it will return zero.
 1402  
      */
 1403  
     public int getGt119_GuarantorEmployeeIDNumberReps() {
 1404  0
             return this.getReps(19);
 1405  
     }
 1406  
 
 1407  
 
 1408  
     /**
 1409  
      * Inserts a repetition of
 1410  
      * GT1-19: "Guarantor Employee ID Number" at a specific index
 1411  
      *
 1412  
      * @param rep The repetition index (0-indexed)
 1413  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1414  
      */
 1415  
     public CX insertGuarantorEmployeeIDNumber(int rep) throws HL7Exception { 
 1416  0
         return (CX) super.insertRepetition(19, rep);
 1417  
     }
 1418  
 
 1419  
 
 1420  
     /**
 1421  
      * Inserts a repetition of
 1422  
      * GT1-19: "Guarantor Employee ID Number" at a specific index
 1423  
      *
 1424  
      * @param rep The repetition index (0-indexed)
 1425  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1426  
      */
 1427  
     public CX insertGt119_GuarantorEmployeeIDNumber(int rep) throws HL7Exception { 
 1428  0
         return (CX) super.insertRepetition(19, rep);
 1429  
     }
 1430  
 
 1431  
 
 1432  
     /**
 1433  
      * Removes a repetition of
 1434  
      * GT1-19: "Guarantor Employee ID Number" at a specific index
 1435  
      *
 1436  
      * @param rep The repetition index (0-indexed)
 1437  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1438  
      */
 1439  
     public CX removeGuarantorEmployeeIDNumber(int rep) throws HL7Exception { 
 1440  0
         return (CX) super.removeRepetition(19, rep);
 1441  
     }
 1442  
 
 1443  
 
 1444  
     /**
 1445  
      * Removes a repetition of
 1446  
      * GT1-19: "Guarantor Employee ID Number" at a specific index
 1447  
      *
 1448  
      * @param rep The repetition index (0-indexed)
 1449  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1450  
      */
 1451  
     public CX removeGt119_GuarantorEmployeeIDNumber(int rep) throws HL7Exception { 
 1452  0
         return (CX) super.removeRepetition(19, rep);
 1453  
     }
 1454  
 
 1455  
 
 1456  
 
 1457  
 
 1458  
     /**
 1459  
      * Returns
 1460  
      * GT1-20: "Guarantor Employment Status" - creates it if necessary
 1461  
      */
 1462  
     public IS getGuarantorEmploymentStatus() { 
 1463  0
                 IS retVal = this.getTypedField(20, 0);
 1464  0
                 return retVal;
 1465  
     }
 1466  
     
 1467  
     /**
 1468  
      * Returns
 1469  
      * GT1-20: "Guarantor Employment Status" - creates it if necessary
 1470  
      */
 1471  
     public IS getGt120_GuarantorEmploymentStatus() { 
 1472  0
                 IS retVal = this.getTypedField(20, 0);
 1473  0
                 return retVal;
 1474  
     }
 1475  
 
 1476  
 
 1477  
     /**
 1478  
      * Returns all repetitions of Guarantor Organization Name (GT1-21).
 1479  
      */
 1480  
     public XON[] getGuarantorOrganizationName() {
 1481  0
             XON[] retVal = this.getTypedField(21, new XON[0]);
 1482  0
             return retVal;
 1483  
     }
 1484  
 
 1485  
 
 1486  
     /**
 1487  
      * Returns all repetitions of Guarantor Organization Name (GT1-21).
 1488  
      */
 1489  
     public XON[] getGt121_GuarantorOrganizationName() {
 1490  0
             XON[] retVal = this.getTypedField(21, new XON[0]);
 1491  0
             return retVal;
 1492  
     }
 1493  
 
 1494  
 
 1495  
     /**
 1496  
      * Returns a count of the current number of repetitions of Guarantor Organization Name (GT1-21).
 1497  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 1498  
      * it will return zero.
 1499  
      */
 1500  
     public int getGuarantorOrganizationNameReps() {
 1501  0
             return this.getReps(21);
 1502  
     }
 1503  
 
 1504  
 
 1505  
     /**
 1506  
      * Returns a specific repetition of
 1507  
      * GT1-21: "Guarantor Organization Name" - creates it if necessary
 1508  
      *
 1509  
      * @param rep The repetition index (0-indexed)
 1510  
      */
 1511  
     public XON getGuarantorOrganizationName(int rep) { 
 1512  0
                 XON retVal = this.getTypedField(21, rep);
 1513  0
                 return retVal;
 1514  
     }
 1515  
 
 1516  
     /**
 1517  
      * Returns a specific repetition of
 1518  
      * GT1-21: "Guarantor Organization Name" - creates it if necessary
 1519  
      *
 1520  
      * @param rep The repetition index (0-indexed)
 1521  
      */
 1522  
     public XON getGt121_GuarantorOrganizationName(int rep) { 
 1523  0
                 XON retVal = this.getTypedField(21, rep);
 1524  0
                 return retVal;
 1525  
     }
 1526  
 
 1527  
     /**
 1528  
      * Returns a count of the current number of repetitions of Guarantor Organization Name (GT1-21).
 1529  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 1530  
      * it will return zero.
 1531  
      */
 1532  
     public int getGt121_GuarantorOrganizationNameReps() {
 1533  0
             return this.getReps(21);
 1534  
     }
 1535  
 
 1536  
 
 1537  
     /**
 1538  
      * Inserts a repetition of
 1539  
      * GT1-21: "Guarantor Organization Name" at a specific index
 1540  
      *
 1541  
      * @param rep The repetition index (0-indexed)
 1542  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1543  
      */
 1544  
     public XON insertGuarantorOrganizationName(int rep) throws HL7Exception { 
 1545  0
         return (XON) super.insertRepetition(21, rep);
 1546  
     }
 1547  
 
 1548  
 
 1549  
     /**
 1550  
      * Inserts a repetition of
 1551  
      * GT1-21: "Guarantor Organization Name" at a specific index
 1552  
      *
 1553  
      * @param rep The repetition index (0-indexed)
 1554  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1555  
      */
 1556  
     public XON insertGt121_GuarantorOrganizationName(int rep) throws HL7Exception { 
 1557  0
         return (XON) super.insertRepetition(21, rep);
 1558  
     }
 1559  
 
 1560  
 
 1561  
     /**
 1562  
      * Removes a repetition of
 1563  
      * GT1-21: "Guarantor Organization Name" at a specific index
 1564  
      *
 1565  
      * @param rep The repetition index (0-indexed)
 1566  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1567  
      */
 1568  
     public XON removeGuarantorOrganizationName(int rep) throws HL7Exception { 
 1569  0
         return (XON) super.removeRepetition(21, rep);
 1570  
     }
 1571  
 
 1572  
 
 1573  
     /**
 1574  
      * Removes a repetition of
 1575  
      * GT1-21: "Guarantor Organization Name" at a specific index
 1576  
      *
 1577  
      * @param rep The repetition index (0-indexed)
 1578  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1579  
      */
 1580  
     public XON removeGt121_GuarantorOrganizationName(int rep) throws HL7Exception { 
 1581  0
         return (XON) super.removeRepetition(21, rep);
 1582  
     }
 1583  
 
 1584  
 
 1585  
 
 1586  
 
 1587  
     /**
 1588  
      * Returns
 1589  
      * GT1-22: "Guarantor Billing Hold Flag" - creates it if necessary
 1590  
      */
 1591  
     public ID getGuarantorBillingHoldFlag() { 
 1592  0
                 ID retVal = this.getTypedField(22, 0);
 1593  0
                 return retVal;
 1594  
     }
 1595  
     
 1596  
     /**
 1597  
      * Returns
 1598  
      * GT1-22: "Guarantor Billing Hold Flag" - creates it if necessary
 1599  
      */
 1600  
     public ID getGt122_GuarantorBillingHoldFlag() { 
 1601  0
                 ID retVal = this.getTypedField(22, 0);
 1602  0
                 return retVal;
 1603  
     }
 1604  
 
 1605  
 
 1606  
 
 1607  
     /**
 1608  
      * Returns
 1609  
      * GT1-23: "Guarantor Credit Rating Code" - creates it if necessary
 1610  
      */
 1611  
     public CE getGuarantorCreditRatingCode() { 
 1612  0
                 CE retVal = this.getTypedField(23, 0);
 1613  0
                 return retVal;
 1614  
     }
 1615  
     
 1616  
     /**
 1617  
      * Returns
 1618  
      * GT1-23: "Guarantor Credit Rating Code" - creates it if necessary
 1619  
      */
 1620  
     public CE getGt123_GuarantorCreditRatingCode() { 
 1621  0
                 CE retVal = this.getTypedField(23, 0);
 1622  0
                 return retVal;
 1623  
     }
 1624  
 
 1625  
 
 1626  
 
 1627  
     /**
 1628  
      * Returns
 1629  
      * GT1-24: "Guarantor Death Date And Time" - creates it if necessary
 1630  
      */
 1631  
     public TS getGuarantorDeathDateAndTime() { 
 1632  0
                 TS retVal = this.getTypedField(24, 0);
 1633  0
                 return retVal;
 1634  
     }
 1635  
     
 1636  
     /**
 1637  
      * Returns
 1638  
      * GT1-24: "Guarantor Death Date And Time" - creates it if necessary
 1639  
      */
 1640  
     public TS getGt124_GuarantorDeathDateAndTime() { 
 1641  0
                 TS retVal = this.getTypedField(24, 0);
 1642  0
                 return retVal;
 1643  
     }
 1644  
 
 1645  
 
 1646  
 
 1647  
     /**
 1648  
      * Returns
 1649  
      * GT1-25: "Guarantor Death Flag" - creates it if necessary
 1650  
      */
 1651  
     public ID getGuarantorDeathFlag() { 
 1652  0
                 ID retVal = this.getTypedField(25, 0);
 1653  0
                 return retVal;
 1654  
     }
 1655  
     
 1656  
     /**
 1657  
      * Returns
 1658  
      * GT1-25: "Guarantor Death Flag" - creates it if necessary
 1659  
      */
 1660  
     public ID getGt125_GuarantorDeathFlag() { 
 1661  0
                 ID retVal = this.getTypedField(25, 0);
 1662  0
                 return retVal;
 1663  
     }
 1664  
 
 1665  
 
 1666  
 
 1667  
     /**
 1668  
      * Returns
 1669  
      * GT1-26: "Guarantor Charge Adjustment Code" - creates it if necessary
 1670  
      */
 1671  
     public CE getGuarantorChargeAdjustmentCode() { 
 1672  0
                 CE retVal = this.getTypedField(26, 0);
 1673  0
                 return retVal;
 1674  
     }
 1675  
     
 1676  
     /**
 1677  
      * Returns
 1678  
      * GT1-26: "Guarantor Charge Adjustment Code" - creates it if necessary
 1679  
      */
 1680  
     public CE getGt126_GuarantorChargeAdjustmentCode() { 
 1681  0
                 CE retVal = this.getTypedField(26, 0);
 1682  0
                 return retVal;
 1683  
     }
 1684  
 
 1685  
 
 1686  
 
 1687  
     /**
 1688  
      * Returns
 1689  
      * GT1-27: "Guarantor Household Annual Income" - creates it if necessary
 1690  
      */
 1691  
     public CP getGuarantorHouseholdAnnualIncome() { 
 1692  0
                 CP retVal = this.getTypedField(27, 0);
 1693  0
                 return retVal;
 1694  
     }
 1695  
     
 1696  
     /**
 1697  
      * Returns
 1698  
      * GT1-27: "Guarantor Household Annual Income" - creates it if necessary
 1699  
      */
 1700  
     public CP getGt127_GuarantorHouseholdAnnualIncome() { 
 1701  0
                 CP retVal = this.getTypedField(27, 0);
 1702  0
                 return retVal;
 1703  
     }
 1704  
 
 1705  
 
 1706  
 
 1707  
     /**
 1708  
      * Returns
 1709  
      * GT1-28: "Guarantor Household Size" - creates it if necessary
 1710  
      */
 1711  
     public NM getGuarantorHouseholdSize() { 
 1712  0
                 NM retVal = this.getTypedField(28, 0);
 1713  0
                 return retVal;
 1714  
     }
 1715  
     
 1716  
     /**
 1717  
      * Returns
 1718  
      * GT1-28: "Guarantor Household Size" - creates it if necessary
 1719  
      */
 1720  
     public NM getGt128_GuarantorHouseholdSize() { 
 1721  0
                 NM retVal = this.getTypedField(28, 0);
 1722  0
                 return retVal;
 1723  
     }
 1724  
 
 1725  
 
 1726  
     /**
 1727  
      * Returns all repetitions of Guarantor Employer ID Number (GT1-29).
 1728  
      */
 1729  
     public CX[] getGuarantorEmployerIDNumber() {
 1730  0
             CX[] retVal = this.getTypedField(29, new CX[0]);
 1731  0
             return retVal;
 1732  
     }
 1733  
 
 1734  
 
 1735  
     /**
 1736  
      * Returns all repetitions of Guarantor Employer ID Number (GT1-29).
 1737  
      */
 1738  
     public CX[] getGt129_GuarantorEmployerIDNumber() {
 1739  0
             CX[] retVal = this.getTypedField(29, new CX[0]);
 1740  0
             return retVal;
 1741  
     }
 1742  
 
 1743  
 
 1744  
     /**
 1745  
      * Returns a count of the current number of repetitions of Guarantor Employer ID Number (GT1-29).
 1746  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 1747  
      * it will return zero.
 1748  
      */
 1749  
     public int getGuarantorEmployerIDNumberReps() {
 1750  0
             return this.getReps(29);
 1751  
     }
 1752  
 
 1753  
 
 1754  
     /**
 1755  
      * Returns a specific repetition of
 1756  
      * GT1-29: "Guarantor Employer ID Number" - creates it if necessary
 1757  
      *
 1758  
      * @param rep The repetition index (0-indexed)
 1759  
      */
 1760  
     public CX getGuarantorEmployerIDNumber(int rep) { 
 1761  0
                 CX retVal = this.getTypedField(29, rep);
 1762  0
                 return retVal;
 1763  
     }
 1764  
 
 1765  
     /**
 1766  
      * Returns a specific repetition of
 1767  
      * GT1-29: "Guarantor Employer ID Number" - creates it if necessary
 1768  
      *
 1769  
      * @param rep The repetition index (0-indexed)
 1770  
      */
 1771  
     public CX getGt129_GuarantorEmployerIDNumber(int rep) { 
 1772  0
                 CX retVal = this.getTypedField(29, rep);
 1773  0
                 return retVal;
 1774  
     }
 1775  
 
 1776  
     /**
 1777  
      * Returns a count of the current number of repetitions of Guarantor Employer ID Number (GT1-29).
 1778  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 1779  
      * it will return zero.
 1780  
      */
 1781  
     public int getGt129_GuarantorEmployerIDNumberReps() {
 1782  0
             return this.getReps(29);
 1783  
     }
 1784  
 
 1785  
 
 1786  
     /**
 1787  
      * Inserts a repetition of
 1788  
      * GT1-29: "Guarantor Employer ID Number" at a specific index
 1789  
      *
 1790  
      * @param rep The repetition index (0-indexed)
 1791  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1792  
      */
 1793  
     public CX insertGuarantorEmployerIDNumber(int rep) throws HL7Exception { 
 1794  0
         return (CX) super.insertRepetition(29, rep);
 1795  
     }
 1796  
 
 1797  
 
 1798  
     /**
 1799  
      * Inserts a repetition of
 1800  
      * GT1-29: "Guarantor Employer ID Number" at a specific index
 1801  
      *
 1802  
      * @param rep The repetition index (0-indexed)
 1803  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1804  
      */
 1805  
     public CX insertGt129_GuarantorEmployerIDNumber(int rep) throws HL7Exception { 
 1806  0
         return (CX) super.insertRepetition(29, rep);
 1807  
     }
 1808  
 
 1809  
 
 1810  
     /**
 1811  
      * Removes a repetition of
 1812  
      * GT1-29: "Guarantor Employer ID Number" at a specific index
 1813  
      *
 1814  
      * @param rep The repetition index (0-indexed)
 1815  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1816  
      */
 1817  
     public CX removeGuarantorEmployerIDNumber(int rep) throws HL7Exception { 
 1818  0
         return (CX) super.removeRepetition(29, rep);
 1819  
     }
 1820  
 
 1821  
 
 1822  
     /**
 1823  
      * Removes a repetition of
 1824  
      * GT1-29: "Guarantor Employer ID Number" at a specific index
 1825  
      *
 1826  
      * @param rep The repetition index (0-indexed)
 1827  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1828  
      */
 1829  
     public CX removeGt129_GuarantorEmployerIDNumber(int rep) throws HL7Exception { 
 1830  0
         return (CX) super.removeRepetition(29, rep);
 1831  
     }
 1832  
 
 1833  
 
 1834  
 
 1835  
 
 1836  
     /**
 1837  
      * Returns
 1838  
      * GT1-30: "Guarantor Marital Status Code" - creates it if necessary
 1839  
      */
 1840  
     public CE getGuarantorMaritalStatusCode() { 
 1841  0
                 CE retVal = this.getTypedField(30, 0);
 1842  0
                 return retVal;
 1843  
     }
 1844  
     
 1845  
     /**
 1846  
      * Returns
 1847  
      * GT1-30: "Guarantor Marital Status Code" - creates it if necessary
 1848  
      */
 1849  
     public CE getGt130_GuarantorMaritalStatusCode() { 
 1850  0
                 CE retVal = this.getTypedField(30, 0);
 1851  0
                 return retVal;
 1852  
     }
 1853  
 
 1854  
 
 1855  
 
 1856  
     /**
 1857  
      * Returns
 1858  
      * GT1-31: "Guarantor Hire Effective Date" - creates it if necessary
 1859  
      */
 1860  
     public DT getGuarantorHireEffectiveDate() { 
 1861  0
                 DT retVal = this.getTypedField(31, 0);
 1862  0
                 return retVal;
 1863  
     }
 1864  
     
 1865  
     /**
 1866  
      * Returns
 1867  
      * GT1-31: "Guarantor Hire Effective Date" - creates it if necessary
 1868  
      */
 1869  
     public DT getGt131_GuarantorHireEffectiveDate() { 
 1870  0
                 DT retVal = this.getTypedField(31, 0);
 1871  0
                 return retVal;
 1872  
     }
 1873  
 
 1874  
 
 1875  
 
 1876  
     /**
 1877  
      * Returns
 1878  
      * GT1-32: "Employment Stop Date" - creates it if necessary
 1879  
      */
 1880  
     public DT getEmploymentStopDate() { 
 1881  0
                 DT retVal = this.getTypedField(32, 0);
 1882  0
                 return retVal;
 1883  
     }
 1884  
     
 1885  
     /**
 1886  
      * Returns
 1887  
      * GT1-32: "Employment Stop Date" - creates it if necessary
 1888  
      */
 1889  
     public DT getGt132_EmploymentStopDate() { 
 1890  0
                 DT retVal = this.getTypedField(32, 0);
 1891  0
                 return retVal;
 1892  
     }
 1893  
 
 1894  
 
 1895  
 
 1896  
     /**
 1897  
      * Returns
 1898  
      * GT1-33: "Living Dependency" - creates it if necessary
 1899  
      */
 1900  
     public IS getLivingDependency() { 
 1901  0
                 IS retVal = this.getTypedField(33, 0);
 1902  0
                 return retVal;
 1903  
     }
 1904  
     
 1905  
     /**
 1906  
      * Returns
 1907  
      * GT1-33: "Living Dependency" - creates it if necessary
 1908  
      */
 1909  
     public IS getGt133_LivingDependency() { 
 1910  0
                 IS retVal = this.getTypedField(33, 0);
 1911  0
                 return retVal;
 1912  
     }
 1913  
 
 1914  
 
 1915  
     /**
 1916  
      * Returns all repetitions of Ambulatory Status (GT1-34).
 1917  
      */
 1918  
     public IS[] getAmbulatoryStatus() {
 1919  0
             IS[] retVal = this.getTypedField(34, new IS[0]);
 1920  0
             return retVal;
 1921  
     }
 1922  
 
 1923  
 
 1924  
     /**
 1925  
      * Returns all repetitions of Ambulatory Status (GT1-34).
 1926  
      */
 1927  
     public IS[] getGt134_AmbulatoryStatus() {
 1928  0
             IS[] retVal = this.getTypedField(34, new IS[0]);
 1929  0
             return retVal;
 1930  
     }
 1931  
 
 1932  
 
 1933  
     /**
 1934  
      * Returns a count of the current number of repetitions of Ambulatory Status (GT1-34).
 1935  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 1936  
      * it will return zero.
 1937  
      */
 1938  
     public int getAmbulatoryStatusReps() {
 1939  0
             return this.getReps(34);
 1940  
     }
 1941  
 
 1942  
 
 1943  
     /**
 1944  
      * Returns a specific repetition of
 1945  
      * GT1-34: "Ambulatory Status" - creates it if necessary
 1946  
      *
 1947  
      * @param rep The repetition index (0-indexed)
 1948  
      */
 1949  
     public IS getAmbulatoryStatus(int rep) { 
 1950  0
                 IS retVal = this.getTypedField(34, rep);
 1951  0
                 return retVal;
 1952  
     }
 1953  
 
 1954  
     /**
 1955  
      * Returns a specific repetition of
 1956  
      * GT1-34: "Ambulatory Status" - creates it if necessary
 1957  
      *
 1958  
      * @param rep The repetition index (0-indexed)
 1959  
      */
 1960  
     public IS getGt134_AmbulatoryStatus(int rep) { 
 1961  0
                 IS retVal = this.getTypedField(34, rep);
 1962  0
                 return retVal;
 1963  
     }
 1964  
 
 1965  
     /**
 1966  
      * Returns a count of the current number of repetitions of Ambulatory Status (GT1-34).
 1967  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 1968  
      * it will return zero.
 1969  
      */
 1970  
     public int getGt134_AmbulatoryStatusReps() {
 1971  0
             return this.getReps(34);
 1972  
     }
 1973  
 
 1974  
 
 1975  
     /**
 1976  
      * Inserts a repetition of
 1977  
      * GT1-34: "Ambulatory Status" at a specific index
 1978  
      *
 1979  
      * @param rep The repetition index (0-indexed)
 1980  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1981  
      */
 1982  
     public IS insertAmbulatoryStatus(int rep) throws HL7Exception { 
 1983  0
         return (IS) super.insertRepetition(34, rep);
 1984  
     }
 1985  
 
 1986  
 
 1987  
     /**
 1988  
      * Inserts a repetition of
 1989  
      * GT1-34: "Ambulatory Status" at a specific index
 1990  
      *
 1991  
      * @param rep The repetition index (0-indexed)
 1992  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 1993  
      */
 1994  
     public IS insertGt134_AmbulatoryStatus(int rep) throws HL7Exception { 
 1995  0
         return (IS) super.insertRepetition(34, rep);
 1996  
     }
 1997  
 
 1998  
 
 1999  
     /**
 2000  
      * Removes a repetition of
 2001  
      * GT1-34: "Ambulatory Status" at a specific index
 2002  
      *
 2003  
      * @param rep The repetition index (0-indexed)
 2004  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2005  
      */
 2006  
     public IS removeAmbulatoryStatus(int rep) throws HL7Exception { 
 2007  0
         return (IS) super.removeRepetition(34, rep);
 2008  
     }
 2009  
 
 2010  
 
 2011  
     /**
 2012  
      * Removes a repetition of
 2013  
      * GT1-34: "Ambulatory Status" at a specific index
 2014  
      *
 2015  
      * @param rep The repetition index (0-indexed)
 2016  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2017  
      */
 2018  
     public IS removeGt134_AmbulatoryStatus(int rep) throws HL7Exception { 
 2019  0
         return (IS) super.removeRepetition(34, rep);
 2020  
     }
 2021  
 
 2022  
 
 2023  
 
 2024  
     /**
 2025  
      * Returns all repetitions of Citizenship (GT1-35).
 2026  
      */
 2027  
     public CE[] getCitizenship() {
 2028  0
             CE[] retVal = this.getTypedField(35, new CE[0]);
 2029  0
             return retVal;
 2030  
     }
 2031  
 
 2032  
 
 2033  
     /**
 2034  
      * Returns all repetitions of Citizenship (GT1-35).
 2035  
      */
 2036  
     public CE[] getGt135_Citizenship() {
 2037  0
             CE[] retVal = this.getTypedField(35, new CE[0]);
 2038  0
             return retVal;
 2039  
     }
 2040  
 
 2041  
 
 2042  
     /**
 2043  
      * Returns a count of the current number of repetitions of Citizenship (GT1-35).
 2044  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 2045  
      * it will return zero.
 2046  
      */
 2047  
     public int getCitizenshipReps() {
 2048  0
             return this.getReps(35);
 2049  
     }
 2050  
 
 2051  
 
 2052  
     /**
 2053  
      * Returns a specific repetition of
 2054  
      * GT1-35: "Citizenship" - creates it if necessary
 2055  
      *
 2056  
      * @param rep The repetition index (0-indexed)
 2057  
      */
 2058  
     public CE getCitizenship(int rep) { 
 2059  0
                 CE retVal = this.getTypedField(35, rep);
 2060  0
                 return retVal;
 2061  
     }
 2062  
 
 2063  
     /**
 2064  
      * Returns a specific repetition of
 2065  
      * GT1-35: "Citizenship" - creates it if necessary
 2066  
      *
 2067  
      * @param rep The repetition index (0-indexed)
 2068  
      */
 2069  
     public CE getGt135_Citizenship(int rep) { 
 2070  0
                 CE retVal = this.getTypedField(35, rep);
 2071  0
                 return retVal;
 2072  
     }
 2073  
 
 2074  
     /**
 2075  
      * Returns a count of the current number of repetitions of Citizenship (GT1-35).
 2076  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 2077  
      * it will return zero.
 2078  
      */
 2079  
     public int getGt135_CitizenshipReps() {
 2080  0
             return this.getReps(35);
 2081  
     }
 2082  
 
 2083  
 
 2084  
     /**
 2085  
      * Inserts a repetition of
 2086  
      * GT1-35: "Citizenship" at a specific index
 2087  
      *
 2088  
      * @param rep The repetition index (0-indexed)
 2089  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2090  
      */
 2091  
     public CE insertCitizenship(int rep) throws HL7Exception { 
 2092  0
         return (CE) super.insertRepetition(35, rep);
 2093  
     }
 2094  
 
 2095  
 
 2096  
     /**
 2097  
      * Inserts a repetition of
 2098  
      * GT1-35: "Citizenship" at a specific index
 2099  
      *
 2100  
      * @param rep The repetition index (0-indexed)
 2101  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2102  
      */
 2103  
     public CE insertGt135_Citizenship(int rep) throws HL7Exception { 
 2104  0
         return (CE) super.insertRepetition(35, rep);
 2105  
     }
 2106  
 
 2107  
 
 2108  
     /**
 2109  
      * Removes a repetition of
 2110  
      * GT1-35: "Citizenship" at a specific index
 2111  
      *
 2112  
      * @param rep The repetition index (0-indexed)
 2113  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2114  
      */
 2115  
     public CE removeCitizenship(int rep) throws HL7Exception { 
 2116  0
         return (CE) super.removeRepetition(35, rep);
 2117  
     }
 2118  
 
 2119  
 
 2120  
     /**
 2121  
      * Removes a repetition of
 2122  
      * GT1-35: "Citizenship" at a specific index
 2123  
      *
 2124  
      * @param rep The repetition index (0-indexed)
 2125  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2126  
      */
 2127  
     public CE removeGt135_Citizenship(int rep) throws HL7Exception { 
 2128  0
         return (CE) super.removeRepetition(35, rep);
 2129  
     }
 2130  
 
 2131  
 
 2132  
 
 2133  
 
 2134  
     /**
 2135  
      * Returns
 2136  
      * GT1-36: "Primary Language" - creates it if necessary
 2137  
      */
 2138  
     public CE getPrimaryLanguage() { 
 2139  0
                 CE retVal = this.getTypedField(36, 0);
 2140  0
                 return retVal;
 2141  
     }
 2142  
     
 2143  
     /**
 2144  
      * Returns
 2145  
      * GT1-36: "Primary Language" - creates it if necessary
 2146  
      */
 2147  
     public CE getGt136_PrimaryLanguage() { 
 2148  0
                 CE retVal = this.getTypedField(36, 0);
 2149  0
                 return retVal;
 2150  
     }
 2151  
 
 2152  
 
 2153  
 
 2154  
     /**
 2155  
      * Returns
 2156  
      * GT1-37: "Living Arrangement" - creates it if necessary
 2157  
      */
 2158  
     public IS getLivingArrangement() { 
 2159  0
                 IS retVal = this.getTypedField(37, 0);
 2160  0
                 return retVal;
 2161  
     }
 2162  
     
 2163  
     /**
 2164  
      * Returns
 2165  
      * GT1-37: "Living Arrangement" - creates it if necessary
 2166  
      */
 2167  
     public IS getGt137_LivingArrangement() { 
 2168  0
                 IS retVal = this.getTypedField(37, 0);
 2169  0
                 return retVal;
 2170  
     }
 2171  
 
 2172  
 
 2173  
 
 2174  
     /**
 2175  
      * Returns
 2176  
      * GT1-38: "Publicity Code" - creates it if necessary
 2177  
      */
 2178  
     public CE getPublicityCode() { 
 2179  0
                 CE retVal = this.getTypedField(38, 0);
 2180  0
                 return retVal;
 2181  
     }
 2182  
     
 2183  
     /**
 2184  
      * Returns
 2185  
      * GT1-38: "Publicity Code" - creates it if necessary
 2186  
      */
 2187  
     public CE getGt138_PublicityCode() { 
 2188  0
                 CE retVal = this.getTypedField(38, 0);
 2189  0
                 return retVal;
 2190  
     }
 2191  
 
 2192  
 
 2193  
 
 2194  
     /**
 2195  
      * Returns
 2196  
      * GT1-39: "Protection Indicator" - creates it if necessary
 2197  
      */
 2198  
     public ID getProtectionIndicator() { 
 2199  0
                 ID retVal = this.getTypedField(39, 0);
 2200  0
                 return retVal;
 2201  
     }
 2202  
     
 2203  
     /**
 2204  
      * Returns
 2205  
      * GT1-39: "Protection Indicator" - creates it if necessary
 2206  
      */
 2207  
     public ID getGt139_ProtectionIndicator() { 
 2208  0
                 ID retVal = this.getTypedField(39, 0);
 2209  0
                 return retVal;
 2210  
     }
 2211  
 
 2212  
 
 2213  
 
 2214  
     /**
 2215  
      * Returns
 2216  
      * GT1-40: "Student Indicator" - creates it if necessary
 2217  
      */
 2218  
     public IS getStudentIndicator() { 
 2219  0
                 IS retVal = this.getTypedField(40, 0);
 2220  0
                 return retVal;
 2221  
     }
 2222  
     
 2223  
     /**
 2224  
      * Returns
 2225  
      * GT1-40: "Student Indicator" - creates it if necessary
 2226  
      */
 2227  
     public IS getGt140_StudentIndicator() { 
 2228  0
                 IS retVal = this.getTypedField(40, 0);
 2229  0
                 return retVal;
 2230  
     }
 2231  
 
 2232  
 
 2233  
 
 2234  
     /**
 2235  
      * Returns
 2236  
      * GT1-41: "Religion" - creates it if necessary
 2237  
      */
 2238  
     public CE getReligion() { 
 2239  0
                 CE retVal = this.getTypedField(41, 0);
 2240  0
                 return retVal;
 2241  
     }
 2242  
     
 2243  
     /**
 2244  
      * Returns
 2245  
      * GT1-41: "Religion" - creates it if necessary
 2246  
      */
 2247  
     public CE getGt141_Religion() { 
 2248  0
                 CE retVal = this.getTypedField(41, 0);
 2249  0
                 return retVal;
 2250  
     }
 2251  
 
 2252  
 
 2253  
     /**
 2254  
      * Returns all repetitions of Mother_s Maiden Name (GT1-42).
 2255  
      */
 2256  
     public XPN[] getMotherSMaidenName() {
 2257  0
             XPN[] retVal = this.getTypedField(42, new XPN[0]);
 2258  0
             return retVal;
 2259  
     }
 2260  
 
 2261  
 
 2262  
     /**
 2263  
      * Returns all repetitions of Mother_s Maiden Name (GT1-42).
 2264  
      */
 2265  
     public XPN[] getGt142_MotherSMaidenName() {
 2266  0
             XPN[] retVal = this.getTypedField(42, new XPN[0]);
 2267  0
             return retVal;
 2268  
     }
 2269  
 
 2270  
 
 2271  
     /**
 2272  
      * Returns a count of the current number of repetitions of Mother_s Maiden Name (GT1-42).
 2273  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 2274  
      * it will return zero.
 2275  
      */
 2276  
     public int getMotherSMaidenNameReps() {
 2277  0
             return this.getReps(42);
 2278  
     }
 2279  
 
 2280  
 
 2281  
     /**
 2282  
      * Returns a specific repetition of
 2283  
      * GT1-42: "Mother_s Maiden Name" - creates it if necessary
 2284  
      *
 2285  
      * @param rep The repetition index (0-indexed)
 2286  
      */
 2287  
     public XPN getMotherSMaidenName(int rep) { 
 2288  0
                 XPN retVal = this.getTypedField(42, rep);
 2289  0
                 return retVal;
 2290  
     }
 2291  
 
 2292  
     /**
 2293  
      * Returns a specific repetition of
 2294  
      * GT1-42: "Mother_s Maiden Name" - creates it if necessary
 2295  
      *
 2296  
      * @param rep The repetition index (0-indexed)
 2297  
      */
 2298  
     public XPN getGt142_MotherSMaidenName(int rep) { 
 2299  0
                 XPN retVal = this.getTypedField(42, rep);
 2300  0
                 return retVal;
 2301  
     }
 2302  
 
 2303  
     /**
 2304  
      * Returns a count of the current number of repetitions of Mother_s Maiden Name (GT1-42).
 2305  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 2306  
      * it will return zero.
 2307  
      */
 2308  
     public int getGt142_MotherSMaidenNameReps() {
 2309  0
             return this.getReps(42);
 2310  
     }
 2311  
 
 2312  
 
 2313  
     /**
 2314  
      * Inserts a repetition of
 2315  
      * GT1-42: "Mother_s Maiden Name" at a specific index
 2316  
      *
 2317  
      * @param rep The repetition index (0-indexed)
 2318  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2319  
      */
 2320  
     public XPN insertMotherSMaidenName(int rep) throws HL7Exception { 
 2321  0
         return (XPN) super.insertRepetition(42, rep);
 2322  
     }
 2323  
 
 2324  
 
 2325  
     /**
 2326  
      * Inserts a repetition of
 2327  
      * GT1-42: "Mother_s Maiden Name" at a specific index
 2328  
      *
 2329  
      * @param rep The repetition index (0-indexed)
 2330  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2331  
      */
 2332  
     public XPN insertGt142_MotherSMaidenName(int rep) throws HL7Exception { 
 2333  0
         return (XPN) super.insertRepetition(42, rep);
 2334  
     }
 2335  
 
 2336  
 
 2337  
     /**
 2338  
      * Removes a repetition of
 2339  
      * GT1-42: "Mother_s Maiden Name" at a specific index
 2340  
      *
 2341  
      * @param rep The repetition index (0-indexed)
 2342  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2343  
      */
 2344  
     public XPN removeMotherSMaidenName(int rep) throws HL7Exception { 
 2345  0
         return (XPN) super.removeRepetition(42, rep);
 2346  
     }
 2347  
 
 2348  
 
 2349  
     /**
 2350  
      * Removes a repetition of
 2351  
      * GT1-42: "Mother_s Maiden Name" at a specific index
 2352  
      *
 2353  
      * @param rep The repetition index (0-indexed)
 2354  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2355  
      */
 2356  
     public XPN removeGt142_MotherSMaidenName(int rep) throws HL7Exception { 
 2357  0
         return (XPN) super.removeRepetition(42, rep);
 2358  
     }
 2359  
 
 2360  
 
 2361  
 
 2362  
 
 2363  
     /**
 2364  
      * Returns
 2365  
      * GT1-43: "Nationality" - creates it if necessary
 2366  
      */
 2367  
     public CE getNationality() { 
 2368  0
                 CE retVal = this.getTypedField(43, 0);
 2369  0
                 return retVal;
 2370  
     }
 2371  
     
 2372  
     /**
 2373  
      * Returns
 2374  
      * GT1-43: "Nationality" - creates it if necessary
 2375  
      */
 2376  
     public CE getGt143_Nationality() { 
 2377  0
                 CE retVal = this.getTypedField(43, 0);
 2378  0
                 return retVal;
 2379  
     }
 2380  
 
 2381  
 
 2382  
     /**
 2383  
      * Returns all repetitions of Ethnic Group (GT1-44).
 2384  
      */
 2385  
     public CE[] getEthnicGroup() {
 2386  0
             CE[] retVal = this.getTypedField(44, new CE[0]);
 2387  0
             return retVal;
 2388  
     }
 2389  
 
 2390  
 
 2391  
     /**
 2392  
      * Returns all repetitions of Ethnic Group (GT1-44).
 2393  
      */
 2394  
     public CE[] getGt144_EthnicGroup() {
 2395  0
             CE[] retVal = this.getTypedField(44, new CE[0]);
 2396  0
             return retVal;
 2397  
     }
 2398  
 
 2399  
 
 2400  
     /**
 2401  
      * Returns a count of the current number of repetitions of Ethnic Group (GT1-44).
 2402  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 2403  
      * it will return zero.
 2404  
      */
 2405  
     public int getEthnicGroupReps() {
 2406  0
             return this.getReps(44);
 2407  
     }
 2408  
 
 2409  
 
 2410  
     /**
 2411  
      * Returns a specific repetition of
 2412  
      * GT1-44: "Ethnic Group" - creates it if necessary
 2413  
      *
 2414  
      * @param rep The repetition index (0-indexed)
 2415  
      */
 2416  
     public CE getEthnicGroup(int rep) { 
 2417  0
                 CE retVal = this.getTypedField(44, rep);
 2418  0
                 return retVal;
 2419  
     }
 2420  
 
 2421  
     /**
 2422  
      * Returns a specific repetition of
 2423  
      * GT1-44: "Ethnic Group" - creates it if necessary
 2424  
      *
 2425  
      * @param rep The repetition index (0-indexed)
 2426  
      */
 2427  
     public CE getGt144_EthnicGroup(int rep) { 
 2428  0
                 CE retVal = this.getTypedField(44, rep);
 2429  0
                 return retVal;
 2430  
     }
 2431  
 
 2432  
     /**
 2433  
      * Returns a count of the current number of repetitions of Ethnic Group (GT1-44).
 2434  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 2435  
      * it will return zero.
 2436  
      */
 2437  
     public int getGt144_EthnicGroupReps() {
 2438  0
             return this.getReps(44);
 2439  
     }
 2440  
 
 2441  
 
 2442  
     /**
 2443  
      * Inserts a repetition of
 2444  
      * GT1-44: "Ethnic Group" at a specific index
 2445  
      *
 2446  
      * @param rep The repetition index (0-indexed)
 2447  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2448  
      */
 2449  
     public CE insertEthnicGroup(int rep) throws HL7Exception { 
 2450  0
         return (CE) super.insertRepetition(44, rep);
 2451  
     }
 2452  
 
 2453  
 
 2454  
     /**
 2455  
      * Inserts a repetition of
 2456  
      * GT1-44: "Ethnic Group" at a specific index
 2457  
      *
 2458  
      * @param rep The repetition index (0-indexed)
 2459  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2460  
      */
 2461  
     public CE insertGt144_EthnicGroup(int rep) throws HL7Exception { 
 2462  0
         return (CE) super.insertRepetition(44, rep);
 2463  
     }
 2464  
 
 2465  
 
 2466  
     /**
 2467  
      * Removes a repetition of
 2468  
      * GT1-44: "Ethnic Group" at a specific index
 2469  
      *
 2470  
      * @param rep The repetition index (0-indexed)
 2471  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2472  
      */
 2473  
     public CE removeEthnicGroup(int rep) throws HL7Exception { 
 2474  0
         return (CE) super.removeRepetition(44, rep);
 2475  
     }
 2476  
 
 2477  
 
 2478  
     /**
 2479  
      * Removes a repetition of
 2480  
      * GT1-44: "Ethnic Group" at a specific index
 2481  
      *
 2482  
      * @param rep The repetition index (0-indexed)
 2483  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2484  
      */
 2485  
     public CE removeGt144_EthnicGroup(int rep) throws HL7Exception { 
 2486  0
         return (CE) super.removeRepetition(44, rep);
 2487  
     }
 2488  
 
 2489  
 
 2490  
 
 2491  
     /**
 2492  
      * Returns all repetitions of Contact Person_s Name (GT1-45).
 2493  
      */
 2494  
     public XPN[] getContactPersonSName() {
 2495  0
             XPN[] retVal = this.getTypedField(45, new XPN[0]);
 2496  0
             return retVal;
 2497  
     }
 2498  
 
 2499  
 
 2500  
     /**
 2501  
      * Returns all repetitions of Contact Person_s Name (GT1-45).
 2502  
      */
 2503  
     public XPN[] getGt145_ContactPersonSName() {
 2504  0
             XPN[] retVal = this.getTypedField(45, new XPN[0]);
 2505  0
             return retVal;
 2506  
     }
 2507  
 
 2508  
 
 2509  
     /**
 2510  
      * Returns a count of the current number of repetitions of Contact Person_s Name (GT1-45).
 2511  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 2512  
      * it will return zero.
 2513  
      */
 2514  
     public int getContactPersonSNameReps() {
 2515  0
             return this.getReps(45);
 2516  
     }
 2517  
 
 2518  
 
 2519  
     /**
 2520  
      * Returns a specific repetition of
 2521  
      * GT1-45: "Contact Person_s Name" - creates it if necessary
 2522  
      *
 2523  
      * @param rep The repetition index (0-indexed)
 2524  
      */
 2525  
     public XPN getContactPersonSName(int rep) { 
 2526  0
                 XPN retVal = this.getTypedField(45, rep);
 2527  0
                 return retVal;
 2528  
     }
 2529  
 
 2530  
     /**
 2531  
      * Returns a specific repetition of
 2532  
      * GT1-45: "Contact Person_s Name" - creates it if necessary
 2533  
      *
 2534  
      * @param rep The repetition index (0-indexed)
 2535  
      */
 2536  
     public XPN getGt145_ContactPersonSName(int rep) { 
 2537  0
                 XPN retVal = this.getTypedField(45, rep);
 2538  0
                 return retVal;
 2539  
     }
 2540  
 
 2541  
     /**
 2542  
      * Returns a count of the current number of repetitions of Contact Person_s Name (GT1-45).
 2543  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 2544  
      * it will return zero.
 2545  
      */
 2546  
     public int getGt145_ContactPersonSNameReps() {
 2547  0
             return this.getReps(45);
 2548  
     }
 2549  
 
 2550  
 
 2551  
     /**
 2552  
      * Inserts a repetition of
 2553  
      * GT1-45: "Contact Person_s Name" at a specific index
 2554  
      *
 2555  
      * @param rep The repetition index (0-indexed)
 2556  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2557  
      */
 2558  
     public XPN insertContactPersonSName(int rep) throws HL7Exception { 
 2559  0
         return (XPN) super.insertRepetition(45, rep);
 2560  
     }
 2561  
 
 2562  
 
 2563  
     /**
 2564  
      * Inserts a repetition of
 2565  
      * GT1-45: "Contact Person_s Name" at a specific index
 2566  
      *
 2567  
      * @param rep The repetition index (0-indexed)
 2568  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2569  
      */
 2570  
     public XPN insertGt145_ContactPersonSName(int rep) throws HL7Exception { 
 2571  0
         return (XPN) super.insertRepetition(45, rep);
 2572  
     }
 2573  
 
 2574  
 
 2575  
     /**
 2576  
      * Removes a repetition of
 2577  
      * GT1-45: "Contact Person_s Name" at a specific index
 2578  
      *
 2579  
      * @param rep The repetition index (0-indexed)
 2580  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2581  
      */
 2582  
     public XPN removeContactPersonSName(int rep) throws HL7Exception { 
 2583  0
         return (XPN) super.removeRepetition(45, rep);
 2584  
     }
 2585  
 
 2586  
 
 2587  
     /**
 2588  
      * Removes a repetition of
 2589  
      * GT1-45: "Contact Person_s Name" at a specific index
 2590  
      *
 2591  
      * @param rep The repetition index (0-indexed)
 2592  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2593  
      */
 2594  
     public XPN removeGt145_ContactPersonSName(int rep) throws HL7Exception { 
 2595  0
         return (XPN) super.removeRepetition(45, rep);
 2596  
     }
 2597  
 
 2598  
 
 2599  
 
 2600  
     /**
 2601  
      * Returns all repetitions of Contact Person_s Telephone Number (GT1-46).
 2602  
      */
 2603  
     public XTN[] getContactPersonSTelephoneNumber() {
 2604  0
             XTN[] retVal = this.getTypedField(46, new XTN[0]);
 2605  0
             return retVal;
 2606  
     }
 2607  
 
 2608  
 
 2609  
     /**
 2610  
      * Returns all repetitions of Contact Person_s Telephone Number (GT1-46).
 2611  
      */
 2612  
     public XTN[] getGt146_ContactPersonSTelephoneNumber() {
 2613  0
             XTN[] retVal = this.getTypedField(46, new XTN[0]);
 2614  0
             return retVal;
 2615  
     }
 2616  
 
 2617  
 
 2618  
     /**
 2619  
      * Returns a count of the current number of repetitions of Contact Person_s Telephone Number (GT1-46).
 2620  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 2621  
      * it will return zero.
 2622  
      */
 2623  
     public int getContactPersonSTelephoneNumberReps() {
 2624  0
             return this.getReps(46);
 2625  
     }
 2626  
 
 2627  
 
 2628  
     /**
 2629  
      * Returns a specific repetition of
 2630  
      * GT1-46: "Contact Person_s Telephone Number" - creates it if necessary
 2631  
      *
 2632  
      * @param rep The repetition index (0-indexed)
 2633  
      */
 2634  
     public XTN getContactPersonSTelephoneNumber(int rep) { 
 2635  0
                 XTN retVal = this.getTypedField(46, rep);
 2636  0
                 return retVal;
 2637  
     }
 2638  
 
 2639  
     /**
 2640  
      * Returns a specific repetition of
 2641  
      * GT1-46: "Contact Person_s Telephone Number" - creates it if necessary
 2642  
      *
 2643  
      * @param rep The repetition index (0-indexed)
 2644  
      */
 2645  
     public XTN getGt146_ContactPersonSTelephoneNumber(int rep) { 
 2646  0
                 XTN retVal = this.getTypedField(46, rep);
 2647  0
                 return retVal;
 2648  
     }
 2649  
 
 2650  
     /**
 2651  
      * Returns a count of the current number of repetitions of Contact Person_s Telephone Number (GT1-46).
 2652  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 2653  
      * it will return zero.
 2654  
      */
 2655  
     public int getGt146_ContactPersonSTelephoneNumberReps() {
 2656  0
             return this.getReps(46);
 2657  
     }
 2658  
 
 2659  
 
 2660  
     /**
 2661  
      * Inserts a repetition of
 2662  
      * GT1-46: "Contact Person_s Telephone Number" at a specific index
 2663  
      *
 2664  
      * @param rep The repetition index (0-indexed)
 2665  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2666  
      */
 2667  
     public XTN insertContactPersonSTelephoneNumber(int rep) throws HL7Exception { 
 2668  0
         return (XTN) super.insertRepetition(46, rep);
 2669  
     }
 2670  
 
 2671  
 
 2672  
     /**
 2673  
      * Inserts a repetition of
 2674  
      * GT1-46: "Contact Person_s Telephone Number" at a specific index
 2675  
      *
 2676  
      * @param rep The repetition index (0-indexed)
 2677  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2678  
      */
 2679  
     public XTN insertGt146_ContactPersonSTelephoneNumber(int rep) throws HL7Exception { 
 2680  0
         return (XTN) super.insertRepetition(46, rep);
 2681  
     }
 2682  
 
 2683  
 
 2684  
     /**
 2685  
      * Removes a repetition of
 2686  
      * GT1-46: "Contact Person_s Telephone Number" at a specific index
 2687  
      *
 2688  
      * @param rep The repetition index (0-indexed)
 2689  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2690  
      */
 2691  
     public XTN removeContactPersonSTelephoneNumber(int rep) throws HL7Exception { 
 2692  0
         return (XTN) super.removeRepetition(46, rep);
 2693  
     }
 2694  
 
 2695  
 
 2696  
     /**
 2697  
      * Removes a repetition of
 2698  
      * GT1-46: "Contact Person_s Telephone Number" at a specific index
 2699  
      *
 2700  
      * @param rep The repetition index (0-indexed)
 2701  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2702  
      */
 2703  
     public XTN removeGt146_ContactPersonSTelephoneNumber(int rep) throws HL7Exception { 
 2704  0
         return (XTN) super.removeRepetition(46, rep);
 2705  
     }
 2706  
 
 2707  
 
 2708  
 
 2709  
 
 2710  
     /**
 2711  
      * Returns
 2712  
      * GT1-47: "Contact Reason" - creates it if necessary
 2713  
      */
 2714  
     public CE getContactReason() { 
 2715  0
                 CE retVal = this.getTypedField(47, 0);
 2716  0
                 return retVal;
 2717  
     }
 2718  
     
 2719  
     /**
 2720  
      * Returns
 2721  
      * GT1-47: "Contact Reason" - creates it if necessary
 2722  
      */
 2723  
     public CE getGt147_ContactReason() { 
 2724  0
                 CE retVal = this.getTypedField(47, 0);
 2725  0
                 return retVal;
 2726  
     }
 2727  
 
 2728  
 
 2729  
 
 2730  
     /**
 2731  
      * Returns
 2732  
      * GT1-48: "Contact Relationship" - creates it if necessary
 2733  
      */
 2734  
     public IS getContactRelationship() { 
 2735  0
                 IS retVal = this.getTypedField(48, 0);
 2736  0
                 return retVal;
 2737  
     }
 2738  
     
 2739  
     /**
 2740  
      * Returns
 2741  
      * GT1-48: "Contact Relationship" - creates it if necessary
 2742  
      */
 2743  
     public IS getGt148_ContactRelationship() { 
 2744  0
                 IS retVal = this.getTypedField(48, 0);
 2745  0
                 return retVal;
 2746  
     }
 2747  
 
 2748  
 
 2749  
 
 2750  
     /**
 2751  
      * Returns
 2752  
      * GT1-49: "Job Title" - creates it if necessary
 2753  
      */
 2754  
     public ST getJobTitle() { 
 2755  0
                 ST retVal = this.getTypedField(49, 0);
 2756  0
                 return retVal;
 2757  
     }
 2758  
     
 2759  
     /**
 2760  
      * Returns
 2761  
      * GT1-49: "Job Title" - creates it if necessary
 2762  
      */
 2763  
     public ST getGt149_JobTitle() { 
 2764  0
                 ST retVal = this.getTypedField(49, 0);
 2765  0
                 return retVal;
 2766  
     }
 2767  
 
 2768  
 
 2769  
 
 2770  
     /**
 2771  
      * Returns
 2772  
      * GT1-50: "Job Code/Class" - creates it if necessary
 2773  
      */
 2774  
     public JCC getJobCodeClass() { 
 2775  0
                 JCC retVal = this.getTypedField(50, 0);
 2776  0
                 return retVal;
 2777  
     }
 2778  
     
 2779  
     /**
 2780  
      * Returns
 2781  
      * GT1-50: "Job Code/Class" - creates it if necessary
 2782  
      */
 2783  
     public JCC getGt150_JobCodeClass() { 
 2784  0
                 JCC retVal = this.getTypedField(50, 0);
 2785  0
                 return retVal;
 2786  
     }
 2787  
 
 2788  
 
 2789  
     /**
 2790  
      * Returns all repetitions of Guarantor Employer_s Organization Name (GT1-51).
 2791  
      */
 2792  
     public XON[] getGuarantorEmployerSOrganizationName() {
 2793  0
             XON[] retVal = this.getTypedField(51, new XON[0]);
 2794  0
             return retVal;
 2795  
     }
 2796  
 
 2797  
 
 2798  
     /**
 2799  
      * Returns all repetitions of Guarantor Employer_s Organization Name (GT1-51).
 2800  
      */
 2801  
     public XON[] getGt151_GuarantorEmployerSOrganizationName() {
 2802  0
             XON[] retVal = this.getTypedField(51, new XON[0]);
 2803  0
             return retVal;
 2804  
     }
 2805  
 
 2806  
 
 2807  
     /**
 2808  
      * Returns a count of the current number of repetitions of Guarantor Employer_s Organization Name (GT1-51).
 2809  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 2810  
      * it will return zero.
 2811  
      */
 2812  
     public int getGuarantorEmployerSOrganizationNameReps() {
 2813  0
             return this.getReps(51);
 2814  
     }
 2815  
 
 2816  
 
 2817  
     /**
 2818  
      * Returns a specific repetition of
 2819  
      * GT1-51: "Guarantor Employer_s Organization Name" - creates it if necessary
 2820  
      *
 2821  
      * @param rep The repetition index (0-indexed)
 2822  
      */
 2823  
     public XON getGuarantorEmployerSOrganizationName(int rep) { 
 2824  0
                 XON retVal = this.getTypedField(51, rep);
 2825  0
                 return retVal;
 2826  
     }
 2827  
 
 2828  
     /**
 2829  
      * Returns a specific repetition of
 2830  
      * GT1-51: "Guarantor Employer_s Organization Name" - creates it if necessary
 2831  
      *
 2832  
      * @param rep The repetition index (0-indexed)
 2833  
      */
 2834  
     public XON getGt151_GuarantorEmployerSOrganizationName(int rep) { 
 2835  0
                 XON retVal = this.getTypedField(51, rep);
 2836  0
                 return retVal;
 2837  
     }
 2838  
 
 2839  
     /**
 2840  
      * Returns a count of the current number of repetitions of Guarantor Employer_s Organization Name (GT1-51).
 2841  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 2842  
      * it will return zero.
 2843  
      */
 2844  
     public int getGt151_GuarantorEmployerSOrganizationNameReps() {
 2845  0
             return this.getReps(51);
 2846  
     }
 2847  
 
 2848  
 
 2849  
     /**
 2850  
      * Inserts a repetition of
 2851  
      * GT1-51: "Guarantor Employer_s Organization Name" at a specific index
 2852  
      *
 2853  
      * @param rep The repetition index (0-indexed)
 2854  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2855  
      */
 2856  
     public XON insertGuarantorEmployerSOrganizationName(int rep) throws HL7Exception { 
 2857  0
         return (XON) super.insertRepetition(51, rep);
 2858  
     }
 2859  
 
 2860  
 
 2861  
     /**
 2862  
      * Inserts a repetition of
 2863  
      * GT1-51: "Guarantor Employer_s Organization Name" at a specific index
 2864  
      *
 2865  
      * @param rep The repetition index (0-indexed)
 2866  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2867  
      */
 2868  
     public XON insertGt151_GuarantorEmployerSOrganizationName(int rep) throws HL7Exception { 
 2869  0
         return (XON) super.insertRepetition(51, rep);
 2870  
     }
 2871  
 
 2872  
 
 2873  
     /**
 2874  
      * Removes a repetition of
 2875  
      * GT1-51: "Guarantor Employer_s Organization Name" at a specific index
 2876  
      *
 2877  
      * @param rep The repetition index (0-indexed)
 2878  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2879  
      */
 2880  
     public XON removeGuarantorEmployerSOrganizationName(int rep) throws HL7Exception { 
 2881  0
         return (XON) super.removeRepetition(51, rep);
 2882  
     }
 2883  
 
 2884  
 
 2885  
     /**
 2886  
      * Removes a repetition of
 2887  
      * GT1-51: "Guarantor Employer_s Organization Name" at a specific index
 2888  
      *
 2889  
      * @param rep The repetition index (0-indexed)
 2890  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 2891  
      */
 2892  
     public XON removeGt151_GuarantorEmployerSOrganizationName(int rep) throws HL7Exception { 
 2893  0
         return (XON) super.removeRepetition(51, rep);
 2894  
     }
 2895  
 
 2896  
 
 2897  
 
 2898  
 
 2899  
     /**
 2900  
      * Returns
 2901  
      * GT1-52: "Handicap" - creates it if necessary
 2902  
      */
 2903  
     public IS getHandicap() { 
 2904  0
                 IS retVal = this.getTypedField(52, 0);
 2905  0
                 return retVal;
 2906  
     }
 2907  
     
 2908  
     /**
 2909  
      * Returns
 2910  
      * GT1-52: "Handicap" - creates it if necessary
 2911  
      */
 2912  
     public IS getGt152_Handicap() { 
 2913  0
                 IS retVal = this.getTypedField(52, 0);
 2914  0
                 return retVal;
 2915  
     }
 2916  
 
 2917  
 
 2918  
 
 2919  
     /**
 2920  
      * Returns
 2921  
      * GT1-53: "Job Status" - creates it if necessary
 2922  
      */
 2923  
     public IS getJobStatus() { 
 2924  0
                 IS retVal = this.getTypedField(53, 0);
 2925  0
                 return retVal;
 2926  
     }
 2927  
     
 2928  
     /**
 2929  
      * Returns
 2930  
      * GT1-53: "Job Status" - creates it if necessary
 2931  
      */
 2932  
     public IS getGt153_JobStatus() { 
 2933  0
                 IS retVal = this.getTypedField(53, 0);
 2934  0
                 return retVal;
 2935  
     }
 2936  
 
 2937  
 
 2938  
 
 2939  
     /**
 2940  
      * Returns
 2941  
      * GT1-54: "Guarantor Financial Class" - creates it if necessary
 2942  
      */
 2943  
     public FC getGuarantorFinancialClass() { 
 2944  0
                 FC retVal = this.getTypedField(54, 0);
 2945  0
                 return retVal;
 2946  
     }
 2947  
     
 2948  
     /**
 2949  
      * Returns
 2950  
      * GT1-54: "Guarantor Financial Class" - creates it if necessary
 2951  
      */
 2952  
     public FC getGt154_GuarantorFinancialClass() { 
 2953  0
                 FC retVal = this.getTypedField(54, 0);
 2954  0
                 return retVal;
 2955  
     }
 2956  
 
 2957  
 
 2958  
     /**
 2959  
      * Returns all repetitions of Guarantor Race (GT1-55).
 2960  
      */
 2961  
     public CE[] getGuarantorRace() {
 2962  0
             CE[] retVal = this.getTypedField(55, new CE[0]);
 2963  0
             return retVal;
 2964  
     }
 2965  
 
 2966  
 
 2967  
     /**
 2968  
      * Returns all repetitions of Guarantor Race (GT1-55).
 2969  
      */
 2970  
     public CE[] getGt155_GuarantorRace() {
 2971  0
             CE[] retVal = this.getTypedField(55, new CE[0]);
 2972  0
             return retVal;
 2973  
     }
 2974  
 
 2975  
 
 2976  
     /**
 2977  
      * Returns a count of the current number of repetitions of Guarantor Race (GT1-55).
 2978  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 2979  
      * it will return zero.
 2980  
      */
 2981  
     public int getGuarantorRaceReps() {
 2982  0
             return this.getReps(55);
 2983  
     }
 2984  
 
 2985  
 
 2986  
     /**
 2987  
      * Returns a specific repetition of
 2988  
      * GT1-55: "Guarantor Race" - creates it if necessary
 2989  
      *
 2990  
      * @param rep The repetition index (0-indexed)
 2991  
      */
 2992  
     public CE getGuarantorRace(int rep) { 
 2993  0
                 CE retVal = this.getTypedField(55, rep);
 2994  0
                 return retVal;
 2995  
     }
 2996  
 
 2997  
     /**
 2998  
      * Returns a specific repetition of
 2999  
      * GT1-55: "Guarantor Race" - creates it if necessary
 3000  
      *
 3001  
      * @param rep The repetition index (0-indexed)
 3002  
      */
 3003  
     public CE getGt155_GuarantorRace(int rep) { 
 3004  0
                 CE retVal = this.getTypedField(55, rep);
 3005  0
                 return retVal;
 3006  
     }
 3007  
 
 3008  
     /**
 3009  
      * Returns a count of the current number of repetitions of Guarantor Race (GT1-55).
 3010  
      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
 3011  
      * it will return zero.
 3012  
      */
 3013  
     public int getGt155_GuarantorRaceReps() {
 3014  0
             return this.getReps(55);
 3015  
     }
 3016  
 
 3017  
 
 3018  
     /**
 3019  
      * Inserts a repetition of
 3020  
      * GT1-55: "Guarantor Race" at a specific index
 3021  
      *
 3022  
      * @param rep The repetition index (0-indexed)
 3023  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 3024  
      */
 3025  
     public CE insertGuarantorRace(int rep) throws HL7Exception { 
 3026  0
         return (CE) super.insertRepetition(55, rep);
 3027  
     }
 3028  
 
 3029  
 
 3030  
     /**
 3031  
      * Inserts a repetition of
 3032  
      * GT1-55: "Guarantor Race" at a specific index
 3033  
      *
 3034  
      * @param rep The repetition index (0-indexed)
 3035  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 3036  
      */
 3037  
     public CE insertGt155_GuarantorRace(int rep) throws HL7Exception { 
 3038  0
         return (CE) super.insertRepetition(55, rep);
 3039  
     }
 3040  
 
 3041  
 
 3042  
     /**
 3043  
      * Removes a repetition of
 3044  
      * GT1-55: "Guarantor Race" at a specific index
 3045  
      *
 3046  
      * @param rep The repetition index (0-indexed)
 3047  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 3048  
      */
 3049  
     public CE removeGuarantorRace(int rep) throws HL7Exception { 
 3050  0
         return (CE) super.removeRepetition(55, rep);
 3051  
     }
 3052  
 
 3053  
 
 3054  
     /**
 3055  
      * Removes a repetition of
 3056  
      * GT1-55: "Guarantor Race" at a specific index
 3057  
      *
 3058  
      * @param rep The repetition index (0-indexed)
 3059  
      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
 3060  
      */
 3061  
     public CE removeGt155_GuarantorRace(int rep) throws HL7Exception { 
 3062  0
         return (CE) super.removeRepetition(55, rep);
 3063  
     }
 3064  
 
 3065  
 
 3066  
 
 3067  
 
 3068  
     /**
 3069  
      * Returns
 3070  
      * GT1-56: "Guarantor Birth Place" - creates it if necessary
 3071  
      */
 3072  
     public ST getGuarantorBirthPlace() { 
 3073  0
                 ST retVal = this.getTypedField(56, 0);
 3074  0
                 return retVal;
 3075  
     }
 3076  
     
 3077  
     /**
 3078  
      * Returns
 3079  
      * GT1-56: "Guarantor Birth Place" - creates it if necessary
 3080  
      */
 3081  
     public ST getGt156_GuarantorBirthPlace() { 
 3082  0
                 ST retVal = this.getTypedField(56, 0);
 3083  0
                 return retVal;
 3084  
     }
 3085  
 
 3086  
 
 3087  
 
 3088  
     /**
 3089  
      * Returns
 3090  
      * GT1-57: "VIP Indicator" - creates it if necessary
 3091  
      */
 3092  
     public IS getVIPIndicator() { 
 3093  0
                 IS retVal = this.getTypedField(57, 0);
 3094  0
                 return retVal;
 3095  
     }
 3096  
     
 3097  
     /**
 3098  
      * Returns
 3099  
      * GT1-57: "VIP Indicator" - creates it if necessary
 3100  
      */
 3101  
     public IS getGt157_VIPIndicator() { 
 3102  0
                 IS retVal = this.getTypedField(57, 0);
 3103  0
                 return retVal;
 3104  
     }
 3105  
 
 3106  
 
 3107  
 
 3108  
 
 3109  
 
 3110  
     /** {@inheritDoc} */   
 3111  
     protected Type createNewTypeWithoutReflection(int field) {
 3112  0
        switch (field) {
 3113  0
           case 0: return new SI(getMessage());
 3114  0
           case 1: return new CX(getMessage());
 3115  0
           case 2: return new XPN(getMessage());
 3116  0
           case 3: return new XPN(getMessage());
 3117  0
           case 4: return new XAD(getMessage());
 3118  0
           case 5: return new XTN(getMessage());
 3119  0
           case 6: return new XTN(getMessage());
 3120  0
           case 7: return new TS(getMessage());
 3121  0
           case 8: return new IS(getMessage(), new Integer( 1 ));
 3122  0
           case 9: return new IS(getMessage(), new Integer( 68 ));
 3123  0
           case 10: return new CE(getMessage());
 3124  0
           case 11: return new ST(getMessage());
 3125  0
           case 12: return new DT(getMessage());
 3126  0
           case 13: return new DT(getMessage());
 3127  0
           case 14: return new NM(getMessage());
 3128  0
           case 15: return new XPN(getMessage());
 3129  0
           case 16: return new XAD(getMessage());
 3130  0
           case 17: return new XTN(getMessage());
 3131  0
           case 18: return new CX(getMessage());
 3132  0
           case 19: return new IS(getMessage(), new Integer( 66 ));
 3133  0
           case 20: return new XON(getMessage());
 3134  0
           case 21: return new ID(getMessage(), new Integer( 136 ));
 3135  0
           case 22: return new CE(getMessage());
 3136  0
           case 23: return new TS(getMessage());
 3137  0
           case 24: return new ID(getMessage(), new Integer( 136 ));
 3138  0
           case 25: return new CE(getMessage());
 3139  0
           case 26: return new CP(getMessage());
 3140  0
           case 27: return new NM(getMessage());
 3141  0
           case 28: return new CX(getMessage());
 3142  0
           case 29: return new CE(getMessage());
 3143  0
           case 30: return new DT(getMessage());
 3144  0
           case 31: return new DT(getMessage());
 3145  0
           case 32: return new IS(getMessage(), new Integer( 223 ));
 3146  0
           case 33: return new IS(getMessage(), new Integer( 9 ));
 3147  0
           case 34: return new CE(getMessage());
 3148  0
           case 35: return new CE(getMessage());
 3149  0
           case 36: return new IS(getMessage(), new Integer( 220 ));
 3150  0
           case 37: return new CE(getMessage());
 3151  0
           case 38: return new ID(getMessage(), new Integer( 136 ));
 3152  0
           case 39: return new IS(getMessage(), new Integer( 231 ));
 3153  0
           case 40: return new CE(getMessage());
 3154  0
           case 41: return new XPN(getMessage());
 3155  0
           case 42: return new CE(getMessage());
 3156  0
           case 43: return new CE(getMessage());
 3157  0
           case 44: return new XPN(getMessage());
 3158  0
           case 45: return new XTN(getMessage());
 3159  0
           case 46: return new CE(getMessage());
 3160  0
           case 47: return new IS(getMessage(), new Integer( 63 ));
 3161  0
           case 48: return new ST(getMessage());
 3162  0
           case 49: return new JCC(getMessage());
 3163  0
           case 50: return new XON(getMessage());
 3164  0
           case 51: return new IS(getMessage(), new Integer( 295 ));
 3165  0
           case 52: return new IS(getMessage(), new Integer( 311 ));
 3166  0
           case 53: return new FC(getMessage());
 3167  0
           case 54: return new CE(getMessage());
 3168  0
           case 55: return new ST(getMessage());
 3169  0
           case 56: return new IS(getMessage(), new Integer( 99 ));
 3170  0
           default: return null;
 3171  
        }
 3172  
    }
 3173  
 
 3174  
 
 3175  
 }
 3176