示例#1
0
文件: MFN_M12.cs 项目: vyfster/nHapi
        ///<summary>
        /// Returns  first repetition of MFN_M12_MF_OBS_ATTRIBUTES (a Group object) - creates it if necessary
        ///</summary>
        public MFN_M12_MF_OBS_ATTRIBUTES GetMF_OBS_ATTRIBUTES()
        {
            MFN_M12_MF_OBS_ATTRIBUTES ret = null;

            try {
                ret = (MFN_M12_MF_OBS_ATTRIBUTES)this.GetStructure("MF_OBS_ATTRIBUTES");
            } 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 MFN_M12_MF_OBS_ATTRIBUTES (a Group object) - creates it if necessary</summary>
        public virtual MFN_M12_MF_OBS_ATTRIBUTES getMF_OBS_ATTRIBUTES()
        {
            MFN_M12_MF_OBS_ATTRIBUTES ret = null;

            try
            {
                ret = (MFN_M12_MF_OBS_ATTRIBUTES)this.get_Renamed("MF_OBS_ATTRIBUTES");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
示例#3
0
文件: MFN_M12.cs 项目: vyfster/nHapi
 ///<summary>
 ///Removes the given MFN_M12_MF_OBS_ATTRIBUTES
 ///</summary>
 public void RemoveMF_OBS_ATTRIBUTES(MFN_M12_MF_OBS_ATTRIBUTES toRemove)
 {
     this.RemoveStructure("MF_OBS_ATTRIBUTES", toRemove);
 }