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

            try {
                ret = (MFR_M01_MF)this.GetStructure("MF");
            } 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
ファイル: MFR_M01.cs プロジェクト: carlhuth/GenXSource
        /// <summary> Returns  first repetition of MFR_M01_MF (a Group object) - creates it if necessary</summary>
        public virtual MFR_M01_MF getMF()
        {
            MFR_M01_MF ret = null;

            try
            {
                ret = (MFR_M01_MF)this.get_Renamed("MF");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
コード例 #3
0
ファイル: MFR_M01.cs プロジェクト: tristanwilson111/nHapi
 ///<summary>
 ///Removes the given MFR_M01_MF
 ///</summary>
 public void RemoveMF(MFR_M01_MF toRemove)
 {
     this.RemoveStructure("MF", toRemove);
 }