ca.uhn.hl7v2.model.v231.message.ADT_AXX Maven / Gradle / Ivy
/*
* This class is an auto-generated source file for a HAPI
* HL7 v2.x standard structure class.
*
* For more information, visit: http://hl7api.sourceforge.net/
*
* The contents of this file are subject to the Mozilla Public License Version 1.1
* (the "License"); you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.mozilla.org/MPL/
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
* specific language governing rights and limitations under the License.
*
* The Original Code is "[file_name]". Description:
* "[one_line_description]"
*
* The Initial Developer of the Original Code is University Health Network. Copyright (C)
* 2012. All Rights Reserved.
*
* Contributor(s): ______________________________________.
*
* Alternatively, the contents of this file may be used under the terms of the
* GNU General Public License (the "GPL"), in which case the provisions of the GPL are
* applicable instead of those above. If you wish to allow use of your version of this
* file only under the terms of the GPL and not to allow others to use your version
* of this file under the MPL, indicate your decision by deleting the provisions above
* and replace them with the notice and other provisions required by the GPL License.
* If you do not delete the provisions above, a recipient may use your version of
* this file under either the MPL or the GPL.
*
*/
package ca.uhn.hl7v2.model.v231.message;
import ca.uhn.hl7v2.model.v231.group.*;
import ca.uhn.hl7v2.model.v231.segment.*;
import ca.uhn.hl7v2.HL7Exception;
import ca.uhn.hl7v2.parser.ModelClassFactory;
import ca.uhn.hl7v2.parser.DefaultModelClassFactory;
import ca.uhn.hl7v2.model.*;
/**
* Represents a ADT_AXX message structure (see chapter ). This structure contains the
* following elements:
*
* - 1: MSH ()
- 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]
* - 2: EVN ()
- 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]
* - 3: PID () optional
- 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]
* - 4: PD1 () optional
- 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]
* - 5: MRG () optional
- 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]
* - 6: NK1 () optional repeating
- 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]
* - 7: PV1 () optional
- 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]
* - 8: PV2 () optional
- 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]
* - 9: DB1 () optional repeating
- 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]
* - 10: OBX () optional repeating
- 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]
* - 11: AL1 () optional repeating
- 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]
* - 12: DG1 () optional repeating
- 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]
* - 13: DRG () optional
- 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]
* - 14: ADT_AXX_PR1ROL () optional repeating
* - 15: GT1 () optional repeating
- 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]
* - 16: ADT_AXX_IN1IN2IN3 () optional repeating
* - 17: ACC () optional
- 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]
* - 18: UB1 () optional
- 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]
* - 19: UB2 () optional
- 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]
* - 20: PID () optional
- Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
* - 21: PD1 () optional
- Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
* - 22: PV1 () optional
- Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
* - 23: PV2 () optional
- Used for the following structures: [ADT_A17]
* - 24: DB1 () optional repeating
- Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
* - 25: OBX () optional repeating
- Used for the following structures: [ADT_A17]
* - 26: NPU () optional
- Used for the following structures: [ADT_A20]
* - 27: ADT_AXX_PIDPD1MRGPV1 () optional repeating
* - 28: ADT_AXX_PIDPD1MRG () optional repeating
* - 29: ADT_AXX_MRGPV1 () optional repeating
*
*/
//@SuppressWarnings("unused")
public class ADT_AXX extends AbstractSuperMessage {
/**
* Creates a new ADT_AXX message with DefaultModelClassFactory.
*/
public ADT_AXX() {
this(new DefaultModelClassFactory());
}
/**
* Creates a new ADT_AXX message with custom ModelClassFactory.
*/
public ADT_AXX(ModelClassFactory factory) {
super(factory);
init(factory);
}
private void init(ModelClassFactory factory) {
try {
this.add(MSH.class, true, false);
this.addSuperstructureApplication("MSH", "ADT_A01");
this.addSuperstructureApplication("MSH", "ADT_A02");
this.addSuperstructureApplication("MSH", "ADT_A03");
this.addSuperstructureApplication("MSH", "ADT_A04");
this.addSuperstructureApplication("MSH", "ADT_A05");
this.addSuperstructureApplication("MSH", "ADT_A06");
this.addSuperstructureApplication("MSH", "ADT_A07");
this.addSuperstructureApplication("MSH", "ADT_A08");
this.addSuperstructureApplication("MSH", "ADT_A09");
this.addSuperstructureApplication("MSH", "ADT_A10");
this.addSuperstructureApplication("MSH", "ADT_A11");
this.addSuperstructureApplication("MSH", "ADT_A12");
this.addSuperstructureApplication("MSH", "ADT_A13");
this.addSuperstructureApplication("MSH", "ADT_A14");
this.addSuperstructureApplication("MSH", "ADT_A15");
this.addSuperstructureApplication("MSH", "ADT_A16");
this.addSuperstructureApplication("MSH", "ADT_A17");
this.addSuperstructureApplication("MSH", "ADT_A18");
this.addSuperstructureApplication("MSH", "ADT_A20");
this.addSuperstructureApplication("MSH", "ADT_A21");
this.addSuperstructureApplication("MSH", "ADT_A22");
this.addSuperstructureApplication("MSH", "ADT_A23");
this.addSuperstructureApplication("MSH", "ADT_A24");
this.addSuperstructureApplication("MSH", "ADT_A25");
this.addSuperstructureApplication("MSH", "ADT_A26");
this.addSuperstructureApplication("MSH", "ADT_A27");
this.addSuperstructureApplication("MSH", "ADT_A28");
this.addSuperstructureApplication("MSH", "ADT_A29");
this.addSuperstructureApplication("MSH", "ADT_A30");
this.addSuperstructureApplication("MSH", "ADT_A31");
this.addSuperstructureApplication("MSH", "ADT_A32");
this.addSuperstructureApplication("MSH", "ADT_A33");
this.addSuperstructureApplication("MSH", "ADT_A34");
this.addSuperstructureApplication("MSH", "ADT_A35");
this.addSuperstructureApplication("MSH", "ADT_A36");
this.addSuperstructureApplication("MSH", "ADT_A37");
this.addSuperstructureApplication("MSH", "ADT_A38");
this.addSuperstructureApplication("MSH", "ADT_A39");
this.addSuperstructureApplication("MSH", "ADT_A40");
this.addSuperstructureApplication("MSH", "ADT_A41");
this.addSuperstructureApplication("MSH", "ADT_A42");
this.addSuperstructureApplication("MSH", "ADT_A43");
this.addSuperstructureApplication("MSH", "ADT_A44");
this.addSuperstructureApplication("MSH", "ADT_A45");
this.addSuperstructureApplication("MSH", "ADT_A46");
this.addSuperstructureApplication("MSH", "ADT_A47");
this.addSuperstructureApplication("MSH", "ADT_A48");
this.addSuperstructureApplication("MSH", "ADT_A49");
this.addSuperstructureApplication("MSH", "ADT_A50");
this.addSuperstructureApplication("MSH", "ADT_A51");
this.add(EVN.class, true, false);
this.addSuperstructureApplication("EVN", "ADT_A01");
this.addSuperstructureApplication("EVN", "ADT_A02");
this.addSuperstructureApplication("EVN", "ADT_A03");
this.addSuperstructureApplication("EVN", "ADT_A04");
this.addSuperstructureApplication("EVN", "ADT_A05");
this.addSuperstructureApplication("EVN", "ADT_A06");
this.addSuperstructureApplication("EVN", "ADT_A07");
this.addSuperstructureApplication("EVN", "ADT_A08");
this.addSuperstructureApplication("EVN", "ADT_A09");
this.addSuperstructureApplication("EVN", "ADT_A10");
this.addSuperstructureApplication("EVN", "ADT_A11");
this.addSuperstructureApplication("EVN", "ADT_A12");
this.addSuperstructureApplication("EVN", "ADT_A13");
this.addSuperstructureApplication("EVN", "ADT_A14");
this.addSuperstructureApplication("EVN", "ADT_A15");
this.addSuperstructureApplication("EVN", "ADT_A16");
this.addSuperstructureApplication("EVN", "ADT_A17");
this.addSuperstructureApplication("EVN", "ADT_A18");
this.addSuperstructureApplication("EVN", "ADT_A20");
this.addSuperstructureApplication("EVN", "ADT_A21");
this.addSuperstructureApplication("EVN", "ADT_A22");
this.addSuperstructureApplication("EVN", "ADT_A23");
this.addSuperstructureApplication("EVN", "ADT_A24");
this.addSuperstructureApplication("EVN", "ADT_A25");
this.addSuperstructureApplication("EVN", "ADT_A26");
this.addSuperstructureApplication("EVN", "ADT_A27");
this.addSuperstructureApplication("EVN", "ADT_A28");
this.addSuperstructureApplication("EVN", "ADT_A29");
this.addSuperstructureApplication("EVN", "ADT_A30");
this.addSuperstructureApplication("EVN", "ADT_A31");
this.addSuperstructureApplication("EVN", "ADT_A32");
this.addSuperstructureApplication("EVN", "ADT_A33");
this.addSuperstructureApplication("EVN", "ADT_A34");
this.addSuperstructureApplication("EVN", "ADT_A35");
this.addSuperstructureApplication("EVN", "ADT_A36");
this.addSuperstructureApplication("EVN", "ADT_A37");
this.addSuperstructureApplication("EVN", "ADT_A38");
this.addSuperstructureApplication("EVN", "ADT_A39");
this.addSuperstructureApplication("EVN", "ADT_A40");
this.addSuperstructureApplication("EVN", "ADT_A41");
this.addSuperstructureApplication("EVN", "ADT_A42");
this.addSuperstructureApplication("EVN", "ADT_A43");
this.addSuperstructureApplication("EVN", "ADT_A44");
this.addSuperstructureApplication("EVN", "ADT_A45");
this.addSuperstructureApplication("EVN", "ADT_A46");
this.addSuperstructureApplication("EVN", "ADT_A47");
this.addSuperstructureApplication("EVN", "ADT_A48");
this.addSuperstructureApplication("EVN", "ADT_A49");
this.addSuperstructureApplication("EVN", "ADT_A50");
this.addSuperstructureApplication("EVN", "ADT_A51");
this.add(PID.class, false, false);
this.addSuperstructureApplication("PID", "ADT_A01");
this.addSuperstructureApplication("PID", "ADT_A02");
this.addSuperstructureApplication("PID", "ADT_A03");
this.addSuperstructureApplication("PID", "ADT_A04");
this.addSuperstructureApplication("PID", "ADT_A05");
this.addSuperstructureApplication("PID", "ADT_A06");
this.addSuperstructureApplication("PID", "ADT_A07");
this.addSuperstructureApplication("PID", "ADT_A08");
this.addSuperstructureApplication("PID", "ADT_A09");
this.addSuperstructureApplication("PID", "ADT_A10");
this.addSuperstructureApplication("PID", "ADT_A11");
this.addSuperstructureApplication("PID", "ADT_A12");
this.addSuperstructureApplication("PID", "ADT_A13");
this.addSuperstructureApplication("PID", "ADT_A14");
this.addSuperstructureApplication("PID", "ADT_A15");
this.addSuperstructureApplication("PID", "ADT_A16");
this.addSuperstructureApplication("PID", "ADT_A17");
this.addSuperstructureApplication("PID", "ADT_A18");
this.addSuperstructureApplication("PID", "ADT_A21");
this.addSuperstructureApplication("PID", "ADT_A22");
this.addSuperstructureApplication("PID", "ADT_A23");
this.addSuperstructureApplication("PID", "ADT_A24");
this.addSuperstructureApplication("PID", "ADT_A25");
this.addSuperstructureApplication("PID", "ADT_A26");
this.addSuperstructureApplication("PID", "ADT_A27");
this.addSuperstructureApplication("PID", "ADT_A28");
this.addSuperstructureApplication("PID", "ADT_A29");
this.addSuperstructureApplication("PID", "ADT_A30");
this.addSuperstructureApplication("PID", "ADT_A31");
this.addSuperstructureApplication("PID", "ADT_A32");
this.addSuperstructureApplication("PID", "ADT_A33");
this.addSuperstructureApplication("PID", "ADT_A34");
this.addSuperstructureApplication("PID", "ADT_A35");
this.addSuperstructureApplication("PID", "ADT_A36");
this.addSuperstructureApplication("PID", "ADT_A37");
this.addSuperstructureApplication("PID", "ADT_A38");
this.addSuperstructureApplication("PID", "ADT_A45");
this.addSuperstructureApplication("PID", "ADT_A46");
this.addSuperstructureApplication("PID", "ADT_A47");
this.addSuperstructureApplication("PID", "ADT_A48");
this.addSuperstructureApplication("PID", "ADT_A49");
this.addSuperstructureApplication("PID", "ADT_A50");
this.addSuperstructureApplication("PID", "ADT_A51");
this.add(PD1.class, false, false);
this.addSuperstructureApplication("PD1", "ADT_A01");
this.addSuperstructureApplication("PD1", "ADT_A02");
this.addSuperstructureApplication("PD1", "ADT_A03");
this.addSuperstructureApplication("PD1", "ADT_A04");
this.addSuperstructureApplication("PD1", "ADT_A05");
this.addSuperstructureApplication("PD1", "ADT_A06");
this.addSuperstructureApplication("PD1", "ADT_A07");
this.addSuperstructureApplication("PD1", "ADT_A08");
this.addSuperstructureApplication("PD1", "ADT_A09");
this.addSuperstructureApplication("PD1", "ADT_A10");
this.addSuperstructureApplication("PD1", "ADT_A11");
this.addSuperstructureApplication("PD1", "ADT_A12");
this.addSuperstructureApplication("PD1", "ADT_A13");
this.addSuperstructureApplication("PD1", "ADT_A14");
this.addSuperstructureApplication("PD1", "ADT_A15");
this.addSuperstructureApplication("PD1", "ADT_A16");
this.addSuperstructureApplication("PD1", "ADT_A17");
this.addSuperstructureApplication("PD1", "ADT_A18");
this.addSuperstructureApplication("PD1", "ADT_A21");
this.addSuperstructureApplication("PD1", "ADT_A22");
this.addSuperstructureApplication("PD1", "ADT_A23");
this.addSuperstructureApplication("PD1", "ADT_A24");
this.addSuperstructureApplication("PD1", "ADT_A25");
this.addSuperstructureApplication("PD1", "ADT_A26");
this.addSuperstructureApplication("PD1", "ADT_A27");
this.addSuperstructureApplication("PD1", "ADT_A28");
this.addSuperstructureApplication("PD1", "ADT_A29");
this.addSuperstructureApplication("PD1", "ADT_A30");
this.addSuperstructureApplication("PD1", "ADT_A31");
this.addSuperstructureApplication("PD1", "ADT_A32");
this.addSuperstructureApplication("PD1", "ADT_A33");
this.addSuperstructureApplication("PD1", "ADT_A34");
this.addSuperstructureApplication("PD1", "ADT_A35");
this.addSuperstructureApplication("PD1", "ADT_A36");
this.addSuperstructureApplication("PD1", "ADT_A37");
this.addSuperstructureApplication("PD1", "ADT_A38");
this.addSuperstructureApplication("PD1", "ADT_A45");
this.addSuperstructureApplication("PD1", "ADT_A46");
this.addSuperstructureApplication("PD1", "ADT_A47");
this.addSuperstructureApplication("PD1", "ADT_A48");
this.addSuperstructureApplication("PD1", "ADT_A49");
this.addSuperstructureApplication("PD1", "ADT_A50");
this.addSuperstructureApplication("PD1", "ADT_A51");
this.add(MRG.class, false, false);
this.addSuperstructureApplication("MRG", "ADT_A06");
this.addSuperstructureApplication("MRG", "ADT_A07");
this.addSuperstructureApplication("MRG", "ADT_A18");
this.addSuperstructureApplication("MRG", "ADT_A30");
this.addSuperstructureApplication("MRG", "ADT_A34");
this.addSuperstructureApplication("MRG", "ADT_A35");
this.addSuperstructureApplication("MRG", "ADT_A36");
this.addSuperstructureApplication("MRG", "ADT_A46");
this.addSuperstructureApplication("MRG", "ADT_A47");
this.addSuperstructureApplication("MRG", "ADT_A48");
this.addSuperstructureApplication("MRG", "ADT_A49");
this.addSuperstructureApplication("MRG", "ADT_A50");
this.addSuperstructureApplication("MRG", "ADT_A51");
this.add(NK1.class, false, true);
this.addSuperstructureApplication("NK1", "ADT_A01");
this.addSuperstructureApplication("NK1", "ADT_A04");
this.addSuperstructureApplication("NK1", "ADT_A05");
this.addSuperstructureApplication("NK1", "ADT_A06");
this.addSuperstructureApplication("NK1", "ADT_A07");
this.addSuperstructureApplication("NK1", "ADT_A08");
this.addSuperstructureApplication("NK1", "ADT_A13");
this.addSuperstructureApplication("NK1", "ADT_A14");
this.addSuperstructureApplication("NK1", "ADT_A28");
this.addSuperstructureApplication("NK1", "ADT_A31");
this.add(PV1.class, false, false);
this.addSuperstructureApplication("PV1", "ADT_A01");
this.addSuperstructureApplication("PV1", "ADT_A02");
this.addSuperstructureApplication("PV1", "ADT_A03");
this.addSuperstructureApplication("PV1", "ADT_A04");
this.addSuperstructureApplication("PV1", "ADT_A05");
this.addSuperstructureApplication("PV1", "ADT_A06");
this.addSuperstructureApplication("PV1", "ADT_A07");
this.addSuperstructureApplication("PV1", "ADT_A08");
this.addSuperstructureApplication("PV1", "ADT_A09");
this.addSuperstructureApplication("PV1", "ADT_A10");
this.addSuperstructureApplication("PV1", "ADT_A11");
this.addSuperstructureApplication("PV1", "ADT_A12");
this.addSuperstructureApplication("PV1", "ADT_A13");
this.addSuperstructureApplication("PV1", "ADT_A14");
this.addSuperstructureApplication("PV1", "ADT_A15");
this.addSuperstructureApplication("PV1", "ADT_A16");
this.addSuperstructureApplication("PV1", "ADT_A17");
this.addSuperstructureApplication("PV1", "ADT_A18");
this.addSuperstructureApplication("PV1", "ADT_A21");
this.addSuperstructureApplication("PV1", "ADT_A22");
this.addSuperstructureApplication("PV1", "ADT_A23");
this.addSuperstructureApplication("PV1", "ADT_A24");
this.addSuperstructureApplication("PV1", "ADT_A25");
this.addSuperstructureApplication("PV1", "ADT_A26");
this.addSuperstructureApplication("PV1", "ADT_A27");
this.addSuperstructureApplication("PV1", "ADT_A28");
this.addSuperstructureApplication("PV1", "ADT_A29");
this.addSuperstructureApplication("PV1", "ADT_A31");
this.addSuperstructureApplication("PV1", "ADT_A32");
this.addSuperstructureApplication("PV1", "ADT_A33");
this.addSuperstructureApplication("PV1", "ADT_A37");
this.addSuperstructureApplication("PV1", "ADT_A38");
this.addSuperstructureApplication("PV1", "ADT_A50");
this.addSuperstructureApplication("PV1", "ADT_A51");
this.add(PV2.class, false, false);
this.addSuperstructureApplication("PV2", "ADT_A01");
this.addSuperstructureApplication("PV2", "ADT_A02");
this.addSuperstructureApplication("PV2", "ADT_A03");
this.addSuperstructureApplication("PV2", "ADT_A04");
this.addSuperstructureApplication("PV2", "ADT_A05");
this.addSuperstructureApplication("PV2", "ADT_A06");
this.addSuperstructureApplication("PV2", "ADT_A07");
this.addSuperstructureApplication("PV2", "ADT_A08");
this.addSuperstructureApplication("PV2", "ADT_A09");
this.addSuperstructureApplication("PV2", "ADT_A10");
this.addSuperstructureApplication("PV2", "ADT_A11");
this.addSuperstructureApplication("PV2", "ADT_A12");
this.addSuperstructureApplication("PV2", "ADT_A13");
this.addSuperstructureApplication("PV2", "ADT_A14");
this.addSuperstructureApplication("PV2", "ADT_A15");
this.addSuperstructureApplication("PV2", "ADT_A16");
this.addSuperstructureApplication("PV2", "ADT_A17");
this.addSuperstructureApplication("PV2", "ADT_A21");
this.addSuperstructureApplication("PV2", "ADT_A22");
this.addSuperstructureApplication("PV2", "ADT_A23");
this.addSuperstructureApplication("PV2", "ADT_A25");
this.addSuperstructureApplication("PV2", "ADT_A26");
this.addSuperstructureApplication("PV2", "ADT_A27");
this.addSuperstructureApplication("PV2", "ADT_A28");
this.addSuperstructureApplication("PV2", "ADT_A29");
this.addSuperstructureApplication("PV2", "ADT_A31");
this.addSuperstructureApplication("PV2", "ADT_A32");
this.addSuperstructureApplication("PV2", "ADT_A33");
this.addSuperstructureApplication("PV2", "ADT_A38");
this.add(DB1.class, false, true);
this.addSuperstructureApplication("DB1", "ADT_A01");
this.addSuperstructureApplication("DB1", "ADT_A02");
this.addSuperstructureApplication("DB1", "ADT_A03");
this.addSuperstructureApplication("DB1", "ADT_A04");
this.addSuperstructureApplication("DB1", "ADT_A05");
this.addSuperstructureApplication("DB1", "ADT_A06");
this.addSuperstructureApplication("DB1", "ADT_A07");
this.addSuperstructureApplication("DB1", "ADT_A08");
this.addSuperstructureApplication("DB1", "ADT_A09");
this.addSuperstructureApplication("DB1", "ADT_A10");
this.addSuperstructureApplication("DB1", "ADT_A11");
this.addSuperstructureApplication("DB1", "ADT_A12");
this.addSuperstructureApplication("DB1", "ADT_A13");
this.addSuperstructureApplication("DB1", "ADT_A14");
this.addSuperstructureApplication("DB1", "ADT_A15");
this.addSuperstructureApplication("DB1", "ADT_A16");
this.addSuperstructureApplication("DB1", "ADT_A17");
this.addSuperstructureApplication("DB1", "ADT_A21");
this.addSuperstructureApplication("DB1", "ADT_A22");
this.addSuperstructureApplication("DB1", "ADT_A23");
this.addSuperstructureApplication("DB1", "ADT_A24");
this.addSuperstructureApplication("DB1", "ADT_A25");
this.addSuperstructureApplication("DB1", "ADT_A26");
this.addSuperstructureApplication("DB1", "ADT_A27");
this.addSuperstructureApplication("DB1", "ADT_A28");
this.addSuperstructureApplication("DB1", "ADT_A29");
this.addSuperstructureApplication("DB1", "ADT_A31");
this.addSuperstructureApplication("DB1", "ADT_A32");
this.addSuperstructureApplication("DB1", "ADT_A33");
this.addSuperstructureApplication("DB1", "ADT_A37");
this.addSuperstructureApplication("DB1", "ADT_A38");
this.add(OBX.class, false, true);
this.addSuperstructureApplication("OBX", "ADT_A01");
this.addSuperstructureApplication("OBX", "ADT_A02");
this.addSuperstructureApplication("OBX", "ADT_A03");
this.addSuperstructureApplication("OBX", "ADT_A04");
this.addSuperstructureApplication("OBX", "ADT_A05");
this.addSuperstructureApplication("OBX", "ADT_A06");
this.addSuperstructureApplication("OBX", "ADT_A07");
this.addSuperstructureApplication("OBX", "ADT_A08");
this.addSuperstructureApplication("OBX", "ADT_A09");
this.addSuperstructureApplication("OBX", "ADT_A10");
this.addSuperstructureApplication("OBX", "ADT_A11");
this.addSuperstructureApplication("OBX", "ADT_A12");
this.addSuperstructureApplication("OBX", "ADT_A13");
this.addSuperstructureApplication("OBX", "ADT_A14");
this.addSuperstructureApplication("OBX", "ADT_A15");
this.addSuperstructureApplication("OBX", "ADT_A16");
this.addSuperstructureApplication("OBX", "ADT_A17");
this.addSuperstructureApplication("OBX", "ADT_A21");
this.addSuperstructureApplication("OBX", "ADT_A22");
this.addSuperstructureApplication("OBX", "ADT_A23");
this.addSuperstructureApplication("OBX", "ADT_A25");
this.addSuperstructureApplication("OBX", "ADT_A26");
this.addSuperstructureApplication("OBX", "ADT_A27");
this.addSuperstructureApplication("OBX", "ADT_A28");
this.addSuperstructureApplication("OBX", "ADT_A29");
this.addSuperstructureApplication("OBX", "ADT_A31");
this.addSuperstructureApplication("OBX", "ADT_A32");
this.addSuperstructureApplication("OBX", "ADT_A33");
this.addSuperstructureApplication("OBX", "ADT_A38");
this.add(AL1.class, false, true);
this.addSuperstructureApplication("AL1", "ADT_A01");
this.addSuperstructureApplication("AL1", "ADT_A04");
this.addSuperstructureApplication("AL1", "ADT_A05");
this.addSuperstructureApplication("AL1", "ADT_A06");
this.addSuperstructureApplication("AL1", "ADT_A07");
this.addSuperstructureApplication("AL1", "ADT_A08");
this.addSuperstructureApplication("AL1", "ADT_A13");
this.addSuperstructureApplication("AL1", "ADT_A14");
this.addSuperstructureApplication("AL1", "ADT_A28");
this.addSuperstructureApplication("AL1", "ADT_A31");
this.add(DG1.class, false, true);
this.addSuperstructureApplication("DG1", "ADT_A01");
this.addSuperstructureApplication("DG1", "ADT_A03");
this.addSuperstructureApplication("DG1", "ADT_A04");
this.addSuperstructureApplication("DG1", "ADT_A05");
this.addSuperstructureApplication("DG1", "ADT_A06");
this.addSuperstructureApplication("DG1", "ADT_A07");
this.addSuperstructureApplication("DG1", "ADT_A08");
this.addSuperstructureApplication("DG1", "ADT_A09");
this.addSuperstructureApplication("DG1", "ADT_A10");
this.addSuperstructureApplication("DG1", "ADT_A11");
this.addSuperstructureApplication("DG1", "ADT_A12");
this.addSuperstructureApplication("DG1", "ADT_A13");
this.addSuperstructureApplication("DG1", "ADT_A14");
this.addSuperstructureApplication("DG1", "ADT_A15");
this.addSuperstructureApplication("DG1", "ADT_A16");
this.addSuperstructureApplication("DG1", "ADT_A28");
this.addSuperstructureApplication("DG1", "ADT_A31");
this.addSuperstructureApplication("DG1", "ADT_A38");
this.add(DRG.class, false, false);
this.addSuperstructureApplication("DRG", "ADT_A01");
this.addSuperstructureApplication("DRG", "ADT_A03");
this.addSuperstructureApplication("DRG", "ADT_A04");
this.addSuperstructureApplication("DRG", "ADT_A05");
this.addSuperstructureApplication("DRG", "ADT_A06");
this.addSuperstructureApplication("DRG", "ADT_A07");
this.addSuperstructureApplication("DRG", "ADT_A08");
this.addSuperstructureApplication("DRG", "ADT_A13");
this.addSuperstructureApplication("DRG", "ADT_A14");
this.addSuperstructureApplication("DRG", "ADT_A16");
this.addSuperstructureApplication("DRG", "ADT_A28");
this.addSuperstructureApplication("DRG", "ADT_A31");
this.addSuperstructureApplication("DRG", "ADT_A38");
this.add(ADT_AXX_PR1ROL.class, false, true);
this.add(GT1.class, false, true);
this.addSuperstructureApplication("GT1", "ADT_A01");
this.addSuperstructureApplication("GT1", "ADT_A04");
this.addSuperstructureApplication("GT1", "ADT_A05");
this.addSuperstructureApplication("GT1", "ADT_A06");
this.addSuperstructureApplication("GT1", "ADT_A07");
this.addSuperstructureApplication("GT1", "ADT_A08");
this.addSuperstructureApplication("GT1", "ADT_A13");
this.addSuperstructureApplication("GT1", "ADT_A14");
this.addSuperstructureApplication("GT1", "ADT_A28");
this.addSuperstructureApplication("GT1", "ADT_A31");
this.add(ADT_AXX_IN1IN2IN3.class, false, true);
this.add(ACC.class, false, false);
this.addSuperstructureApplication("ACC", "ADT_A01");
this.addSuperstructureApplication("ACC", "ADT_A04");
this.addSuperstructureApplication("ACC", "ADT_A05");
this.addSuperstructureApplication("ACC", "ADT_A06");
this.addSuperstructureApplication("ACC", "ADT_A07");
this.addSuperstructureApplication("ACC", "ADT_A08");
this.addSuperstructureApplication("ACC", "ADT_A13");
this.addSuperstructureApplication("ACC", "ADT_A14");
this.addSuperstructureApplication("ACC", "ADT_A28");
this.addSuperstructureApplication("ACC", "ADT_A31");
this.add(UB1.class, false, false);
this.addSuperstructureApplication("UB1", "ADT_A01");
this.addSuperstructureApplication("UB1", "ADT_A04");
this.addSuperstructureApplication("UB1", "ADT_A05");
this.addSuperstructureApplication("UB1", "ADT_A06");
this.addSuperstructureApplication("UB1", "ADT_A07");
this.addSuperstructureApplication("UB1", "ADT_A08");
this.addSuperstructureApplication("UB1", "ADT_A13");
this.addSuperstructureApplication("UB1", "ADT_A14");
this.addSuperstructureApplication("UB1", "ADT_A28");
this.addSuperstructureApplication("UB1", "ADT_A31");
this.add(UB2.class, false, false);
this.addSuperstructureApplication("UB2", "ADT_A01");
this.addSuperstructureApplication("UB2", "ADT_A04");
this.addSuperstructureApplication("UB2", "ADT_A05");
this.addSuperstructureApplication("UB2", "ADT_A06");
this.addSuperstructureApplication("UB2", "ADT_A07");
this.addSuperstructureApplication("UB2", "ADT_A08");
this.addSuperstructureApplication("UB2", "ADT_A13");
this.addSuperstructureApplication("UB2", "ADT_A14");
this.addSuperstructureApplication("UB2", "ADT_A28");
this.addSuperstructureApplication("UB2", "ADT_A31");
this.add(PID.class, false, false);
this.addSuperstructureApplication("PID2", "ADT_A17");
this.addSuperstructureApplication("PID2", "ADT_A24");
this.addSuperstructureApplication("PID2", "ADT_A37");
this.add(PD1.class, false, false);
this.addSuperstructureApplication("PD12", "ADT_A17");
this.addSuperstructureApplication("PD12", "ADT_A24");
this.addSuperstructureApplication("PD12", "ADT_A37");
this.add(PV1.class, false, false);
this.addSuperstructureApplication("PV12", "ADT_A17");
this.addSuperstructureApplication("PV12", "ADT_A24");
this.addSuperstructureApplication("PV12", "ADT_A37");
this.add(PV2.class, false, false);
this.addSuperstructureApplication("PV22", "ADT_A17");
this.add(DB1.class, false, true);
this.addSuperstructureApplication("DB12", "ADT_A17");
this.addSuperstructureApplication("DB12", "ADT_A24");
this.addSuperstructureApplication("DB12", "ADT_A37");
this.add(OBX.class, false, true);
this.addSuperstructureApplication("OBX2", "ADT_A17");
this.add(NPU.class, false, false);
this.addSuperstructureApplication("NPU", "ADT_A20");
this.add(ADT_AXX_PIDPD1MRGPV1.class, false, true);
this.add(ADT_AXX_PIDPD1MRG.class, false, true);
this.add(ADT_AXX_MRGPV1.class, false, true);
} catch(HL7Exception e) {
log.error("Unexpected error creating ADT_AXX - this is probably a bug in the source code generator.", e);
}
}
public java.util.List getChildNamesForStructure(String theStructure) {
java.util.ArrayList retVal = new java.util.ArrayList();
if ( "ADT_A01".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("NK1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("AL1");
retVal.add("DG1");
retVal.add("DRG");
retVal.add("PR1ROL");
retVal.add("GT1");
retVal.add("IN1IN2IN3");
retVal.add("ACC");
retVal.add("UB1");
retVal.add("UB2");
}
if ( "ADT_A02".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
}
if ( "ADT_A03".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("DG1");
retVal.add("DRG");
retVal.add("PR1ROL");
retVal.add("OBX");
}
if ( "ADT_A04".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("NK1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("AL1");
retVal.add("DG1");
retVal.add("DRG");
retVal.add("PR1ROL");
retVal.add("GT1");
retVal.add("IN1IN2IN3");
retVal.add("ACC");
retVal.add("UB1");
retVal.add("UB2");
}
if ( "ADT_A05".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("NK1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("AL1");
retVal.add("DG1");
retVal.add("DRG");
retVal.add("PR1ROL");
retVal.add("GT1");
retVal.add("IN1IN2IN3");
retVal.add("ACC");
retVal.add("UB1");
retVal.add("UB2");
}
if ( "ADT_A06".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("MRG");
retVal.add("NK1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("AL1");
retVal.add("DG1");
retVal.add("DRG");
retVal.add("PR1ROL");
retVal.add("GT1");
retVal.add("IN1IN2IN3");
retVal.add("ACC");
retVal.add("UB1");
retVal.add("UB2");
}
if ( "ADT_A07".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("MRG");
retVal.add("NK1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("AL1");
retVal.add("DG1");
retVal.add("DRG");
retVal.add("PR1ROL");
retVal.add("GT1");
retVal.add("IN1IN2IN3");
retVal.add("ACC");
retVal.add("UB1");
retVal.add("UB2");
}
if ( "ADT_A08".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("NK1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("AL1");
retVal.add("DG1");
retVal.add("DRG");
retVal.add("PR1ROL");
retVal.add("GT1");
retVal.add("IN1IN2IN3");
retVal.add("ACC");
retVal.add("UB1");
retVal.add("UB2");
}
if ( "ADT_A09".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("DG1");
}
if ( "ADT_A10".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("DG1");
}
if ( "ADT_A11".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("DG1");
}
if ( "ADT_A12".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("DG1");
}
if ( "ADT_A13".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("NK1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("AL1");
retVal.add("DG1");
retVal.add("DRG");
retVal.add("PR1ROL");
retVal.add("GT1");
retVal.add("IN1IN2IN3");
retVal.add("ACC");
retVal.add("UB1");
retVal.add("UB2");
}
if ( "ADT_A14".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("NK1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("AL1");
retVal.add("DG1");
retVal.add("DRG");
retVal.add("PR1ROL");
retVal.add("GT1");
retVal.add("IN1IN2IN3");
retVal.add("ACC");
retVal.add("UB1");
retVal.add("UB2");
}
if ( "ADT_A15".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("DG1");
}
if ( "ADT_A16".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("DG1");
retVal.add("DRG");
}
if ( "ADT_A17".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("PID2");
retVal.add("PD12");
retVal.add("PV12");
retVal.add("PV22");
retVal.add("DB12");
retVal.add("OBX2");
}
if ( "ADT_A18".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("MRG");
retVal.add("PV1");
}
if ( "ADT_A20".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("NPU");
}
if ( "ADT_A21".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
}
if ( "ADT_A22".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
}
if ( "ADT_A23".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
}
if ( "ADT_A24".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("DB1");
retVal.add("PID2");
retVal.add("PD12");
retVal.add("PV12");
retVal.add("DB12");
}
if ( "ADT_A25".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
}
if ( "ADT_A26".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
}
if ( "ADT_A27".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
}
if ( "ADT_A28".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("NK1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("AL1");
retVal.add("DG1");
retVal.add("DRG");
retVal.add("PR1ROL");
retVal.add("GT1");
retVal.add("IN1IN2IN3");
retVal.add("ACC");
retVal.add("UB1");
retVal.add("UB2");
}
if ( "ADT_A29".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
}
if ( "ADT_A30".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("MRG");
}
if ( "ADT_A31".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("NK1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("AL1");
retVal.add("DG1");
retVal.add("DRG");
retVal.add("PR1ROL");
retVal.add("GT1");
retVal.add("IN1IN2IN3");
retVal.add("ACC");
retVal.add("UB1");
retVal.add("UB2");
}
if ( "ADT_A32".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
}
if ( "ADT_A33".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
}
if ( "ADT_A34".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("MRG");
}
if ( "ADT_A35".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("MRG");
}
if ( "ADT_A36".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("MRG");
}
if ( "ADT_A37".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("DB1");
retVal.add("PID2");
retVal.add("PD12");
retVal.add("PV12");
retVal.add("DB12");
}
if ( "ADT_A38".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("PV1");
retVal.add("PV2");
retVal.add("DB1");
retVal.add("OBX");
retVal.add("DG1");
retVal.add("DRG");
}
if ( "ADT_A39".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PIDPD1MRGPV1");
}
if ( "ADT_A40".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PIDPD1MRGPV1");
}
if ( "ADT_A41".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PIDPD1MRGPV1");
}
if ( "ADT_A42".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PIDPD1MRGPV1");
}
if ( "ADT_A43".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PIDPD1MRG");
}
if ( "ADT_A44".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PIDPD1MRG");
}
if ( "ADT_A45".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("MRGPV1");
}
if ( "ADT_A46".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("MRG");
}
if ( "ADT_A47".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("MRG");
}
if ( "ADT_A48".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("MRG");
}
if ( "ADT_A49".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("MRG");
}
if ( "ADT_A50".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("MRG");
retVal.add("PV1");
}
if ( "ADT_A51".equals(theStructure) ) {
retVal.add("MSH");
retVal.add("EVN");
retVal.add("PID");
retVal.add("PD1");
retVal.add("MRG");
retVal.add("PV1");
}
return retVal;
}
/**
* Returns "2.3.1"
*/
public String getVersion() {
return "2.3.1";
}
/**
*
* Returns
* MSH () - creates it if necessary
*
* 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]
*
*/
public MSH getMSH() {
return getTyped("MSH", MSH.class);
}
/**
*
* Returns
* EVN () - creates it if necessary
*
* 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]
*
*/
public EVN getEVN() {
return getTyped("EVN", EVN.class);
}
/**
*
* Returns
* PID () - creates it if necessary
*
* 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]
*
*/
public PID getPID() {
return getTyped("PID", PID.class);
}
/**
*
* Returns
* PD1 () - creates it if necessary
*
* 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]
*
*/
public PD1 getPD1() {
return getTyped("PD1", PD1.class);
}
/**
*
* Returns
* MRG () - creates it if necessary
*
* 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]
*
*/
public MRG getMRG() {
return getTyped("MRG", MRG.class);
}
/**
*
* Returns
* the first repetition of
* NK1 () - creates it if necessary
*
* 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]
*
*/
public NK1 getNK1() {
return getTyped("NK1", NK1.class);
}
/**
*
* Returns a specific repetition of
* NK1 () - creates it if necessary
*
* 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]
*
* @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
* @throws HL7Exception if the repetition requested is more than one
* greater than the number of existing repetitions.
*/
public NK1 getNK1(int rep) {
return getTyped("NK1", rep, NK1.class);
}
/**
*
* Returns the number of existing repetitions of NK1
*
* 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]
*/
public int getNK1Reps() {
return getReps("NK1");
}
/**
*
* Returns a non-modifiable List containing all current existing repetitions of NK1.
*
*
* Note that unlike {@link #getNK1()}, this method will not create any reps
* if none are already present, so an empty list may be returned.
*
* 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]
*/
public java.util.List getNK1All() throws HL7Exception {
return getAllAsList("NK1", NK1.class);
}
/**
*
* Inserts a specific repetition of NK1 ()
*
* 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]
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public void insertNK1(NK1 structure, int rep) throws HL7Exception {
super.insertRepetition( "NK1", structure, rep);
}
/**
*
* Inserts a specific repetition of NK1 ()
*
* 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]
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public NK1 insertNK1(int rep) throws HL7Exception {
return (NK1)super.insertRepetition("NK1", rep);
}
/**
*
* Removes a specific repetition of NK1 ()
*
* 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]
*
* @see AbstractGroup#removeRepetition(String, int)
*/
public NK1 removeNK1(int rep) throws HL7Exception {
return (NK1)super.removeRepetition("NK1", rep);
}
/**
*
* Returns
* PV1 () - creates it if necessary
*
* 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]
*
*/
public PV1 getPV1() {
return getTyped("PV1", PV1.class);
}
/**
*
* Returns
* PV2 () - creates it if necessary
*
* 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]
*
*/
public PV2 getPV2() {
return getTyped("PV2", PV2.class);
}
/**
*
* Returns
* the first repetition of
* DB1 () - creates it if necessary
*
* 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]
*
*/
public DB1 getDB1() {
return getTyped("DB1", DB1.class);
}
/**
*
* Returns a specific repetition of
* DB1 () - creates it if necessary
*
* 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]
*
* @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
* @throws HL7Exception if the repetition requested is more than one
* greater than the number of existing repetitions.
*/
public DB1 getDB1(int rep) {
return getTyped("DB1", rep, DB1.class);
}
/**
*
* Returns the number of existing repetitions of DB1
*
* 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]
*/
public int getDB1Reps() {
return getReps("DB1");
}
/**
*
* Returns a non-modifiable List containing all current existing repetitions of DB1.
*
*
* Note that unlike {@link #getDB1()}, this method will not create any reps
* if none are already present, so an empty list may be returned.
*
* 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]
*/
public java.util.List getDB1All() throws HL7Exception {
return getAllAsList("DB1", DB1.class);
}
/**
*
* Inserts a specific repetition of DB1 ()
*
* 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]
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public void insertDB1(DB1 structure, int rep) throws HL7Exception {
super.insertRepetition( "DB1", structure, rep);
}
/**
*
* Inserts a specific repetition of DB1 ()
*
* 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]
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public DB1 insertDB1(int rep) throws HL7Exception {
return (DB1)super.insertRepetition("DB1", rep);
}
/**
*
* Removes a specific repetition of DB1 ()
*
* 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]
*
* @see AbstractGroup#removeRepetition(String, int)
*/
public DB1 removeDB1(int rep) throws HL7Exception {
return (DB1)super.removeRepetition("DB1", rep);
}
/**
*
* Returns
* the first repetition of
* OBX () - creates it if necessary
*
* 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]
*
*/
public OBX getOBX() {
return getTyped("OBX", OBX.class);
}
/**
*
* Returns a specific repetition of
* OBX () - creates it if necessary
*
* 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]
*
* @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
* @throws HL7Exception if the repetition requested is more than one
* greater than the number of existing repetitions.
*/
public OBX getOBX(int rep) {
return getTyped("OBX", rep, OBX.class);
}
/**
*
* Returns the number of existing repetitions of OBX
*
* 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]
*/
public int getOBXReps() {
return getReps("OBX");
}
/**
*
* Returns a non-modifiable List containing all current existing repetitions of OBX.
*
*
* Note that unlike {@link #getOBX()}, this method will not create any reps
* if none are already present, so an empty list may be returned.
*
* 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]
*/
public java.util.List getOBXAll() throws HL7Exception {
return getAllAsList("OBX", OBX.class);
}
/**
*
* Inserts a specific repetition of OBX ()
*
* 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]
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public void insertOBX(OBX structure, int rep) throws HL7Exception {
super.insertRepetition( "OBX", structure, rep);
}
/**
*
* Inserts a specific repetition of OBX ()
*
* 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]
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public OBX insertOBX(int rep) throws HL7Exception {
return (OBX)super.insertRepetition("OBX", rep);
}
/**
*
* Removes a specific repetition of OBX ()
*
* 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]
*
* @see AbstractGroup#removeRepetition(String, int)
*/
public OBX removeOBX(int rep) throws HL7Exception {
return (OBX)super.removeRepetition("OBX", rep);
}
/**
*
* Returns
* the first repetition of
* AL1 () - creates it if necessary
*
* 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]
*
*/
public AL1 getAL1() {
return getTyped("AL1", AL1.class);
}
/**
*
* Returns a specific repetition of
* AL1 () - creates it if necessary
*
* 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]
*
* @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
* @throws HL7Exception if the repetition requested is more than one
* greater than the number of existing repetitions.
*/
public AL1 getAL1(int rep) {
return getTyped("AL1", rep, AL1.class);
}
/**
*
* Returns the number of existing repetitions of AL1
*
* 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]
*/
public int getAL1Reps() {
return getReps("AL1");
}
/**
*
* Returns a non-modifiable List containing all current existing repetitions of AL1.
*
*
* Note that unlike {@link #getAL1()}, this method will not create any reps
* if none are already present, so an empty list may be returned.
*
* 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]
*/
public java.util.List getAL1All() throws HL7Exception {
return getAllAsList("AL1", AL1.class);
}
/**
*
* Inserts a specific repetition of AL1 ()
*
* 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]
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public void insertAL1(AL1 structure, int rep) throws HL7Exception {
super.insertRepetition( "AL1", structure, rep);
}
/**
*
* Inserts a specific repetition of AL1 ()
*
* 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]
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public AL1 insertAL1(int rep) throws HL7Exception {
return (AL1)super.insertRepetition("AL1", rep);
}
/**
*
* Removes a specific repetition of AL1 ()
*
* 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]
*
* @see AbstractGroup#removeRepetition(String, int)
*/
public AL1 removeAL1(int rep) throws HL7Exception {
return (AL1)super.removeRepetition("AL1", rep);
}
/**
*
* Returns
* the first repetition of
* DG1 () - creates it if necessary
*
* 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]
*
*/
public DG1 getDG1() {
return getTyped("DG1", DG1.class);
}
/**
*
* Returns a specific repetition of
* DG1 () - creates it if necessary
*
* 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]
*
* @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
* @throws HL7Exception if the repetition requested is more than one
* greater than the number of existing repetitions.
*/
public DG1 getDG1(int rep) {
return getTyped("DG1", rep, DG1.class);
}
/**
*
* Returns the number of existing repetitions of DG1
*
* 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]
*/
public int getDG1Reps() {
return getReps("DG1");
}
/**
*
* Returns a non-modifiable List containing all current existing repetitions of DG1.
*
*
* Note that unlike {@link #getDG1()}, this method will not create any reps
* if none are already present, so an empty list may be returned.
*
* 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]
*/
public java.util.List getDG1All() throws HL7Exception {
return getAllAsList("DG1", DG1.class);
}
/**
*
* Inserts a specific repetition of DG1 ()
*
* 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]
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public void insertDG1(DG1 structure, int rep) throws HL7Exception {
super.insertRepetition( "DG1", structure, rep);
}
/**
*
* Inserts a specific repetition of DG1 ()
*
* 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]
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public DG1 insertDG1(int rep) throws HL7Exception {
return (DG1)super.insertRepetition("DG1", rep);
}
/**
*
* Removes a specific repetition of DG1 ()
*
* 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]
*
* @see AbstractGroup#removeRepetition(String, int)
*/
public DG1 removeDG1(int rep) throws HL7Exception {
return (DG1)super.removeRepetition("DG1", rep);
}
/**
*
* Returns
* DRG () - creates it if necessary
*
* 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]
*
*/
public DRG getDRG() {
return getTyped("DRG", DRG.class);
}
/**
*
* Returns
* the first repetition of
* PR1ROL () - creates it if necessary
*
*
*
*/
public ADT_AXX_PR1ROL getPR1ROL() {
return getTyped("PR1ROL", ADT_AXX_PR1ROL.class);
}
/**
*
* Returns a specific repetition of
* PR1ROL () - creates it if necessary
*
*
*
* @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
* @throws HL7Exception if the repetition requested is more than one
* greater than the number of existing repetitions.
*/
public ADT_AXX_PR1ROL getPR1ROL(int rep) {
return getTyped("PR1ROL", rep, ADT_AXX_PR1ROL.class);
}
/**
*
* Returns the number of existing repetitions of PR1ROL
*
*
*/
public int getPR1ROLReps() {
return getReps("PR1ROL");
}
/**
*
* Returns a non-modifiable List containing all current existing repetitions of PR1ROL.
*
*
* Note that unlike {@link #getPR1ROL()}, this method will not create any reps
* if none are already present, so an empty list may be returned.
*
*
*/
public java.util.List getPR1ROLAll() throws HL7Exception {
return getAllAsList("PR1ROL", ADT_AXX_PR1ROL.class);
}
/**
*
* Inserts a specific repetition of PR1ROL ()
*
*
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public void insertPR1ROL(ADT_AXX_PR1ROL structure, int rep) throws HL7Exception {
super.insertRepetition( "PR1ROL", structure, rep);
}
/**
*
* Inserts a specific repetition of PR1ROL ()
*
*
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public ADT_AXX_PR1ROL insertPR1ROL(int rep) throws HL7Exception {
return (ADT_AXX_PR1ROL)super.insertRepetition("PR1ROL", rep);
}
/**
*
* Removes a specific repetition of PR1ROL ()
*
*
*
* @see AbstractGroup#removeRepetition(String, int)
*/
public ADT_AXX_PR1ROL removePR1ROL(int rep) throws HL7Exception {
return (ADT_AXX_PR1ROL)super.removeRepetition("PR1ROL", rep);
}
/**
*
* Returns
* the first repetition of
* GT1 () - creates it if necessary
*
* 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]
*
*/
public GT1 getGT1() {
return getTyped("GT1", GT1.class);
}
/**
*
* Returns a specific repetition of
* GT1 () - creates it if necessary
*
* 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]
*
* @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
* @throws HL7Exception if the repetition requested is more than one
* greater than the number of existing repetitions.
*/
public GT1 getGT1(int rep) {
return getTyped("GT1", rep, GT1.class);
}
/**
*
* Returns the number of existing repetitions of GT1
*
* 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]
*/
public int getGT1Reps() {
return getReps("GT1");
}
/**
*
* Returns a non-modifiable List containing all current existing repetitions of GT1.
*
*
* Note that unlike {@link #getGT1()}, this method will not create any reps
* if none are already present, so an empty list may be returned.
*
* 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]
*/
public java.util.List getGT1All() throws HL7Exception {
return getAllAsList("GT1", GT1.class);
}
/**
*
* Inserts a specific repetition of GT1 ()
*
* 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]
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public void insertGT1(GT1 structure, int rep) throws HL7Exception {
super.insertRepetition( "GT1", structure, rep);
}
/**
*
* Inserts a specific repetition of GT1 ()
*
* 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]
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public GT1 insertGT1(int rep) throws HL7Exception {
return (GT1)super.insertRepetition("GT1", rep);
}
/**
*
* Removes a specific repetition of GT1 ()
*
* 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]
*
* @see AbstractGroup#removeRepetition(String, int)
*/
public GT1 removeGT1(int rep) throws HL7Exception {
return (GT1)super.removeRepetition("GT1", rep);
}
/**
*
* Returns
* the first repetition of
* IN1IN2IN3 () - creates it if necessary
*
*
*
*/
public ADT_AXX_IN1IN2IN3 getIN1IN2IN3() {
return getTyped("IN1IN2IN3", ADT_AXX_IN1IN2IN3.class);
}
/**
*
* Returns a specific repetition of
* IN1IN2IN3 () - creates it if necessary
*
*
*
* @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
* @throws HL7Exception if the repetition requested is more than one
* greater than the number of existing repetitions.
*/
public ADT_AXX_IN1IN2IN3 getIN1IN2IN3(int rep) {
return getTyped("IN1IN2IN3", rep, ADT_AXX_IN1IN2IN3.class);
}
/**
*
* Returns the number of existing repetitions of IN1IN2IN3
*
*
*/
public int getIN1IN2IN3Reps() {
return getReps("IN1IN2IN3");
}
/**
*
* Returns a non-modifiable List containing all current existing repetitions of IN1IN2IN3.
*
*
* Note that unlike {@link #getIN1IN2IN3()}, this method will not create any reps
* if none are already present, so an empty list may be returned.
*
*
*/
public java.util.List getIN1IN2IN3All() throws HL7Exception {
return getAllAsList("IN1IN2IN3", ADT_AXX_IN1IN2IN3.class);
}
/**
*
* Inserts a specific repetition of IN1IN2IN3 ()
*
*
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public void insertIN1IN2IN3(ADT_AXX_IN1IN2IN3 structure, int rep) throws HL7Exception {
super.insertRepetition( "IN1IN2IN3", structure, rep);
}
/**
*
* Inserts a specific repetition of IN1IN2IN3 ()
*
*
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public ADT_AXX_IN1IN2IN3 insertIN1IN2IN3(int rep) throws HL7Exception {
return (ADT_AXX_IN1IN2IN3)super.insertRepetition("IN1IN2IN3", rep);
}
/**
*
* Removes a specific repetition of IN1IN2IN3 ()
*
*
*
* @see AbstractGroup#removeRepetition(String, int)
*/
public ADT_AXX_IN1IN2IN3 removeIN1IN2IN3(int rep) throws HL7Exception {
return (ADT_AXX_IN1IN2IN3)super.removeRepetition("IN1IN2IN3", rep);
}
/**
*
* Returns
* ACC () - creates it if necessary
*
* 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]
*
*/
public ACC getACC() {
return getTyped("ACC", ACC.class);
}
/**
*
* Returns
* UB1 () - creates it if necessary
*
* 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]
*
*/
public UB1 getUB1() {
return getTyped("UB1", UB1.class);
}
/**
*
* Returns
* UB2 () - creates it if necessary
*
* 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]
*
*/
public UB2 getUB2() {
return getTyped("UB2", UB2.class);
}
/**
*
* Returns
* PID2 () - creates it if necessary
*
* Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
*
*/
public PID getPID2() {
return getTyped("PID2", PID.class);
}
/**
*
* Returns
* PD12 () - creates it if necessary
*
* Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
*
*/
public PD1 getPD12() {
return getTyped("PD12", PD1.class);
}
/**
*
* Returns
* PV12 () - creates it if necessary
*
* Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
*
*/
public PV1 getPV12() {
return getTyped("PV12", PV1.class);
}
/**
*
* Returns
* PV22 () - creates it if necessary
*
* Used for the following structures: [ADT_A17]
*
*/
public PV2 getPV22() {
return getTyped("PV22", PV2.class);
}
/**
*
* Returns
* the first repetition of
* DB12 () - creates it if necessary
*
* Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
*
*/
public DB1 getDB12() {
return getTyped("DB12", DB1.class);
}
/**
*
* Returns a specific repetition of
* DB12 () - creates it if necessary
*
* Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
*
* @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
* @throws HL7Exception if the repetition requested is more than one
* greater than the number of existing repetitions.
*/
public DB1 getDB12(int rep) {
return getTyped("DB12", rep, DB1.class);
}
/**
*
* Returns the number of existing repetitions of DB12
*
* Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
*/
public int getDB12Reps() {
return getReps("DB12");
}
/**
*
* Returns a non-modifiable List containing all current existing repetitions of DB12.
*
*
* Note that unlike {@link #getDB12()}, this method will not create any reps
* if none are already present, so an empty list may be returned.
*
* Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
*/
public java.util.List getDB12All() throws HL7Exception {
return getAllAsList("DB12", DB1.class);
}
/**
*
* Inserts a specific repetition of DB12 ()
*
* Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public void insertDB12(DB1 structure, int rep) throws HL7Exception {
super.insertRepetition( "DB12", structure, rep);
}
/**
*
* Inserts a specific repetition of DB12 ()
*
* Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public DB1 insertDB12(int rep) throws HL7Exception {
return (DB1)super.insertRepetition("DB12", rep);
}
/**
*
* Removes a specific repetition of DB12 ()
*
* Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
*
* @see AbstractGroup#removeRepetition(String, int)
*/
public DB1 removeDB12(int rep) throws HL7Exception {
return (DB1)super.removeRepetition("DB12", rep);
}
/**
*
* Returns
* the first repetition of
* OBX2 () - creates it if necessary
*
* Used for the following structures: [ADT_A17]
*
*/
public OBX getOBX2() {
return getTyped("OBX2", OBX.class);
}
/**
*
* Returns a specific repetition of
* OBX2 () - creates it if necessary
*
* Used for the following structures: [ADT_A17]
*
* @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
* @throws HL7Exception if the repetition requested is more than one
* greater than the number of existing repetitions.
*/
public OBX getOBX2(int rep) {
return getTyped("OBX2", rep, OBX.class);
}
/**
*
* Returns the number of existing repetitions of OBX2
*
* Used for the following structures: [ADT_A17]
*/
public int getOBX2Reps() {
return getReps("OBX2");
}
/**
*
* Returns a non-modifiable List containing all current existing repetitions of OBX2.
*
*
* Note that unlike {@link #getOBX2()}, this method will not create any reps
* if none are already present, so an empty list may be returned.
*
* Used for the following structures: [ADT_A17]
*/
public java.util.List getOBX2All() throws HL7Exception {
return getAllAsList("OBX2", OBX.class);
}
/**
*
* Inserts a specific repetition of OBX2 ()
*
* Used for the following structures: [ADT_A17]
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public void insertOBX2(OBX structure, int rep) throws HL7Exception {
super.insertRepetition( "OBX2", structure, rep);
}
/**
*
* Inserts a specific repetition of OBX2 ()
*
* Used for the following structures: [ADT_A17]
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public OBX insertOBX2(int rep) throws HL7Exception {
return (OBX)super.insertRepetition("OBX2", rep);
}
/**
*
* Removes a specific repetition of OBX2 ()
*
* Used for the following structures: [ADT_A17]
*
* @see AbstractGroup#removeRepetition(String, int)
*/
public OBX removeOBX2(int rep) throws HL7Exception {
return (OBX)super.removeRepetition("OBX2", rep);
}
/**
*
* Returns
* NPU () - creates it if necessary
*
* Used for the following structures: [ADT_A20]
*
*/
public NPU getNPU() {
return getTyped("NPU", NPU.class);
}
/**
*
* Returns
* the first repetition of
* PIDPD1MRGPV1 () - creates it if necessary
*
*
*
*/
public ADT_AXX_PIDPD1MRGPV1 getPIDPD1MRGPV1() {
return getTyped("PIDPD1MRGPV1", ADT_AXX_PIDPD1MRGPV1.class);
}
/**
*
* Returns a specific repetition of
* PIDPD1MRGPV1 () - creates it if necessary
*
*
*
* @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
* @throws HL7Exception if the repetition requested is more than one
* greater than the number of existing repetitions.
*/
public ADT_AXX_PIDPD1MRGPV1 getPIDPD1MRGPV1(int rep) {
return getTyped("PIDPD1MRGPV1", rep, ADT_AXX_PIDPD1MRGPV1.class);
}
/**
*
* Returns the number of existing repetitions of PIDPD1MRGPV1
*
*
*/
public int getPIDPD1MRGPV1Reps() {
return getReps("PIDPD1MRGPV1");
}
/**
*
* Returns a non-modifiable List containing all current existing repetitions of PIDPD1MRGPV1.
*
*
* Note that unlike {@link #getPIDPD1MRGPV1()}, this method will not create any reps
* if none are already present, so an empty list may be returned.
*
*
*/
public java.util.List getPIDPD1MRGPV1All() throws HL7Exception {
return getAllAsList("PIDPD1MRGPV1", ADT_AXX_PIDPD1MRGPV1.class);
}
/**
*
* Inserts a specific repetition of PIDPD1MRGPV1 ()
*
*
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public void insertPIDPD1MRGPV1(ADT_AXX_PIDPD1MRGPV1 structure, int rep) throws HL7Exception {
super.insertRepetition( "PIDPD1MRGPV1", structure, rep);
}
/**
*
* Inserts a specific repetition of PIDPD1MRGPV1 ()
*
*
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public ADT_AXX_PIDPD1MRGPV1 insertPIDPD1MRGPV1(int rep) throws HL7Exception {
return (ADT_AXX_PIDPD1MRGPV1)super.insertRepetition("PIDPD1MRGPV1", rep);
}
/**
*
* Removes a specific repetition of PIDPD1MRGPV1 ()
*
*
*
* @see AbstractGroup#removeRepetition(String, int)
*/
public ADT_AXX_PIDPD1MRGPV1 removePIDPD1MRGPV1(int rep) throws HL7Exception {
return (ADT_AXX_PIDPD1MRGPV1)super.removeRepetition("PIDPD1MRGPV1", rep);
}
/**
*
* Returns
* the first repetition of
* PIDPD1MRG () - creates it if necessary
*
*
*
*/
public ADT_AXX_PIDPD1MRG getPIDPD1MRG() {
return getTyped("PIDPD1MRG", ADT_AXX_PIDPD1MRG.class);
}
/**
*
* Returns a specific repetition of
* PIDPD1MRG () - creates it if necessary
*
*
*
* @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
* @throws HL7Exception if the repetition requested is more than one
* greater than the number of existing repetitions.
*/
public ADT_AXX_PIDPD1MRG getPIDPD1MRG(int rep) {
return getTyped("PIDPD1MRG", rep, ADT_AXX_PIDPD1MRG.class);
}
/**
*
* Returns the number of existing repetitions of PIDPD1MRG
*
*
*/
public int getPIDPD1MRGReps() {
return getReps("PIDPD1MRG");
}
/**
*
* Returns a non-modifiable List containing all current existing repetitions of PIDPD1MRG.
*
*
* Note that unlike {@link #getPIDPD1MRG()}, this method will not create any reps
* if none are already present, so an empty list may be returned.
*
*
*/
public java.util.List getPIDPD1MRGAll() throws HL7Exception {
return getAllAsList("PIDPD1MRG", ADT_AXX_PIDPD1MRG.class);
}
/**
*
* Inserts a specific repetition of PIDPD1MRG ()
*
*
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public void insertPIDPD1MRG(ADT_AXX_PIDPD1MRG structure, int rep) throws HL7Exception {
super.insertRepetition( "PIDPD1MRG", structure, rep);
}
/**
*
* Inserts a specific repetition of PIDPD1MRG ()
*
*
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public ADT_AXX_PIDPD1MRG insertPIDPD1MRG(int rep) throws HL7Exception {
return (ADT_AXX_PIDPD1MRG)super.insertRepetition("PIDPD1MRG", rep);
}
/**
*
* Removes a specific repetition of PIDPD1MRG ()
*
*
*
* @see AbstractGroup#removeRepetition(String, int)
*/
public ADT_AXX_PIDPD1MRG removePIDPD1MRG(int rep) throws HL7Exception {
return (ADT_AXX_PIDPD1MRG)super.removeRepetition("PIDPD1MRG", rep);
}
/**
*
* Returns
* the first repetition of
* MRGPV1 () - creates it if necessary
*
*
*
*/
public ADT_AXX_MRGPV1 getMRGPV1() {
return getTyped("MRGPV1", ADT_AXX_MRGPV1.class);
}
/**
*
* Returns a specific repetition of
* MRGPV1 () - creates it if necessary
*
*
*
* @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
* @throws HL7Exception if the repetition requested is more than one
* greater than the number of existing repetitions.
*/
public ADT_AXX_MRGPV1 getMRGPV1(int rep) {
return getTyped("MRGPV1", rep, ADT_AXX_MRGPV1.class);
}
/**
*
* Returns the number of existing repetitions of MRGPV1
*
*
*/
public int getMRGPV1Reps() {
return getReps("MRGPV1");
}
/**
*
* Returns a non-modifiable List containing all current existing repetitions of MRGPV1.
*
*
* Note that unlike {@link #getMRGPV1()}, this method will not create any reps
* if none are already present, so an empty list may be returned.
*
*
*/
public java.util.List getMRGPV1All() throws HL7Exception {
return getAllAsList("MRGPV1", ADT_AXX_MRGPV1.class);
}
/**
*
* Inserts a specific repetition of MRGPV1 ()
*
*
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public void insertMRGPV1(ADT_AXX_MRGPV1 structure, int rep) throws HL7Exception {
super.insertRepetition( "MRGPV1", structure, rep);
}
/**
*
* Inserts a specific repetition of MRGPV1 ()
*
*
*
* @see AbstractGroup#insertRepetition(Structure, int)
*/
public ADT_AXX_MRGPV1 insertMRGPV1(int rep) throws HL7Exception {
return (ADT_AXX_MRGPV1)super.insertRepetition("MRGPV1", rep);
}
/**
*
* Removes a specific repetition of MRGPV1 ()
*
*
*
* @see AbstractGroup#removeRepetition(String, int)
*/
public ADT_AXX_MRGPV1 removeMRGPV1(int rep) throws HL7Exception {
return (ADT_AXX_MRGPV1)super.removeRepetition("MRGPV1", rep);
}
}