/** * <p> * Returns a non-modifiable List containing all current existing repetitions of OBX. * <p> * <p> * Note that unlike {@link #getOBX()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<OBX> getOBXAll() throws HL7Exception { return getAllAsList("OBX", OBX.class); }
/** * <p> * Returns the number of existing repetitions of DB1 * </p> * */ public int getDB1Reps() { return getReps("DB1"); }
/** * <p> * Returns * the first repetition of * SFT (Software Segment) - creates it if necessary * </p> * * */ public SFT getSFT() { return getTyped("SFT", SFT.class); }
/** * Creates a new ADT_A15 message with custom ModelClassFactory. */ public ADT_A15(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(PV1.class, true, false); this.add(PV2.class, false, false); this.add(ROL.class, false, true); this.add(DB1.class, false, true); this.add(OBX.class, false, true); this.add(DG1.class, false, true); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A15 - this is probably a bug in the source code generator.", e); } }
/** * Creates a new ADT_A15 message with custom ModelClassFactory. */ public ADT_A15(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(PV1.class, true, false); this.add(PV2.class, false, false); this.add(ROL.class, false, true); this.add(DB1.class, false, true); this.add(OBX.class, false, true); this.add(DG1.class, false, true); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A15 - this is probably a bug in the source code generator.", e); } }
/** * <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 OBX * </p> * */ public int getOBXReps() { return getReps("OBX"); }
/** * <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 * 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 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 * DG1 (Diagnosis) - creates it if necessary * </p> * * */ public DG1 getDG1() { return getTyped("DG1", DG1.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 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 * SFT (Software Segment) - creates it if necessary * </p> * * */ public SFT getSFT() { return getTyped("SFT", SFT.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 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 * PID (Patient Identification) - creates it if necessary * </p> * * */ public PID getPID() { return getTyped("PID", PID.class); }