/** * <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); }
/** * Returns the number of existing repetitions of NK1 */ public int getNK1Reps() { return getReps("NK1"); }
/** * Returns * PID (Patient Identification) - creates it if necessary */ public PID getPID() { PID retVal = getTyped("PID", PID.class); return retVal; }
/** * Creates a new ADR_A19_QUERY_RESPONSE group */ public ADR_A19_QUERY_RESPONSE(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(EVN.class, false, false, false); this.add(PID.class, true, false, false); this.add(PD1.class, false, false, false); this.add(ARV.class, false, true, false); this.add(ROL.class, false, true, false); this.add(NK1.class, false, true, false); this.add(PV1.class, true, false, false); this.add(PV2.class, false, false, false); this.add(ARV.class, false, true, false); this.add(ROL.class, false, true, false); this.add(DB1.class, false, true, false); this.add(OBX.class, false, true, false); this.add(AL1.class, false, true, false); this.add(DG1.class, false, true, false); this.add(DRG.class, false, false, false); this.add(ADR_A19_PROCEDURE.class, false, true, false); this.add(GT1.class, false, true, false); this.add(ADR_A19_INSURANCE.class, false, true, false); this.add(ACC.class, false, false, false); this.add(UB1.class, false, false, false); this.add(UB2.class, false, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADR_A19_QUERY_RESPONSE - this is probably a bug in the source code generator.", e); } }
/** * Creates a new ADR_A19_QUERY_RESPONSE group */ public ADR_A19_QUERY_RESPONSE(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(EVN.class, false, false, false); this.add(PID.class, true, false, false); this.add(PD1.class, false, false, false); this.add(ARV.class, false, true, false); this.add(ROL.class, false, true, false); this.add(NK1.class, false, true, false); this.add(PV1.class, true, false, false); this.add(PV2.class, false, false, false); this.add(ARV.class, false, true, false); this.add(ROL.class, false, true, false); this.add(DB1.class, false, true, false); this.add(OBX.class, false, true, false); this.add(AL1.class, false, true, false); this.add(DG1.class, false, true, false); this.add(DRG.class, false, false, false); this.add(ADR_A19_PROCEDURE.class, false, true, false); this.add(GT1.class, false, true, false); this.add(ADR_A19_INSURANCE.class, false, true, false); this.add(ACC.class, false, false, false); this.add(UB1.class, false, false, false); this.add(UB2.class, false, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADR_A19_QUERY_RESPONSE - this is probably a bug in the source code generator.", e); } }
/** * Returns * PV1 (Patient Visit) - creates it if necessary */ public PV1 getPV1() { PV1 retVal = getTyped("PV1", PV1.class); return retVal; }
/** * <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); }
/** * Returns the number of existing repetitions of ARV */ public int getARVReps() { return getReps("ARV"); }
/** * Returns * PV2 (Patient Visit - Additional Information) - creates it if necessary */ public PV2 getPV2() { PV2 retVal = getTyped("PV2", PV2.class); return retVal; }
/** * <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); }
/** * Returns the number of existing repetitions of NK1 */ public int getNK1Reps() { return getReps("NK1"); }
/** * Returns * the first repetition of * ROL2 (Role) - creates it if necessary */ public ROL getROL2() { ROL retVal = getTyped("ROL2", ROL.class); return retVal; }
/** * <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); }
/** * Returns the number of existing repetitions of OBX */ public int getOBXReps() { return getReps("OBX"); }
/** * Returns * the first repetition of * DG1 (Diagnosis) - creates it if necessary */ public DG1 getDG1() { DG1 retVal = getTyped("DG1", DG1.class); return retVal; }
/** * <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); }
/** * Returns the number of existing repetitions of AL1 */ public int getAL1Reps() { return getReps("AL1"); }
/** * Returns * DRG (Diagnosis Related Group) - creates it if necessary */ public DRG getDRG() { DRG retVal = getTyped("DRG", DRG.class); return retVal; }