Пример #1
0
        ///<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
        /// <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
 ///<summary>
 ///Removes the given MFR_M01_MF
 ///</summary>
 public void RemoveMF(MFR_M01_MF toRemove)
 {
     this.RemoveStructure("MF", toRemove);
 }