/** * <p> * Returns a non-modifiable List containing all current existing repetitions of ROL. * <p> * <p> * Note that unlike {@link #getROL()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<ROL> getROLAll() throws HL7Exception { return getAllAsList("ROL", ROL.class); }
/** * <p> * Returns the number of existing repetitions of SFT * </p> * */ public int getSFTReps() { return getReps("SFT"); }
/** * <p> * Returns * the first repetition of * SFT (Software Segment) - creates it if necessary * </p> * * */ public SFT getSFT() { return getTyped("SFT", SFT.class); }
/** * Creates a new ADT_A02 message with custom ModelClassFactory. */ public ADT_A02(ModelClassFactory factory) { super(factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(SFT.class, false, true); this.add(EVN.class, true, false); this.add(PID.class, true, false); this.add(PD1.class, false, false); this.add(ROL.class, false, true); this.add(PV1.class, true, false); this.add(PV2.class, false, false); this.add(ROL.class, false, true); this.add(DB1.class, false, true); this.add(OBX.class, false, true); this.add(PDA.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A02 - this is probably a bug in the source code generator.", e); } }
/** * Creates a new ADT_A02 message with custom ModelClassFactory. */ public ADT_A02(ModelClassFactory factory) { super(factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(SFT.class, false, true); this.add(EVN.class, true, false); this.add(PID.class, true, false); this.add(PD1.class, false, false); this.add(ROL.class, false, true); this.add(PV1.class, true, false); this.add(PV2.class, false, false); this.add(ROL.class, false, true); this.add(DB1.class, false, true); this.add(OBX.class, false, true); this.add(PDA.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A02 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns * the first repetition of * OBX (Observation/Result) - creates it if necessary * </p> * * */ public OBX getOBX() { return getTyped("OBX", OBX.class); }
/** * <p> * Returns the number of existing repetitions of SFT * </p> * */ public int getSFTReps() { return getReps("SFT"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of SFT. * <p> * <p> * Note that unlike {@link #getSFT()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<SFT> getSFTAll() throws HL7Exception { return getAllAsList("SFT", SFT.class); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.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 ROL. * <p> * <p> * Note that unlike {@link #getROL()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<ROL> getROLAll() throws HL7Exception { return getAllAsList("ROL", ROL.class); }
/** * <p> * Returns * PV2 (Patient Visit - Additional Information) - creates it if necessary * </p> * * */ public PV2 getPV2() { return getTyped("PV2", PV2.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 * the first repetition of * ROL2 (Role) - creates it if necessary * </p> * * */ public ROL getROL2() { return getTyped("ROL2", ROL.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 * PDA (Patient Death and Autopsy) - creates it if necessary * </p> * * */ public PDA getPDA() { return getTyped("PDA", PDA.class); }