/** * <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); }
/** * <p> * Returns the number of existing repetitions of GT1 * </p> * */ public int getGT1Reps() { return getReps("GT1"); }
/** * <p> * Returns * the first repetition of * AL1 (Patient Allergy Information) - creates it if necessary * </p> * * */ public AL1 getAL1() { return getTyped("AL1", AL1.class); }
/** * Creates a new ADT_A03 message with custom ModelClassFactory. */ public ADT_A03(ModelClassFactory factory) { super(factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(SFT.class, false, true); this.add(EVN.class, true, false); this.add(PID.class, true, false); this.add(PD1.class, false, false); 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(ROL.class, false, true); this.add(DB1.class, false, true); this.add(AL1.class, false, true); this.add(DG1.class, false, true); this.add(DRG.class, false, false); this.add(ADT_A03_PROCEDURE.class, false, true); this.add(OBX.class, false, true); this.add(GT1.class, false, true); this.add(ADT_A03_INSURANCE.class, false, true); this.add(ACC.class, false, false); this.add(PDA.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A03 - this is probably a bug in the source code generator.", e); } }
/** * Creates a new ADT_A03 message with custom ModelClassFactory. */ public ADT_A03(ModelClassFactory factory) { super(factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(SFT.class, false, true); this.add(EVN.class, true, false); this.add(PID.class, true, false); this.add(PD1.class, false, false); 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(ROL.class, false, true); this.add(DB1.class, false, true); this.add(AL1.class, false, true); this.add(DG1.class, false, true); this.add(DRG.class, false, false); this.add(ADT_A03_PROCEDURE.class, false, true); this.add(OBX.class, false, true); this.add(GT1.class, false, true); this.add(ADT_A03_INSURANCE.class, false, true); this.add(ACC.class, false, false); this.add(PDA.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A03 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns * the first repetition of * PROCEDURE (a Group object) - creates it if necessary * </p> * * */ public ADT_A03_PROCEDURE getPROCEDURE() { return getTyped("PROCEDURE", ADT_A03_PROCEDURE.class); }
/** * <p> * Returns the number of existing repetitions of ROL2 * </p> * */ public int getROL2Reps() { return getReps("ROL2"); }
/** * <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); }
/** * <p> * Returns * the first repetition of * OBX (Observation/Result) - creates it if necessary * </p> * * */ public OBX getOBX() { return getTyped("OBX", OBX.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 DB1. * <p> * <p> * Note that unlike {@link #getDB1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<DB1> getDB1All() throws HL7Exception { return getAllAsList("DB1", DB1.class); }
/** * <p> * Returns * the first repetition of * NK1 (Next of Kin / Associated Parties) - creates it if necessary * </p> * * */ public NK1 getNK1() { return getTyped("NK1", NK1.class); }
/** * <p> * Returns the number of existing repetitions of PROCEDURE * </p> * */ public int getPROCEDUREReps() { return getReps("PROCEDURE"); }
/** * <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_A03_PROCEDURE> getPROCEDUREAll() throws HL7Exception { return getAllAsList("PROCEDURE", ADT_A03_PROCEDURE.class); }
/** * <p> * Returns * PV1 (Patient Visit) - creates it if necessary * </p> * * */ public PV1 getPV1() { return getTyped("PV1", PV1.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 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> * */ public java.util.List<AL1> getAL1All() throws HL7Exception { return getAllAsList("AL1", AL1.class); }
/** * <p> * Returns * the first repetition of * GT1 (Guarantor) - creates it if necessary * </p> * * */ public GT1 getGT1() { return getTyped("GT1", GT1.class); }