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

            try {
                ret = (OML_O33_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_O33_SPECIMEN (a Group object) - creates it if necessary</summary>
        public virtual OML_O33_SPECIMEN getSPECIMEN()
        {
            OML_O33_SPECIMEN ret = null;

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