/** * <p> * Returns the number of existing repetitions of NK1 * </p> * */ public int getNK1Reps() { return getReps("NK1"); }
/** * <p> * Returns * EVN (EVN - event type segment) - creates it if necessary * </p> * * */ public EVN getEVN() { return getTyped("EVN", EVN.class); }
/** * Creates a new ADT_A05 message with custom ModelClassFactory. */ public ADT_A05(ModelClassFactory factory) { super(factory); init(factory); }
/** * <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); }
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(NK1.class, false, true); this.add(PV1.class, true, false); this.add(PV2.class, false, false); this.add(DB1.class, false, true); 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_A05_PR1ROL.class, false, true); this.add(GT1.class, false, true); this.add(ADT_A05_IN1IN2IN3.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_A05 - this is probably a bug in the source code generator.", e); } }
/** * <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); }
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(NK1.class, false, true); this.add(PV1.class, true, false); this.add(PV2.class, false, false); this.add(DB1.class, false, true); 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_A05_PR1ROL.class, false, true); this.add(GT1.class, false, true); this.add(ADT_A05_IN1IN2IN3.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_A05 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns * the first repetition of * AL1 (AL1 - patient allergy information segment) - creates it if necessary * </p> * * */ public AL1 getAL1() { return getTyped("AL1", AL1.class); }
/** * <p> * Returns the number of existing repetitions of DG1 * </p> * */ public int getDG1Reps() { return getReps("DG1"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of DB1. * <p> * <p> * Note that unlike {@link #getDB1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<DB1> getDB1All() throws HL7Exception { return getAllAsList("DB1", DB1.class); }
/** * Creates a new ADT_A05 message with custom ModelClassFactory. */ public ADT_A05(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns * PD1 (PD1 - patient additional demographic segment) - creates it if necessary * </p> * * */ public PD1 getPD1() { return getTyped("PD1", PD1.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 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); }
/** * <p> * Returns * UB1 (UB1 - UB82 data segment) - creates it if necessary * </p> * * */ public UB1 getUB1() { return getTyped("UB1", UB1.class); }
/** * <p> * Returns the number of existing repetitions of OBX * </p> * */ public int getOBXReps() { return getReps("OBX"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of DB1. * <p> * <p> * Note that unlike {@link #getDB1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<DB1> getDB1All() throws HL7Exception { return getAllAsList("DB1", DB1.class); }
/** * <p> * Returns * UB2 (UB2 - UB92 data segment) - creates it if necessary * </p> * * */ public UB2 getUB2() { return getTyped("UB2", UB2.class); }
/** * <p> * Returns the number of existing repetitions of PR1ROL * </p> * */ public int getPR1ROLReps() { return getReps("PR1ROL"); }
/** * <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); }