Пример #1
0
 ///<summary>
 /// Returns  first repetition of SSU_U03_SPECIMEN_CONTAINER (a Group object) - creates it if necessary
 ///</summary>
 public SSU_U03_SPECIMEN_CONTAINER GetSPECIMEN_CONTAINER()
 {
     SSU_U03_SPECIMEN_CONTAINER ret = null;
        try {
       ret = (SSU_U03_SPECIMEN_CONTAINER)this.GetStructure("SPECIMEN_CONTAINER");
        } 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> Returns  first repetition of SSU_U03_SPECIMEN_CONTAINER (a Group object) - creates it if necessary</summary>
        public virtual SSU_U03_SPECIMEN_CONTAINER getSPECIMEN_CONTAINER()
        {
            SSU_U03_SPECIMEN_CONTAINER ret = null;

            try
            {
                ret = (SSU_U03_SPECIMEN_CONTAINER)this.get_Renamed("SPECIMEN_CONTAINER");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
Пример #3
0
 ///<summary>
 ///Removes the given SSU_U03_SPECIMEN_CONTAINER
 ///</summary>
 public void RemoveSPECIMEN_CONTAINER(SSU_U03_SPECIMEN_CONTAINER toRemove)
 {
     this.RemoveStructure("SPECIMEN_CONTAINER", toRemove);
 }