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