You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Gdsi-Api/Gdsi/Model/Request/Api2303Request.cs

161 lines
4.7 KiB

using Gdsi.Config;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gdsi.Model
{
public class Api2303Request
{
#region 固定报文
/// <summary>
///
/// </summary>
public string infno { get { return "2303"; } }
/// <summary>
///
/// </summary>
public string msgid { get { return GdsiConfig.fixmedins_code + DateTime.Now.ToString("yyyyMMddHHmmss") + new Random().Next(1, 10000).ToString().PadLeft(4, '0'); } }
/// <summary>
///
/// </summary>
public string mdtrtarea_admvs { get { return GdsiConfig.city_code; } }
/// <summary>
///
/// </summary>
public string insuplc_admdvs { get { return GdsiConfig.city_code; } }
/// <summary>
///
/// </summary>
public string recer_sys_code { get { return "FD0001"; } }
/// <summary>
///
/// </summary>
public string dev_no { get { return ""; } }
/// <summary>
///
/// </summary>
public string dev_safe_info { get { return ""; } }
/// <summary>
///
/// </summary>
public string cainfo { get { return ""; } }
/// <summary>
///
/// </summary>
public string signtype { get { return "SM3"; } }
/// <summary>
///
/// </summary>
public string infver { get { return "V1.0"; } }
/// <summary>
///
/// </summary>
public string opter_type { get { return "2"; } }
/// <summary>
///
/// </summary>
public string opter { get { return GdsiConfig.opter; } }
/// <summary>
///
/// </summary>
public string opter_name { get { return GdsiConfig.opter_name; } }
/// <summary>
///
/// </summary>
public string inf_time { get { return DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); } }
/// <summary>
///
/// </summary>
public string fixmedins_name { get { return GdsiConfig.fixmedins_name; } }
/// <summary>
///
/// </summary>
public string fixmedins_code { get { return GdsiConfig.fixmedins_code; } }
/// <summary>
///
/// </summary>
public string sign_no { get; set; }
#endregion
/// <summary>
///
/// </summary>
public Input input { get; set; }
public class Input
{
/// <summary>
///
/// </summary>
public Data data { get; set; }
}
public class Data
{
/// <summary>
/// 先行自付金额
/// </summary>
public string preselfpay_amt { get; set; }
/// <summary>
/// 超限价金额
/// </summary>
public string overlmt_selfpay { get; set; }
/// <summary>
/// 就诊ID
/// </summary>
public string mdtrt_id { get; set; }
/// <summary>
/// 人员编号
/// </summary>
public string psn_no { get; set; }
/// <summary>
/// 个人结算方式
/// </summary>
public string psn_setlway { get; set; }
/// <summary>
/// 中途结算标志
/// </summary>
public string mid_setl_flag { get; set; }
/// <summary>
/// 全自费金额
/// </summary>
public string fulamt_ownpay_amt { get; set; }
/// <summary>
/// 就诊凭证编号
/// </summary>
public string mdtrt_cert_no { get; set; }
/// <summary>
/// 险种类型
/// </summary>
public string insutype { get; set; }
/// <summary>
/// 个人账户使用标志
/// </summary>
public string acct_used_flag { get; set; }
/// <summary>
/// 就诊凭证类型
/// </summary>
public string mdtrt_cert_type { get; set; }
/// <summary>
/// 发票号
/// </summary>
public string invono { get; set; }
/// <summary>
/// 医疗费总额
/// </summary>
public string medfee_sumamt { get; set; }
/// <summary>
/// 符合政策范围金额
/// </summary>
public string inscp_scp_amt { get; set; }
/// <summary>
/// 出院时间
/// </summary>
public string dscgTime { get; set; }
}
}
}