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.v25.message;
035
036import ca.uhn.hl7v2.model.v25.group.*;
037import ca.uhn.hl7v2.model.v25.segment.*;
038
039import ca.uhn.hl7v2.HL7Exception;
040import ca.uhn.hl7v2.parser.ModelClassFactory;
041import ca.uhn.hl7v2.parser.DefaultModelClassFactory;
042import ca.uhn.hl7v2.model.*;
043
044
045/**
046 * <p>Represents a ADT_AXX message structure (see chapter ). This structure contains the 
047 * following elements: </p>
048 * <ul>
049                                 * <li>1: MSH () <b> </b> <ul><li>Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A20, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37, ADT_A38, ADT_A39, ADT_A40, ADT_A41, ADT_A42, ADT_A43, ADT_A44, ADT_A45, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]</li></ul></li>
050                                 * <li>2: SFT () <b>optional repeating</b> <ul><li>Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A20, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37, ADT_A38, ADT_A39, ADT_A40, ADT_A41, ADT_A42, ADT_A43, ADT_A44, ADT_A45, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]</li></ul></li>
051                                 * <li>3: EVN () <b> </b> <ul><li>Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A20, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37, ADT_A38, ADT_A39, ADT_A40, ADT_A41, ADT_A42, ADT_A43, ADT_A44, ADT_A45, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]</li></ul></li>
052                                 * <li>4: PID () <b>optional </b> <ul><li>Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37, ADT_A38, ADT_A45, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]</li></ul></li>
053                                 * <li>5: PD1 () <b>optional </b> <ul><li>Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37, ADT_A38, ADT_A45, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A61, ADT_A62]</li></ul></li>
054                                 * <li>6: ROL () <b>optional repeating</b> <ul><li>Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A54, ADT_A61, ADT_A62]</li></ul></li>
055                                 * <li>7: MRG () <b>optional </b> <ul><li>Used for the following structures: [ADT_A06, ADT_A07, ADT_A18, ADT_A30, ADT_A34, ADT_A35, ADT_A36, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51]</li></ul></li>
056                                 * <li>8: NK1 () <b>optional repeating</b> <ul><li>Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]</li></ul></li>
057                                 * <li>9: PV1 () <b>optional </b> <ul><li>Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A37, ADT_A38, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]</li></ul></li>
058                                 * <li>10: PV2 () <b>optional </b> <ul><li>Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A38, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]</li></ul></li>
059                                 * <li>11: ROL () <b>optional repeating</b> <ul><li>Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A54]</li></ul></li>
060                                 * <li>12: DB1 () <b>optional repeating</b> <ul><li>Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A37, ADT_A38]</li></ul></li>
061                                 * <li>13: OBX () <b>optional repeating</b> <ul><li>Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A38]</li></ul></li>
062                                 * <li>14: AL1 () <b>optional repeating</b> <ul><li>Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]</li></ul></li>
063                                 * <li>15: DG1 () <b>optional repeating</b> <ul><li>Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A38]</li></ul></li>
064                                 * <li>16: DRG () <b>optional </b> <ul><li>Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31, ADT_A38]</li></ul></li>
065                                 * <li>17: ADT_AXX_PROCEDURE () <b>optional repeating</b> <ul><li>Used for the following structures: [ADT_A08, ADT_A04, ADT_A13, ADT_A14, ADT_A28, ADT_A31, ADT_A07]</li></ul></li>
066                                 * <li>18: GT1 () <b>optional repeating</b> <ul><li>Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]</li></ul></li>
067                                 * <li>19: ADT_AXX_INSURANCE () <b>optional repeating</b> <ul><li>Used for the following structures: [ADT_A08, ADT_A04, ADT_A13, ADT_A14, ADT_A28, ADT_A31, ADT_A07]</li></ul></li>
068                                 * <li>20: ACC () <b>optional </b> <ul><li>Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]</li></ul></li>
069                                 * <li>21: UB1 () <b>optional </b> <ul><li>Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]</li></ul></li>
070                                 * <li>22: UB2 () <b>optional </b> <ul><li>Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]</li></ul></li>
071                                 * <li>23: PDA () <b>optional </b> <ul><li>Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A08, ADT_A13]</li></ul></li>
072                                 * <li>24: PID () <b>optional </b> <ul><li>Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]</li></ul></li>
073                                 * <li>25: PD1 () <b>optional </b> <ul><li>Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]</li></ul></li>
074                                 * <li>26: PV1 () <b>optional </b> <ul><li>Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]</li></ul></li>
075                                 * <li>27: PV2 () <b>optional </b> <ul><li>Used for the following structures: [ADT_A17]</li></ul></li>
076                                 * <li>28: DB1 () <b>optional repeating</b> <ul><li>Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]</li></ul></li>
077                                 * <li>29: OBX () <b>optional repeating</b> <ul><li>Used for the following structures: [ADT_A17]</li></ul></li>
078                                 * <li>30: NPU () <b>optional </b> <ul><li>Used for the following structures: [ADT_A20]</li></ul></li>
079                                 * <li>31: ADT_AXX_PATIENT () <b>optional repeating</b> <ul><li>Used for the following structures: [ADT_A40, ADT_A41, ADT_A42, ADT_A44]</li></ul></li>
080                                 * <li>32: ADT_AXX_MERGE_INFO () <b>optional repeating</b> </li>
081                                 * <li>33: IAM () <b>optional repeating</b> <ul><li>Used for the following structures: [ADT_A60]</li></ul></li>
082 * </ul>
083 */
084//@SuppressWarnings("unused")
085public class ADT_AXX extends AbstractSuperMessage  {
086
087    /**
088     * Creates a new ADT_AXX message with DefaultModelClassFactory. 
089     */ 
090    public ADT_AXX() { 
091       this(new DefaultModelClassFactory());
092    }
093
094    /** 
095     * Creates a new ADT_AXX message with custom ModelClassFactory.
096     */
097    public ADT_AXX(ModelClassFactory factory) {
098       super(factory);
099       init(factory);
100    }
101
102    private void init(ModelClassFactory factory) {
103       try {
104                          this.add(MSH.class, true, false);
105                  this.addSuperstructureApplication("MSH", "ADT_A01"); 
106                  this.addSuperstructureApplication("MSH", "ADT_A02"); 
107                  this.addSuperstructureApplication("MSH", "ADT_A03"); 
108                  this.addSuperstructureApplication("MSH", "ADT_A04"); 
109                  this.addSuperstructureApplication("MSH", "ADT_A05"); 
110                  this.addSuperstructureApplication("MSH", "ADT_A06"); 
111                  this.addSuperstructureApplication("MSH", "ADT_A07"); 
112                  this.addSuperstructureApplication("MSH", "ADT_A08"); 
113                  this.addSuperstructureApplication("MSH", "ADT_A09"); 
114                  this.addSuperstructureApplication("MSH", "ADT_A10"); 
115                  this.addSuperstructureApplication("MSH", "ADT_A11"); 
116                  this.addSuperstructureApplication("MSH", "ADT_A12"); 
117                  this.addSuperstructureApplication("MSH", "ADT_A13"); 
118                  this.addSuperstructureApplication("MSH", "ADT_A14"); 
119                  this.addSuperstructureApplication("MSH", "ADT_A15"); 
120                  this.addSuperstructureApplication("MSH", "ADT_A16"); 
121                  this.addSuperstructureApplication("MSH", "ADT_A17"); 
122                  this.addSuperstructureApplication("MSH", "ADT_A18"); 
123                  this.addSuperstructureApplication("MSH", "ADT_A20"); 
124                  this.addSuperstructureApplication("MSH", "ADT_A21"); 
125                  this.addSuperstructureApplication("MSH", "ADT_A22"); 
126                  this.addSuperstructureApplication("MSH", "ADT_A23"); 
127                  this.addSuperstructureApplication("MSH", "ADT_A24"); 
128                  this.addSuperstructureApplication("MSH", "ADT_A25"); 
129                  this.addSuperstructureApplication("MSH", "ADT_A26"); 
130                  this.addSuperstructureApplication("MSH", "ADT_A27"); 
131                  this.addSuperstructureApplication("MSH", "ADT_A28"); 
132                  this.addSuperstructureApplication("MSH", "ADT_A29"); 
133                  this.addSuperstructureApplication("MSH", "ADT_A30"); 
134                  this.addSuperstructureApplication("MSH", "ADT_A31"); 
135                  this.addSuperstructureApplication("MSH", "ADT_A32"); 
136                  this.addSuperstructureApplication("MSH", "ADT_A33"); 
137                  this.addSuperstructureApplication("MSH", "ADT_A34"); 
138                  this.addSuperstructureApplication("MSH", "ADT_A35"); 
139                  this.addSuperstructureApplication("MSH", "ADT_A36"); 
140                  this.addSuperstructureApplication("MSH", "ADT_A37"); 
141                  this.addSuperstructureApplication("MSH", "ADT_A38"); 
142                  this.addSuperstructureApplication("MSH", "ADT_A39"); 
143                  this.addSuperstructureApplication("MSH", "ADT_A40"); 
144                  this.addSuperstructureApplication("MSH", "ADT_A41"); 
145                  this.addSuperstructureApplication("MSH", "ADT_A42"); 
146                  this.addSuperstructureApplication("MSH", "ADT_A43"); 
147                  this.addSuperstructureApplication("MSH", "ADT_A44"); 
148                  this.addSuperstructureApplication("MSH", "ADT_A45"); 
149                  this.addSuperstructureApplication("MSH", "ADT_A46"); 
150                  this.addSuperstructureApplication("MSH", "ADT_A47"); 
151                  this.addSuperstructureApplication("MSH", "ADT_A48"); 
152                  this.addSuperstructureApplication("MSH", "ADT_A49"); 
153                  this.addSuperstructureApplication("MSH", "ADT_A50"); 
154                  this.addSuperstructureApplication("MSH", "ADT_A51"); 
155                  this.addSuperstructureApplication("MSH", "ADT_A52"); 
156                  this.addSuperstructureApplication("MSH", "ADT_A53"); 
157                  this.addSuperstructureApplication("MSH", "ADT_A54"); 
158                  this.addSuperstructureApplication("MSH", "ADT_A55"); 
159                  this.addSuperstructureApplication("MSH", "ADT_A60"); 
160                  this.addSuperstructureApplication("MSH", "ADT_A61"); 
161                  this.addSuperstructureApplication("MSH", "ADT_A62"); 
162                                  this.add(SFT.class, false, true);
163                  this.addSuperstructureApplication("SFT", "ADT_A01"); 
164                  this.addSuperstructureApplication("SFT", "ADT_A02"); 
165                  this.addSuperstructureApplication("SFT", "ADT_A03"); 
166                  this.addSuperstructureApplication("SFT", "ADT_A04"); 
167                  this.addSuperstructureApplication("SFT", "ADT_A05"); 
168                  this.addSuperstructureApplication("SFT", "ADT_A06"); 
169                  this.addSuperstructureApplication("SFT", "ADT_A07"); 
170                  this.addSuperstructureApplication("SFT", "ADT_A08"); 
171                  this.addSuperstructureApplication("SFT", "ADT_A09"); 
172                  this.addSuperstructureApplication("SFT", "ADT_A10"); 
173                  this.addSuperstructureApplication("SFT", "ADT_A11"); 
174                  this.addSuperstructureApplication("SFT", "ADT_A12"); 
175                  this.addSuperstructureApplication("SFT", "ADT_A13"); 
176                  this.addSuperstructureApplication("SFT", "ADT_A14"); 
177                  this.addSuperstructureApplication("SFT", "ADT_A15"); 
178                  this.addSuperstructureApplication("SFT", "ADT_A16"); 
179                  this.addSuperstructureApplication("SFT", "ADT_A17"); 
180                  this.addSuperstructureApplication("SFT", "ADT_A18"); 
181                  this.addSuperstructureApplication("SFT", "ADT_A20"); 
182                  this.addSuperstructureApplication("SFT", "ADT_A21"); 
183                  this.addSuperstructureApplication("SFT", "ADT_A22"); 
184                  this.addSuperstructureApplication("SFT", "ADT_A23"); 
185                  this.addSuperstructureApplication("SFT", "ADT_A24"); 
186                  this.addSuperstructureApplication("SFT", "ADT_A25"); 
187                  this.addSuperstructureApplication("SFT", "ADT_A26"); 
188                  this.addSuperstructureApplication("SFT", "ADT_A27"); 
189                  this.addSuperstructureApplication("SFT", "ADT_A28"); 
190                  this.addSuperstructureApplication("SFT", "ADT_A29"); 
191                  this.addSuperstructureApplication("SFT", "ADT_A30"); 
192                  this.addSuperstructureApplication("SFT", "ADT_A31"); 
193                  this.addSuperstructureApplication("SFT", "ADT_A32"); 
194                  this.addSuperstructureApplication("SFT", "ADT_A33"); 
195                  this.addSuperstructureApplication("SFT", "ADT_A34"); 
196                  this.addSuperstructureApplication("SFT", "ADT_A35"); 
197                  this.addSuperstructureApplication("SFT", "ADT_A36"); 
198                  this.addSuperstructureApplication("SFT", "ADT_A37"); 
199                  this.addSuperstructureApplication("SFT", "ADT_A38"); 
200                  this.addSuperstructureApplication("SFT", "ADT_A39"); 
201                  this.addSuperstructureApplication("SFT", "ADT_A40"); 
202                  this.addSuperstructureApplication("SFT", "ADT_A41"); 
203                  this.addSuperstructureApplication("SFT", "ADT_A42"); 
204                  this.addSuperstructureApplication("SFT", "ADT_A43"); 
205                  this.addSuperstructureApplication("SFT", "ADT_A44"); 
206                  this.addSuperstructureApplication("SFT", "ADT_A45"); 
207                  this.addSuperstructureApplication("SFT", "ADT_A46"); 
208                  this.addSuperstructureApplication("SFT", "ADT_A47"); 
209                  this.addSuperstructureApplication("SFT", "ADT_A48"); 
210                  this.addSuperstructureApplication("SFT", "ADT_A49"); 
211                  this.addSuperstructureApplication("SFT", "ADT_A50"); 
212                  this.addSuperstructureApplication("SFT", "ADT_A51"); 
213                  this.addSuperstructureApplication("SFT", "ADT_A52"); 
214                  this.addSuperstructureApplication("SFT", "ADT_A53"); 
215                  this.addSuperstructureApplication("SFT", "ADT_A54"); 
216                  this.addSuperstructureApplication("SFT", "ADT_A55"); 
217                  this.addSuperstructureApplication("SFT", "ADT_A60"); 
218                  this.addSuperstructureApplication("SFT", "ADT_A61"); 
219                  this.addSuperstructureApplication("SFT", "ADT_A62"); 
220                                  this.add(EVN.class, true, false);
221                  this.addSuperstructureApplication("EVN", "ADT_A01"); 
222                  this.addSuperstructureApplication("EVN", "ADT_A02"); 
223                  this.addSuperstructureApplication("EVN", "ADT_A03"); 
224                  this.addSuperstructureApplication("EVN", "ADT_A04"); 
225                  this.addSuperstructureApplication("EVN", "ADT_A05"); 
226                  this.addSuperstructureApplication("EVN", "ADT_A06"); 
227                  this.addSuperstructureApplication("EVN", "ADT_A07"); 
228                  this.addSuperstructureApplication("EVN", "ADT_A08"); 
229                  this.addSuperstructureApplication("EVN", "ADT_A09"); 
230                  this.addSuperstructureApplication("EVN", "ADT_A10"); 
231                  this.addSuperstructureApplication("EVN", "ADT_A11"); 
232                  this.addSuperstructureApplication("EVN", "ADT_A12"); 
233                  this.addSuperstructureApplication("EVN", "ADT_A13"); 
234                  this.addSuperstructureApplication("EVN", "ADT_A14"); 
235                  this.addSuperstructureApplication("EVN", "ADT_A15"); 
236                  this.addSuperstructureApplication("EVN", "ADT_A16"); 
237                  this.addSuperstructureApplication("EVN", "ADT_A17"); 
238                  this.addSuperstructureApplication("EVN", "ADT_A18"); 
239                  this.addSuperstructureApplication("EVN", "ADT_A20"); 
240                  this.addSuperstructureApplication("EVN", "ADT_A21"); 
241                  this.addSuperstructureApplication("EVN", "ADT_A22"); 
242                  this.addSuperstructureApplication("EVN", "ADT_A23"); 
243                  this.addSuperstructureApplication("EVN", "ADT_A24"); 
244                  this.addSuperstructureApplication("EVN", "ADT_A25"); 
245                  this.addSuperstructureApplication("EVN", "ADT_A26"); 
246                  this.addSuperstructureApplication("EVN", "ADT_A27"); 
247                  this.addSuperstructureApplication("EVN", "ADT_A28"); 
248                  this.addSuperstructureApplication("EVN", "ADT_A29"); 
249                  this.addSuperstructureApplication("EVN", "ADT_A30"); 
250                  this.addSuperstructureApplication("EVN", "ADT_A31"); 
251                  this.addSuperstructureApplication("EVN", "ADT_A32"); 
252                  this.addSuperstructureApplication("EVN", "ADT_A33"); 
253                  this.addSuperstructureApplication("EVN", "ADT_A34"); 
254                  this.addSuperstructureApplication("EVN", "ADT_A35"); 
255                  this.addSuperstructureApplication("EVN", "ADT_A36"); 
256                  this.addSuperstructureApplication("EVN", "ADT_A37"); 
257                  this.addSuperstructureApplication("EVN", "ADT_A38"); 
258                  this.addSuperstructureApplication("EVN", "ADT_A39"); 
259                  this.addSuperstructureApplication("EVN", "ADT_A40"); 
260                  this.addSuperstructureApplication("EVN", "ADT_A41"); 
261                  this.addSuperstructureApplication("EVN", "ADT_A42"); 
262                  this.addSuperstructureApplication("EVN", "ADT_A43"); 
263                  this.addSuperstructureApplication("EVN", "ADT_A44"); 
264                  this.addSuperstructureApplication("EVN", "ADT_A45"); 
265                  this.addSuperstructureApplication("EVN", "ADT_A46"); 
266                  this.addSuperstructureApplication("EVN", "ADT_A47"); 
267                  this.addSuperstructureApplication("EVN", "ADT_A48"); 
268                  this.addSuperstructureApplication("EVN", "ADT_A49"); 
269                  this.addSuperstructureApplication("EVN", "ADT_A50"); 
270                  this.addSuperstructureApplication("EVN", "ADT_A51"); 
271                  this.addSuperstructureApplication("EVN", "ADT_A52"); 
272                  this.addSuperstructureApplication("EVN", "ADT_A53"); 
273                  this.addSuperstructureApplication("EVN", "ADT_A54"); 
274                  this.addSuperstructureApplication("EVN", "ADT_A55"); 
275                  this.addSuperstructureApplication("EVN", "ADT_A60"); 
276                  this.addSuperstructureApplication("EVN", "ADT_A61"); 
277                  this.addSuperstructureApplication("EVN", "ADT_A62"); 
278                                  this.add(PID.class, false, false);
279                  this.addSuperstructureApplication("PID", "ADT_A01"); 
280                  this.addSuperstructureApplication("PID", "ADT_A02"); 
281                  this.addSuperstructureApplication("PID", "ADT_A03"); 
282                  this.addSuperstructureApplication("PID", "ADT_A04"); 
283                  this.addSuperstructureApplication("PID", "ADT_A05"); 
284                  this.addSuperstructureApplication("PID", "ADT_A06"); 
285                  this.addSuperstructureApplication("PID", "ADT_A07"); 
286                  this.addSuperstructureApplication("PID", "ADT_A08"); 
287                  this.addSuperstructureApplication("PID", "ADT_A09"); 
288                  this.addSuperstructureApplication("PID", "ADT_A10"); 
289                  this.addSuperstructureApplication("PID", "ADT_A11"); 
290                  this.addSuperstructureApplication("PID", "ADT_A12"); 
291                  this.addSuperstructureApplication("PID", "ADT_A13"); 
292                  this.addSuperstructureApplication("PID", "ADT_A14"); 
293                  this.addSuperstructureApplication("PID", "ADT_A15"); 
294                  this.addSuperstructureApplication("PID", "ADT_A16"); 
295                  this.addSuperstructureApplication("PID", "ADT_A17"); 
296                  this.addSuperstructureApplication("PID", "ADT_A18"); 
297                  this.addSuperstructureApplication("PID", "ADT_A21"); 
298                  this.addSuperstructureApplication("PID", "ADT_A22"); 
299                  this.addSuperstructureApplication("PID", "ADT_A23"); 
300                  this.addSuperstructureApplication("PID", "ADT_A24"); 
301                  this.addSuperstructureApplication("PID", "ADT_A25"); 
302                  this.addSuperstructureApplication("PID", "ADT_A26"); 
303                  this.addSuperstructureApplication("PID", "ADT_A27"); 
304                  this.addSuperstructureApplication("PID", "ADT_A28"); 
305                  this.addSuperstructureApplication("PID", "ADT_A29"); 
306                  this.addSuperstructureApplication("PID", "ADT_A30"); 
307                  this.addSuperstructureApplication("PID", "ADT_A31"); 
308                  this.addSuperstructureApplication("PID", "ADT_A32"); 
309                  this.addSuperstructureApplication("PID", "ADT_A33"); 
310                  this.addSuperstructureApplication("PID", "ADT_A34"); 
311                  this.addSuperstructureApplication("PID", "ADT_A35"); 
312                  this.addSuperstructureApplication("PID", "ADT_A36"); 
313                  this.addSuperstructureApplication("PID", "ADT_A37"); 
314                  this.addSuperstructureApplication("PID", "ADT_A38"); 
315                  this.addSuperstructureApplication("PID", "ADT_A45"); 
316                  this.addSuperstructureApplication("PID", "ADT_A46"); 
317                  this.addSuperstructureApplication("PID", "ADT_A47"); 
318                  this.addSuperstructureApplication("PID", "ADT_A48"); 
319                  this.addSuperstructureApplication("PID", "ADT_A49"); 
320                  this.addSuperstructureApplication("PID", "ADT_A50"); 
321                  this.addSuperstructureApplication("PID", "ADT_A51"); 
322                  this.addSuperstructureApplication("PID", "ADT_A52"); 
323                  this.addSuperstructureApplication("PID", "ADT_A53"); 
324                  this.addSuperstructureApplication("PID", "ADT_A54"); 
325                  this.addSuperstructureApplication("PID", "ADT_A55"); 
326                  this.addSuperstructureApplication("PID", "ADT_A60"); 
327                  this.addSuperstructureApplication("PID", "ADT_A61"); 
328                  this.addSuperstructureApplication("PID", "ADT_A62"); 
329                                  this.add(PD1.class, false, false);
330                  this.addSuperstructureApplication("PD1", "ADT_A01"); 
331                  this.addSuperstructureApplication("PD1", "ADT_A02"); 
332                  this.addSuperstructureApplication("PD1", "ADT_A03"); 
333                  this.addSuperstructureApplication("PD1", "ADT_A04"); 
334                  this.addSuperstructureApplication("PD1", "ADT_A05"); 
335                  this.addSuperstructureApplication("PD1", "ADT_A06"); 
336                  this.addSuperstructureApplication("PD1", "ADT_A07"); 
337                  this.addSuperstructureApplication("PD1", "ADT_A08"); 
338                  this.addSuperstructureApplication("PD1", "ADT_A09"); 
339                  this.addSuperstructureApplication("PD1", "ADT_A10"); 
340                  this.addSuperstructureApplication("PD1", "ADT_A11"); 
341                  this.addSuperstructureApplication("PD1", "ADT_A12"); 
342                  this.addSuperstructureApplication("PD1", "ADT_A13"); 
343                  this.addSuperstructureApplication("PD1", "ADT_A14"); 
344                  this.addSuperstructureApplication("PD1", "ADT_A15"); 
345                  this.addSuperstructureApplication("PD1", "ADT_A16"); 
346                  this.addSuperstructureApplication("PD1", "ADT_A17"); 
347                  this.addSuperstructureApplication("PD1", "ADT_A18"); 
348                  this.addSuperstructureApplication("PD1", "ADT_A21"); 
349                  this.addSuperstructureApplication("PD1", "ADT_A22"); 
350                  this.addSuperstructureApplication("PD1", "ADT_A23"); 
351                  this.addSuperstructureApplication("PD1", "ADT_A24"); 
352                  this.addSuperstructureApplication("PD1", "ADT_A25"); 
353                  this.addSuperstructureApplication("PD1", "ADT_A26"); 
354                  this.addSuperstructureApplication("PD1", "ADT_A27"); 
355                  this.addSuperstructureApplication("PD1", "ADT_A28"); 
356                  this.addSuperstructureApplication("PD1", "ADT_A29"); 
357                  this.addSuperstructureApplication("PD1", "ADT_A30"); 
358                  this.addSuperstructureApplication("PD1", "ADT_A31"); 
359                  this.addSuperstructureApplication("PD1", "ADT_A32"); 
360                  this.addSuperstructureApplication("PD1", "ADT_A33"); 
361                  this.addSuperstructureApplication("PD1", "ADT_A34"); 
362                  this.addSuperstructureApplication("PD1", "ADT_A35"); 
363                  this.addSuperstructureApplication("PD1", "ADT_A36"); 
364                  this.addSuperstructureApplication("PD1", "ADT_A37"); 
365                  this.addSuperstructureApplication("PD1", "ADT_A38"); 
366                  this.addSuperstructureApplication("PD1", "ADT_A45"); 
367                  this.addSuperstructureApplication("PD1", "ADT_A46"); 
368                  this.addSuperstructureApplication("PD1", "ADT_A47"); 
369                  this.addSuperstructureApplication("PD1", "ADT_A48"); 
370                  this.addSuperstructureApplication("PD1", "ADT_A49"); 
371                  this.addSuperstructureApplication("PD1", "ADT_A50"); 
372                  this.addSuperstructureApplication("PD1", "ADT_A51"); 
373                  this.addSuperstructureApplication("PD1", "ADT_A52"); 
374                  this.addSuperstructureApplication("PD1", "ADT_A53"); 
375                  this.addSuperstructureApplication("PD1", "ADT_A54"); 
376                  this.addSuperstructureApplication("PD1", "ADT_A55"); 
377                  this.addSuperstructureApplication("PD1", "ADT_A61"); 
378                  this.addSuperstructureApplication("PD1", "ADT_A62"); 
379                                  this.add(ROL.class, false, true);
380                  this.addSuperstructureApplication("ROL", "ADT_A01"); 
381                  this.addSuperstructureApplication("ROL", "ADT_A02"); 
382                  this.addSuperstructureApplication("ROL", "ADT_A03"); 
383                  this.addSuperstructureApplication("ROL", "ADT_A04"); 
384                  this.addSuperstructureApplication("ROL", "ADT_A05"); 
385                  this.addSuperstructureApplication("ROL", "ADT_A06"); 
386                  this.addSuperstructureApplication("ROL", "ADT_A07"); 
387                  this.addSuperstructureApplication("ROL", "ADT_A08"); 
388                  this.addSuperstructureApplication("ROL", "ADT_A13"); 
389                  this.addSuperstructureApplication("ROL", "ADT_A14"); 
390                  this.addSuperstructureApplication("ROL", "ADT_A15"); 
391                  this.addSuperstructureApplication("ROL", "ADT_A16"); 
392                  this.addSuperstructureApplication("ROL", "ADT_A28"); 
393                  this.addSuperstructureApplication("ROL", "ADT_A31"); 
394                  this.addSuperstructureApplication("ROL", "ADT_A54"); 
395                  this.addSuperstructureApplication("ROL", "ADT_A61"); 
396                  this.addSuperstructureApplication("ROL", "ADT_A62"); 
397                                  this.add(MRG.class, false, false);
398                  this.addSuperstructureApplication("MRG", "ADT_A06"); 
399                  this.addSuperstructureApplication("MRG", "ADT_A07"); 
400                  this.addSuperstructureApplication("MRG", "ADT_A18"); 
401                  this.addSuperstructureApplication("MRG", "ADT_A30"); 
402                  this.addSuperstructureApplication("MRG", "ADT_A34"); 
403                  this.addSuperstructureApplication("MRG", "ADT_A35"); 
404                  this.addSuperstructureApplication("MRG", "ADT_A36"); 
405                  this.addSuperstructureApplication("MRG", "ADT_A46"); 
406                  this.addSuperstructureApplication("MRG", "ADT_A47"); 
407                  this.addSuperstructureApplication("MRG", "ADT_A48"); 
408                  this.addSuperstructureApplication("MRG", "ADT_A49"); 
409                  this.addSuperstructureApplication("MRG", "ADT_A50"); 
410                  this.addSuperstructureApplication("MRG", "ADT_A51"); 
411                                  this.add(NK1.class, false, true);
412                  this.addSuperstructureApplication("NK1", "ADT_A01"); 
413                  this.addSuperstructureApplication("NK1", "ADT_A03"); 
414                  this.addSuperstructureApplication("NK1", "ADT_A04"); 
415                  this.addSuperstructureApplication("NK1", "ADT_A05"); 
416                  this.addSuperstructureApplication("NK1", "ADT_A06"); 
417                  this.addSuperstructureApplication("NK1", "ADT_A07"); 
418                  this.addSuperstructureApplication("NK1", "ADT_A08"); 
419                  this.addSuperstructureApplication("NK1", "ADT_A13"); 
420                  this.addSuperstructureApplication("NK1", "ADT_A14"); 
421                  this.addSuperstructureApplication("NK1", "ADT_A16"); 
422                  this.addSuperstructureApplication("NK1", "ADT_A28"); 
423                  this.addSuperstructureApplication("NK1", "ADT_A31"); 
424                                  this.add(PV1.class, false, false);
425                  this.addSuperstructureApplication("PV1", "ADT_A01"); 
426                  this.addSuperstructureApplication("PV1", "ADT_A02"); 
427                  this.addSuperstructureApplication("PV1", "ADT_A03"); 
428                  this.addSuperstructureApplication("PV1", "ADT_A04"); 
429                  this.addSuperstructureApplication("PV1", "ADT_A05"); 
430                  this.addSuperstructureApplication("PV1", "ADT_A06"); 
431                  this.addSuperstructureApplication("PV1", "ADT_A07"); 
432                  this.addSuperstructureApplication("PV1", "ADT_A08"); 
433                  this.addSuperstructureApplication("PV1", "ADT_A09"); 
434                  this.addSuperstructureApplication("PV1", "ADT_A10"); 
435                  this.addSuperstructureApplication("PV1", "ADT_A11"); 
436                  this.addSuperstructureApplication("PV1", "ADT_A12"); 
437                  this.addSuperstructureApplication("PV1", "ADT_A13"); 
438                  this.addSuperstructureApplication("PV1", "ADT_A14"); 
439                  this.addSuperstructureApplication("PV1", "ADT_A15"); 
440                  this.addSuperstructureApplication("PV1", "ADT_A16"); 
441                  this.addSuperstructureApplication("PV1", "ADT_A17"); 
442                  this.addSuperstructureApplication("PV1", "ADT_A18"); 
443                  this.addSuperstructureApplication("PV1", "ADT_A21"); 
444                  this.addSuperstructureApplication("PV1", "ADT_A22"); 
445                  this.addSuperstructureApplication("PV1", "ADT_A23"); 
446                  this.addSuperstructureApplication("PV1", "ADT_A24"); 
447                  this.addSuperstructureApplication("PV1", "ADT_A25"); 
448                  this.addSuperstructureApplication("PV1", "ADT_A26"); 
449                  this.addSuperstructureApplication("PV1", "ADT_A27"); 
450                  this.addSuperstructureApplication("PV1", "ADT_A28"); 
451                  this.addSuperstructureApplication("PV1", "ADT_A29"); 
452                  this.addSuperstructureApplication("PV1", "ADT_A31"); 
453                  this.addSuperstructureApplication("PV1", "ADT_A32"); 
454                  this.addSuperstructureApplication("PV1", "ADT_A33"); 
455                  this.addSuperstructureApplication("PV1", "ADT_A37"); 
456                  this.addSuperstructureApplication("PV1", "ADT_A38"); 
457                  this.addSuperstructureApplication("PV1", "ADT_A50"); 
458                  this.addSuperstructureApplication("PV1", "ADT_A51"); 
459                  this.addSuperstructureApplication("PV1", "ADT_A52"); 
460                  this.addSuperstructureApplication("PV1", "ADT_A53"); 
461                  this.addSuperstructureApplication("PV1", "ADT_A54"); 
462                  this.addSuperstructureApplication("PV1", "ADT_A55"); 
463                  this.addSuperstructureApplication("PV1", "ADT_A60"); 
464                  this.addSuperstructureApplication("PV1", "ADT_A61"); 
465                  this.addSuperstructureApplication("PV1", "ADT_A62"); 
466                                  this.add(PV2.class, false, false);
467                  this.addSuperstructureApplication("PV2", "ADT_A01"); 
468                  this.addSuperstructureApplication("PV2", "ADT_A02"); 
469                  this.addSuperstructureApplication("PV2", "ADT_A03"); 
470                  this.addSuperstructureApplication("PV2", "ADT_A04"); 
471                  this.addSuperstructureApplication("PV2", "ADT_A05"); 
472                  this.addSuperstructureApplication("PV2", "ADT_A06"); 
473                  this.addSuperstructureApplication("PV2", "ADT_A07"); 
474                  this.addSuperstructureApplication("PV2", "ADT_A08"); 
475                  this.addSuperstructureApplication("PV2", "ADT_A09"); 
476                  this.addSuperstructureApplication("PV2", "ADT_A10"); 
477                  this.addSuperstructureApplication("PV2", "ADT_A11"); 
478                  this.addSuperstructureApplication("PV2", "ADT_A12"); 
479                  this.addSuperstructureApplication("PV2", "ADT_A13"); 
480                  this.addSuperstructureApplication("PV2", "ADT_A14"); 
481                  this.addSuperstructureApplication("PV2", "ADT_A15"); 
482                  this.addSuperstructureApplication("PV2", "ADT_A16"); 
483                  this.addSuperstructureApplication("PV2", "ADT_A17"); 
484                  this.addSuperstructureApplication("PV2", "ADT_A21"); 
485                  this.addSuperstructureApplication("PV2", "ADT_A22"); 
486                  this.addSuperstructureApplication("PV2", "ADT_A23"); 
487                  this.addSuperstructureApplication("PV2", "ADT_A25"); 
488                  this.addSuperstructureApplication("PV2", "ADT_A26"); 
489                  this.addSuperstructureApplication("PV2", "ADT_A27"); 
490                  this.addSuperstructureApplication("PV2", "ADT_A28"); 
491                  this.addSuperstructureApplication("PV2", "ADT_A29"); 
492                  this.addSuperstructureApplication("PV2", "ADT_A31"); 
493                  this.addSuperstructureApplication("PV2", "ADT_A32"); 
494                  this.addSuperstructureApplication("PV2", "ADT_A33"); 
495                  this.addSuperstructureApplication("PV2", "ADT_A38"); 
496                  this.addSuperstructureApplication("PV2", "ADT_A52"); 
497                  this.addSuperstructureApplication("PV2", "ADT_A53"); 
498                  this.addSuperstructureApplication("PV2", "ADT_A54"); 
499                  this.addSuperstructureApplication("PV2", "ADT_A55"); 
500                  this.addSuperstructureApplication("PV2", "ADT_A60"); 
501                  this.addSuperstructureApplication("PV2", "ADT_A61"); 
502                  this.addSuperstructureApplication("PV2", "ADT_A62"); 
503                                  this.add(ROL.class, false, true);
504                  this.addSuperstructureApplication("ROL2", "ADT_A01"); 
505                  this.addSuperstructureApplication("ROL2", "ADT_A02"); 
506                  this.addSuperstructureApplication("ROL2", "ADT_A03"); 
507                  this.addSuperstructureApplication("ROL2", "ADT_A04"); 
508                  this.addSuperstructureApplication("ROL2", "ADT_A05"); 
509                  this.addSuperstructureApplication("ROL2", "ADT_A06"); 
510                  this.addSuperstructureApplication("ROL2", "ADT_A07"); 
511                  this.addSuperstructureApplication("ROL2", "ADT_A08"); 
512                  this.addSuperstructureApplication("ROL2", "ADT_A13"); 
513                  this.addSuperstructureApplication("ROL2", "ADT_A14"); 
514                  this.addSuperstructureApplication("ROL2", "ADT_A15"); 
515                  this.addSuperstructureApplication("ROL2", "ADT_A16"); 
516                  this.addSuperstructureApplication("ROL2", "ADT_A28"); 
517                  this.addSuperstructureApplication("ROL2", "ADT_A31"); 
518                  this.addSuperstructureApplication("ROL2", "ADT_A54"); 
519                                  this.add(DB1.class, false, true);
520                  this.addSuperstructureApplication("DB1", "ADT_A01"); 
521                  this.addSuperstructureApplication("DB1", "ADT_A02"); 
522                  this.addSuperstructureApplication("DB1", "ADT_A03"); 
523                  this.addSuperstructureApplication("DB1", "ADT_A04"); 
524                  this.addSuperstructureApplication("DB1", "ADT_A05"); 
525                  this.addSuperstructureApplication("DB1", "ADT_A06"); 
526                  this.addSuperstructureApplication("DB1", "ADT_A07"); 
527                  this.addSuperstructureApplication("DB1", "ADT_A08"); 
528                  this.addSuperstructureApplication("DB1", "ADT_A09"); 
529                  this.addSuperstructureApplication("DB1", "ADT_A10"); 
530                  this.addSuperstructureApplication("DB1", "ADT_A11"); 
531                  this.addSuperstructureApplication("DB1", "ADT_A12"); 
532                  this.addSuperstructureApplication("DB1", "ADT_A13"); 
533                  this.addSuperstructureApplication("DB1", "ADT_A14"); 
534                  this.addSuperstructureApplication("DB1", "ADT_A15"); 
535                  this.addSuperstructureApplication("DB1", "ADT_A16"); 
536                  this.addSuperstructureApplication("DB1", "ADT_A17"); 
537                  this.addSuperstructureApplication("DB1", "ADT_A21"); 
538                  this.addSuperstructureApplication("DB1", "ADT_A22"); 
539                  this.addSuperstructureApplication("DB1", "ADT_A23"); 
540                  this.addSuperstructureApplication("DB1", "ADT_A24"); 
541                  this.addSuperstructureApplication("DB1", "ADT_A25"); 
542                  this.addSuperstructureApplication("DB1", "ADT_A26"); 
543                  this.addSuperstructureApplication("DB1", "ADT_A27"); 
544                  this.addSuperstructureApplication("DB1", "ADT_A28"); 
545                  this.addSuperstructureApplication("DB1", "ADT_A29"); 
546                  this.addSuperstructureApplication("DB1", "ADT_A31"); 
547                  this.addSuperstructureApplication("DB1", "ADT_A32"); 
548                  this.addSuperstructureApplication("DB1", "ADT_A33"); 
549                  this.addSuperstructureApplication("DB1", "ADT_A37"); 
550                  this.addSuperstructureApplication("DB1", "ADT_A38"); 
551                                  this.add(OBX.class, false, true);
552                  this.addSuperstructureApplication("OBX", "ADT_A01"); 
553                  this.addSuperstructureApplication("OBX", "ADT_A02"); 
554                  this.addSuperstructureApplication("OBX", "ADT_A03"); 
555                  this.addSuperstructureApplication("OBX", "ADT_A04"); 
556                  this.addSuperstructureApplication("OBX", "ADT_A05"); 
557                  this.addSuperstructureApplication("OBX", "ADT_A06"); 
558                  this.addSuperstructureApplication("OBX", "ADT_A07"); 
559                  this.addSuperstructureApplication("OBX", "ADT_A08"); 
560                  this.addSuperstructureApplication("OBX", "ADT_A09"); 
561                  this.addSuperstructureApplication("OBX", "ADT_A10"); 
562                  this.addSuperstructureApplication("OBX", "ADT_A11"); 
563                  this.addSuperstructureApplication("OBX", "ADT_A12"); 
564                  this.addSuperstructureApplication("OBX", "ADT_A13"); 
565                  this.addSuperstructureApplication("OBX", "ADT_A14"); 
566                  this.addSuperstructureApplication("OBX", "ADT_A15"); 
567                  this.addSuperstructureApplication("OBX", "ADT_A16"); 
568                  this.addSuperstructureApplication("OBX", "ADT_A17"); 
569                  this.addSuperstructureApplication("OBX", "ADT_A21"); 
570                  this.addSuperstructureApplication("OBX", "ADT_A22"); 
571                  this.addSuperstructureApplication("OBX", "ADT_A23"); 
572                  this.addSuperstructureApplication("OBX", "ADT_A25"); 
573                  this.addSuperstructureApplication("OBX", "ADT_A26"); 
574                  this.addSuperstructureApplication("OBX", "ADT_A27"); 
575                  this.addSuperstructureApplication("OBX", "ADT_A28"); 
576                  this.addSuperstructureApplication("OBX", "ADT_A29"); 
577                  this.addSuperstructureApplication("OBX", "ADT_A31"); 
578                  this.addSuperstructureApplication("OBX", "ADT_A32"); 
579                  this.addSuperstructureApplication("OBX", "ADT_A33"); 
580                  this.addSuperstructureApplication("OBX", "ADT_A38"); 
581                                  this.add(AL1.class, false, true);
582                  this.addSuperstructureApplication("AL1", "ADT_A01"); 
583                  this.addSuperstructureApplication("AL1", "ADT_A03"); 
584                  this.addSuperstructureApplication("AL1", "ADT_A04"); 
585                  this.addSuperstructureApplication("AL1", "ADT_A05"); 
586                  this.addSuperstructureApplication("AL1", "ADT_A06"); 
587                  this.addSuperstructureApplication("AL1", "ADT_A07"); 
588                  this.addSuperstructureApplication("AL1", "ADT_A08"); 
589                  this.addSuperstructureApplication("AL1", "ADT_A13"); 
590                  this.addSuperstructureApplication("AL1", "ADT_A14"); 
591                  this.addSuperstructureApplication("AL1", "ADT_A16"); 
592                  this.addSuperstructureApplication("AL1", "ADT_A28"); 
593                  this.addSuperstructureApplication("AL1", "ADT_A31"); 
594                                  this.add(DG1.class, false, true);
595                  this.addSuperstructureApplication("DG1", "ADT_A01"); 
596                  this.addSuperstructureApplication("DG1", "ADT_A03"); 
597                  this.addSuperstructureApplication("DG1", "ADT_A04"); 
598                  this.addSuperstructureApplication("DG1", "ADT_A05"); 
599                  this.addSuperstructureApplication("DG1", "ADT_A06"); 
600                  this.addSuperstructureApplication("DG1", "ADT_A07"); 
601                  this.addSuperstructureApplication("DG1", "ADT_A08"); 
602                  this.addSuperstructureApplication("DG1", "ADT_A09"); 
603                  this.addSuperstructureApplication("DG1", "ADT_A10"); 
604                  this.addSuperstructureApplication("DG1", "ADT_A11"); 
605                  this.addSuperstructureApplication("DG1", "ADT_A12"); 
606                  this.addSuperstructureApplication("DG1", "ADT_A13"); 
607                  this.addSuperstructureApplication("DG1", "ADT_A14"); 
608                  this.addSuperstructureApplication("DG1", "ADT_A15"); 
609                  this.addSuperstructureApplication("DG1", "ADT_A16"); 
610                  this.addSuperstructureApplication("DG1", "ADT_A28"); 
611                  this.addSuperstructureApplication("DG1", "ADT_A31"); 
612                  this.addSuperstructureApplication("DG1", "ADT_A38"); 
613                                  this.add(DRG.class, false, false);
614                  this.addSuperstructureApplication("DRG", "ADT_A01"); 
615                  this.addSuperstructureApplication("DRG", "ADT_A03"); 
616                  this.addSuperstructureApplication("DRG", "ADT_A04"); 
617                  this.addSuperstructureApplication("DRG", "ADT_A05"); 
618                  this.addSuperstructureApplication("DRG", "ADT_A06"); 
619                  this.addSuperstructureApplication("DRG", "ADT_A07"); 
620                  this.addSuperstructureApplication("DRG", "ADT_A08"); 
621                  this.addSuperstructureApplication("DRG", "ADT_A13"); 
622                  this.addSuperstructureApplication("DRG", "ADT_A14"); 
623                  this.addSuperstructureApplication("DRG", "ADT_A16"); 
624                  this.addSuperstructureApplication("DRG", "ADT_A28"); 
625                  this.addSuperstructureApplication("DRG", "ADT_A31"); 
626                  this.addSuperstructureApplication("DRG", "ADT_A38"); 
627                                  this.add(ADT_AXX_PROCEDURE.class, false, true);
628                  this.addSuperstructureApplication("PROCEDURE", "ADT_A08"); 
629                  this.addSuperstructureApplication("PROCEDURE", "ADT_A04"); 
630                  this.addSuperstructureApplication("PROCEDURE", "ADT_A13"); 
631                  this.addSuperstructureApplication("PROCEDURE", "ADT_A14"); 
632                  this.addSuperstructureApplication("PROCEDURE", "ADT_A28"); 
633                  this.addSuperstructureApplication("PROCEDURE", "ADT_A31"); 
634                  this.addSuperstructureApplication("PROCEDURE", "ADT_A07"); 
635                                  this.add(GT1.class, false, true);
636                  this.addSuperstructureApplication("GT1", "ADT_A01"); 
637                  this.addSuperstructureApplication("GT1", "ADT_A03"); 
638                  this.addSuperstructureApplication("GT1", "ADT_A04"); 
639                  this.addSuperstructureApplication("GT1", "ADT_A05"); 
640                  this.addSuperstructureApplication("GT1", "ADT_A06"); 
641                  this.addSuperstructureApplication("GT1", "ADT_A07"); 
642                  this.addSuperstructureApplication("GT1", "ADT_A08"); 
643                  this.addSuperstructureApplication("GT1", "ADT_A13"); 
644                  this.addSuperstructureApplication("GT1", "ADT_A14"); 
645                  this.addSuperstructureApplication("GT1", "ADT_A16"); 
646                  this.addSuperstructureApplication("GT1", "ADT_A28"); 
647                  this.addSuperstructureApplication("GT1", "ADT_A31"); 
648                                  this.add(ADT_AXX_INSURANCE.class, false, true);
649                  this.addSuperstructureApplication("INSURANCE", "ADT_A08"); 
650                  this.addSuperstructureApplication("INSURANCE", "ADT_A04"); 
651                  this.addSuperstructureApplication("INSURANCE", "ADT_A13"); 
652                  this.addSuperstructureApplication("INSURANCE", "ADT_A14"); 
653                  this.addSuperstructureApplication("INSURANCE", "ADT_A28"); 
654                  this.addSuperstructureApplication("INSURANCE", "ADT_A31"); 
655                  this.addSuperstructureApplication("INSURANCE", "ADT_A07"); 
656                                  this.add(ACC.class, false, false);
657                  this.addSuperstructureApplication("ACC", "ADT_A01"); 
658                  this.addSuperstructureApplication("ACC", "ADT_A03"); 
659                  this.addSuperstructureApplication("ACC", "ADT_A04"); 
660                  this.addSuperstructureApplication("ACC", "ADT_A05"); 
661                  this.addSuperstructureApplication("ACC", "ADT_A06"); 
662                  this.addSuperstructureApplication("ACC", "ADT_A07"); 
663                  this.addSuperstructureApplication("ACC", "ADT_A08"); 
664                  this.addSuperstructureApplication("ACC", "ADT_A13"); 
665                  this.addSuperstructureApplication("ACC", "ADT_A14"); 
666                  this.addSuperstructureApplication("ACC", "ADT_A16"); 
667                  this.addSuperstructureApplication("ACC", "ADT_A28"); 
668                  this.addSuperstructureApplication("ACC", "ADT_A31"); 
669                                  this.add(UB1.class, false, false);
670                  this.addSuperstructureApplication("UB1", "ADT_A01"); 
671                  this.addSuperstructureApplication("UB1", "ADT_A04"); 
672                  this.addSuperstructureApplication("UB1", "ADT_A05"); 
673                  this.addSuperstructureApplication("UB1", "ADT_A06"); 
674                  this.addSuperstructureApplication("UB1", "ADT_A07"); 
675                  this.addSuperstructureApplication("UB1", "ADT_A08"); 
676                  this.addSuperstructureApplication("UB1", "ADT_A13"); 
677                  this.addSuperstructureApplication("UB1", "ADT_A14"); 
678                  this.addSuperstructureApplication("UB1", "ADT_A28"); 
679                  this.addSuperstructureApplication("UB1", "ADT_A31"); 
680                                  this.add(UB2.class, false, false);
681                  this.addSuperstructureApplication("UB2", "ADT_A01"); 
682                  this.addSuperstructureApplication("UB2", "ADT_A04"); 
683                  this.addSuperstructureApplication("UB2", "ADT_A05"); 
684                  this.addSuperstructureApplication("UB2", "ADT_A06"); 
685                  this.addSuperstructureApplication("UB2", "ADT_A07"); 
686                  this.addSuperstructureApplication("UB2", "ADT_A08"); 
687                  this.addSuperstructureApplication("UB2", "ADT_A13"); 
688                  this.addSuperstructureApplication("UB2", "ADT_A14"); 
689                  this.addSuperstructureApplication("UB2", "ADT_A28"); 
690                  this.addSuperstructureApplication("UB2", "ADT_A31"); 
691                                  this.add(PDA.class, false, false);
692                  this.addSuperstructureApplication("PDA", "ADT_A01"); 
693                  this.addSuperstructureApplication("PDA", "ADT_A02"); 
694                  this.addSuperstructureApplication("PDA", "ADT_A03"); 
695                  this.addSuperstructureApplication("PDA", "ADT_A04"); 
696                  this.addSuperstructureApplication("PDA", "ADT_A08"); 
697                  this.addSuperstructureApplication("PDA", "ADT_A13"); 
698                                  this.add(PID.class, false, false);
699                  this.addSuperstructureApplication("PID2", "ADT_A17"); 
700                  this.addSuperstructureApplication("PID2", "ADT_A24"); 
701                  this.addSuperstructureApplication("PID2", "ADT_A37"); 
702                                  this.add(PD1.class, false, false);
703                  this.addSuperstructureApplication("PD12", "ADT_A17"); 
704                  this.addSuperstructureApplication("PD12", "ADT_A24"); 
705                  this.addSuperstructureApplication("PD12", "ADT_A37"); 
706                                  this.add(PV1.class, false, false);
707                  this.addSuperstructureApplication("PV12", "ADT_A17"); 
708                  this.addSuperstructureApplication("PV12", "ADT_A24"); 
709                  this.addSuperstructureApplication("PV12", "ADT_A37"); 
710                                  this.add(PV2.class, false, false);
711                  this.addSuperstructureApplication("PV22", "ADT_A17"); 
712                                  this.add(DB1.class, false, true);
713                  this.addSuperstructureApplication("DB12", "ADT_A17"); 
714                  this.addSuperstructureApplication("DB12", "ADT_A24"); 
715                  this.addSuperstructureApplication("DB12", "ADT_A37"); 
716                                  this.add(OBX.class, false, true);
717                  this.addSuperstructureApplication("OBX2", "ADT_A17"); 
718                                  this.add(NPU.class, false, false);
719                  this.addSuperstructureApplication("NPU", "ADT_A20"); 
720                                  this.add(ADT_AXX_PATIENT.class, false, true);
721                  this.addSuperstructureApplication("PATIENT", "ADT_A40"); 
722                  this.addSuperstructureApplication("PATIENT", "ADT_A41"); 
723                  this.addSuperstructureApplication("PATIENT", "ADT_A42"); 
724                  this.addSuperstructureApplication("PATIENT", "ADT_A44"); 
725                                  this.add(ADT_AXX_MERGE_INFO.class, false, true);
726                                  this.add(IAM.class, false, true);
727                  this.addSuperstructureApplication("IAM", "ADT_A60"); 
728               } catch(HL7Exception e) {
729          log.error("Unexpected error creating ADT_AXX - this is probably a bug in the source code generator.", e);
730       }
731    }
732
733        public java.util.List<String> getChildNamesForStructure(String theStructure) {
734                java.util.ArrayList<String> retVal = new java.util.ArrayList<String>();
735                        if ( "ADT_A01".equals(theStructure) ) {
736                                        retVal.add("MSH"); 
737                                        retVal.add("SFT"); 
738                                        retVal.add("EVN"); 
739                                        retVal.add("PID"); 
740                                        retVal.add("PD1"); 
741                                        retVal.add("ROL"); 
742                                        retVal.add("NK1"); 
743                                        retVal.add("PV1"); 
744                                        retVal.add("PV2"); 
745                                        retVal.add("ROL2"); 
746                                        retVal.add("DB1"); 
747                                        retVal.add("OBX"); 
748                                        retVal.add("AL1"); 
749                                        retVal.add("DG1"); 
750                                        retVal.add("DRG"); 
751                                        retVal.add("PROCEDURE"); 
752                                        retVal.add("GT1"); 
753                                        retVal.add("INSURANCE"); 
754                                        retVal.add("ACC"); 
755                                        retVal.add("UB1"); 
756                                        retVal.add("UB2"); 
757                                        retVal.add("PDA"); 
758                                }
759                        if ( "ADT_A02".equals(theStructure) ) {
760                                        retVal.add("MSH"); 
761                                        retVal.add("SFT"); 
762                                        retVal.add("EVN"); 
763                                        retVal.add("PID"); 
764                                        retVal.add("PD1"); 
765                                        retVal.add("ROL"); 
766                                        retVal.add("PV1"); 
767                                        retVal.add("PV2"); 
768                                        retVal.add("ROL2"); 
769                                        retVal.add("DB1"); 
770                                        retVal.add("OBX"); 
771                                        retVal.add("PDA"); 
772                                }
773                        if ( "ADT_A03".equals(theStructure) ) {
774                                        retVal.add("MSH"); 
775                                        retVal.add("SFT"); 
776                                        retVal.add("EVN"); 
777                                        retVal.add("PID"); 
778                                        retVal.add("PD1"); 
779                                        retVal.add("ROL"); 
780                                        retVal.add("NK1"); 
781                                        retVal.add("PV1"); 
782                                        retVal.add("PV2"); 
783                                        retVal.add("ROL2"); 
784                                        retVal.add("DB1"); 
785                                        retVal.add("AL1"); 
786                                        retVal.add("DG1"); 
787                                        retVal.add("DRG"); 
788                                        retVal.add("PROCEDURE"); 
789                                        retVal.add("OBX"); 
790                                        retVal.add("GT1"); 
791                                        retVal.add("INSURANCE"); 
792                                        retVal.add("ACC"); 
793                                        retVal.add("PDA"); 
794                                }
795                        if ( "ADT_A05".equals(theStructure) ) {
796                                        retVal.add("MSH"); 
797                                        retVal.add("SFT"); 
798                                        retVal.add("EVN"); 
799                                        retVal.add("PID"); 
800                                        retVal.add("PD1"); 
801                                        retVal.add("ROL"); 
802                                        retVal.add("NK1"); 
803                                        retVal.add("PV1"); 
804                                        retVal.add("PV2"); 
805                                        retVal.add("ROL2"); 
806                                        retVal.add("DB1"); 
807                                        retVal.add("OBX"); 
808                                        retVal.add("AL1"); 
809                                        retVal.add("DG1"); 
810                                        retVal.add("DRG"); 
811                                        retVal.add("PROCEDURE"); 
812                                        retVal.add("GT1"); 
813                                        retVal.add("INSURANCE"); 
814                                        retVal.add("ACC"); 
815                                        retVal.add("UB1"); 
816                                        retVal.add("UB2"); 
817                                }
818                        if ( "ADT_A06".equals(theStructure) ) {
819                                        retVal.add("MSH"); 
820                                        retVal.add("SFT"); 
821                                        retVal.add("EVN"); 
822                                        retVal.add("PID"); 
823                                        retVal.add("PD1"); 
824                                        retVal.add("ROL"); 
825                                        retVal.add("MRG"); 
826                                        retVal.add("NK1"); 
827                                        retVal.add("PV1"); 
828                                        retVal.add("PV2"); 
829                                        retVal.add("ROL2"); 
830                                        retVal.add("DB1"); 
831                                        retVal.add("OBX"); 
832                                        retVal.add("AL1"); 
833                                        retVal.add("DG1"); 
834                                        retVal.add("DRG"); 
835                                        retVal.add("PROCEDURE"); 
836                                        retVal.add("GT1"); 
837                                        retVal.add("INSURANCE"); 
838                                        retVal.add("ACC"); 
839                                        retVal.add("UB1"); 
840                                        retVal.add("UB2"); 
841                                }
842                        if ( "ADT_A09".equals(theStructure) ) {
843                                        retVal.add("MSH"); 
844                                        retVal.add("SFT"); 
845                                        retVal.add("EVN"); 
846                                        retVal.add("PID"); 
847                                        retVal.add("PD1"); 
848                                        retVal.add("PV1"); 
849                                        retVal.add("PV2"); 
850                                        retVal.add("DB1"); 
851                                        retVal.add("OBX"); 
852                                        retVal.add("DG1"); 
853                                }
854                        if ( "ADT_A12".equals(theStructure) ) {
855                                        retVal.add("MSH"); 
856                                        retVal.add("SFT"); 
857                                        retVal.add("EVN"); 
858                                        retVal.add("PID"); 
859                                        retVal.add("PD1"); 
860                                        retVal.add("PV1"); 
861                                        retVal.add("PV2"); 
862                                        retVal.add("DB1"); 
863                                        retVal.add("OBX"); 
864                                        retVal.add("DG1"); 
865                                }
866                        if ( "ADT_A15".equals(theStructure) ) {
867                                        retVal.add("MSH"); 
868                                        retVal.add("SFT"); 
869                                        retVal.add("EVN"); 
870                                        retVal.add("PID"); 
871                                        retVal.add("PD1"); 
872                                        retVal.add("ROL"); 
873                                        retVal.add("PV1"); 
874                                        retVal.add("PV2"); 
875                                        retVal.add("ROL2"); 
876                                        retVal.add("DB1"); 
877                                        retVal.add("OBX"); 
878                                        retVal.add("DG1"); 
879                                }
880                        if ( "ADT_A16".equals(theStructure) ) {
881                                        retVal.add("MSH"); 
882                                        retVal.add("SFT"); 
883                                        retVal.add("EVN"); 
884                                        retVal.add("PID"); 
885                                        retVal.add("PD1"); 
886                                        retVal.add("ROL"); 
887                                        retVal.add("NK1"); 
888                                        retVal.add("PV1"); 
889                                        retVal.add("PV2"); 
890                                        retVal.add("ROL2"); 
891                                        retVal.add("DB1"); 
892                                        retVal.add("OBX"); 
893                                        retVal.add("AL1"); 
894                                        retVal.add("DG1"); 
895                                        retVal.add("DRG"); 
896                                        retVal.add("PROCEDURE"); 
897                                        retVal.add("GT1"); 
898                                        retVal.add("INSURANCE"); 
899                                        retVal.add("ACC"); 
900                                }
901                        if ( "ADT_A17".equals(theStructure) ) {
902                                        retVal.add("MSH"); 
903                                        retVal.add("SFT"); 
904                                        retVal.add("EVN"); 
905                                        retVal.add("PID"); 
906                                        retVal.add("PD1"); 
907                                        retVal.add("PV1"); 
908                                        retVal.add("PV2"); 
909                                        retVal.add("DB1"); 
910                                        retVal.add("OBX"); 
911                                        retVal.add("PID2"); 
912                                        retVal.add("PD12"); 
913                                        retVal.add("PV12"); 
914                                        retVal.add("PV22"); 
915                                        retVal.add("DB12"); 
916                                        retVal.add("OBX2"); 
917                                }
918                        if ( "ADT_A18".equals(theStructure) ) {
919                                        retVal.add("MSH"); 
920                                        retVal.add("SFT"); 
921                                        retVal.add("EVN"); 
922                                        retVal.add("PID"); 
923                                        retVal.add("PD1"); 
924                                        retVal.add("MRG"); 
925                                        retVal.add("PV1"); 
926                                }
927                        if ( "ADT_A20".equals(theStructure) ) {
928                                        retVal.add("MSH"); 
929                                        retVal.add("SFT"); 
930                                        retVal.add("EVN"); 
931                                        retVal.add("NPU"); 
932                                }
933                        if ( "ADT_A21".equals(theStructure) ) {
934                                        retVal.add("MSH"); 
935                                        retVal.add("SFT"); 
936                                        retVal.add("EVN"); 
937                                        retVal.add("PID"); 
938                                        retVal.add("PD1"); 
939                                        retVal.add("PV1"); 
940                                        retVal.add("PV2"); 
941                                        retVal.add("DB1"); 
942                                        retVal.add("OBX"); 
943                                }
944                        if ( "ADT_A24".equals(theStructure) ) {
945                                        retVal.add("MSH"); 
946                                        retVal.add("SFT"); 
947                                        retVal.add("EVN"); 
948                                        retVal.add("PID"); 
949                                        retVal.add("PD1"); 
950                                        retVal.add("PV1"); 
951                                        retVal.add("DB1"); 
952                                        retVal.add("PID2"); 
953                                        retVal.add("PD12"); 
954                                        retVal.add("PV12"); 
955                                        retVal.add("DB12"); 
956                                }
957                        if ( "ADT_A30".equals(theStructure) ) {
958                                        retVal.add("MSH"); 
959                                        retVal.add("SFT"); 
960                                        retVal.add("EVN"); 
961                                        retVal.add("PID"); 
962                                        retVal.add("PD1"); 
963                                        retVal.add("MRG"); 
964                                }
965                        if ( "ADT_A37".equals(theStructure) ) {
966                                        retVal.add("MSH"); 
967                                        retVal.add("SFT"); 
968                                        retVal.add("EVN"); 
969                                        retVal.add("PID"); 
970                                        retVal.add("PD1"); 
971                                        retVal.add("PV1"); 
972                                        retVal.add("DB1"); 
973                                        retVal.add("PID2"); 
974                                        retVal.add("PD12"); 
975                                        retVal.add("PV12"); 
976                                        retVal.add("DB12"); 
977                                }
978                        if ( "ADT_A38".equals(theStructure) ) {
979                                        retVal.add("MSH"); 
980                                        retVal.add("SFT"); 
981                                        retVal.add("EVN"); 
982                                        retVal.add("PID"); 
983                                        retVal.add("PD1"); 
984                                        retVal.add("PV1"); 
985                                        retVal.add("PV2"); 
986                                        retVal.add("DB1"); 
987                                        retVal.add("OBX"); 
988                                        retVal.add("DG1"); 
989                                        retVal.add("DRG"); 
990                                }
991                        if ( "ADT_A39".equals(theStructure) ) {
992                                        retVal.add("MSH"); 
993                                        retVal.add("SFT"); 
994                                        retVal.add("EVN"); 
995                                        retVal.add("PATIENT"); 
996                                }
997                        if ( "ADT_A43".equals(theStructure) ) {
998                                        retVal.add("MSH"); 
999                                        retVal.add("SFT"); 
1000                                        retVal.add("EVN"); 
1001                                        retVal.add("PATIENT"); 
1002                                }
1003                        if ( "ADT_A45".equals(theStructure) ) {
1004                                        retVal.add("MSH"); 
1005                                        retVal.add("SFT"); 
1006                                        retVal.add("EVN"); 
1007                                        retVal.add("PID"); 
1008                                        retVal.add("PD1"); 
1009                                        retVal.add("MERGE_INFO"); 
1010                                }
1011                        if ( "ADT_A50".equals(theStructure) ) {
1012                                        retVal.add("MSH"); 
1013                                        retVal.add("SFT"); 
1014                                        retVal.add("EVN"); 
1015                                        retVal.add("PID"); 
1016                                        retVal.add("PD1"); 
1017                                        retVal.add("MRG"); 
1018                                        retVal.add("PV1"); 
1019                                }
1020                        if ( "ADT_A52".equals(theStructure) ) {
1021                                        retVal.add("MSH"); 
1022                                        retVal.add("SFT"); 
1023                                        retVal.add("EVN"); 
1024                                        retVal.add("PID"); 
1025                                        retVal.add("PD1"); 
1026                                        retVal.add("PV1"); 
1027                                        retVal.add("PV2"); 
1028                                }
1029                        if ( "ADT_A54".equals(theStructure) ) {
1030                                        retVal.add("MSH"); 
1031                                        retVal.add("SFT"); 
1032                                        retVal.add("EVN"); 
1033                                        retVal.add("PID"); 
1034                                        retVal.add("PD1"); 
1035                                        retVal.add("ROL"); 
1036                                        retVal.add("PV1"); 
1037                                        retVal.add("PV2"); 
1038                                        retVal.add("ROL2"); 
1039                                }
1040                        if ( "ADT_A60".equals(theStructure) ) {
1041                                        retVal.add("MSH"); 
1042                                        retVal.add("SFT"); 
1043                                        retVal.add("EVN"); 
1044                                        retVal.add("PID"); 
1045                                        retVal.add("PV1"); 
1046                                        retVal.add("PV2"); 
1047                                        retVal.add("IAM"); 
1048                                }
1049                        if ( "ADT_A61".equals(theStructure) ) {
1050                                        retVal.add("MSH"); 
1051                                        retVal.add("SFT"); 
1052                                        retVal.add("EVN"); 
1053                                        retVal.add("PID"); 
1054                                        retVal.add("PD1"); 
1055                                        retVal.add("PV1"); 
1056                                        retVal.add("ROL"); 
1057                                        retVal.add("PV2"); 
1058                                }
1059                        return retVal;
1060        }
1061
1062    /** 
1063     * Returns "2.5"
1064     */
1065    public String getVersion() {
1066       return "2.5";
1067    }
1068
1069
1070
1071
1072    /**
1073     * <p>
1074     * Returns
1075     * MSH () - creates it if necessary
1076     * </p>
1077     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A20, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37, ADT_A38, ADT_A39, ADT_A40, ADT_A41, ADT_A42, ADT_A43, ADT_A44, ADT_A45, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]
1078     *
1079     */
1080    public MSH getMSH() { 
1081       return getTyped("MSH", MSH.class);
1082    }
1083
1084
1085
1086
1087
1088    /**
1089     * <p>
1090     * Returns
1091     * the first repetition of 
1092     * SFT () - creates it if necessary
1093     * </p>
1094     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A20, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37, ADT_A38, ADT_A39, ADT_A40, ADT_A41, ADT_A42, ADT_A43, ADT_A44, ADT_A45, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]
1095     *
1096     */
1097    public SFT getSFT() { 
1098       return getTyped("SFT", SFT.class);
1099    }
1100
1101
1102    /**
1103     * <p>
1104     * Returns a specific repetition of
1105     * SFT () - creates it if necessary
1106     * </p>
1107     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A20, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37, ADT_A38, ADT_A39, ADT_A40, ADT_A41, ADT_A42, ADT_A43, ADT_A44, ADT_A45, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]
1108     *
1109     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
1110     * @throws HL7Exception if the repetition requested is more than one 
1111     *     greater than the number of existing repetitions.
1112     */
1113    public SFT getSFT(int rep) { 
1114       return getTyped("SFT", rep, SFT.class);
1115    }
1116
1117    /** 
1118     * <p>
1119     * Returns the number of existing repetitions of SFT 
1120     * </p>
1121     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A20, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37, ADT_A38, ADT_A39, ADT_A40, ADT_A41, ADT_A42, ADT_A43, ADT_A44, ADT_A45, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]
1122     */ 
1123    public int getSFTReps() { 
1124        return getReps("SFT");
1125    } 
1126
1127    /** 
1128     * <p>
1129     * Returns a non-modifiable List containing all current existing repetitions of SFT.
1130     * <p>
1131     * <p>
1132     * Note that unlike {@link #getSFT()}, this method will not create any reps
1133     * if none are already present, so an empty list may be returned.
1134     * </p>
1135     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A20, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37, ADT_A38, ADT_A39, ADT_A40, ADT_A41, ADT_A42, ADT_A43, ADT_A44, ADT_A45, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]
1136     */ 
1137    public java.util.List<SFT> getSFTAll() throws HL7Exception {
1138        return getAllAsList("SFT", SFT.class);
1139    } 
1140
1141    /**
1142     * <p>
1143     * Inserts a specific repetition of SFT ()
1144     * </p>
1145     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A20, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37, ADT_A38, ADT_A39, ADT_A40, ADT_A41, ADT_A42, ADT_A43, ADT_A44, ADT_A45, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]
1146     *
1147     * @see AbstractGroup#insertRepetition(Structure, int) 
1148     */
1149    public void insertSFT(SFT structure, int rep) throws HL7Exception { 
1150       super.insertRepetition( "SFT", structure, rep);
1151    }
1152
1153
1154    /**
1155     * <p>
1156     * Inserts a specific repetition of SFT ()
1157     * </p>
1158     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A20, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37, ADT_A38, ADT_A39, ADT_A40, ADT_A41, ADT_A42, ADT_A43, ADT_A44, ADT_A45, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]
1159     *
1160     * @see AbstractGroup#insertRepetition(Structure, int) 
1161     */
1162    public SFT insertSFT(int rep) throws HL7Exception { 
1163       return (SFT)super.insertRepetition("SFT", rep);
1164    }
1165
1166
1167    /**
1168     * <p>
1169     * Removes a specific repetition of SFT ()
1170     * </p>
1171     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A20, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37, ADT_A38, ADT_A39, ADT_A40, ADT_A41, ADT_A42, ADT_A43, ADT_A44, ADT_A45, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]
1172     *
1173     * @see AbstractGroup#removeRepetition(String, int) 
1174     */
1175    public SFT removeSFT(int rep) throws HL7Exception { 
1176       return (SFT)super.removeRepetition("SFT", rep);
1177    }
1178
1179
1180
1181
1182    /**
1183     * <p>
1184     * Returns
1185     * EVN () - creates it if necessary
1186     * </p>
1187     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A20, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37, ADT_A38, ADT_A39, ADT_A40, ADT_A41, ADT_A42, ADT_A43, ADT_A44, ADT_A45, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]
1188     *
1189     */
1190    public EVN getEVN() { 
1191       return getTyped("EVN", EVN.class);
1192    }
1193
1194
1195
1196
1197
1198    /**
1199     * <p>
1200     * Returns
1201     * PID () - creates it if necessary
1202     * </p>
1203     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37, ADT_A38, ADT_A45, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]
1204     *
1205     */
1206    public PID getPID() { 
1207       return getTyped("PID", PID.class);
1208    }
1209
1210
1211
1212
1213
1214    /**
1215     * <p>
1216     * Returns
1217     * PD1 () - creates it if necessary
1218     * </p>
1219     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37, ADT_A38, ADT_A45, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A61, ADT_A62]
1220     *
1221     */
1222    public PD1 getPD1() { 
1223       return getTyped("PD1", PD1.class);
1224    }
1225
1226
1227
1228
1229
1230    /**
1231     * <p>
1232     * Returns
1233     * the first repetition of 
1234     * ROL () - creates it if necessary
1235     * </p>
1236     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A54, ADT_A61, ADT_A62]
1237     *
1238     */
1239    public ROL getROL() { 
1240       return getTyped("ROL", ROL.class);
1241    }
1242
1243
1244    /**
1245     * <p>
1246     * Returns a specific repetition of
1247     * ROL () - creates it if necessary
1248     * </p>
1249     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A54, ADT_A61, ADT_A62]
1250     *
1251     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
1252     * @throws HL7Exception if the repetition requested is more than one 
1253     *     greater than the number of existing repetitions.
1254     */
1255    public ROL getROL(int rep) { 
1256       return getTyped("ROL", rep, ROL.class);
1257    }
1258
1259    /** 
1260     * <p>
1261     * Returns the number of existing repetitions of ROL 
1262     * </p>
1263     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A54, ADT_A61, ADT_A62]
1264     */ 
1265    public int getROLReps() { 
1266        return getReps("ROL");
1267    } 
1268
1269    /** 
1270     * <p>
1271     * Returns a non-modifiable List containing all current existing repetitions of ROL.
1272     * <p>
1273     * <p>
1274     * Note that unlike {@link #getROL()}, this method will not create any reps
1275     * if none are already present, so an empty list may be returned.
1276     * </p>
1277     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A54, ADT_A61, ADT_A62]
1278     */ 
1279    public java.util.List<ROL> getROLAll() throws HL7Exception {
1280        return getAllAsList("ROL", ROL.class);
1281    } 
1282
1283    /**
1284     * <p>
1285     * Inserts a specific repetition of ROL ()
1286     * </p>
1287     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A54, ADT_A61, ADT_A62]
1288     *
1289     * @see AbstractGroup#insertRepetition(Structure, int) 
1290     */
1291    public void insertROL(ROL structure, int rep) throws HL7Exception { 
1292       super.insertRepetition( "ROL", structure, rep);
1293    }
1294
1295
1296    /**
1297     * <p>
1298     * Inserts a specific repetition of ROL ()
1299     * </p>
1300     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A54, ADT_A61, ADT_A62]
1301     *
1302     * @see AbstractGroup#insertRepetition(Structure, int) 
1303     */
1304    public ROL insertROL(int rep) throws HL7Exception { 
1305       return (ROL)super.insertRepetition("ROL", rep);
1306    }
1307
1308
1309    /**
1310     * <p>
1311     * Removes a specific repetition of ROL ()
1312     * </p>
1313     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A54, ADT_A61, ADT_A62]
1314     *
1315     * @see AbstractGroup#removeRepetition(String, int) 
1316     */
1317    public ROL removeROL(int rep) throws HL7Exception { 
1318       return (ROL)super.removeRepetition("ROL", rep);
1319    }
1320
1321
1322
1323
1324    /**
1325     * <p>
1326     * Returns
1327     * MRG () - creates it if necessary
1328     * </p>
1329     * Used for the following structures: [ADT_A06, ADT_A07, ADT_A18, ADT_A30, ADT_A34, ADT_A35, ADT_A36, ADT_A46, ADT_A47, ADT_A48, ADT_A49, ADT_A50, ADT_A51]
1330     *
1331     */
1332    public MRG getMRG() { 
1333       return getTyped("MRG", MRG.class);
1334    }
1335
1336
1337
1338
1339
1340    /**
1341     * <p>
1342     * Returns
1343     * the first repetition of 
1344     * NK1 () - creates it if necessary
1345     * </p>
1346     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
1347     *
1348     */
1349    public NK1 getNK1() { 
1350       return getTyped("NK1", NK1.class);
1351    }
1352
1353
1354    /**
1355     * <p>
1356     * Returns a specific repetition of
1357     * NK1 () - creates it if necessary
1358     * </p>
1359     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
1360     *
1361     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
1362     * @throws HL7Exception if the repetition requested is more than one 
1363     *     greater than the number of existing repetitions.
1364     */
1365    public NK1 getNK1(int rep) { 
1366       return getTyped("NK1", rep, NK1.class);
1367    }
1368
1369    /** 
1370     * <p>
1371     * Returns the number of existing repetitions of NK1 
1372     * </p>
1373     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
1374     */ 
1375    public int getNK1Reps() { 
1376        return getReps("NK1");
1377    } 
1378
1379    /** 
1380     * <p>
1381     * Returns a non-modifiable List containing all current existing repetitions of NK1.
1382     * <p>
1383     * <p>
1384     * Note that unlike {@link #getNK1()}, this method will not create any reps
1385     * if none are already present, so an empty list may be returned.
1386     * </p>
1387     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
1388     */ 
1389    public java.util.List<NK1> getNK1All() throws HL7Exception {
1390        return getAllAsList("NK1", NK1.class);
1391    } 
1392
1393    /**
1394     * <p>
1395     * Inserts a specific repetition of NK1 ()
1396     * </p>
1397     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
1398     *
1399     * @see AbstractGroup#insertRepetition(Structure, int) 
1400     */
1401    public void insertNK1(NK1 structure, int rep) throws HL7Exception { 
1402       super.insertRepetition( "NK1", structure, rep);
1403    }
1404
1405
1406    /**
1407     * <p>
1408     * Inserts a specific repetition of NK1 ()
1409     * </p>
1410     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
1411     *
1412     * @see AbstractGroup#insertRepetition(Structure, int) 
1413     */
1414    public NK1 insertNK1(int rep) throws HL7Exception { 
1415       return (NK1)super.insertRepetition("NK1", rep);
1416    }
1417
1418
1419    /**
1420     * <p>
1421     * Removes a specific repetition of NK1 ()
1422     * </p>
1423     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
1424     *
1425     * @see AbstractGroup#removeRepetition(String, int) 
1426     */
1427    public NK1 removeNK1(int rep) throws HL7Exception { 
1428       return (NK1)super.removeRepetition("NK1", rep);
1429    }
1430
1431
1432
1433
1434    /**
1435     * <p>
1436     * Returns
1437     * PV1 () - creates it if necessary
1438     * </p>
1439     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A37, ADT_A38, ADT_A50, ADT_A51, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]
1440     *
1441     */
1442    public PV1 getPV1() { 
1443       return getTyped("PV1", PV1.class);
1444    }
1445
1446
1447
1448
1449
1450    /**
1451     * <p>
1452     * Returns
1453     * PV2 () - creates it if necessary
1454     * </p>
1455     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A38, ADT_A52, ADT_A53, ADT_A54, ADT_A55, ADT_A60, ADT_A61, ADT_A62]
1456     *
1457     */
1458    public PV2 getPV2() { 
1459       return getTyped("PV2", PV2.class);
1460    }
1461
1462
1463
1464
1465
1466    /**
1467     * <p>
1468     * Returns
1469     * the first repetition of 
1470     * ROL2 () - creates it if necessary
1471     * </p>
1472     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A54]
1473     *
1474     */
1475    public ROL getROL2() { 
1476       return getTyped("ROL2", ROL.class);
1477    }
1478
1479
1480    /**
1481     * <p>
1482     * Returns a specific repetition of
1483     * ROL2 () - creates it if necessary
1484     * </p>
1485     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A54]
1486     *
1487     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
1488     * @throws HL7Exception if the repetition requested is more than one 
1489     *     greater than the number of existing repetitions.
1490     */
1491    public ROL getROL2(int rep) { 
1492       return getTyped("ROL2", rep, ROL.class);
1493    }
1494
1495    /** 
1496     * <p>
1497     * Returns the number of existing repetitions of ROL2 
1498     * </p>
1499     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A54]
1500     */ 
1501    public int getROL2Reps() { 
1502        return getReps("ROL2");
1503    } 
1504
1505    /** 
1506     * <p>
1507     * Returns a non-modifiable List containing all current existing repetitions of ROL2.
1508     * <p>
1509     * <p>
1510     * Note that unlike {@link #getROL2()}, this method will not create any reps
1511     * if none are already present, so an empty list may be returned.
1512     * </p>
1513     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A54]
1514     */ 
1515    public java.util.List<ROL> getROL2All() throws HL7Exception {
1516        return getAllAsList("ROL2", ROL.class);
1517    } 
1518
1519    /**
1520     * <p>
1521     * Inserts a specific repetition of ROL2 ()
1522     * </p>
1523     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A54]
1524     *
1525     * @see AbstractGroup#insertRepetition(Structure, int) 
1526     */
1527    public void insertROL2(ROL structure, int rep) throws HL7Exception { 
1528       super.insertRepetition( "ROL2", structure, rep);
1529    }
1530
1531
1532    /**
1533     * <p>
1534     * Inserts a specific repetition of ROL2 ()
1535     * </p>
1536     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A54]
1537     *
1538     * @see AbstractGroup#insertRepetition(Structure, int) 
1539     */
1540    public ROL insertROL2(int rep) throws HL7Exception { 
1541       return (ROL)super.insertRepetition("ROL2", rep);
1542    }
1543
1544
1545    /**
1546     * <p>
1547     * Removes a specific repetition of ROL2 ()
1548     * </p>
1549     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A54]
1550     *
1551     * @see AbstractGroup#removeRepetition(String, int) 
1552     */
1553    public ROL removeROL2(int rep) throws HL7Exception { 
1554       return (ROL)super.removeRepetition("ROL2", rep);
1555    }
1556
1557
1558
1559
1560    /**
1561     * <p>
1562     * Returns
1563     * the first repetition of 
1564     * DB1 () - creates it if necessary
1565     * </p>
1566     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A37, ADT_A38]
1567     *
1568     */
1569    public DB1 getDB1() { 
1570       return getTyped("DB1", DB1.class);
1571    }
1572
1573
1574    /**
1575     * <p>
1576     * Returns a specific repetition of
1577     * DB1 () - creates it if necessary
1578     * </p>
1579     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A37, ADT_A38]
1580     *
1581     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
1582     * @throws HL7Exception if the repetition requested is more than one 
1583     *     greater than the number of existing repetitions.
1584     */
1585    public DB1 getDB1(int rep) { 
1586       return getTyped("DB1", rep, DB1.class);
1587    }
1588
1589    /** 
1590     * <p>
1591     * Returns the number of existing repetitions of DB1 
1592     * </p>
1593     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A37, ADT_A38]
1594     */ 
1595    public int getDB1Reps() { 
1596        return getReps("DB1");
1597    } 
1598
1599    /** 
1600     * <p>
1601     * Returns a non-modifiable List containing all current existing repetitions of DB1.
1602     * <p>
1603     * <p>
1604     * Note that unlike {@link #getDB1()}, this method will not create any reps
1605     * if none are already present, so an empty list may be returned.
1606     * </p>
1607     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A37, ADT_A38]
1608     */ 
1609    public java.util.List<DB1> getDB1All() throws HL7Exception {
1610        return getAllAsList("DB1", DB1.class);
1611    } 
1612
1613    /**
1614     * <p>
1615     * Inserts a specific repetition of DB1 ()
1616     * </p>
1617     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A37, ADT_A38]
1618     *
1619     * @see AbstractGroup#insertRepetition(Structure, int) 
1620     */
1621    public void insertDB1(DB1 structure, int rep) throws HL7Exception { 
1622       super.insertRepetition( "DB1", structure, rep);
1623    }
1624
1625
1626    /**
1627     * <p>
1628     * Inserts a specific repetition of DB1 ()
1629     * </p>
1630     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A37, ADT_A38]
1631     *
1632     * @see AbstractGroup#insertRepetition(Structure, int) 
1633     */
1634    public DB1 insertDB1(int rep) throws HL7Exception { 
1635       return (DB1)super.insertRepetition("DB1", rep);
1636    }
1637
1638
1639    /**
1640     * <p>
1641     * Removes a specific repetition of DB1 ()
1642     * </p>
1643     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A37, ADT_A38]
1644     *
1645     * @see AbstractGroup#removeRepetition(String, int) 
1646     */
1647    public DB1 removeDB1(int rep) throws HL7Exception { 
1648       return (DB1)super.removeRepetition("DB1", rep);
1649    }
1650
1651
1652
1653
1654    /**
1655     * <p>
1656     * Returns
1657     * the first repetition of 
1658     * OBX () - creates it if necessary
1659     * </p>
1660     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A38]
1661     *
1662     */
1663    public OBX getOBX() { 
1664       return getTyped("OBX", OBX.class);
1665    }
1666
1667
1668    /**
1669     * <p>
1670     * Returns a specific repetition of
1671     * OBX () - creates it if necessary
1672     * </p>
1673     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A38]
1674     *
1675     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
1676     * @throws HL7Exception if the repetition requested is more than one 
1677     *     greater than the number of existing repetitions.
1678     */
1679    public OBX getOBX(int rep) { 
1680       return getTyped("OBX", rep, OBX.class);
1681    }
1682
1683    /** 
1684     * <p>
1685     * Returns the number of existing repetitions of OBX 
1686     * </p>
1687     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A38]
1688     */ 
1689    public int getOBXReps() { 
1690        return getReps("OBX");
1691    } 
1692
1693    /** 
1694     * <p>
1695     * Returns a non-modifiable List containing all current existing repetitions of OBX.
1696     * <p>
1697     * <p>
1698     * Note that unlike {@link #getOBX()}, this method will not create any reps
1699     * if none are already present, so an empty list may be returned.
1700     * </p>
1701     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A38]
1702     */ 
1703    public java.util.List<OBX> getOBXAll() throws HL7Exception {
1704        return getAllAsList("OBX", OBX.class);
1705    } 
1706
1707    /**
1708     * <p>
1709     * Inserts a specific repetition of OBX ()
1710     * </p>
1711     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A38]
1712     *
1713     * @see AbstractGroup#insertRepetition(Structure, int) 
1714     */
1715    public void insertOBX(OBX structure, int rep) throws HL7Exception { 
1716       super.insertRepetition( "OBX", structure, rep);
1717    }
1718
1719
1720    /**
1721     * <p>
1722     * Inserts a specific repetition of OBX ()
1723     * </p>
1724     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A38]
1725     *
1726     * @see AbstractGroup#insertRepetition(Structure, int) 
1727     */
1728    public OBX insertOBX(int rep) throws HL7Exception { 
1729       return (OBX)super.insertRepetition("OBX", rep);
1730    }
1731
1732
1733    /**
1734     * <p>
1735     * Removes a specific repetition of OBX ()
1736     * </p>
1737     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A38]
1738     *
1739     * @see AbstractGroup#removeRepetition(String, int) 
1740     */
1741    public OBX removeOBX(int rep) throws HL7Exception { 
1742       return (OBX)super.removeRepetition("OBX", rep);
1743    }
1744
1745
1746
1747
1748    /**
1749     * <p>
1750     * Returns
1751     * the first repetition of 
1752     * AL1 () - creates it if necessary
1753     * </p>
1754     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
1755     *
1756     */
1757    public AL1 getAL1() { 
1758       return getTyped("AL1", AL1.class);
1759    }
1760
1761
1762    /**
1763     * <p>
1764     * Returns a specific repetition of
1765     * AL1 () - creates it if necessary
1766     * </p>
1767     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
1768     *
1769     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
1770     * @throws HL7Exception if the repetition requested is more than one 
1771     *     greater than the number of existing repetitions.
1772     */
1773    public AL1 getAL1(int rep) { 
1774       return getTyped("AL1", rep, AL1.class);
1775    }
1776
1777    /** 
1778     * <p>
1779     * Returns the number of existing repetitions of AL1 
1780     * </p>
1781     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
1782     */ 
1783    public int getAL1Reps() { 
1784        return getReps("AL1");
1785    } 
1786
1787    /** 
1788     * <p>
1789     * Returns a non-modifiable List containing all current existing repetitions of AL1.
1790     * <p>
1791     * <p>
1792     * Note that unlike {@link #getAL1()}, this method will not create any reps
1793     * if none are already present, so an empty list may be returned.
1794     * </p>
1795     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
1796     */ 
1797    public java.util.List<AL1> getAL1All() throws HL7Exception {
1798        return getAllAsList("AL1", AL1.class);
1799    } 
1800
1801    /**
1802     * <p>
1803     * Inserts a specific repetition of AL1 ()
1804     * </p>
1805     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
1806     *
1807     * @see AbstractGroup#insertRepetition(Structure, int) 
1808     */
1809    public void insertAL1(AL1 structure, int rep) throws HL7Exception { 
1810       super.insertRepetition( "AL1", structure, rep);
1811    }
1812
1813
1814    /**
1815     * <p>
1816     * Inserts a specific repetition of AL1 ()
1817     * </p>
1818     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
1819     *
1820     * @see AbstractGroup#insertRepetition(Structure, int) 
1821     */
1822    public AL1 insertAL1(int rep) throws HL7Exception { 
1823       return (AL1)super.insertRepetition("AL1", rep);
1824    }
1825
1826
1827    /**
1828     * <p>
1829     * Removes a specific repetition of AL1 ()
1830     * </p>
1831     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
1832     *
1833     * @see AbstractGroup#removeRepetition(String, int) 
1834     */
1835    public AL1 removeAL1(int rep) throws HL7Exception { 
1836       return (AL1)super.removeRepetition("AL1", rep);
1837    }
1838
1839
1840
1841
1842    /**
1843     * <p>
1844     * Returns
1845     * the first repetition of 
1846     * DG1 () - creates it if necessary
1847     * </p>
1848     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A38]
1849     *
1850     */
1851    public DG1 getDG1() { 
1852       return getTyped("DG1", DG1.class);
1853    }
1854
1855
1856    /**
1857     * <p>
1858     * Returns a specific repetition of
1859     * DG1 () - creates it if necessary
1860     * </p>
1861     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A38]
1862     *
1863     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
1864     * @throws HL7Exception if the repetition requested is more than one 
1865     *     greater than the number of existing repetitions.
1866     */
1867    public DG1 getDG1(int rep) { 
1868       return getTyped("DG1", rep, DG1.class);
1869    }
1870
1871    /** 
1872     * <p>
1873     * Returns the number of existing repetitions of DG1 
1874     * </p>
1875     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A38]
1876     */ 
1877    public int getDG1Reps() { 
1878        return getReps("DG1");
1879    } 
1880
1881    /** 
1882     * <p>
1883     * Returns a non-modifiable List containing all current existing repetitions of DG1.
1884     * <p>
1885     * <p>
1886     * Note that unlike {@link #getDG1()}, this method will not create any reps
1887     * if none are already present, so an empty list may be returned.
1888     * </p>
1889     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A38]
1890     */ 
1891    public java.util.List<DG1> getDG1All() throws HL7Exception {
1892        return getAllAsList("DG1", DG1.class);
1893    } 
1894
1895    /**
1896     * <p>
1897     * Inserts a specific repetition of DG1 ()
1898     * </p>
1899     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A38]
1900     *
1901     * @see AbstractGroup#insertRepetition(Structure, int) 
1902     */
1903    public void insertDG1(DG1 structure, int rep) throws HL7Exception { 
1904       super.insertRepetition( "DG1", structure, rep);
1905    }
1906
1907
1908    /**
1909     * <p>
1910     * Inserts a specific repetition of DG1 ()
1911     * </p>
1912     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A38]
1913     *
1914     * @see AbstractGroup#insertRepetition(Structure, int) 
1915     */
1916    public DG1 insertDG1(int rep) throws HL7Exception { 
1917       return (DG1)super.insertRepetition("DG1", rep);
1918    }
1919
1920
1921    /**
1922     * <p>
1923     * Removes a specific repetition of DG1 ()
1924     * </p>
1925     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31, ADT_A38]
1926     *
1927     * @see AbstractGroup#removeRepetition(String, int) 
1928     */
1929    public DG1 removeDG1(int rep) throws HL7Exception { 
1930       return (DG1)super.removeRepetition("DG1", rep);
1931    }
1932
1933
1934
1935
1936    /**
1937     * <p>
1938     * Returns
1939     * DRG () - creates it if necessary
1940     * </p>
1941     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31, ADT_A38]
1942     *
1943     */
1944    public DRG getDRG() { 
1945       return getTyped("DRG", DRG.class);
1946    }
1947
1948
1949
1950
1951
1952    /**
1953     * <p>
1954     * Returns
1955     * the first repetition of 
1956     * PROCEDURE () - creates it if necessary
1957     * </p>
1958     * Used for the following structures: [ADT_A08, ADT_A04, ADT_A13, ADT_A14, ADT_A28, ADT_A31, ADT_A07]
1959     *
1960     */
1961    public ADT_AXX_PROCEDURE getPROCEDURE() { 
1962       return getTyped("PROCEDURE", ADT_AXX_PROCEDURE.class);
1963    }
1964
1965
1966    /**
1967     * <p>
1968     * Returns a specific repetition of
1969     * PROCEDURE () - creates it if necessary
1970     * </p>
1971     * Used for the following structures: [ADT_A08, ADT_A04, ADT_A13, ADT_A14, ADT_A28, ADT_A31, ADT_A07]
1972     *
1973     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
1974     * @throws HL7Exception if the repetition requested is more than one 
1975     *     greater than the number of existing repetitions.
1976     */
1977    public ADT_AXX_PROCEDURE getPROCEDURE(int rep) { 
1978       return getTyped("PROCEDURE", rep, ADT_AXX_PROCEDURE.class);
1979    }
1980
1981    /** 
1982     * <p>
1983     * Returns the number of existing repetitions of PROCEDURE 
1984     * </p>
1985     * Used for the following structures: [ADT_A08, ADT_A04, ADT_A13, ADT_A14, ADT_A28, ADT_A31, ADT_A07]
1986     */ 
1987    public int getPROCEDUREReps() { 
1988        return getReps("PROCEDURE");
1989    } 
1990
1991    /** 
1992     * <p>
1993     * Returns a non-modifiable List containing all current existing repetitions of PROCEDURE.
1994     * <p>
1995     * <p>
1996     * Note that unlike {@link #getPROCEDURE()}, this method will not create any reps
1997     * if none are already present, so an empty list may be returned.
1998     * </p>
1999     * Used for the following structures: [ADT_A08, ADT_A04, ADT_A13, ADT_A14, ADT_A28, ADT_A31, ADT_A07]
2000     */ 
2001    public java.util.List<ADT_AXX_PROCEDURE> getPROCEDUREAll() throws HL7Exception {
2002        return getAllAsList("PROCEDURE", ADT_AXX_PROCEDURE.class);
2003    } 
2004
2005    /**
2006     * <p>
2007     * Inserts a specific repetition of PROCEDURE ()
2008     * </p>
2009     * Used for the following structures: [ADT_A08, ADT_A04, ADT_A13, ADT_A14, ADT_A28, ADT_A31, ADT_A07]
2010     *
2011     * @see AbstractGroup#insertRepetition(Structure, int) 
2012     */
2013    public void insertPROCEDURE(ADT_AXX_PROCEDURE structure, int rep) throws HL7Exception { 
2014       super.insertRepetition( "PROCEDURE", structure, rep);
2015    }
2016
2017
2018    /**
2019     * <p>
2020     * Inserts a specific repetition of PROCEDURE ()
2021     * </p>
2022     * Used for the following structures: [ADT_A08, ADT_A04, ADT_A13, ADT_A14, ADT_A28, ADT_A31, ADT_A07]
2023     *
2024     * @see AbstractGroup#insertRepetition(Structure, int) 
2025     */
2026    public ADT_AXX_PROCEDURE insertPROCEDURE(int rep) throws HL7Exception { 
2027       return (ADT_AXX_PROCEDURE)super.insertRepetition("PROCEDURE", rep);
2028    }
2029
2030
2031    /**
2032     * <p>
2033     * Removes a specific repetition of PROCEDURE ()
2034     * </p>
2035     * Used for the following structures: [ADT_A08, ADT_A04, ADT_A13, ADT_A14, ADT_A28, ADT_A31, ADT_A07]
2036     *
2037     * @see AbstractGroup#removeRepetition(String, int) 
2038     */
2039    public ADT_AXX_PROCEDURE removePROCEDURE(int rep) throws HL7Exception { 
2040       return (ADT_AXX_PROCEDURE)super.removeRepetition("PROCEDURE", rep);
2041    }
2042
2043
2044
2045
2046    /**
2047     * <p>
2048     * Returns
2049     * the first repetition of 
2050     * GT1 () - creates it if necessary
2051     * </p>
2052     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
2053     *
2054     */
2055    public GT1 getGT1() { 
2056       return getTyped("GT1", GT1.class);
2057    }
2058
2059
2060    /**
2061     * <p>
2062     * Returns a specific repetition of
2063     * GT1 () - creates it if necessary
2064     * </p>
2065     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
2066     *
2067     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
2068     * @throws HL7Exception if the repetition requested is more than one 
2069     *     greater than the number of existing repetitions.
2070     */
2071    public GT1 getGT1(int rep) { 
2072       return getTyped("GT1", rep, GT1.class);
2073    }
2074
2075    /** 
2076     * <p>
2077     * Returns the number of existing repetitions of GT1 
2078     * </p>
2079     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
2080     */ 
2081    public int getGT1Reps() { 
2082        return getReps("GT1");
2083    } 
2084
2085    /** 
2086     * <p>
2087     * Returns a non-modifiable List containing all current existing repetitions of GT1.
2088     * <p>
2089     * <p>
2090     * Note that unlike {@link #getGT1()}, this method will not create any reps
2091     * if none are already present, so an empty list may be returned.
2092     * </p>
2093     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
2094     */ 
2095    public java.util.List<GT1> getGT1All() throws HL7Exception {
2096        return getAllAsList("GT1", GT1.class);
2097    } 
2098
2099    /**
2100     * <p>
2101     * Inserts a specific repetition of GT1 ()
2102     * </p>
2103     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
2104     *
2105     * @see AbstractGroup#insertRepetition(Structure, int) 
2106     */
2107    public void insertGT1(GT1 structure, int rep) throws HL7Exception { 
2108       super.insertRepetition( "GT1", structure, rep);
2109    }
2110
2111
2112    /**
2113     * <p>
2114     * Inserts a specific repetition of GT1 ()
2115     * </p>
2116     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
2117     *
2118     * @see AbstractGroup#insertRepetition(Structure, int) 
2119     */
2120    public GT1 insertGT1(int rep) throws HL7Exception { 
2121       return (GT1)super.insertRepetition("GT1", rep);
2122    }
2123
2124
2125    /**
2126     * <p>
2127     * Removes a specific repetition of GT1 ()
2128     * </p>
2129     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
2130     *
2131     * @see AbstractGroup#removeRepetition(String, int) 
2132     */
2133    public GT1 removeGT1(int rep) throws HL7Exception { 
2134       return (GT1)super.removeRepetition("GT1", rep);
2135    }
2136
2137
2138
2139
2140    /**
2141     * <p>
2142     * Returns
2143     * the first repetition of 
2144     * INSURANCE () - creates it if necessary
2145     * </p>
2146     * Used for the following structures: [ADT_A08, ADT_A04, ADT_A13, ADT_A14, ADT_A28, ADT_A31, ADT_A07]
2147     *
2148     */
2149    public ADT_AXX_INSURANCE getINSURANCE() { 
2150       return getTyped("INSURANCE", ADT_AXX_INSURANCE.class);
2151    }
2152
2153
2154    /**
2155     * <p>
2156     * Returns a specific repetition of
2157     * INSURANCE () - creates it if necessary
2158     * </p>
2159     * Used for the following structures: [ADT_A08, ADT_A04, ADT_A13, ADT_A14, ADT_A28, ADT_A31, ADT_A07]
2160     *
2161     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
2162     * @throws HL7Exception if the repetition requested is more than one 
2163     *     greater than the number of existing repetitions.
2164     */
2165    public ADT_AXX_INSURANCE getINSURANCE(int rep) { 
2166       return getTyped("INSURANCE", rep, ADT_AXX_INSURANCE.class);
2167    }
2168
2169    /** 
2170     * <p>
2171     * Returns the number of existing repetitions of INSURANCE 
2172     * </p>
2173     * Used for the following structures: [ADT_A08, ADT_A04, ADT_A13, ADT_A14, ADT_A28, ADT_A31, ADT_A07]
2174     */ 
2175    public int getINSURANCEReps() { 
2176        return getReps("INSURANCE");
2177    } 
2178
2179    /** 
2180     * <p>
2181     * Returns a non-modifiable List containing all current existing repetitions of INSURANCE.
2182     * <p>
2183     * <p>
2184     * Note that unlike {@link #getINSURANCE()}, this method will not create any reps
2185     * if none are already present, so an empty list may be returned.
2186     * </p>
2187     * Used for the following structures: [ADT_A08, ADT_A04, ADT_A13, ADT_A14, ADT_A28, ADT_A31, ADT_A07]
2188     */ 
2189    public java.util.List<ADT_AXX_INSURANCE> getINSURANCEAll() throws HL7Exception {
2190        return getAllAsList("INSURANCE", ADT_AXX_INSURANCE.class);
2191    } 
2192
2193    /**
2194     * <p>
2195     * Inserts a specific repetition of INSURANCE ()
2196     * </p>
2197     * Used for the following structures: [ADT_A08, ADT_A04, ADT_A13, ADT_A14, ADT_A28, ADT_A31, ADT_A07]
2198     *
2199     * @see AbstractGroup#insertRepetition(Structure, int) 
2200     */
2201    public void insertINSURANCE(ADT_AXX_INSURANCE structure, int rep) throws HL7Exception { 
2202       super.insertRepetition( "INSURANCE", structure, rep);
2203    }
2204
2205
2206    /**
2207     * <p>
2208     * Inserts a specific repetition of INSURANCE ()
2209     * </p>
2210     * Used for the following structures: [ADT_A08, ADT_A04, ADT_A13, ADT_A14, ADT_A28, ADT_A31, ADT_A07]
2211     *
2212     * @see AbstractGroup#insertRepetition(Structure, int) 
2213     */
2214    public ADT_AXX_INSURANCE insertINSURANCE(int rep) throws HL7Exception { 
2215       return (ADT_AXX_INSURANCE)super.insertRepetition("INSURANCE", rep);
2216    }
2217
2218
2219    /**
2220     * <p>
2221     * Removes a specific repetition of INSURANCE ()
2222     * </p>
2223     * Used for the following structures: [ADT_A08, ADT_A04, ADT_A13, ADT_A14, ADT_A28, ADT_A31, ADT_A07]
2224     *
2225     * @see AbstractGroup#removeRepetition(String, int) 
2226     */
2227    public ADT_AXX_INSURANCE removeINSURANCE(int rep) throws HL7Exception { 
2228       return (ADT_AXX_INSURANCE)super.removeRepetition("INSURANCE", rep);
2229    }
2230
2231
2232
2233
2234    /**
2235     * <p>
2236     * Returns
2237     * ACC () - creates it if necessary
2238     * </p>
2239     * Used for the following structures: [ADT_A01, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A16, ADT_A28, ADT_A31]
2240     *
2241     */
2242    public ACC getACC() { 
2243       return getTyped("ACC", ACC.class);
2244    }
2245
2246
2247
2248
2249
2250    /**
2251     * <p>
2252     * Returns
2253     * UB1 () - creates it if necessary
2254     * </p>
2255     * Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]
2256     *
2257     */
2258    public UB1 getUB1() { 
2259       return getTyped("UB1", UB1.class);
2260    }
2261
2262
2263
2264
2265
2266    /**
2267     * <p>
2268     * Returns
2269     * UB2 () - creates it if necessary
2270     * </p>
2271     * Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]
2272     *
2273     */
2274    public UB2 getUB2() { 
2275       return getTyped("UB2", UB2.class);
2276    }
2277
2278
2279
2280
2281
2282    /**
2283     * <p>
2284     * Returns
2285     * PDA () - creates it if necessary
2286     * </p>
2287     * Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A08, ADT_A13]
2288     *
2289     */
2290    public PDA getPDA() { 
2291       return getTyped("PDA", PDA.class);
2292    }
2293
2294
2295
2296
2297
2298    /**
2299     * <p>
2300     * Returns
2301     * PID2 () - creates it if necessary
2302     * </p>
2303     * Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
2304     *
2305     */
2306    public PID getPID2() { 
2307       return getTyped("PID2", PID.class);
2308    }
2309
2310
2311
2312
2313
2314    /**
2315     * <p>
2316     * Returns
2317     * PD12 () - creates it if necessary
2318     * </p>
2319     * Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
2320     *
2321     */
2322    public PD1 getPD12() { 
2323       return getTyped("PD12", PD1.class);
2324    }
2325
2326
2327
2328
2329
2330    /**
2331     * <p>
2332     * Returns
2333     * PV12 () - creates it if necessary
2334     * </p>
2335     * Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
2336     *
2337     */
2338    public PV1 getPV12() { 
2339       return getTyped("PV12", PV1.class);
2340    }
2341
2342
2343
2344
2345
2346    /**
2347     * <p>
2348     * Returns
2349     * PV22 () - creates it if necessary
2350     * </p>
2351     * Used for the following structures: [ADT_A17]
2352     *
2353     */
2354    public PV2 getPV22() { 
2355       return getTyped("PV22", PV2.class);
2356    }
2357
2358
2359
2360
2361
2362    /**
2363     * <p>
2364     * Returns
2365     * the first repetition of 
2366     * DB12 () - creates it if necessary
2367     * </p>
2368     * Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
2369     *
2370     */
2371    public DB1 getDB12() { 
2372       return getTyped("DB12", DB1.class);
2373    }
2374
2375
2376    /**
2377     * <p>
2378     * Returns a specific repetition of
2379     * DB12 () - creates it if necessary
2380     * </p>
2381     * Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
2382     *
2383     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
2384     * @throws HL7Exception if the repetition requested is more than one 
2385     *     greater than the number of existing repetitions.
2386     */
2387    public DB1 getDB12(int rep) { 
2388       return getTyped("DB12", rep, DB1.class);
2389    }
2390
2391    /** 
2392     * <p>
2393     * Returns the number of existing repetitions of DB12 
2394     * </p>
2395     * Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
2396     */ 
2397    public int getDB12Reps() { 
2398        return getReps("DB12");
2399    } 
2400
2401    /** 
2402     * <p>
2403     * Returns a non-modifiable List containing all current existing repetitions of DB12.
2404     * <p>
2405     * <p>
2406     * Note that unlike {@link #getDB12()}, this method will not create any reps
2407     * if none are already present, so an empty list may be returned.
2408     * </p>
2409     * Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
2410     */ 
2411    public java.util.List<DB1> getDB12All() throws HL7Exception {
2412        return getAllAsList("DB12", DB1.class);
2413    } 
2414
2415    /**
2416     * <p>
2417     * Inserts a specific repetition of DB12 ()
2418     * </p>
2419     * Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
2420     *
2421     * @see AbstractGroup#insertRepetition(Structure, int) 
2422     */
2423    public void insertDB12(DB1 structure, int rep) throws HL7Exception { 
2424       super.insertRepetition( "DB12", structure, rep);
2425    }
2426
2427
2428    /**
2429     * <p>
2430     * Inserts a specific repetition of DB12 ()
2431     * </p>
2432     * Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
2433     *
2434     * @see AbstractGroup#insertRepetition(Structure, int) 
2435     */
2436    public DB1 insertDB12(int rep) throws HL7Exception { 
2437       return (DB1)super.insertRepetition("DB12", rep);
2438    }
2439
2440
2441    /**
2442     * <p>
2443     * Removes a specific repetition of DB12 ()
2444     * </p>
2445     * Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
2446     *
2447     * @see AbstractGroup#removeRepetition(String, int) 
2448     */
2449    public DB1 removeDB12(int rep) throws HL7Exception { 
2450       return (DB1)super.removeRepetition("DB12", rep);
2451    }
2452
2453
2454
2455
2456    /**
2457     * <p>
2458     * Returns
2459     * the first repetition of 
2460     * OBX2 () - creates it if necessary
2461     * </p>
2462     * Used for the following structures: [ADT_A17]
2463     *
2464     */
2465    public OBX getOBX2() { 
2466       return getTyped("OBX2", OBX.class);
2467    }
2468
2469
2470    /**
2471     * <p>
2472     * Returns a specific repetition of
2473     * OBX2 () - creates it if necessary
2474     * </p>
2475     * Used for the following structures: [ADT_A17]
2476     *
2477     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
2478     * @throws HL7Exception if the repetition requested is more than one 
2479     *     greater than the number of existing repetitions.
2480     */
2481    public OBX getOBX2(int rep) { 
2482       return getTyped("OBX2", rep, OBX.class);
2483    }
2484
2485    /** 
2486     * <p>
2487     * Returns the number of existing repetitions of OBX2 
2488     * </p>
2489     * Used for the following structures: [ADT_A17]
2490     */ 
2491    public int getOBX2Reps() { 
2492        return getReps("OBX2");
2493    } 
2494
2495    /** 
2496     * <p>
2497     * Returns a non-modifiable List containing all current existing repetitions of OBX2.
2498     * <p>
2499     * <p>
2500     * Note that unlike {@link #getOBX2()}, this method will not create any reps
2501     * if none are already present, so an empty list may be returned.
2502     * </p>
2503     * Used for the following structures: [ADT_A17]
2504     */ 
2505    public java.util.List<OBX> getOBX2All() throws HL7Exception {
2506        return getAllAsList("OBX2", OBX.class);
2507    } 
2508
2509    /**
2510     * <p>
2511     * Inserts a specific repetition of OBX2 ()
2512     * </p>
2513     * Used for the following structures: [ADT_A17]
2514     *
2515     * @see AbstractGroup#insertRepetition(Structure, int) 
2516     */
2517    public void insertOBX2(OBX structure, int rep) throws HL7Exception { 
2518       super.insertRepetition( "OBX2", structure, rep);
2519    }
2520
2521
2522    /**
2523     * <p>
2524     * Inserts a specific repetition of OBX2 ()
2525     * </p>
2526     * Used for the following structures: [ADT_A17]
2527     *
2528     * @see AbstractGroup#insertRepetition(Structure, int) 
2529     */
2530    public OBX insertOBX2(int rep) throws HL7Exception { 
2531       return (OBX)super.insertRepetition("OBX2", rep);
2532    }
2533
2534
2535    /**
2536     * <p>
2537     * Removes a specific repetition of OBX2 ()
2538     * </p>
2539     * Used for the following structures: [ADT_A17]
2540     *
2541     * @see AbstractGroup#removeRepetition(String, int) 
2542     */
2543    public OBX removeOBX2(int rep) throws HL7Exception { 
2544       return (OBX)super.removeRepetition("OBX2", rep);
2545    }
2546
2547
2548
2549
2550    /**
2551     * <p>
2552     * Returns
2553     * NPU () - creates it if necessary
2554     * </p>
2555     * Used for the following structures: [ADT_A20]
2556     *
2557     */
2558    public NPU getNPU() { 
2559       return getTyped("NPU", NPU.class);
2560    }
2561
2562
2563
2564
2565
2566    /**
2567     * <p>
2568     * Returns
2569     * the first repetition of 
2570     * PATIENT () - creates it if necessary
2571     * </p>
2572     * Used for the following structures: [ADT_A40, ADT_A41, ADT_A42, ADT_A44]
2573     *
2574     */
2575    public ADT_AXX_PATIENT getPATIENT() { 
2576       return getTyped("PATIENT", ADT_AXX_PATIENT.class);
2577    }
2578
2579
2580    /**
2581     * <p>
2582     * Returns a specific repetition of
2583     * PATIENT () - creates it if necessary
2584     * </p>
2585     * Used for the following structures: [ADT_A40, ADT_A41, ADT_A42, ADT_A44]
2586     *
2587     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
2588     * @throws HL7Exception if the repetition requested is more than one 
2589     *     greater than the number of existing repetitions.
2590     */
2591    public ADT_AXX_PATIENT getPATIENT(int rep) { 
2592       return getTyped("PATIENT", rep, ADT_AXX_PATIENT.class);
2593    }
2594
2595    /** 
2596     * <p>
2597     * Returns the number of existing repetitions of PATIENT 
2598     * </p>
2599     * Used for the following structures: [ADT_A40, ADT_A41, ADT_A42, ADT_A44]
2600     */ 
2601    public int getPATIENTReps() { 
2602        return getReps("PATIENT");
2603    } 
2604
2605    /** 
2606     * <p>
2607     * Returns a non-modifiable List containing all current existing repetitions of PATIENT.
2608     * <p>
2609     * <p>
2610     * Note that unlike {@link #getPATIENT()}, this method will not create any reps
2611     * if none are already present, so an empty list may be returned.
2612     * </p>
2613     * Used for the following structures: [ADT_A40, ADT_A41, ADT_A42, ADT_A44]
2614     */ 
2615    public java.util.List<ADT_AXX_PATIENT> getPATIENTAll() throws HL7Exception {
2616        return getAllAsList("PATIENT", ADT_AXX_PATIENT.class);
2617    } 
2618
2619    /**
2620     * <p>
2621     * Inserts a specific repetition of PATIENT ()
2622     * </p>
2623     * Used for the following structures: [ADT_A40, ADT_A41, ADT_A42, ADT_A44]
2624     *
2625     * @see AbstractGroup#insertRepetition(Structure, int) 
2626     */
2627    public void insertPATIENT(ADT_AXX_PATIENT structure, int rep) throws HL7Exception { 
2628       super.insertRepetition( "PATIENT", structure, rep);
2629    }
2630
2631
2632    /**
2633     * <p>
2634     * Inserts a specific repetition of PATIENT ()
2635     * </p>
2636     * Used for the following structures: [ADT_A40, ADT_A41, ADT_A42, ADT_A44]
2637     *
2638     * @see AbstractGroup#insertRepetition(Structure, int) 
2639     */
2640    public ADT_AXX_PATIENT insertPATIENT(int rep) throws HL7Exception { 
2641       return (ADT_AXX_PATIENT)super.insertRepetition("PATIENT", rep);
2642    }
2643
2644
2645    /**
2646     * <p>
2647     * Removes a specific repetition of PATIENT ()
2648     * </p>
2649     * Used for the following structures: [ADT_A40, ADT_A41, ADT_A42, ADT_A44]
2650     *
2651     * @see AbstractGroup#removeRepetition(String, int) 
2652     */
2653    public ADT_AXX_PATIENT removePATIENT(int rep) throws HL7Exception { 
2654       return (ADT_AXX_PATIENT)super.removeRepetition("PATIENT", rep);
2655    }
2656
2657
2658
2659
2660    /**
2661     * <p>
2662     * Returns
2663     * the first repetition of 
2664     * MERGE_INFO () - creates it if necessary
2665     * </p>
2666     * 
2667     *
2668     */
2669    public ADT_AXX_MERGE_INFO getMERGE_INFO() { 
2670       return getTyped("MERGE_INFO", ADT_AXX_MERGE_INFO.class);
2671    }
2672
2673
2674    /**
2675     * <p>
2676     * Returns a specific repetition of
2677     * MERGE_INFO () - creates it if necessary
2678     * </p>
2679     * 
2680     *
2681     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
2682     * @throws HL7Exception if the repetition requested is more than one 
2683     *     greater than the number of existing repetitions.
2684     */
2685    public ADT_AXX_MERGE_INFO getMERGE_INFO(int rep) { 
2686       return getTyped("MERGE_INFO", rep, ADT_AXX_MERGE_INFO.class);
2687    }
2688
2689    /** 
2690     * <p>
2691     * Returns the number of existing repetitions of MERGE_INFO 
2692     * </p>
2693     * 
2694     */ 
2695    public int getMERGE_INFOReps() { 
2696        return getReps("MERGE_INFO");
2697    } 
2698
2699    /** 
2700     * <p>
2701     * Returns a non-modifiable List containing all current existing repetitions of MERGE_INFO.
2702     * <p>
2703     * <p>
2704     * Note that unlike {@link #getMERGE_INFO()}, this method will not create any reps
2705     * if none are already present, so an empty list may be returned.
2706     * </p>
2707     * 
2708     */ 
2709    public java.util.List<ADT_AXX_MERGE_INFO> getMERGE_INFOAll() throws HL7Exception {
2710        return getAllAsList("MERGE_INFO", ADT_AXX_MERGE_INFO.class);
2711    } 
2712
2713    /**
2714     * <p>
2715     * Inserts a specific repetition of MERGE_INFO ()
2716     * </p>
2717     * 
2718     *
2719     * @see AbstractGroup#insertRepetition(Structure, int) 
2720     */
2721    public void insertMERGE_INFO(ADT_AXX_MERGE_INFO structure, int rep) throws HL7Exception { 
2722       super.insertRepetition( "MERGE_INFO", structure, rep);
2723    }
2724
2725
2726    /**
2727     * <p>
2728     * Inserts a specific repetition of MERGE_INFO ()
2729     * </p>
2730     * 
2731     *
2732     * @see AbstractGroup#insertRepetition(Structure, int) 
2733     */
2734    public ADT_AXX_MERGE_INFO insertMERGE_INFO(int rep) throws HL7Exception { 
2735       return (ADT_AXX_MERGE_INFO)super.insertRepetition("MERGE_INFO", rep);
2736    }
2737
2738
2739    /**
2740     * <p>
2741     * Removes a specific repetition of MERGE_INFO ()
2742     * </p>
2743     * 
2744     *
2745     * @see AbstractGroup#removeRepetition(String, int) 
2746     */
2747    public ADT_AXX_MERGE_INFO removeMERGE_INFO(int rep) throws HL7Exception { 
2748       return (ADT_AXX_MERGE_INFO)super.removeRepetition("MERGE_INFO", rep);
2749    }
2750
2751
2752
2753
2754    /**
2755     * <p>
2756     * Returns
2757     * the first repetition of 
2758     * IAM () - creates it if necessary
2759     * </p>
2760     * Used for the following structures: [ADT_A60]
2761     *
2762     */
2763    public IAM getIAM() { 
2764       return getTyped("IAM", IAM.class);
2765    }
2766
2767
2768    /**
2769     * <p>
2770     * Returns a specific repetition of
2771     * IAM () - creates it if necessary
2772     * </p>
2773     * Used for the following structures: [ADT_A60]
2774     *
2775     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
2776     * @throws HL7Exception if the repetition requested is more than one 
2777     *     greater than the number of existing repetitions.
2778     */
2779    public IAM getIAM(int rep) { 
2780       return getTyped("IAM", rep, IAM.class);
2781    }
2782
2783    /** 
2784     * <p>
2785     * Returns the number of existing repetitions of IAM 
2786     * </p>
2787     * Used for the following structures: [ADT_A60]
2788     */ 
2789    public int getIAMReps() { 
2790        return getReps("IAM");
2791    } 
2792
2793    /** 
2794     * <p>
2795     * Returns a non-modifiable List containing all current existing repetitions of IAM.
2796     * <p>
2797     * <p>
2798     * Note that unlike {@link #getIAM()}, this method will not create any reps
2799     * if none are already present, so an empty list may be returned.
2800     * </p>
2801     * Used for the following structures: [ADT_A60]
2802     */ 
2803    public java.util.List<IAM> getIAMAll() throws HL7Exception {
2804        return getAllAsList("IAM", IAM.class);
2805    } 
2806
2807    /**
2808     * <p>
2809     * Inserts a specific repetition of IAM ()
2810     * </p>
2811     * Used for the following structures: [ADT_A60]
2812     *
2813     * @see AbstractGroup#insertRepetition(Structure, int) 
2814     */
2815    public void insertIAM(IAM structure, int rep) throws HL7Exception { 
2816       super.insertRepetition( "IAM", structure, rep);
2817    }
2818
2819
2820    /**
2821     * <p>
2822     * Inserts a specific repetition of IAM ()
2823     * </p>
2824     * Used for the following structures: [ADT_A60]
2825     *
2826     * @see AbstractGroup#insertRepetition(Structure, int) 
2827     */
2828    public IAM insertIAM(int rep) throws HL7Exception { 
2829       return (IAM)super.insertRepetition("IAM", rep);
2830    }
2831
2832
2833    /**
2834     * <p>
2835     * Removes a specific repetition of IAM ()
2836     * </p>
2837     * Used for the following structures: [ADT_A60]
2838     *
2839     * @see AbstractGroup#removeRepetition(String, int) 
2840     */
2841    public IAM removeIAM(int rep) throws HL7Exception { 
2842       return (IAM)super.removeRepetition("IAM", rep);
2843    }
2844
2845
2846
2847}
2848