Esempio n. 1
0
        /// <summary>
        /// Returns  first repetition of MFN_M05_MF_LOC_DEPT (a Group object) - creates it if necessary.
        /// </summary>
        ///
        /// <exception cref="Exception">    Thrown when an exception error condition occurs. </exception>
        ///
        /// <returns>   The mf location dept. </returns>

        public MFN_M05_MF_LOC_DEPT GetMF_LOC_DEPT()
        {
            MFN_M05_MF_LOC_DEPT ret = null;

            try {
                ret = (MFN_M05_MF_LOC_DEPT)this.GetStructure("MF_LOC_DEPT");
            } 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);
        }
Esempio n. 2
0
 ///<summary>
 ///Removes the given MFN_M05_MF_LOC_DEPT
 ///</summary>
 public void RemoveMF_LOC_DEPT(MFN_M05_MF_LOC_DEPT toRemove)
 {
     this.RemoveStructure("MF_LOC_DEPT", toRemove);
 }