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

            try {
                ret = (OSM_R26_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);
        }
示例#2
0
 ///<summary>
 ///Removes the given OSM_R26_SPECIMEN
 ///</summary>
 public void RemoveSPECIMEN(OSM_R26_SPECIMEN toRemove)
 {
     this.RemoveStructure("SPECIMEN", toRemove);
 }