Exemplo n.º 1
0
        /**
         * Returns  first repetition of SRM_S01_RESOURCES (a Group object) - creates it if necessary
         */
        public SRM_S01_RESOURCES getRESOURCES()
        {
            SRM_S01_RESOURCES ret = null;

            try {
                ret = (SRM_S01_RESOURCES)this.get_Renamed("RESOURCES");
            } 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);
        }
Exemplo n.º 2
0
        /// <summary> Returns  first repetition of SRM_S01_RESOURCES (a Group object) - creates it if necessary</summary>
        public virtual SRM_S01_RESOURCES getRESOURCES()
        {
            SRM_S01_RESOURCES ret = null;

            try
            {
                ret = (SRM_S01_RESOURCES)this.get_Renamed("RESOURCES");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
Exemplo n.º 3
0
 ///<summary>
 ///Removes the given SRM_S01_RESOURCES
 ///</summary>
 public void RemoveRESOURCES(SRM_S01_RESOURCES toRemove)
 {
     this.RemoveStructure("RESOURCES", toRemove);
 }