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

            try {
                ret = (OMS_O05_TIMING)this.GetStructure("TIMING");
            } 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
ファイル: OMS_O05_ORDER.cs プロジェクト: nHapiNET/nHapi
 ///<summary>
 ///Removes the given OMS_O05_TIMING
 ///</summary>
 public void RemoveTIMING(OMS_O05_TIMING toRemove)
 {
     this.RemoveStructure("TIMING", toRemove);
 }