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

            try {
                ret = (OML_O35_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);
        }
Example #2
0
        /// <summary> Returns  first repetition of OML_O35_SPECIMEN (a Group object) - creates it if necessary</summary>
        public virtual OML_O35_SPECIMEN getSPECIMEN()
        {
            OML_O35_SPECIMEN ret = null;

            try
            {
                ret = (OML_O35_SPECIMEN)this.get_Renamed("SPECIMEN");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
Example #3
0
 ///<summary>
 ///Removes the given OML_O35_SPECIMEN
 ///</summary>
 public void RemoveSPECIMEN(OML_O35_SPECIMEN toRemove)
 {
     this.RemoveStructure("SPECIMEN", toRemove);
 }