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

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