View Javadoc
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.model.v281.segment;
35  
36  // import ca.uhn.hl7v2.model.v281.group.*;
37  import ca.uhn.hl7v2.model.v281.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 IAM message segment (Patient Adverse Reaction Information). 
50   * This segment has the following fields:</p>
51   * <ul>
52       * <li>IAM-1: Set ID - IAM (SI) <b> </b>
53       * <li>IAM-2: Allergen Type Code (CWE) <b>optional </b>
54       * <li>IAM-3: Allergen Code/Mnemonic/Description (CWE) <b> </b>
55       * <li>IAM-4: Allergy Severity Code (CWE) <b>optional </b>
56       * <li>IAM-5: Allergy Reaction Code (ST) <b>optional repeating</b>
57       * <li>IAM-6: Allergy Action Code (CNE) <b> </b>
58       * <li>IAM-7: Allergy Unique Identifier (EI) <b>optional </b>
59       * <li>IAM-8: Action Reason (ST) <b>optional </b>
60       * <li>IAM-9: Sensitivity to Causative Agent Code (CWE) <b>optional </b>
61       * <li>IAM-10: Allergen Group Code/Mnemonic/Description (CWE) <b>optional </b>
62       * <li>IAM-11: Onset Date (DT) <b>optional </b>
63       * <li>IAM-12: Onset Date Text (ST) <b>optional </b>
64       * <li>IAM-13: Reported Date/Time (DTM) <b>optional </b>
65       * <li>IAM-14: Reported By (XPN) <b>optional </b>
66       * <li>IAM-15: Relationship to Patient Code (CWE) <b>optional </b>
67       * <li>IAM-16: Alert Device Code (CWE) <b>optional </b>
68       * <li>IAM-17: Allergy Clinical Status Code (CWE) <b>optional </b>
69       * <li>IAM-18: Statused by Person (XCN) <b>optional </b>
70       * <li>IAM-19: Statused by Organization (XON) <b>optional </b>
71       * <li>IAM-20: Statused at Date/Time (DTM) <b>optional </b>
72       * <li>IAM-21: Inactivated by Person (XCN) <b>optional </b>
73       * <li>IAM-22: Inactivated Date/Time (DTM) <b>optional </b>
74       * <li>IAM-23: Initially Recorded by Person (XCN) <b>optional </b>
75       * <li>IAM-24: Initially Recorded Date/Time (DTM) <b>optional </b>
76       * <li>IAM-25: Modified by Person (XCN) <b>optional </b>
77       * <li>IAM-26: Modified Date/Time (DTM) <b>optional </b>
78       * <li>IAM-27: Clinician Identified Code (CWE) <b>optional </b>
79       * <li>IAM-28: Initially Recorded by Organization (XON) <b>optional </b>
80       * <li>IAM-29: Modified by Organization (XON) <b>optional </b>
81       * <li>IAM-30: Inactivated by Organization (XON) <b>optional </b>
82   * </ul>
83   */
84  @SuppressWarnings("unused")
85  public class IAM extends AbstractSegment {
86  
87      /** 
88       * Creates a new IAM segment
89       */
90      public IAM(Group parent, ModelClassFactory factory) {
91         super(parent, factory);
92         init(factory);
93      }
94  
95      private void init(ModelClassFactory factory) {
96         try {
97                                    this.add(SI.class, true, 1, 0, new Object[]{ getMessage() }, "Set ID - IAM");
98                                    this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Allergen Type Code");
99                                    this.add(CWE.class, true, 1, 0, new Object[]{ getMessage() }, "Allergen Code/Mnemonic/Description");
100                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Allergy Severity Code");
101                                   this.add(ST.class, false, 0, 0, new Object[]{ getMessage() }, "Allergy Reaction Code");
102                                   this.add(CNE.class, true, 1, 0, new Object[]{ getMessage() }, "Allergy Action Code");
103                                   this.add(EI.class, false, 1, 0, new Object[]{ getMessage() }, "Allergy Unique Identifier");
104                                   this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Action Reason");
105                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Sensitivity to Causative Agent Code");
106                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Allergen Group Code/Mnemonic/Description");
107                                   this.add(DT.class, false, 1, 0, new Object[]{ getMessage() }, "Onset Date");
108                                   this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Onset Date Text");
109                                   this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Reported Date/Time");
110                                   this.add(XPN.class, false, 1, 0, new Object[]{ getMessage() }, "Reported By");
111                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Relationship to Patient Code");
112                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Alert Device Code");
113                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Allergy Clinical Status Code");
114                                   this.add(XCN.class, false, 1, 0, new Object[]{ getMessage() }, "Statused by Person");
115                                   this.add(XON.class, false, 1, 0, new Object[]{ getMessage() }, "Statused by Organization");
116                                   this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Statused at Date/Time");
117                                   this.add(XCN.class, false, 1, 0, new Object[]{ getMessage() }, "Inactivated by Person");
118                                   this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Inactivated Date/Time");
119                                   this.add(XCN.class, false, 1, 0, new Object[]{ getMessage() }, "Initially Recorded by Person");
120                                   this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Initially Recorded Date/Time");
121                                   this.add(XCN.class, false, 1, 0, new Object[]{ getMessage() }, "Modified by Person");
122                                   this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Modified Date/Time");
123                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Clinician Identified Code");
124                                   this.add(XON.class, false, 1, 0, new Object[]{ getMessage() }, "Initially Recorded by Organization");
125                                   this.add(XON.class, false, 1, 0, new Object[]{ getMessage() }, "Modified by Organization");
126                                   this.add(XON.class, false, 1, 0, new Object[]{ getMessage() }, "Inactivated by Organization");
127        } catch(HL7Exception e) {
128           log.error("Unexpected error creating IAM - this is probably a bug in the source code generator.", e);
129        }
130     }
131 
132 
133 
134     /**
135      * Returns
136      * IAM-1: "Set ID - IAM" - creates it if necessary
137      */
138     public SI getSetIDIAM() { 
139 		SI retVal = this.getTypedField(1, 0);
140 		return retVal;
141     }
142     
143     /**
144      * Returns
145      * IAM-1: "Set ID - IAM" - creates it if necessary
146      */
147     public SI getIam1_SetIDIAM() { 
148 		SI retVal = this.getTypedField(1, 0);
149 		return retVal;
150     }
151 
152 
153 
154     /**
155      * Returns
156      * IAM-2: "Allergen Type Code" - creates it if necessary
157      */
158     public CWE getAllergenTypeCode() { 
159 		CWE retVal = this.getTypedField(2, 0);
160 		return retVal;
161     }
162     
163     /**
164      * Returns
165      * IAM-2: "Allergen Type Code" - creates it if necessary
166      */
167     public CWE getIam2_AllergenTypeCode() { 
168 		CWE retVal = this.getTypedField(2, 0);
169 		return retVal;
170     }
171 
172 
173 
174     /**
175      * Returns
176      * IAM-3: "Allergen Code/Mnemonic/Description" - creates it if necessary
177      */
178     public CWE getAllergenCodeMnemonicDescription() { 
179 		CWE retVal = this.getTypedField(3, 0);
180 		return retVal;
181     }
182     
183     /**
184      * Returns
185      * IAM-3: "Allergen Code/Mnemonic/Description" - creates it if necessary
186      */
187     public CWE getIam3_AllergenCodeMnemonicDescription() { 
188 		CWE retVal = this.getTypedField(3, 0);
189 		return retVal;
190     }
191 
192 
193 
194     /**
195      * Returns
196      * IAM-4: "Allergy Severity Code" - creates it if necessary
197      */
198     public CWE getAllergySeverityCode() { 
199 		CWE retVal = this.getTypedField(4, 0);
200 		return retVal;
201     }
202     
203     /**
204      * Returns
205      * IAM-4: "Allergy Severity Code" - creates it if necessary
206      */
207     public CWE getIam4_AllergySeverityCode() { 
208 		CWE retVal = this.getTypedField(4, 0);
209 		return retVal;
210     }
211 
212 
213     /**
214      * Returns all repetitions of Allergy Reaction Code (IAM-5).
215      */
216     public ST[] getAllergyReactionCode() {
217     	ST[] retVal = this.getTypedField(5, new ST[0]);
218     	return retVal;
219     }
220 
221 
222     /**
223      * Returns all repetitions of Allergy Reaction Code (IAM-5).
224      */
225     public ST[] getIam5_AllergyReactionCode() {
226     	ST[] retVal = this.getTypedField(5, new ST[0]);
227     	return retVal;
228     }
229 
230 
231     /**
232      * Returns a count of the current number of repetitions of Allergy Reaction Code (IAM-5).
233      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
234      * it will return zero.
235      */
236     public int getAllergyReactionCodeReps() {
237     	return this.getReps(5);
238     }
239 
240 
241     /**
242      * Returns a specific repetition of
243      * IAM-5: "Allergy Reaction Code" - creates it if necessary
244      *
245      * @param rep The repetition index (0-indexed)
246      */
247     public ST getAllergyReactionCode(int rep) { 
248 		ST retVal = this.getTypedField(5, rep);
249 		return retVal;
250     }
251 
252     /**
253      * Returns a specific repetition of
254      * IAM-5: "Allergy Reaction Code" - creates it if necessary
255      *
256      * @param rep The repetition index (0-indexed)
257      */
258     public ST getIam5_AllergyReactionCode(int rep) { 
259 		ST retVal = this.getTypedField(5, rep);
260 		return retVal;
261     }
262 
263     /**
264      * Returns a count of the current number of repetitions of Allergy Reaction Code (IAM-5).
265      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
266      * it will return zero.
267      */
268     public int getIam5_AllergyReactionCodeReps() {
269     	return this.getReps(5);
270     }
271 
272 
273     /**
274      * Inserts a repetition of
275      * IAM-5: "Allergy Reaction Code" at a specific index
276      *
277      * @param rep The repetition index (0-indexed)
278      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
279      */
280     public ST insertAllergyReactionCode(int rep) throws HL7Exception { 
281         return (ST) super.insertRepetition(5, rep);
282     }
283 
284 
285     /**
286      * Inserts a repetition of
287      * IAM-5: "Allergy Reaction Code" at a specific index
288      *
289      * @param rep The repetition index (0-indexed)
290      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
291      */
292     public ST insertIam5_AllergyReactionCode(int rep) throws HL7Exception { 
293         return (ST) super.insertRepetition(5, rep);
294     }
295 
296 
297     /**
298      * Removes a repetition of
299      * IAM-5: "Allergy Reaction Code" at a specific index
300      *
301      * @param rep The repetition index (0-indexed)
302      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
303      */
304     public ST removeAllergyReactionCode(int rep) throws HL7Exception { 
305         return (ST) super.removeRepetition(5, rep);
306     }
307 
308 
309     /**
310      * Removes a repetition of
311      * IAM-5: "Allergy Reaction Code" at a specific index
312      *
313      * @param rep The repetition index (0-indexed)
314      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
315      */
316     public ST removeIam5_AllergyReactionCode(int rep) throws HL7Exception { 
317         return (ST) super.removeRepetition(5, rep);
318     }
319 
320 
321 
322 
323     /**
324      * Returns
325      * IAM-6: "Allergy Action Code" - creates it if necessary
326      */
327     public CNE getAllergyActionCode() { 
328 		CNE retVal = this.getTypedField(6, 0);
329 		return retVal;
330     }
331     
332     /**
333      * Returns
334      * IAM-6: "Allergy Action Code" - creates it if necessary
335      */
336     public CNE getIam6_AllergyActionCode() { 
337 		CNE retVal = this.getTypedField(6, 0);
338 		return retVal;
339     }
340 
341 
342 
343     /**
344      * Returns
345      * IAM-7: "Allergy Unique Identifier" - creates it if necessary
346      */
347     public EI getAllergyUniqueIdentifier() { 
348 		EI retVal = this.getTypedField(7, 0);
349 		return retVal;
350     }
351     
352     /**
353      * Returns
354      * IAM-7: "Allergy Unique Identifier" - creates it if necessary
355      */
356     public EI getIam7_AllergyUniqueIdentifier() { 
357 		EI retVal = this.getTypedField(7, 0);
358 		return retVal;
359     }
360 
361 
362 
363     /**
364      * Returns
365      * IAM-8: "Action Reason" - creates it if necessary
366      */
367     public ST getActionReason() { 
368 		ST retVal = this.getTypedField(8, 0);
369 		return retVal;
370     }
371     
372     /**
373      * Returns
374      * IAM-8: "Action Reason" - creates it if necessary
375      */
376     public ST getIam8_ActionReason() { 
377 		ST retVal = this.getTypedField(8, 0);
378 		return retVal;
379     }
380 
381 
382 
383     /**
384      * Returns
385      * IAM-9: "Sensitivity to Causative Agent Code" - creates it if necessary
386      */
387     public CWE getSensitivityToCausativeAgentCode() { 
388 		CWE retVal = this.getTypedField(9, 0);
389 		return retVal;
390     }
391     
392     /**
393      * Returns
394      * IAM-9: "Sensitivity to Causative Agent Code" - creates it if necessary
395      */
396     public CWE getIam9_SensitivityToCausativeAgentCode() { 
397 		CWE retVal = this.getTypedField(9, 0);
398 		return retVal;
399     }
400 
401 
402 
403     /**
404      * Returns
405      * IAM-10: "Allergen Group Code/Mnemonic/Description" - creates it if necessary
406      */
407     public CWE getAllergenGroupCodeMnemonicDescription() { 
408 		CWE retVal = this.getTypedField(10, 0);
409 		return retVal;
410     }
411     
412     /**
413      * Returns
414      * IAM-10: "Allergen Group Code/Mnemonic/Description" - creates it if necessary
415      */
416     public CWE getIam10_AllergenGroupCodeMnemonicDescription() { 
417 		CWE retVal = this.getTypedField(10, 0);
418 		return retVal;
419     }
420 
421 
422 
423     /**
424      * Returns
425      * IAM-11: "Onset Date" - creates it if necessary
426      */
427     public DT getOnsetDate() { 
428 		DT retVal = this.getTypedField(11, 0);
429 		return retVal;
430     }
431     
432     /**
433      * Returns
434      * IAM-11: "Onset Date" - creates it if necessary
435      */
436     public DT getIam11_OnsetDate() { 
437 		DT retVal = this.getTypedField(11, 0);
438 		return retVal;
439     }
440 
441 
442 
443     /**
444      * Returns
445      * IAM-12: "Onset Date Text" - creates it if necessary
446      */
447     public ST getOnsetDateText() { 
448 		ST retVal = this.getTypedField(12, 0);
449 		return retVal;
450     }
451     
452     /**
453      * Returns
454      * IAM-12: "Onset Date Text" - creates it if necessary
455      */
456     public ST getIam12_OnsetDateText() { 
457 		ST retVal = this.getTypedField(12, 0);
458 		return retVal;
459     }
460 
461 
462 
463     /**
464      * Returns
465      * IAM-13: "Reported Date/Time" - creates it if necessary
466      */
467     public DTM getReportedDateTime() { 
468 		DTM retVal = this.getTypedField(13, 0);
469 		return retVal;
470     }
471     
472     /**
473      * Returns
474      * IAM-13: "Reported Date/Time" - creates it if necessary
475      */
476     public DTM getIam13_ReportedDateTime() { 
477 		DTM retVal = this.getTypedField(13, 0);
478 		return retVal;
479     }
480 
481 
482 
483     /**
484      * Returns
485      * IAM-14: "Reported By" - creates it if necessary
486      */
487     public XPN getReportedBy() { 
488 		XPN retVal = this.getTypedField(14, 0);
489 		return retVal;
490     }
491     
492     /**
493      * Returns
494      * IAM-14: "Reported By" - creates it if necessary
495      */
496     public XPN getIam14_ReportedBy() { 
497 		XPN retVal = this.getTypedField(14, 0);
498 		return retVal;
499     }
500 
501 
502 
503     /**
504      * Returns
505      * IAM-15: "Relationship to Patient Code" - creates it if necessary
506      */
507     public CWE getRelationshipToPatientCode() { 
508 		CWE retVal = this.getTypedField(15, 0);
509 		return retVal;
510     }
511     
512     /**
513      * Returns
514      * IAM-15: "Relationship to Patient Code" - creates it if necessary
515      */
516     public CWE getIam15_RelationshipToPatientCode() { 
517 		CWE retVal = this.getTypedField(15, 0);
518 		return retVal;
519     }
520 
521 
522 
523     /**
524      * Returns
525      * IAM-16: "Alert Device Code" - creates it if necessary
526      */
527     public CWE getAlertDeviceCode() { 
528 		CWE retVal = this.getTypedField(16, 0);
529 		return retVal;
530     }
531     
532     /**
533      * Returns
534      * IAM-16: "Alert Device Code" - creates it if necessary
535      */
536     public CWE getIam16_AlertDeviceCode() { 
537 		CWE retVal = this.getTypedField(16, 0);
538 		return retVal;
539     }
540 
541 
542 
543     /**
544      * Returns
545      * IAM-17: "Allergy Clinical Status Code" - creates it if necessary
546      */
547     public CWE getAllergyClinicalStatusCode() { 
548 		CWE retVal = this.getTypedField(17, 0);
549 		return retVal;
550     }
551     
552     /**
553      * Returns
554      * IAM-17: "Allergy Clinical Status Code" - creates it if necessary
555      */
556     public CWE getIam17_AllergyClinicalStatusCode() { 
557 		CWE retVal = this.getTypedField(17, 0);
558 		return retVal;
559     }
560 
561 
562 
563     /**
564      * Returns
565      * IAM-18: "Statused by Person" - creates it if necessary
566      */
567     public XCN getStatusedByPerson() { 
568 		XCN retVal = this.getTypedField(18, 0);
569 		return retVal;
570     }
571     
572     /**
573      * Returns
574      * IAM-18: "Statused by Person" - creates it if necessary
575      */
576     public XCN getIam18_StatusedByPerson() { 
577 		XCN retVal = this.getTypedField(18, 0);
578 		return retVal;
579     }
580 
581 
582 
583     /**
584      * Returns
585      * IAM-19: "Statused by Organization" - creates it if necessary
586      */
587     public XON getStatusedByOrganization() { 
588 		XON retVal = this.getTypedField(19, 0);
589 		return retVal;
590     }
591     
592     /**
593      * Returns
594      * IAM-19: "Statused by Organization" - creates it if necessary
595      */
596     public XON getIam19_StatusedByOrganization() { 
597 		XON retVal = this.getTypedField(19, 0);
598 		return retVal;
599     }
600 
601 
602 
603     /**
604      * Returns
605      * IAM-20: "Statused at Date/Time" - creates it if necessary
606      */
607     public DTM getStatusedAtDateTime() { 
608 		DTM retVal = this.getTypedField(20, 0);
609 		return retVal;
610     }
611     
612     /**
613      * Returns
614      * IAM-20: "Statused at Date/Time" - creates it if necessary
615      */
616     public DTM getIam20_StatusedAtDateTime() { 
617 		DTM retVal = this.getTypedField(20, 0);
618 		return retVal;
619     }
620 
621 
622 
623     /**
624      * Returns
625      * IAM-21: "Inactivated by Person" - creates it if necessary
626      */
627     public XCN getInactivatedByPerson() { 
628 		XCN retVal = this.getTypedField(21, 0);
629 		return retVal;
630     }
631     
632     /**
633      * Returns
634      * IAM-21: "Inactivated by Person" - creates it if necessary
635      */
636     public XCN getIam21_InactivatedByPerson() { 
637 		XCN retVal = this.getTypedField(21, 0);
638 		return retVal;
639     }
640 
641 
642 
643     /**
644      * Returns
645      * IAM-22: "Inactivated Date/Time" - creates it if necessary
646      */
647     public DTM getInactivatedDateTime() { 
648 		DTM retVal = this.getTypedField(22, 0);
649 		return retVal;
650     }
651     
652     /**
653      * Returns
654      * IAM-22: "Inactivated Date/Time" - creates it if necessary
655      */
656     public DTM getIam22_InactivatedDateTime() { 
657 		DTM retVal = this.getTypedField(22, 0);
658 		return retVal;
659     }
660 
661 
662 
663     /**
664      * Returns
665      * IAM-23: "Initially Recorded by Person" - creates it if necessary
666      */
667     public XCN getInitiallyRecordedByPerson() { 
668 		XCN retVal = this.getTypedField(23, 0);
669 		return retVal;
670     }
671     
672     /**
673      * Returns
674      * IAM-23: "Initially Recorded by Person" - creates it if necessary
675      */
676     public XCN getIam23_InitiallyRecordedByPerson() { 
677 		XCN retVal = this.getTypedField(23, 0);
678 		return retVal;
679     }
680 
681 
682 
683     /**
684      * Returns
685      * IAM-24: "Initially Recorded Date/Time" - creates it if necessary
686      */
687     public DTM getInitiallyRecordedDateTime() { 
688 		DTM retVal = this.getTypedField(24, 0);
689 		return retVal;
690     }
691     
692     /**
693      * Returns
694      * IAM-24: "Initially Recorded Date/Time" - creates it if necessary
695      */
696     public DTM getIam24_InitiallyRecordedDateTime() { 
697 		DTM retVal = this.getTypedField(24, 0);
698 		return retVal;
699     }
700 
701 
702 
703     /**
704      * Returns
705      * IAM-25: "Modified by Person" - creates it if necessary
706      */
707     public XCN getModifiedByPerson() { 
708 		XCN retVal = this.getTypedField(25, 0);
709 		return retVal;
710     }
711     
712     /**
713      * Returns
714      * IAM-25: "Modified by Person" - creates it if necessary
715      */
716     public XCN getIam25_ModifiedByPerson() { 
717 		XCN retVal = this.getTypedField(25, 0);
718 		return retVal;
719     }
720 
721 
722 
723     /**
724      * Returns
725      * IAM-26: "Modified Date/Time" - creates it if necessary
726      */
727     public DTM getModifiedDateTime() { 
728 		DTM retVal = this.getTypedField(26, 0);
729 		return retVal;
730     }
731     
732     /**
733      * Returns
734      * IAM-26: "Modified Date/Time" - creates it if necessary
735      */
736     public DTM getIam26_ModifiedDateTime() { 
737 		DTM retVal = this.getTypedField(26, 0);
738 		return retVal;
739     }
740 
741 
742 
743     /**
744      * Returns
745      * IAM-27: "Clinician Identified Code" - creates it if necessary
746      */
747     public CWE getClinicianIdentifiedCode() { 
748 		CWE retVal = this.getTypedField(27, 0);
749 		return retVal;
750     }
751     
752     /**
753      * Returns
754      * IAM-27: "Clinician Identified Code" - creates it if necessary
755      */
756     public CWE getIam27_ClinicianIdentifiedCode() { 
757 		CWE retVal = this.getTypedField(27, 0);
758 		return retVal;
759     }
760 
761 
762 
763     /**
764      * Returns
765      * IAM-28: "Initially Recorded by Organization" - creates it if necessary
766      */
767     public XON getInitiallyRecordedByOrganization() { 
768 		XON retVal = this.getTypedField(28, 0);
769 		return retVal;
770     }
771     
772     /**
773      * Returns
774      * IAM-28: "Initially Recorded by Organization" - creates it if necessary
775      */
776     public XON getIam28_InitiallyRecordedByOrganization() { 
777 		XON retVal = this.getTypedField(28, 0);
778 		return retVal;
779     }
780 
781 
782 
783     /**
784      * Returns
785      * IAM-29: "Modified by Organization" - creates it if necessary
786      */
787     public XON getModifiedByOrganization() { 
788 		XON retVal = this.getTypedField(29, 0);
789 		return retVal;
790     }
791     
792     /**
793      * Returns
794      * IAM-29: "Modified by Organization" - creates it if necessary
795      */
796     public XON getIam29_ModifiedByOrganization() { 
797 		XON retVal = this.getTypedField(29, 0);
798 		return retVal;
799     }
800 
801 
802 
803     /**
804      * Returns
805      * IAM-30: "Inactivated by Organization" - creates it if necessary
806      */
807     public XON getInactivatedByOrganization() { 
808 		XON retVal = this.getTypedField(30, 0);
809 		return retVal;
810     }
811     
812     /**
813      * Returns
814      * IAM-30: "Inactivated by Organization" - creates it if necessary
815      */
816     public XON getIam30_InactivatedByOrganization() { 
817 		XON retVal = this.getTypedField(30, 0);
818 		return retVal;
819     }
820 
821 
822 
823 
824 
825     /** {@inheritDoc} */   
826     protected Type createNewTypeWithoutReflection(int field) {
827        switch (field) {
828           case 0: return new SI(getMessage());
829           case 1: return new CWE(getMessage());
830           case 2: return new CWE(getMessage());
831           case 3: return new CWE(getMessage());
832           case 4: return new ST(getMessage());
833           case 5: return new CNE(getMessage());
834           case 6: return new EI(getMessage());
835           case 7: return new ST(getMessage());
836           case 8: return new CWE(getMessage());
837           case 9: return new CWE(getMessage());
838           case 10: return new DT(getMessage());
839           case 11: return new ST(getMessage());
840           case 12: return new DTM(getMessage());
841           case 13: return new XPN(getMessage());
842           case 14: return new CWE(getMessage());
843           case 15: return new CWE(getMessage());
844           case 16: return new CWE(getMessage());
845           case 17: return new XCN(getMessage());
846           case 18: return new XON(getMessage());
847           case 19: return new DTM(getMessage());
848           case 20: return new XCN(getMessage());
849           case 21: return new DTM(getMessage());
850           case 22: return new XCN(getMessage());
851           case 23: return new DTM(getMessage());
852           case 24: return new XCN(getMessage());
853           case 25: return new DTM(getMessage());
854           case 26: return new CWE(getMessage());
855           case 27: return new XON(getMessage());
856           case 28: return new XON(getMessage());
857           case 29: return new XON(getMessage());
858           default: return null;
859        }
860    }
861 
862 
863 }
864