///<summary>
        /// Returns  first repetition of OML_O21_SPECIMEN (a Group object) - creates it if necessary
        ///</summary>
        public OML_O21_SPECIMEN GetSPECIMEN()
        {
            OML_O21_SPECIMEN ret = null;

            try {
                ret = (OML_O21_SPECIMEN)this.GetStructure("SPECIMEN");
            } catch (HL7Exception e) {
                HapiLogFactory.GetHapiLog(GetType()).Error("Unexpected error accessing data - this is probably a bug in the source code generator.", e);
                throw new System.Exception("An unexpected error ocurred", e);
            }
            return(ret);
        }
 ///<summary>
 ///Removes the given OML_O21_SPECIMEN
 ///</summary>
 public void RemoveSPECIMEN(OML_O21_SPECIMEN toRemove)
 {
     this.RemoveStructure("SPECIMEN", toRemove);
 }