/** * <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> * */ public java.util.List<OBX> getOBX2All() throws HL7Exception { return getAllAsList("OBX2", OBX.class); }
/** * <p> * Returns the number of existing repetitions of DB12 * </p> * */ public int getDB12Reps() { return getReps("DB12"); }
/** * <p> * Returns * PID (Patient Identification) - creates it if necessary * </p> * * */ public PID getPID() { return getTyped("PID", PID.class); }
/** * Creates a new ADT_A17 message with custom ModelClassFactory. */ public ADT_A17(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(PV1.class, true, false); this.add(PV2.class, false, false); this.add(DB1.class, false, true); this.add(OBX.class, false, true); this.add(PID.class, true, false); this.add(PD1.class, false, false); this.add(PV1.class, true, false); this.add(PV2.class, false, false); this.add(DB1.class, false, true); this.add(OBX.class, false, true); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A17 - this is probably a bug in the source code generator.", e); } }
/** * Creates a new ADT_A17 message with custom ModelClassFactory. */ public ADT_A17(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(PV1.class, true, false); this.add(PV2.class, false, false); this.add(DB1.class, false, true); this.add(OBX.class, false, true); this.add(PID.class, true, false); this.add(PD1.class, false, false); this.add(PV1.class, true, false); this.add(PV2.class, false, false); this.add(DB1.class, false, true); this.add(OBX.class, false, true); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A17 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns * the first repetition of * OBX2 (Observation segment) - creates it if necessary * </p> * * */ public OBX getOBX2() { return getTyped("OBX2", OBX.class); }
/** * <p> * Returns the number of existing repetitions of DB12 * </p> * */ public int getDB12Reps() { return getReps("DB12"); }
/** * <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> * */ public java.util.List<OBX> getOBX2All() throws HL7Exception { return getAllAsList("OBX2", OBX.class); }
/** * <p> * Returns * the first repetition of * DB1 (Disability Segment) - 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 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 * MSH (Message header segment) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.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 DB12. * <p> * <p> * Note that unlike {@link #getDB12()}, 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> getDB12All() throws HL7Exception { return getAllAsList("DB12", DB1.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 OBX2 * </p> * */ public int getOBX2Reps() { return getReps("OBX2"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of DB12. * <p> * <p> * Note that unlike {@link #getDB12()}, 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> getDB12All() throws HL7Exception { return getAllAsList("DB12", DB1.class); }
/** * <p> * Returns * PV22 (Patient visit - additional information) - creates it if necessary * </p> * * */ public PV2 getPV22() { return getTyped("PV22", PV2.class); }