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

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