/** * <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<ADT_A06_INSURANCE> getINSURANCEAll() throws HL7Exception { return getAllAsList("INSURANCE", ADT_A06_INSURANCE.class); }
/** * <p> * Returns the number of existing repetitions of OBX * </p> * */ public int getOBXReps() { return getReps("OBX"); }
/** * <p> * Returns * the first repetition of * OBX (Observation segment) - creates it if necessary * </p> * * */ public OBX getOBX() { return getTyped("OBX", OBX.class); }
/** * Creates a new ADT_A06 message with custom ModelClassFactory. */ public ADT_A06(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(MRG.class, false, false); this.add(NK1.class, false, true); this.add(PV1.class, true, false); this.add(PV2.class, false, false); this.add(DB1.class, false, true); this.add(DRG.class, false, false); this.add(OBX.class, false, true); this.add(AL1.class, false, true); this.add(DG1.class, false, true); this.add(DRG.class, false, false); this.add(ADT_A06_PROCEDURE.class, false, true); this.add(GT1.class, false, true); this.add(ADT_A06_INSURANCE.class, false, true); this.add(ACC.class, false, false); this.add(UB1.class, false, false); this.add(UB2.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A06 - this is probably a bug in the source code generator.", e); } }
/** * Creates a new ADT_A06 message with custom ModelClassFactory. */ public ADT_A06(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(MRG.class, false, false); this.add(NK1.class, false, true); this.add(PV1.class, true, false); this.add(PV2.class, false, false); this.add(DB1.class, false, true); this.add(DRG.class, false, false); this.add(OBX.class, false, true); this.add(AL1.class, false, true); this.add(DG1.class, false, true); this.add(DRG.class, false, false); this.add(ADT_A06_PROCEDURE.class, false, true); this.add(GT1.class, false, true); this.add(ADT_A06_INSURANCE.class, false, true); this.add(ACC.class, false, false); this.add(UB1.class, false, false); this.add(UB2.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A06 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns * the first repetition of * INSURANCE (a Group object) - creates it if necessary * </p> * * */ public ADT_A06_INSURANCE getINSURANCE() { return getTyped("INSURANCE", ADT_A06_INSURANCE.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 * UB1 (UB82 data) - creates it if necessary * </p> * * */ public UB1 getUB1() { return getTyped("UB1", UB1.class); }
/** * <p> * Returns the number of existing repetitions of PROCEDURE * </p> * */ public int getPROCEDUREReps() { return getReps("PROCEDURE"); }
/** * <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); }
/** * <p> * Returns * PD1 (Patient Demographic) - creates it if necessary * </p> * * */ public PD1 getPD1() { return getTyped("PD1", PD1.class); }
/** * <p> * Returns the number of existing repetitions of INSURANCE * </p> * */ 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<ADT_A06_PROCEDURE> getPROCEDUREAll() throws HL7Exception { return getAllAsList("PROCEDURE", ADT_A06_PROCEDURE.class); }
/** * <p> * Returns * DRG (Diagnosis Related Group) - creates it if necessary * </p> * * */ public DRG getDRG() { return getTyped("DRG", DRG.class); }
/** * <p> * Returns the number of existing repetitions of AL1 * </p> * */ public int getAL1Reps() { return getReps("AL1"); }
/** * <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); }
/** * <p> * Returns * the first repetition of * OBX (Observation segment) - creates it if necessary * </p> * * */ public OBX getOBX() { return getTyped("OBX", OBX.class); }