/** * <p> * Returns a non-modifiable List containing all current existing repetitions of IAM. * <p> * <p> * Note that unlike {@link #getIAM()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<IAM> getIAMAll() throws HL7Exception { return getAllAsList("IAM", IAM.class); }
/** * <p> * Returns the number of existing repetitions of IAM * </p> * */ public int getIAMReps() { return getReps("IAM"); }
/** * <p> * Returns * PV1 (Patient visit) - creates it if necessary * </p> * * */ public PV1 getPV1() { return getTyped("PV1", PV1.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(PV1.class, false, false); this.add(PV2.class, false, false); this.add(IAM.class, false, true); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A60 - this is probably a bug in the source code generator.", e); } }
/** * Creates a new ADT_A60 message with custom ModelClassFactory. */ public ADT_A60(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(PV1.class, false, false); this.add(PV2.class, false, false); this.add(IAM.class, false, true); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A60 - this is probably a bug in the source code generator.", e); } }
/** * Creates a new ADT_A60 message with custom ModelClassFactory. */ public ADT_A60(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns * EVN (Event Type) - creates it if necessary * </p> * * */ public EVN getEVN() { return getTyped("EVN", EVN.class); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of IAM. * <p> * <p> * Note that unlike {@link #getIAM()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<IAM> getIAMAll() throws HL7Exception { return getAllAsList("IAM", IAM.class); }
/** * <p> * Returns the number of existing repetitions of IAM * </p> * */ public int getIAMReps() { return getReps("IAM"); }
/** * <p> * Returns * the first repetition of * IAM (Patient adverse reaction information - unique iden) - creates it if necessary * </p> * * */ public IAM getIAM() { return getTyped("IAM", IAM.class); }
/** * <p> * Returns * the first repetition of * IAM (Patient adverse reaction information - unique iden) - creates it if necessary * </p> * * */ public IAM getIAM() { return getTyped("IAM", IAM.class); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * <p> * Returns * PV1 (Patient visit) - creates it if necessary * </p> * * */ public PV1 getPV1() { return getTyped("PV1", PV1.class); }
/** * <p> * Returns a specific repetition of * IAM (Patient adverse reaction information - unique iden) - 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 IAM getIAM(int rep) { return getTyped("IAM", rep, IAM.class); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * <p> * Returns * PID (Patient identification) - creates it if necessary * </p> * * */ public PID getPID() { return getTyped("PID", PID.class); }
/** * <p> * Returns * PV2 (Patient visit - additional information) - creates it if necessary * </p> * * */ public PV2 getPV2() { return getTyped("PV2", PV2.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); }