001/*
002 * This class is an auto-generated source file for a HAPI
003 * HL7 v2.x standard structure class.
004 *
005 * For more information, visit: http://hl7api.sourceforge.net/
006 * 
007 * The contents of this file are subject to the Mozilla Public License Version 1.1 
008 * (the "License"); you may not use this file except in compliance with the License. 
009 * You may obtain a copy of the License at http://www.mozilla.org/MPL/ 
010 * Software distributed under the License is distributed on an "AS IS" basis, 
011 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the 
012 * specific language governing rights and limitations under the License. 
013 * 
014 * The Original Code is "[file_name]".  Description: 
015 * "[one_line_description]" 
016 * 
017 * The Initial Developer of the Original Code is University Health Network. Copyright (C) 
018 * 2012.  All Rights Reserved. 
019 * 
020 * Contributor(s): ______________________________________. 
021 * 
022 * Alternatively, the contents of this file may be used under the terms of the 
023 * GNU General Public License (the  "GPL"), in which case the provisions of the GPL are 
024 * applicable instead of those above.  If you wish to allow use of your version of this 
025 * file only under the terms of the GPL and not to allow others to use your version 
026 * of this file under the MPL, indicate your decision by deleting  the provisions above 
027 * and replace  them with the notice and other provisions required by the GPL License.  
028 * If you do not delete the provisions above, a recipient may use your version of 
029 * this file under either the MPL or the GPL. 
030 * 
031 */
032
033
034package ca.uhn.hl7v2.model.v26.segment;
035
036// import ca.uhn.hl7v2.model.v26.group.*;
037import ca.uhn.hl7v2.model.v26.datatype.*;
038import ca.uhn.hl7v2.HL7Exception;
039import ca.uhn.hl7v2.parser.ModelClassFactory;
040import ca.uhn.hl7v2.parser.DefaultModelClassFactory;
041import ca.uhn.hl7v2.model.AbstractMessage;
042import ca.uhn.hl7v2.model.Group;
043import ca.uhn.hl7v2.model.Type;
044import ca.uhn.hl7v2.model.AbstractSegment;
045import ca.uhn.hl7v2.model.Varies;
046
047
048/**
049 *<p>Represents an HL7 PR1 message segment (Procedures). 
050 * This segment has the following fields:</p>
051 * <ul>
052     * <li>PR1-1: Set ID - PR1 (SI) <b> </b>
053     * <li>PR1-2: Procedure Coding Method (NULLDT) <b>optional </b>
054     * <li>PR1-3: Procedure Code (CNE) <b> </b>
055     * <li>PR1-4: Procedure Description (NULLDT) <b>optional </b>
056     * <li>PR1-5: Procedure Date/Time (DTM) <b> </b>
057     * <li>PR1-6: Procedure Functional Type (IS) <b>optional </b>
058     * <li>PR1-7: Procedure Minutes (NM) <b>optional </b>
059     * <li>PR1-8: Anesthesiologist (NULLDT) <b>optional </b>
060     * <li>PR1-9: Anesthesia Code (IS) <b>optional </b>
061     * <li>PR1-10: Anesthesia Minutes (NM) <b>optional </b>
062     * <li>PR1-11: Surgeon (NULLDT) <b>optional </b>
063     * <li>PR1-12: Procedure Practitioner (NULLDT) <b>optional </b>
064     * <li>PR1-13: Consent Code (CWE) <b>optional </b>
065     * <li>PR1-14: Procedure Priority (ID) <b>optional </b>
066     * <li>PR1-15: Associated Diagnosis Code (CWE) <b>optional </b>
067     * <li>PR1-16: Procedure Code Modifier (CNE) <b>optional repeating</b>
068     * <li>PR1-17: Procedure DRG Type (IS) <b>optional </b>
069     * <li>PR1-18: Tissue Type Code (CWE) <b>optional repeating</b>
070     * <li>PR1-19: Procedure Identifier (EI) <b>optional </b>
071     * <li>PR1-20: Procedure Action Code (ID) <b>optional </b>
072     * <li>PR1-21: DRG Procedure Determination Status (IS) <b>optional </b>
073     * <li>PR1-22: DRG Procedure Relevance (IS) <b>optional </b>
074 * </ul>
075 */
076@SuppressWarnings("unused")
077public class PR1 extends AbstractSegment {
078
079    /** 
080     * Creates a new PR1 segment
081     */
082    public PR1(Group parent, ModelClassFactory factory) {
083       super(parent, factory);
084       init(factory);
085    }
086
087    private void init(ModelClassFactory factory) {
088       try {
089                                  this.add(SI.class, true, 1, 4, new Object[]{ getMessage() }, "Set ID - PR1");
090                                  this.add(NULLDT.class, false, 1, 0, new Object[]{ getMessage() }, "Procedure Coding Method");
091                                  this.add(CNE.class, true, 1, 705, new Object[]{ getMessage() }, "Procedure Code");
092                                  this.add(NULLDT.class, false, 1, 0, new Object[]{ getMessage() }, "Procedure Description");
093                                  this.add(DTM.class, true, 1, 24, new Object[]{ getMessage() }, "Procedure Date/Time");
094                                              this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(230) }, "Procedure Functional Type");
095                                  this.add(NM.class, false, 1, 4, new Object[]{ getMessage() }, "Procedure Minutes");
096                                  this.add(NULLDT.class, false, 1, 0, new Object[]{ getMessage() }, "Anesthesiologist");
097                                              this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(19) }, "Anesthesia Code");
098                                  this.add(NM.class, false, 1, 4, new Object[]{ getMessage() }, "Anesthesia Minutes");
099                                  this.add(NULLDT.class, false, 1, 0, new Object[]{ getMessage() }, "Surgeon");
100                                  this.add(NULLDT.class, false, 1, 0, new Object[]{ getMessage() }, "Procedure Practitioner");
101                                  this.add(CWE.class, false, 1, 250, new Object[]{ getMessage() }, "Consent Code");
102                                              this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(418) }, "Procedure Priority");
103                                  this.add(CWE.class, false, 1, 250, new Object[]{ getMessage() }, "Associated Diagnosis Code");
104                                  this.add(CNE.class, false, 0, 705, new Object[]{ getMessage() }, "Procedure Code Modifier");
105                                              this.add(IS.class, false, 1, 20, new Object[]{ getMessage(), new Integer(416) }, "Procedure DRG Type");
106                                  this.add(CWE.class, false, 0, 250, new Object[]{ getMessage() }, "Tissue Type Code");
107                                  this.add(EI.class, false, 1, 427, new Object[]{ getMessage() }, "Procedure Identifier");
108                                              this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(206) }, "Procedure Action Code");
109                                              this.add(IS.class, false, 1, 20, new Object[]{ getMessage(), new Integer(761) }, "DRG Procedure Determination Status");
110                                              this.add(IS.class, false, 1, 20, new Object[]{ getMessage(), new Integer(763) }, "DRG Procedure Relevance");
111       } catch(HL7Exception e) {
112          log.error("Unexpected error creating PR1 - this is probably a bug in the source code generator.", e);
113       }
114    }
115
116
117
118    /**
119     * Returns
120     * PR1-1: "Set ID - PR1" - creates it if necessary
121     */
122    public SI getSetIDPR1() { 
123                SI retVal = this.getTypedField(1, 0);
124                return retVal;
125    }
126    
127    /**
128     * Returns
129     * PR1-1: "Set ID - PR1" - creates it if necessary
130     */
131    public SI getPr11_SetIDPR1() { 
132                SI retVal = this.getTypedField(1, 0);
133                return retVal;
134    }
135
136
137
138    /**
139     * Returns
140     * PR1-2: "Procedure Coding Method" - creates it if necessary
141     */
142    public NULLDT getProcedureCodingMethod() { 
143                NULLDT retVal = this.getTypedField(2, 0);
144                return retVal;
145    }
146    
147    /**
148     * Returns
149     * PR1-2: "Procedure Coding Method" - creates it if necessary
150     */
151    public NULLDT getPr12_ProcedureCodingMethod() { 
152                NULLDT retVal = this.getTypedField(2, 0);
153                return retVal;
154    }
155
156
157
158    /**
159     * Returns
160     * PR1-3: "Procedure Code" - creates it if necessary
161     */
162    public CNE getProcedureCode() { 
163                CNE retVal = this.getTypedField(3, 0);
164                return retVal;
165    }
166    
167    /**
168     * Returns
169     * PR1-3: "Procedure Code" - creates it if necessary
170     */
171    public CNE getPr13_ProcedureCode() { 
172                CNE retVal = this.getTypedField(3, 0);
173                return retVal;
174    }
175
176
177
178    /**
179     * Returns
180     * PR1-4: "Procedure Description" - creates it if necessary
181     */
182    public NULLDT getProcedureDescription() { 
183                NULLDT retVal = this.getTypedField(4, 0);
184                return retVal;
185    }
186    
187    /**
188     * Returns
189     * PR1-4: "Procedure Description" - creates it if necessary
190     */
191    public NULLDT getPr14_ProcedureDescription() { 
192                NULLDT retVal = this.getTypedField(4, 0);
193                return retVal;
194    }
195
196
197
198    /**
199     * Returns
200     * PR1-5: "Procedure Date/Time" - creates it if necessary
201     */
202    public DTM getProcedureDateTime() { 
203                DTM retVal = this.getTypedField(5, 0);
204                return retVal;
205    }
206    
207    /**
208     * Returns
209     * PR1-5: "Procedure Date/Time" - creates it if necessary
210     */
211    public DTM getPr15_ProcedureDateTime() { 
212                DTM retVal = this.getTypedField(5, 0);
213                return retVal;
214    }
215
216
217
218    /**
219     * Returns
220     * PR1-6: "Procedure Functional Type" - creates it if necessary
221     */
222    public IS getProcedureFunctionalType() { 
223                IS retVal = this.getTypedField(6, 0);
224                return retVal;
225    }
226    
227    /**
228     * Returns
229     * PR1-6: "Procedure Functional Type" - creates it if necessary
230     */
231    public IS getPr16_ProcedureFunctionalType() { 
232                IS retVal = this.getTypedField(6, 0);
233                return retVal;
234    }
235
236
237
238    /**
239     * Returns
240     * PR1-7: "Procedure Minutes" - creates it if necessary
241     */
242    public NM getProcedureMinutes() { 
243                NM retVal = this.getTypedField(7, 0);
244                return retVal;
245    }
246    
247    /**
248     * Returns
249     * PR1-7: "Procedure Minutes" - creates it if necessary
250     */
251    public NM getPr17_ProcedureMinutes() { 
252                NM retVal = this.getTypedField(7, 0);
253                return retVal;
254    }
255
256
257
258    /**
259     * Returns
260     * PR1-8: "Anesthesiologist" - creates it if necessary
261     */
262    public NULLDT getAnesthesiologist() { 
263                NULLDT retVal = this.getTypedField(8, 0);
264                return retVal;
265    }
266    
267    /**
268     * Returns
269     * PR1-8: "Anesthesiologist" - creates it if necessary
270     */
271    public NULLDT getPr18_Anesthesiologist() { 
272                NULLDT retVal = this.getTypedField(8, 0);
273                return retVal;
274    }
275
276
277
278    /**
279     * Returns
280     * PR1-9: "Anesthesia Code" - creates it if necessary
281     */
282    public IS getAnesthesiaCode() { 
283                IS retVal = this.getTypedField(9, 0);
284                return retVal;
285    }
286    
287    /**
288     * Returns
289     * PR1-9: "Anesthesia Code" - creates it if necessary
290     */
291    public IS getPr19_AnesthesiaCode() { 
292                IS retVal = this.getTypedField(9, 0);
293                return retVal;
294    }
295
296
297
298    /**
299     * Returns
300     * PR1-10: "Anesthesia Minutes" - creates it if necessary
301     */
302    public NM getAnesthesiaMinutes() { 
303                NM retVal = this.getTypedField(10, 0);
304                return retVal;
305    }
306    
307    /**
308     * Returns
309     * PR1-10: "Anesthesia Minutes" - creates it if necessary
310     */
311    public NM getPr110_AnesthesiaMinutes() { 
312                NM retVal = this.getTypedField(10, 0);
313                return retVal;
314    }
315
316
317
318    /**
319     * Returns
320     * PR1-11: "Surgeon" - creates it if necessary
321     */
322    public NULLDT getSurgeon() { 
323                NULLDT retVal = this.getTypedField(11, 0);
324                return retVal;
325    }
326    
327    /**
328     * Returns
329     * PR1-11: "Surgeon" - creates it if necessary
330     */
331    public NULLDT getPr111_Surgeon() { 
332                NULLDT retVal = this.getTypedField(11, 0);
333                return retVal;
334    }
335
336
337
338    /**
339     * Returns
340     * PR1-12: "Procedure Practitioner" - creates it if necessary
341     */
342    public NULLDT getProcedurePractitioner() { 
343                NULLDT retVal = this.getTypedField(12, 0);
344                return retVal;
345    }
346    
347    /**
348     * Returns
349     * PR1-12: "Procedure Practitioner" - creates it if necessary
350     */
351    public NULLDT getPr112_ProcedurePractitioner() { 
352                NULLDT retVal = this.getTypedField(12, 0);
353                return retVal;
354    }
355
356
357
358    /**
359     * Returns
360     * PR1-13: "Consent Code" - creates it if necessary
361     */
362    public CWE getConsentCode() { 
363                CWE retVal = this.getTypedField(13, 0);
364                return retVal;
365    }
366    
367    /**
368     * Returns
369     * PR1-13: "Consent Code" - creates it if necessary
370     */
371    public CWE getPr113_ConsentCode() { 
372                CWE retVal = this.getTypedField(13, 0);
373                return retVal;
374    }
375
376
377
378    /**
379     * Returns
380     * PR1-14: "Procedure Priority" - creates it if necessary
381     */
382    public ID getProcedurePriority() { 
383                ID retVal = this.getTypedField(14, 0);
384                return retVal;
385    }
386    
387    /**
388     * Returns
389     * PR1-14: "Procedure Priority" - creates it if necessary
390     */
391    public ID getPr114_ProcedurePriority() { 
392                ID retVal = this.getTypedField(14, 0);
393                return retVal;
394    }
395
396
397
398    /**
399     * Returns
400     * PR1-15: "Associated Diagnosis Code" - creates it if necessary
401     */
402    public CWE getAssociatedDiagnosisCode() { 
403                CWE retVal = this.getTypedField(15, 0);
404                return retVal;
405    }
406    
407    /**
408     * Returns
409     * PR1-15: "Associated Diagnosis Code" - creates it if necessary
410     */
411    public CWE getPr115_AssociatedDiagnosisCode() { 
412                CWE retVal = this.getTypedField(15, 0);
413                return retVal;
414    }
415
416
417    /**
418     * Returns all repetitions of Procedure Code Modifier (PR1-16).
419     */
420    public CNE[] getProcedureCodeModifier() {
421        CNE[] retVal = this.getTypedField(16, new CNE[0]);
422        return retVal;
423    }
424
425
426    /**
427     * Returns all repetitions of Procedure Code Modifier (PR1-16).
428     */
429    public CNE[] getPr116_ProcedureCodeModifier() {
430        CNE[] retVal = this.getTypedField(16, new CNE[0]);
431        return retVal;
432    }
433
434
435    /**
436     * Returns a count of the current number of repetitions of Procedure Code Modifier (PR1-16).
437     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
438     * it will return zero.
439     */
440    public int getProcedureCodeModifierReps() {
441        return this.getReps(16);
442    }
443
444
445    /**
446     * Returns a specific repetition of
447     * PR1-16: "Procedure Code Modifier" - creates it if necessary
448     *
449     * @param rep The repetition index (0-indexed)
450     */
451    public CNE getProcedureCodeModifier(int rep) { 
452                CNE retVal = this.getTypedField(16, rep);
453                return retVal;
454    }
455
456    /**
457     * Returns a specific repetition of
458     * PR1-16: "Procedure Code Modifier" - creates it if necessary
459     *
460     * @param rep The repetition index (0-indexed)
461     */
462    public CNE getPr116_ProcedureCodeModifier(int rep) { 
463                CNE retVal = this.getTypedField(16, rep);
464                return retVal;
465    }
466
467    /**
468     * Returns a count of the current number of repetitions of Procedure Code Modifier (PR1-16).
469     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
470     * it will return zero.
471     */
472    public int getPr116_ProcedureCodeModifierReps() {
473        return this.getReps(16);
474    }
475
476
477    /**
478     * Inserts a repetition of
479     * PR1-16: "Procedure Code Modifier" at a specific index
480     *
481     * @param rep The repetition index (0-indexed)
482     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
483     */
484    public CNE insertProcedureCodeModifier(int rep) throws HL7Exception { 
485        return (CNE) super.insertRepetition(16, rep);
486    }
487
488
489    /**
490     * Inserts a repetition of
491     * PR1-16: "Procedure Code Modifier" at a specific index
492     *
493     * @param rep The repetition index (0-indexed)
494     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
495     */
496    public CNE insertPr116_ProcedureCodeModifier(int rep) throws HL7Exception { 
497        return (CNE) super.insertRepetition(16, rep);
498    }
499
500
501    /**
502     * Removes a repetition of
503     * PR1-16: "Procedure Code Modifier" at a specific index
504     *
505     * @param rep The repetition index (0-indexed)
506     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
507     */
508    public CNE removeProcedureCodeModifier(int rep) throws HL7Exception { 
509        return (CNE) super.removeRepetition(16, rep);
510    }
511
512
513    /**
514     * Removes a repetition of
515     * PR1-16: "Procedure Code Modifier" at a specific index
516     *
517     * @param rep The repetition index (0-indexed)
518     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
519     */
520    public CNE removePr116_ProcedureCodeModifier(int rep) throws HL7Exception { 
521        return (CNE) super.removeRepetition(16, rep);
522    }
523
524
525
526
527    /**
528     * Returns
529     * PR1-17: "Procedure DRG Type" - creates it if necessary
530     */
531    public IS getProcedureDRGType() { 
532                IS retVal = this.getTypedField(17, 0);
533                return retVal;
534    }
535    
536    /**
537     * Returns
538     * PR1-17: "Procedure DRG Type" - creates it if necessary
539     */
540    public IS getPr117_ProcedureDRGType() { 
541                IS retVal = this.getTypedField(17, 0);
542                return retVal;
543    }
544
545
546    /**
547     * Returns all repetitions of Tissue Type Code (PR1-18).
548     */
549    public CWE[] getTissueTypeCode() {
550        CWE[] retVal = this.getTypedField(18, new CWE[0]);
551        return retVal;
552    }
553
554
555    /**
556     * Returns all repetitions of Tissue Type Code (PR1-18).
557     */
558    public CWE[] getPr118_TissueTypeCode() {
559        CWE[] retVal = this.getTypedField(18, new CWE[0]);
560        return retVal;
561    }
562
563
564    /**
565     * Returns a count of the current number of repetitions of Tissue Type Code (PR1-18).
566     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
567     * it will return zero.
568     */
569    public int getTissueTypeCodeReps() {
570        return this.getReps(18);
571    }
572
573
574    /**
575     * Returns a specific repetition of
576     * PR1-18: "Tissue Type Code" - creates it if necessary
577     *
578     * @param rep The repetition index (0-indexed)
579     */
580    public CWE getTissueTypeCode(int rep) { 
581                CWE retVal = this.getTypedField(18, rep);
582                return retVal;
583    }
584
585    /**
586     * Returns a specific repetition of
587     * PR1-18: "Tissue Type Code" - creates it if necessary
588     *
589     * @param rep The repetition index (0-indexed)
590     */
591    public CWE getPr118_TissueTypeCode(int rep) { 
592                CWE retVal = this.getTypedField(18, rep);
593                return retVal;
594    }
595
596    /**
597     * Returns a count of the current number of repetitions of Tissue Type Code (PR1-18).
598     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
599     * it will return zero.
600     */
601    public int getPr118_TissueTypeCodeReps() {
602        return this.getReps(18);
603    }
604
605
606    /**
607     * Inserts a repetition of
608     * PR1-18: "Tissue Type Code" 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 CWE insertTissueTypeCode(int rep) throws HL7Exception { 
614        return (CWE) super.insertRepetition(18, rep);
615    }
616
617
618    /**
619     * Inserts a repetition of
620     * PR1-18: "Tissue Type Code" 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 CWE insertPr118_TissueTypeCode(int rep) throws HL7Exception { 
626        return (CWE) super.insertRepetition(18, rep);
627    }
628
629
630    /**
631     * Removes a repetition of
632     * PR1-18: "Tissue Type Code" 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 CWE removeTissueTypeCode(int rep) throws HL7Exception { 
638        return (CWE) super.removeRepetition(18, rep);
639    }
640
641
642    /**
643     * Removes a repetition of
644     * PR1-18: "Tissue Type Code" at a specific index
645     *
646     * @param rep The repetition index (0-indexed)
647     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
648     */
649    public CWE removePr118_TissueTypeCode(int rep) throws HL7Exception { 
650        return (CWE) super.removeRepetition(18, rep);
651    }
652
653
654
655
656    /**
657     * Returns
658     * PR1-19: "Procedure Identifier" - creates it if necessary
659     */
660    public EI getProcedureIdentifier() { 
661                EI retVal = this.getTypedField(19, 0);
662                return retVal;
663    }
664    
665    /**
666     * Returns
667     * PR1-19: "Procedure Identifier" - creates it if necessary
668     */
669    public EI getPr119_ProcedureIdentifier() { 
670                EI retVal = this.getTypedField(19, 0);
671                return retVal;
672    }
673
674
675
676    /**
677     * Returns
678     * PR1-20: "Procedure Action Code" - creates it if necessary
679     */
680    public ID getProcedureActionCode() { 
681                ID retVal = this.getTypedField(20, 0);
682                return retVal;
683    }
684    
685    /**
686     * Returns
687     * PR1-20: "Procedure Action Code" - creates it if necessary
688     */
689    public ID getPr120_ProcedureActionCode() { 
690                ID retVal = this.getTypedField(20, 0);
691                return retVal;
692    }
693
694
695
696    /**
697     * Returns
698     * PR1-21: "DRG Procedure Determination Status" - creates it if necessary
699     */
700    public IS getDRGProcedureDeterminationStatus() { 
701                IS retVal = this.getTypedField(21, 0);
702                return retVal;
703    }
704    
705    /**
706     * Returns
707     * PR1-21: "DRG Procedure Determination Status" - creates it if necessary
708     */
709    public IS getPr121_DRGProcedureDeterminationStatus() { 
710                IS retVal = this.getTypedField(21, 0);
711                return retVal;
712    }
713
714
715
716    /**
717     * Returns
718     * PR1-22: "DRG Procedure Relevance" - creates it if necessary
719     */
720    public IS getDRGProcedureRelevance() { 
721                IS retVal = this.getTypedField(22, 0);
722                return retVal;
723    }
724    
725    /**
726     * Returns
727     * PR1-22: "DRG Procedure Relevance" - creates it if necessary
728     */
729    public IS getPr122_DRGProcedureRelevance() { 
730                IS retVal = this.getTypedField(22, 0);
731                return retVal;
732    }
733
734
735
736
737
738    /** {@inheritDoc} */   
739    protected Type createNewTypeWithoutReflection(int field) {
740       switch (field) {
741          case 0: return new SI(getMessage());
742          case 1: return new NULLDT(getMessage());
743          case 2: return new CNE(getMessage());
744          case 3: return new NULLDT(getMessage());
745          case 4: return new DTM(getMessage());
746          case 5: return new IS(getMessage(), new Integer( 230 ));
747          case 6: return new NM(getMessage());
748          case 7: return new NULLDT(getMessage());
749          case 8: return new IS(getMessage(), new Integer( 19 ));
750          case 9: return new NM(getMessage());
751          case 10: return new NULLDT(getMessage());
752          case 11: return new NULLDT(getMessage());
753          case 12: return new CWE(getMessage());
754          case 13: return new ID(getMessage(), new Integer( 418 ));
755          case 14: return new CWE(getMessage());
756          case 15: return new CNE(getMessage());
757          case 16: return new IS(getMessage(), new Integer( 416 ));
758          case 17: return new CWE(getMessage());
759          case 18: return new EI(getMessage());
760          case 19: return new ID(getMessage(), new Integer( 206 ));
761          case 20: return new IS(getMessage(), new Integer( 761 ));
762          case 21: return new IS(getMessage(), new Integer( 763 ));
763          default: return null;
764       }
765   }
766
767
768}
769