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

            try {
                ret = (CCU_I20_RESOURCE_DETAIL)this.GetStructure("RESOURCE_DETAIL");
            } 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>
 ///Removes the given CCU_I20_RESOURCE_DETAIL
 ///</summary>
 public void RemoveRESOURCE_DETAIL(CCU_I20_RESOURCE_DETAIL toRemove)
 {
     this.RemoveStructure("RESOURCE_DETAIL", toRemove);
 }