Beispiel #1
0
	///<summary>
	/// Returns  first repetition of MFN_M01_MF (a Group object) - creates it if necessary
	///</summary>
	public MFN_M01_MF GetMF() {
	   MFN_M01_MF ret = null;
	   try {
	      ret = (MFN_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;
	}
Beispiel #2
0
        /// <summary> Returns  first repetition of MFN_M01_MF (a Group object) - creates it if necessary</summary>
        public virtual MFN_M01_MF getMF()
        {
            MFN_M01_MF ret = null;

            try
            {
                ret = (MFN_M01_MF)this.get_Renamed("MF");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
Beispiel #3
0
 ///<summary>
 ///Removes the given MFN_M01_MF
 ///</summary>
 public void RemoveMF(MFN_M01_MF toRemove)
 {
     this.RemoveStructure("MF", toRemove);
 }