|
|
|
|
using Gdsi.Config;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Gdsi.Model
|
|
|
|
|
{
|
|
|
|
|
public class Api2301Request
|
|
|
|
|
{
|
|
|
|
|
#region 固定报文
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string infno { get { return "2301"; } }
|
|
|
|
|
/// <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 List<Feedetail> feedetail { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class Feedetail
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 医药机构目录编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string medins_list_codg { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用明细流水号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string feedetl_sn { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 外检标志
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string etip_flag { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string cnt { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 明细项目费用总额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string det_item_fee_sumamt { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 外检医院编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string etip_hosp_code { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 受单科室名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string acord_dept_name { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 受单科室编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string acord_dept_codg { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 中药使用方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string tcmdrug_used_way { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 就诊ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string mdtrt_id { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 人员编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string psn_no { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 开单医师姓
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bilg_dr_name { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 开单医生编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bilg_dr_codg { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出院带药标志
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string dscg_tkdrug_flag { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 医嘱号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string drord_no { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 受单医生姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string orders_dr_name { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 受单医生编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string orders_dr_code { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 医疗类别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string med_type { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用发生时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string fee_ocur_time { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 医院审批标志
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string hosp_appr_flag { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 医疗目录编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string med_list_codg { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 生育费用标志
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string matn_fee_flag { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单价
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string pric { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string memo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 原费用流水号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string init_feedetl_sn { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 开单科室名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bilg_dept_name { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 开单科室编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bilg_dept_codg { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|