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

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