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

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