/** * <p> * Returns a non-modifiable List containing all current existing repetitions of FINANCIAL. * <p> * <p> * Note that unlike {@link #getFINANCIAL()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<DFT_P03_FINANCIAL> getFINANCIALAll() throws HL7Exception { return getAllAsList("FINANCIAL", DFT_P03_FINANCIAL.class); }
/** * <p> * Returns the number of existing repetitions of DB1 * </p> * */ public int getDB1Reps() { return getReps("DB1"); }
/** * <p> * Returns * PID (Patient identification) - creates it if necessary * </p> * * */ public PID getPID() { return getTyped("PID", PID.class); }
/** * Creates a new DFT_P03 message with custom ModelClassFactory. */ public DFT_P03(ModelClassFactory factory) { super(factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); 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(PV1.class, false, false); this.add(PV2.class, false, false); this.add(ROL.class, false, true); this.add(DB1.class, false, true); this.add(DFT_P03_COMMON_ORDER.class, false, true); this.add(DFT_P03_FINANCIAL.class, true, true); this.add(DG1.class, false, true); } catch(HL7Exception e) { log.error("Unexpected error creating DFT_P03 - this is probably a bug in the source code generator.", e); } }
/** * Creates a new DFT_P03 message with custom ModelClassFactory. */ public DFT_P03(ModelClassFactory factory) { super(factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); 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(PV1.class, false, false); this.add(PV2.class, false, false); this.add(ROL.class, false, true); this.add(DB1.class, false, true); this.add(DFT_P03_COMMON_ORDER.class, false, true); this.add(DFT_P03_FINANCIAL.class, true, true); this.add(DG1.class, false, true); } catch(HL7Exception e) { log.error("Unexpected error creating DFT_P03 - this is probably a bug in the source code generator.", e); } }
/** * <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 FINANCIAL * </p> * */ public int getFINANCIALReps() { return getReps("FINANCIAL"); }
/** * <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 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 DB1 * </p> * */ public int getDB1Reps() { return getReps("DB1"); }
/** * <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> * */ public java.util.List<DG1> getDG1All() throws HL7Exception { return getAllAsList("DG1", DG1.class); }
/** * <p> * Returns * the first repetition of * COMMON_ORDER (a Group object) - creates it if necessary * </p> * * */ public DFT_P03_COMMON_ORDER getCOMMON_ORDER() { return getTyped("COMMON_ORDER", DFT_P03_COMMON_ORDER.class); }
/** * <p> * Returns the number of existing repetitions of FINANCIAL * </p> * */ public int getFINANCIALReps() { return getReps("FINANCIAL"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of COMMON_ORDER. * <p> * <p> * Note that unlike {@link #getCOMMON_ORDER()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<DFT_P03_COMMON_ORDER> getCOMMON_ORDERAll() throws HL7Exception { return getAllAsList("COMMON_ORDER", DFT_P03_COMMON_ORDER.class); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * <p> * Returns the number of existing repetitions of DG1 * </p> * */ public int getDG1Reps() { return getReps("DG1"); }
/** * <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); }
/** * <p> * Returns * the first repetition of * ROL (Role) - creates it if necessary * </p> * * */ public ROL getROL() { return getTyped("ROL", ROL.class); }