/** * <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 ARV * </p> * */ public int getARVReps() { return getReps("ARV"); }
/** * <p> * Returns * UAC (User Authentication Credential Segment) - creates it if necessary * </p> * * */ public UAC getUAC() { return getTyped("UAC", UAC.class); }
/** * Creates a new ADT_A02 message with custom ModelClassFactory. */ public ADT_A02(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(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(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(PDA.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A02 - this is probably a bug in the source code generator.", e); } }
/** * Creates a new ADT_A02 message with custom ModelClassFactory. */ public ADT_A02(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(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(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(PDA.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A02 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns * the first repetition of * ROL (Role) - creates it if necessary * </p> * * */ public ROL getROL() { return getTyped("ROL", ROL.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 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 * PID (Patient Identification) - creates it if necessary * </p> * * */ public PID getPID() { return getTyped("PID", PID.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 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 first repetition of * ROL (Role) - creates it if necessary * </p> * * */ public ROL getROL() { return getTyped("ROL", ROL.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 * PV1 (Patient Visit) - creates it if necessary * </p> * * */ public PV1 getPV1() { return getTyped("PV1", PV1.class); }
/** * <p> * Returns the number of existing repetitions of ARV2 * </p> * */ public int getARV2Reps() { return getReps("ARV2"); }
/** * <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 * PV2 (Patient Visit - Additional Information) - creates it if necessary * </p> * * */ public PV2 getPV2() { return getTyped("PV2", PV2.class); }