/** * <p> * Returns a non-modifiable List containing all current existing repetitions of GT1. * <p> * <p> * Note that unlike {@link #getGT1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<GT1> getGT1All() throws HL7Exception { return getAllAsList("GT1", GT1.class); }
/** * Returns the number of existing repetitions of OBX */ public int getOBXReps() { return getReps("OBX"); }
/** * Returns * PV1 (Patient Visit) - creates it if necessary */ public PV1 getPV1() { PV1 retVal = getTyped("PV1", PV1.class); return retVal; }
/** * Creates a new BAR_P05_VISIT group */ public BAR_P05_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_P05_PROCEDURE.class, false, true, false); this.add(GT1.class, false, true, false); this.add(NK1.class, false, true, false); this.add(BAR_P05_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); this.add(ABS.class, false, false, false); this.add(BLC.class, false, true, false); this.add(RMI.class, false, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating BAR_P05_VISIT - this is probably a bug in the source code generator.", e); } }
/** * Creates a new BAR_P05_VISIT group */ public BAR_P05_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_P05_PROCEDURE.class, false, true, false); this.add(GT1.class, false, true, false); this.add(NK1.class, false, true, false); this.add(BAR_P05_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); this.add(ABS.class, false, false, false); this.add(BLC.class, false, true, false); this.add(RMI.class, false, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating BAR_P05_VISIT - this is probably a bug in the source code generator.", e); } }
/** * Returns * the first repetition of * OBX (Observation/Result) - creates it if necessary */ public OBX getOBX() { OBX retVal = getTyped("OBX", OBX.class); return retVal; }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of INSURANCE. * <p> * <p> * Note that unlike {@link #getINSURANCE()}, 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_P05_INSURANCE> getINSURANCEAll() throws HL7Exception { return getAllAsList("INSURANCE", BAR_P05_INSURANCE.class); }
/** * Returns the number of existing repetitions of GT1 */ public int getGT1Reps() { return getReps("GT1"); }
/** * Returns * the first repetition of * GT1 (Guarantor) - creates it if necessary */ public GT1 getGT1() { GT1 retVal = getTyped("GT1", GT1.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 BLC */ public int getBLCReps() { return getReps("BLC"); }
/** * Returns * UB1 (UB82) - creates it if necessary */ public UB1 getUB1() { UB1 retVal = getTyped("UB1", UB1.class); return retVal; }
/** * <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 number of existing repetitions of PROCEDURE */ public int getPROCEDUREReps() { return getReps("PROCEDURE"); }
/** * 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 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 number of existing repetitions of INSURANCE */ public int getINSURANCEReps() { return getReps("INSURANCE"); }
/** * Returns * the first repetition of * AL1 (Patient Allergy Information) - creates it if necessary */ public AL1 getAL1() { AL1 retVal = getTyped("AL1", AL1.class); return retVal; }