/** * <p> * Returns a non-modifiable List containing all current existing repetitions of OBSERVATION. * <p> * <p> * Note that unlike {@link #getOBSERVATION()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<VXR_V03_OBSERVATION> getOBSERVATIONAll() throws HL7Exception { return getAllAsList("OBSERVATION", VXR_V03_OBSERVATION.class); }
/** * Returns the number of existing repetitions of OBSERVATION */ public int getOBSERVATIONReps() { return getReps("OBSERVATION"); }
/** * Returns * RXR (Pharmacy/Treatment Route) - creates it if necessary */ public RXR getRXR() { RXR retVal = getTyped("RXR", RXR.class); return retVal; }
private void init(ModelClassFactory factory) { try { this.add(ORC.class, false, false, false); this.add(RXA.class, true, false, false); this.add(RXR.class, false, false, false); this.add(VXR_V03_OBSERVATION.class, false, true, false); } catch(HL7Exception e) { log.error("Unexpected error creating VXR_V03_ORDER - this is probably a bug in the source code generator.", e); } }
/** * Creates a new VXR_V03_ORDER group */ public VXR_V03_ORDER(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(ORC.class, false, false, false); this.add(RXA.class, true, false, false); this.add(RXR.class, false, false, false); this.add(VXR_V03_OBSERVATION.class, false, true, false); } catch(HL7Exception e) { log.error("Unexpected error creating VXR_V03_ORDER - this is probably a bug in the source code generator.", e); } }
/** * Creates a new VXR_V03_ORDER group */ public VXR_V03_ORDER(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
/** * Returns * ORC (Common Order) - creates it if necessary */ public ORC getORC() { ORC retVal = getTyped("ORC", ORC.class); return retVal; }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of OBSERVATION. * <p> * <p> * Note that unlike {@link #getOBSERVATION()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<VXR_V03_OBSERVATION> getOBSERVATIONAll() throws HL7Exception { return getAllAsList("OBSERVATION", VXR_V03_OBSERVATION.class); }
/** * Returns the number of existing repetitions of OBSERVATION */ public int getOBSERVATIONReps() { return getReps("OBSERVATION"); }
/** * Returns * ORC (Common Order) - creates it if necessary */ public ORC getORC() { ORC retVal = getTyped("ORC", ORC.class); return retVal; }
/** * Returns * RXA (Pharmacy/Treatment Administration) - creates it if necessary */ public RXA getRXA() { RXA retVal = getTyped("RXA", RXA.class); return retVal; }
/** * Returns * the first repetition of * OBSERVATION (a Group object) - creates it if necessary */ public VXR_V03_OBSERVATION getOBSERVATION() { VXR_V03_OBSERVATION retVal = getTyped("OBSERVATION", VXR_V03_OBSERVATION.class); return retVal; }
/** * Returns a specific repetition of * OBSERVATION (a Group object) - creates it if necessary * * @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 VXR_V03_OBSERVATION getOBSERVATION(int rep) { VXR_V03_OBSERVATION retVal = getTyped("OBSERVATION", rep, VXR_V03_OBSERVATION.class); return retVal; }
/** * Returns * RXR (Pharmacy/Treatment Route) - creates it if necessary */ public RXR getRXR() { RXR retVal = getTyped("RXR", RXR.class); return retVal; }
/** * Returns * RXA (Pharmacy/Treatment Administration) - creates it if necessary */ public RXA getRXA() { RXA retVal = getTyped("RXA", RXA.class); return retVal; }
/** * Returns * the first repetition of * OBSERVATION (a Group object) - creates it if necessary */ public VXR_V03_OBSERVATION getOBSERVATION() { VXR_V03_OBSERVATION retVal = getTyped("OBSERVATION", VXR_V03_OBSERVATION.class); return retVal; }
/** * Returns a specific repetition of * OBSERVATION (a Group object) - creates it if necessary * * @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 VXR_V03_OBSERVATION getOBSERVATION(int rep) { VXR_V03_OBSERVATION retVal = getTyped("OBSERVATION", rep, VXR_V03_OBSERVATION.class); return retVal; }