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

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