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

            try {
                ret = (CCM_I21_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);
        }
예제 #2
0
 ///<summary>
 ///Removes the given CCM_I21_RESOURCE_DETAIL
 ///</summary>
 public void RemoveRESOURCE_DETAIL(CCM_I21_RESOURCE_DETAIL toRemove)
 {
     this.RemoveStructure("RESOURCE_DETAIL", toRemove);
 }