/** * <p> * Returns a non-modifiable List containing all current existing repetitions of PROCEDURE. * <p> * <p> * Note that unlike {@link #getPROCEDURE()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<BAR_P01_PROCEDURE> getPROCEDUREAll() throws HL7Exception { return getAllAsList("PROCEDURE", BAR_P01_PROCEDURE.class); }
/** * Returns the number of existing repetitions of INSURANCE */ public int getINSURANCEReps() { return getReps("INSURANCE"); }
/** * Returns a specific repetition of * OBX (Observation/Result) - creates it if necessary * * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0) * @throws HL7Exception if the repetition requested is more than one * greater than the number of existing repetitions. */ public OBX getOBX(int rep) { OBX retVal = getTyped("OBX", rep, OBX.class); return retVal; }
/** * Creates a new BAR_P01_VISIT group */ public BAR_P01_VISIT(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(PV1.class, false, false, false); this.add(PV2.class, false, false, 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(BAR_P01_PROCEDURE.class, false, true, false); this.add(GT1.class, false, true, false); this.add(NK1.class, false, true, false); this.add(BAR_P01_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 BAR_P01_VISIT - this is probably a bug in the source code generator.", e); } }
/** * Creates a new BAR_P01_VISIT group */ public BAR_P01_VISIT(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(PV1.class, false, false, false); this.add(PV2.class, false, false, 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(BAR_P01_PROCEDURE.class, false, true, false); this.add(GT1.class, false, true, false); this.add(NK1.class, false, true, false); this.add(BAR_P01_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 BAR_P01_VISIT - this is probably a bug in the source code generator.", e); } }
/** * Returns * DRG (Diagnosis Related Group) - creates it if necessary */ public DRG getDRG() { DRG retVal = getTyped("DRG", DRG.class); return retVal; }
/** * Returns the number of existing repetitions of AL1 */ public int getAL1Reps() { return getReps("AL1"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of AL1. * <p> * <p> * Note that unlike {@link #getAL1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<AL1> getAL1All() throws HL7Exception { return getAllAsList("AL1", AL1.class); }
/** * Returns a specific repetition of * DG1 (Diagnosis) - creates it if necessary * * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0) * @throws HL7Exception if the repetition requested is more than one * greater than the number of existing repetitions. */ public DG1 getDG1(int rep) { DG1 retVal = getTyped("DG1", rep, DG1.class); return retVal; }
/** * Returns the number of existing repetitions of INSURANCE */ public int getINSURANCEReps() { return getReps("INSURANCE"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of PROCEDURE. * <p> * <p> * Note that unlike {@link #getPROCEDURE()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<BAR_P01_PROCEDURE> getPROCEDUREAll() throws HL7Exception { return getAllAsList("PROCEDURE", BAR_P01_PROCEDURE.class); }
/** * Returns a specific repetition of * PROCEDURE (a Group object) - creates it if necessary * * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0) * @throws HL7Exception if the repetition requested is more than one * greater than the number of existing repetitions. */ public BAR_P01_PROCEDURE getPROCEDURE(int rep) { BAR_P01_PROCEDURE retVal = getTyped("PROCEDURE", rep, BAR_P01_PROCEDURE.class); return retVal; }
/** * Returns the number of existing repetitions of AL1 */ public int getAL1Reps() { return getReps("AL1"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of NK1. * <p> * <p> * Note that unlike {@link #getNK1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<NK1> getNK1All() throws HL7Exception { return getAllAsList("NK1", NK1.class); }
/** * Returns * the first repetition of * INSURANCE (a Group object) - creates it if necessary */ public BAR_P01_INSURANCE getINSURANCE() { BAR_P01_INSURANCE retVal = getTyped("INSURANCE", BAR_P01_INSURANCE.class); return retVal; }
/** * Returns the number of existing repetitions of PROCEDURE */ public int getPROCEDUREReps() { return getReps("PROCEDURE"); }
/** * <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); }
/** * Returns a specific repetition of * AL1 (Patient allergy information) - creates it if necessary * * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0) * @throws HL7Exception if the repetition requested is more than one * greater than the number of existing repetitions. */ public AL1 getAL1(int rep) { AL1 retVal = getTyped("AL1", rep, AL1.class); return retVal; }