/** * <p> * Returns the number of existing repetitions of MERGE_INFO * </p> * */ public int getMERGE_INFOReps() { return getReps("MERGE_INFO"); }
/** * <p> * Returns * the first repetition of * MERGE_INFO (a Group object) - creates it if necessary * </p> * * */ public ADT_A45_MERGE_INFO getMERGE_INFO() { return getTyped("MERGE_INFO", ADT_A45_MERGE_INFO.class); }
/** * Creates a new ADT_A45 message with custom ModelClassFactory. */ public ADT_A45(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(ADT_A45_MERGE_INFO.class, true, true); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A45 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of MERGE_INFO. * <p> * <p> * Note that unlike {@link #getMERGE_INFO()}, 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_A45_MERGE_INFO> getMERGE_INFOAll() throws HL7Exception { return getAllAsList("MERGE_INFO", ADT_A45_MERGE_INFO.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(ADT_A45_MERGE_INFO.class, true, true); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A45 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of MERGE_INFO. * <p> * <p> * Note that unlike {@link #getMERGE_INFO()}, 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_A45_MERGE_INFO> getMERGE_INFOAll() throws HL7Exception { return getAllAsList("MERGE_INFO", ADT_A45_MERGE_INFO.class); }
/** * <p> * Returns * PID (Patient identification) - creates it if necessary * </p> * * */ public PID getPID() { return getTyped("PID", PID.class); }
/** * Creates a new ADT_A45 message with custom ModelClassFactory. */ public ADT_A45(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns the number of existing repetitions of MERGE_INFO * </p> * */ public int getMERGE_INFOReps() { return getReps("MERGE_INFO"); }
/** * <p> * Returns * EVN (Event Type) - creates it if necessary * </p> * * */ public EVN getEVN() { return getTyped("EVN", EVN.class); }
/** * <p> * Returns * PD1 (patient additional demographic) - creates it if necessary * </p> * * */ public PD1 getPD1() { return getTyped("PD1", PD1.class); }
/** * <p> * Returns * the first repetition of * MERGE_INFO (a Group object) - creates it if necessary * </p> * * */ public ADT_A45_MERGE_INFO getMERGE_INFO() { return getTyped("MERGE_INFO", ADT_A45_MERGE_INFO.class); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * <p> * Returns * EVN (Event Type) - creates it if necessary * </p> * * */ public EVN getEVN() { return getTyped("EVN", EVN.class); }
/** * <p> * Returns * PID (Patient identification) - creates it if necessary * </p> * * */ public PID getPID() { return getTyped("PID", PID.class); }
/** * <p> * Returns * PD1 (patient additional demographic) - creates it if necessary * </p> * * */ public PD1 getPD1() { return getTyped("PD1", PD1.class); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * <p> * Returns a specific repetition of * MERGE_INFO (a Group object) - creates it if necessary * </p> * * * @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 ADT_A45_MERGE_INFO getMERGE_INFO(int rep) { return getTyped("MERGE_INFO", rep, ADT_A45_MERGE_INFO.class); }
/** * <p> * Returns a specific repetition of * MERGE_INFO (a Group object) - creates it if necessary * </p> * * * @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 ADT_A45_MERGE_INFO getMERGE_INFO(int rep) { return getTyped("MERGE_INFO", rep, ADT_A45_MERGE_INFO.class); }