/** * <p> * Returns a non-modifiable List containing all current existing repetitions of GT1. * <p> * <p> * Note that unlike {@link #getGT1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * 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<GT1> getGT1All() throws HL7Exception { return getAllAsList("GT1", GT1.class); }
/** * <p> * Returns the number of existing repetitions of INSURANCE * </p> * */ public int getINSURANCEReps() { return getReps("INSURANCE"); }
/** * <p> * Returns * MSH () - creates it if necessary * </p> * 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] * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
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");
/** * Creates a new ADT_AXX message with custom ModelClassFactory. */ public ADT_AXX(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns * ACC () - creates it if necessary * </p> * 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); }
/** * <p> * Returns the number of existing repetitions of OBX2 * </p> * Used for the following structures: [ADT_A17] */ public int getOBX2Reps() { return getReps("OBX2"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of OBX2. * <p> * <p> * Note that unlike {@link #getOBX2()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * Used for the following structures: [ADT_A17] */ public java.util.List<OBX> getOBX2All() throws HL7Exception { return getAllAsList("OBX2", OBX.class); }
/** * <p> * Returns * PV2 () - creates it if necessary * </p> * 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] * */ public PV2 getPV2() { return getTyped("PV2", PV2.class); }
/** * <p> * Returns the number of existing repetitions of DG1 * </p> * Used for the following structures: [ADT_A01, 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] */ public int getDG1Reps() { return getReps("DG1"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of DG1. * <p> * <p> * Note that unlike {@link #getDG1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * Used for the following structures: [ADT_A01, 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] */ public java.util.List<DG1> getDG1All() throws HL7Exception { return getAllAsList("DG1", DG1.class); }
/** * <p> * Returns * the first repetition of * OBX () - creates it if necessary * </p> * 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] * */ public OBX getOBX() { return getTyped("OBX", OBX.class); }
/** * <p> * Returns the number of existing repetitions of GT1 * </p> * 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"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of NK1. * <p> * <p> * Note that unlike {@link #getNK1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * 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<NK1> getNK1All() throws HL7Exception { return getAllAsList("NK1", NK1.class); }
/** * <p> * Returns * the first repetition of * INSURANCE () - creates it if necessary * </p> * * */ public ADT_AXX_INSURANCE getINSURANCE() { return getTyped("INSURANCE", ADT_AXX_INSURANCE.class); }
/** * <p> * Returns the number of existing repetitions of NK1 * </p> * 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"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of AL1. * <p> * <p> * Note that unlike {@link #getAL1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * 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<AL1> getAL1All() throws HL7Exception { return getAllAsList("AL1", AL1.class); }
/** * <p> * Returns * the first repetition of * OBX2 () - creates it if necessary * </p> * Used for the following structures: [ADT_A17] * */ public OBX getOBX2() { return getTyped("OBX2", OBX.class); }
/** * <p> * Returns the number of existing repetitions of OBX * </p> * 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] */ public int getOBXReps() { return getReps("OBX"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of PR1. * <p> * <p> * Note that unlike {@link #getPR1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * 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<PR1> getPR1All() throws HL7Exception { return getAllAsList("PR1", PR1.class); }