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

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