/** * <p> * Returns the number of existing repetitions of ROL2 * </p> * */ public int getROL2Reps() { return getReps("ROL2"); }
/** * <p> * Returns * the first repetition of * DG1 (Diagnosis) - creates it if necessary * </p> * * */ public DG1 getDG1() { return getTyped("DG1", DG1.class); }
/** * Creates a new ADT_A01 message with custom ModelClassFactory. */ public ADT_A01(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of ROL. * <p> * <p> * Note that unlike {@link #getROL()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<ROL> getROLAll() throws HL7Exception { return getAllAsList("ROL", ROL.class); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(SFT.class, false, true); this.add(UAC.class, false, false); this.add(EVN.class, true, false); this.add(PID.class, true, false); this.add(PD1.class, false, false); this.add(ARV.class, false, true); this.add(ROL.class, false, true); this.add(NK1.class, false, true); this.add(PV1.class, true, false); this.add(PV2.class, false, false); this.add(ARV.class, false, true); this.add(ROL.class, false, true); this.add(DB1.class, false, true); this.add(OBX.class, false, true); this.add(AL1.class, false, true); this.add(DG1.class, false, true); this.add(DRG.class, false, false); this.add(ADT_A01_PROCEDURE.class, false, true); this.add(GT1.class, false, true); this.add(ADT_A01_INSURANCE.class, false, true); this.add(ACC.class, false, false); this.add(UB1.class, false, false); this.add(UB2.class, false, false); this.add(PDA.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A01 - this is probably a bug in the source code generator.", e);
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of ROL2. * <p> * <p> * Note that unlike {@link #getROL2()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<ROL> getROL2All() throws HL7Exception { return getAllAsList("ROL2", ROL.class); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(SFT.class, false, true); this.add(UAC.class, false, false); this.add(EVN.class, true, false); this.add(PID.class, true, false); this.add(PD1.class, false, false); this.add(ARV.class, false, true); this.add(ROL.class, false, true); this.add(NK1.class, false, true); this.add(PV1.class, true, false); this.add(PV2.class, false, false); this.add(ARV.class, false, true); this.add(ROL.class, false, true); this.add(DB1.class, false, true); this.add(OBX.class, false, true); this.add(AL1.class, false, true); this.add(DG1.class, false, true); this.add(DRG.class, false, false); this.add(ADT_A01_PROCEDURE.class, false, true); this.add(GT1.class, false, true); this.add(ADT_A01_INSURANCE.class, false, true); this.add(ACC.class, false, false); this.add(UB1.class, false, false); this.add(UB2.class, false, false); this.add(PDA.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A01 - this is probably a bug in the source code generator.", e);
/** * <p> * Returns * UB2 (UB92 Data) - creates it if necessary * </p> * * */ public UB2 getUB2() { return getTyped("UB2", UB2.class); }
/** * <p> * Returns the number of existing repetitions of DB1 * </p> * */ public int getDB1Reps() { return getReps("DB1"); }
/** * <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> * */ public java.util.List<NK1> getNK1All() throws HL7Exception { return getAllAsList("NK1", NK1.class); }
/** * Creates a new ADT_A01 message with custom ModelClassFactory. */ public ADT_A01(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns * the first repetition of * SFT (Software Segment) - creates it if necessary * </p> * * */ public SFT getSFT() { return getTyped("SFT", SFT.class); }
/** * <p> * Returns the number of existing repetitions of OBX * </p> * */ public int getOBXReps() { return getReps("OBX"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of PROCEDURE. * <p> * <p> * Note that unlike {@link #getPROCEDURE()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<ADT_A01_PROCEDURE> getPROCEDUREAll() throws HL7Exception { return getAllAsList("PROCEDURE", ADT_A01_PROCEDURE.class); }
/** * <p> * Returns * PD1 (Patient Additional Demographic) - creates it if necessary * </p> * * */ public PD1 getPD1() { return getTyped("PD1", PD1.class); }
/** * <p> * Returns the number of existing repetitions of SFT * </p> * */ public int getSFTReps() { return getReps("SFT"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of ARV. * <p> * <p> * Note that unlike {@link #getARV()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<ARV> getARVAll() throws HL7Exception { return getAllAsList("ARV", ARV.class); }
/** * <p> * Returns * the first repetition of * DB1 (Disability) - creates it if necessary * </p> * * */ public DB1 getDB1() { return getTyped("DB1", DB1.class); }
/** * <p> * Returns the number of existing repetitions of ROL * </p> * */ public int getROLReps() { return getReps("ROL"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of ARV2. * <p> * <p> * Note that unlike {@link #getARV2()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<ARV> getARV2All() throws HL7Exception { return getAllAsList("ARV2", ARV.class); }