using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PTMedicalInsurance.Entity
{
    /// <summary>
    /// 【2208】门诊结算撤销
    /// 交易说明：通过此交易进行门诊结算撤销。
    /// </summary>
    public class OutpatientSettlementCancellationInput
    {
        /// <summary>
        /// 结算 ID
        /// </summary>
        public string setl_id { get; set; }

        /// <summary>
        /// 就诊 ID
        /// </summary>
        public string mdtrt_id { get; set; }

        /// <summary>
        /// 人员编号
        /// </summary>
        public string psn_no { get; set; }
    }

    /// <summary>
    /// 【2208】门诊结算撤销
    /// 交易说明：通过此交易进行门诊结算撤销。
    /// </summary>
    public class OutpatientSettlementCancellationOutput
    {
        /// <summary>
        /// 就诊 ID
        /// </summary>
        public string mdtrt_id { get; set; }

        /// <summary>
        /// 结算 ID
        /// </summary>
        public string setl_id { get; set; }

        /// <summary>
        /// 清算经办机构
        /// </summary>
        public string clr_optins { get; set; }

        /// <summary>
        /// 结算时间
        /// </summary>
        public DateTime setl_time { get; set; }

        /// <summary>
        /// 医疗费总额
        /// </summary>
        public decimal medfee_sumamt { get; set; }

        /// <summary>
        /// 全自费金额
        /// </summary>
        public decimal fulamt_ownpay_amt { get; set; }

        /// <summary>
        /// 超限价自费费用
        /// </summary>
        public decimal overlmt_selfpay { get; set; }

        /// <summary>
        /// 先行自付金额
        /// </summary>
        public decimal preselfpay_amt { get; set; }

        /// <summary>
        /// 符合政策范围金额
        /// </summary>
        public decimal inscp_scp_amt { get; set; }

        /// <summary>
        /// 实际支付起付线
        /// </summary>
        public decimal act_pay_dedc { get; set; }

        /// <summary>
        /// 基本医疗保险统筹基金支出
        /// </summary>
        public decimal hifp_pay { get; set; }

        /// <summary>
        /// 基本医疗保险统筹基金支付比例
        /// </summary>
        public decimal pool_prop_selfpay { get; set; }

        /// <summary>
        /// 公务员医疗补助资金支出
        /// </summary>
        public decimal cvlserv_pay { get; set; }

        /// <summary>
        /// 企业补充医疗保险基金支出
        /// </summary>
        public decimal hifes_pay { get; set; }

        /// <summary>
        /// 居民大病保险资金支出
        /// </summary>
        public decimal hifmi_pay { get; set; }

        /// <summary>
        /// 职工大额医疗费用补助基金支出
        /// </summary>
        public decimal hifob_pay { get; set; }

        /// <summary>
        /// 医疗救助基金支出
        /// </summary>
        public decimal maf_pay { get; set; }

        /// <summary>
        /// 其他支出
        /// </summary>
        public decimal oth_pay { get; set; }

        /// <summary>
        /// 基金支付总额
        /// </summary>
        public decimal fund_pay_sumamt { get; set; }

        /// <summary>
        /// 个人负担总金额
        /// </summary>
        public decimal psn_part_amt { get; set; }

        /// <summary>
        /// 个人账户支出
        /// </summary>
        public decimal acct_pay { get; set; }

        /// <summary>
        /// 余额
        /// </summary>
        public decimal balc { get; set; }

        /// <summary>
        /// 个人账户共济支付金额
        /// </summary>
        public decimal acct_mulaid_pay { get; set; }

        /// <summary>
        /// 医院负担金额
        /// </summary>
        public decimal hosp_part_amt { get; set; }

        /// <summary>
        /// 医药机构结算 ID
        /// 存放发送方报文 ID
        /// </summary>
        public string medins_setl_id { get; set; }

        /// <summary>
        /// 个人现金支出
        /// </summary>
        public decimal pdn_cash_pay { get; set; }

        /// <summary>
        /// 结算基金分项信息
        /// </summary>
        public List<SettleFundItem> setldetail { get; set; }
    }


}
