All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ca.uhn.hl7v2.model.v23.message.ADT_AXX Maven / Gradle / Ivy

The newest version!
/*
 * 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.v23.message;

import ca.uhn.hl7v2.model.v23.group.*;
import ca.uhn.hl7v2.model.v23.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_PROCEDURE () 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_INSURANCE () 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: DRG () optional
    • Used for the following structures: [ADT_A06, ADT_A07]
  • *
  • 21: PID () optional
    • Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
  • *
  • 22: PD1 () optional
    • Used for the following structures: [ADT_A17, ADT_A24]
  • *
  • 23: PV1 () optional
    • Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
  • *
  • 24: PV2 () optional
    • Used for the following structures: [ADT_A17]
  • *
  • 25: DB1 () optional repeating
    • Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
  • *
  • 26: OBX () optional repeating
    • Used for the following structures: [ADT_A17]
  • *
  • 27: NPU () optional
    • Used for the following structures: [ADT_A20]
  • *
  • 28: ADT_AXX_PATIENT () optional repeating
  • *
  • 29: ADT_AXX_MERGE_INFO () 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_PROCEDURE.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_INSURANCE.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(DRG.class, false, false); this.addSuperstructureApplication("DRG2", "ADT_A06"); this.addSuperstructureApplication("DRG2", "ADT_A07"); 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.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_PATIENT.class, false, true); this.add(ADT_AXX_MERGE_INFO.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("PROCEDURE"); retVal.add("GT1"); retVal.add("INSURANCE"); 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("PROCEDURE"); 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("PROCEDURE"); retVal.add("GT1"); retVal.add("INSURANCE"); 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("PROCEDURE"); retVal.add("GT1"); retVal.add("INSURANCE"); 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("DRG"); retVal.add("OBX"); retVal.add("AL1"); retVal.add("DG1"); retVal.add("DRG2"); retVal.add("PROCEDURE"); retVal.add("GT1"); retVal.add("INSURANCE"); 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("DRG"); retVal.add("OBX"); retVal.add("AL1"); retVal.add("DG1"); retVal.add("DRG2"); retVal.add("PROCEDURE"); retVal.add("GT1"); retVal.add("INSURANCE"); 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("PROCEDURE"); retVal.add("GT1"); retVal.add("INSURANCE"); 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("PROCEDURE"); retVal.add("GT1"); retVal.add("INSURANCE"); 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("PROCEDURE"); retVal.add("GT1"); retVal.add("INSURANCE"); 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("PROCEDURE"); retVal.add("GT1"); retVal.add("INSURANCE"); 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("PROCEDURE"); retVal.add("GT1"); retVal.add("INSURANCE"); 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("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("PATIENT"); } if ( "ADT_A40".equals(theStructure) ) { retVal.add("MSH"); retVal.add("EVN"); retVal.add("PATIENT"); } if ( "ADT_A41".equals(theStructure) ) { retVal.add("MSH"); retVal.add("EVN"); retVal.add("PATIENT"); } if ( "ADT_A42".equals(theStructure) ) { retVal.add("MSH"); retVal.add("EVN"); retVal.add("PATIENT"); } if ( "ADT_A43".equals(theStructure) ) { retVal.add("MSH"); retVal.add("EVN"); retVal.add("PATIENT"); } if ( "ADT_A44".equals(theStructure) ) { retVal.add("MSH"); retVal.add("EVN"); retVal.add("PATIENT"); } if ( "ADT_A45".equals(theStructure) ) { retVal.add("MSH"); retVal.add("EVN"); retVal.add("PID"); retVal.add("PD1"); retVal.add("MERGE_INFO"); } 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" */ public String getVersion() { return "2.3"; } /** *

* 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 * PROCEDURE () - creates it if necessary *

* * */ public ADT_AXX_PROCEDURE getPROCEDURE() { return getTyped("PROCEDURE", ADT_AXX_PROCEDURE.class); } /** *

* Returns a specific repetition of * PROCEDURE () - 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_PROCEDURE getPROCEDURE(int rep) { return getTyped("PROCEDURE", rep, ADT_AXX_PROCEDURE.class); } /** *

* Returns the number of existing repetitions of PROCEDURE *

* */ public int getPROCEDUREReps() { return getReps("PROCEDURE"); } /** *

* Returns a non-modifiable List containing all current existing repetitions of PROCEDURE. *

*

* Note that unlike {@link #getPROCEDURE()}, this method will not create any reps * if none are already present, so an empty list may be returned. *

* */ public java.util.List getPROCEDUREAll() throws HL7Exception { return getAllAsList("PROCEDURE", ADT_AXX_PROCEDURE.class); } /** *

* Inserts a specific repetition of PROCEDURE () *

* * * @see AbstractGroup#insertRepetition(Structure, int) */ public void insertPROCEDURE(ADT_AXX_PROCEDURE structure, int rep) throws HL7Exception { super.insertRepetition( "PROCEDURE", structure, rep); } /** *

* Inserts a specific repetition of PROCEDURE () *

* * * @see AbstractGroup#insertRepetition(Structure, int) */ public ADT_AXX_PROCEDURE insertPROCEDURE(int rep) throws HL7Exception { return (ADT_AXX_PROCEDURE)super.insertRepetition("PROCEDURE", rep); } /** *

* Removes a specific repetition of PROCEDURE () *

* * * @see AbstractGroup#removeRepetition(String, int) */ public ADT_AXX_PROCEDURE removePROCEDURE(int rep) throws HL7Exception { return (ADT_AXX_PROCEDURE)super.removeRepetition("PROCEDURE", 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 * INSURANCE () - creates it if necessary *

* * */ public ADT_AXX_INSURANCE getINSURANCE() { return getTyped("INSURANCE", ADT_AXX_INSURANCE.class); } /** *

* Returns a specific repetition of * INSURANCE () - 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_INSURANCE getINSURANCE(int rep) { return getTyped("INSURANCE", rep, ADT_AXX_INSURANCE.class); } /** *

* Returns the number of existing repetitions of INSURANCE *

* */ public int getINSURANCEReps() { return getReps("INSURANCE"); } /** *

* Returns a non-modifiable List containing all current existing repetitions of INSURANCE. *

*

* Note that unlike {@link #getINSURANCE()}, this method will not create any reps * if none are already present, so an empty list may be returned. *

* */ public java.util.List getINSURANCEAll() throws HL7Exception { return getAllAsList("INSURANCE", ADT_AXX_INSURANCE.class); } /** *

* Inserts a specific repetition of INSURANCE () *

* * * @see AbstractGroup#insertRepetition(Structure, int) */ public void insertINSURANCE(ADT_AXX_INSURANCE structure, int rep) throws HL7Exception { super.insertRepetition( "INSURANCE", structure, rep); } /** *

* Inserts a specific repetition of INSURANCE () *

* * * @see AbstractGroup#insertRepetition(Structure, int) */ public ADT_AXX_INSURANCE insertINSURANCE(int rep) throws HL7Exception { return (ADT_AXX_INSURANCE)super.insertRepetition("INSURANCE", rep); } /** *

* Removes a specific repetition of INSURANCE () *

* * * @see AbstractGroup#removeRepetition(String, int) */ public ADT_AXX_INSURANCE removeINSURANCE(int rep) throws HL7Exception { return (ADT_AXX_INSURANCE)super.removeRepetition("INSURANCE", 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 * DRG2 () - creates it if necessary *

* Used for the following structures: [ADT_A06, ADT_A07] * */ public DRG getDRG2() { return getTyped("DRG2", DRG.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] * */ 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 * PATIENT () - creates it if necessary *

* * */ public ADT_AXX_PATIENT getPATIENT() { return getTyped("PATIENT", ADT_AXX_PATIENT.class); } /** *

* Returns a specific repetition of * PATIENT () - 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_PATIENT getPATIENT(int rep) { return getTyped("PATIENT", rep, ADT_AXX_PATIENT.class); } /** *

* Returns the number of existing repetitions of PATIENT *

* */ public int getPATIENTReps() { return getReps("PATIENT"); } /** *

* Returns a non-modifiable List containing all current existing repetitions of PATIENT. *

*

* Note that unlike {@link #getPATIENT()}, this method will not create any reps * if none are already present, so an empty list may be returned. *

* */ public java.util.List getPATIENTAll() throws HL7Exception { return getAllAsList("PATIENT", ADT_AXX_PATIENT.class); } /** *

* Inserts a specific repetition of PATIENT () *

* * * @see AbstractGroup#insertRepetition(Structure, int) */ public void insertPATIENT(ADT_AXX_PATIENT structure, int rep) throws HL7Exception { super.insertRepetition( "PATIENT", structure, rep); } /** *

* Inserts a specific repetition of PATIENT () *

* * * @see AbstractGroup#insertRepetition(Structure, int) */ public ADT_AXX_PATIENT insertPATIENT(int rep) throws HL7Exception { return (ADT_AXX_PATIENT)super.insertRepetition("PATIENT", rep); } /** *

* Removes a specific repetition of PATIENT () *

* * * @see AbstractGroup#removeRepetition(String, int) */ public ADT_AXX_PATIENT removePATIENT(int rep) throws HL7Exception { return (ADT_AXX_PATIENT)super.removeRepetition("PATIENT", rep); } /** *

* Returns * the first repetition of * MERGE_INFO () - creates it if necessary *

* * */ public ADT_AXX_MERGE_INFO getMERGE_INFO() { return getTyped("MERGE_INFO", ADT_AXX_MERGE_INFO.class); } /** *

* Returns a specific repetition of * MERGE_INFO () - 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_MERGE_INFO getMERGE_INFO(int rep) { return getTyped("MERGE_INFO", rep, ADT_AXX_MERGE_INFO.class); } /** *

* Returns the number of existing repetitions of MERGE_INFO *

* */ public int getMERGE_INFOReps() { return getReps("MERGE_INFO"); } /** *

* Returns a non-modifiable List containing all current existing repetitions of MERGE_INFO. *

*

* Note that unlike {@link #getMERGE_INFO()}, this method will not create any reps * if none are already present, so an empty list may be returned. *

* */ public java.util.List getMERGE_INFOAll() throws HL7Exception { return getAllAsList("MERGE_INFO", ADT_AXX_MERGE_INFO.class); } /** *

* Inserts a specific repetition of MERGE_INFO () *

* * * @see AbstractGroup#insertRepetition(Structure, int) */ public void insertMERGE_INFO(ADT_AXX_MERGE_INFO structure, int rep) throws HL7Exception { super.insertRepetition( "MERGE_INFO", structure, rep); } /** *

* Inserts a specific repetition of MERGE_INFO () *

* * * @see AbstractGroup#insertRepetition(Structure, int) */ public ADT_AXX_MERGE_INFO insertMERGE_INFO(int rep) throws HL7Exception { return (ADT_AXX_MERGE_INFO)super.insertRepetition("MERGE_INFO", rep); } /** *

* Removes a specific repetition of MERGE_INFO () *

* * * @see AbstractGroup#removeRepetition(String, int) */ public ADT_AXX_MERGE_INFO removeMERGE_INFO(int rep) throws HL7Exception { return (ADT_AXX_MERGE_INFO)super.removeRepetition("MERGE_INFO", rep); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy