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