コード例 #1
0
ファイル: CCU_I20_GOAL.cs プロジェクト: nHapiNET/nHapi
        ///<summary>
        /// Returns  first repetition of CCU_I20_ROLE_GOAL (a Group object) - creates it if necessary
        ///</summary>
        public CCU_I20_ROLE_GOAL GetROLE_GOAL()
        {
            CCU_I20_ROLE_GOAL ret = null;

            try {
                ret = (CCU_I20_ROLE_GOAL)this.GetStructure("ROLE_GOAL");
            } 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
ファイル: CCU_I20_GOAL.cs プロジェクト: nHapiNET/nHapi
 ///<summary>
 ///Removes the given CCU_I20_ROLE_GOAL
 ///</summary>
 public void RemoveROLE_GOAL(CCU_I20_ROLE_GOAL toRemove)
 {
     this.RemoveStructure("ROLE_GOAL", toRemove);
 }