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 固定报文
///
///
///
public string infno { get { return "2301"; } }
///
///
///
public string msgid { get { return GdsiConfig.fixmedins_code + DateTime.Now.ToString("yyyyMMddHHmmss") + new Random().Next(1, 10000).ToString().PadLeft(4, '0'); } }
///
///
///
public string mdtrtarea_admvs { get { return GdsiConfig.city_code; } }
///
///
///
public string insuplc_admdvs { get { return GdsiConfig.city_code; } }
///
///
///
public string recer_sys_code { get { return "FD0001"; } }
///
///
///
public string dev_no { get { return ""; } }
///
///
///
public string dev_safe_info { get { return ""; } }
///
///
///
public string cainfo { get { return ""; } }
///
///
///
public string signtype { get { return "SM3"; } }
///
///
///
public string infver { get { return "V1.0"; } }
///
///
///
public string opter_type { get { return "2"; } }
///
///
///
public string opter { get { return GdsiConfig.opter; } }
///
///
///
public string opter_name { get { return GdsiConfig.opter_name; } }
///
///
///
public string inf_time { get { return DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); } }
///
///
///
public string fixmedins_name { get { return GdsiConfig.fixmedins_name; } }
///
///
///
public string fixmedins_code { get { return GdsiConfig.fixmedins_code; } }
///
///
///
public string sign_no { get; set; }
#endregion
///
///
///
public Input input { get; set; }
public class Input
{
///
///
///
public List feedetail { get; set; }
}
public class Feedetail
{
///
/// 医药机构目录编码
///
public string medins_list_codg { get; set; }
///
/// 费用明细流水号
///
public string feedetl_sn { get; set; }
///
/// 外检标志
///
public string etip_flag { get; set; }
///
/// 数量
///
public string cnt { get; set; }
///
/// 明细项目费用总额
///
public string det_item_fee_sumamt { get; set; }
///
/// 外检医院编码
///
public string etip_hosp_code { get; set; }
///
/// 受单科室名称
///
public string acord_dept_name { get; set; }
///
/// 受单科室编码
///
public string acord_dept_codg { get; set; }
///
/// 中药使用方式
///
public string tcmdrug_used_way { get; set; }
///
/// 就诊ID
///
public string mdtrt_id { get; set; }
///
/// 人员编号
///
public string psn_no { get; set; }
///
/// 开单医师姓
///
public string bilg_dr_name { get; set; }
///
/// 开单医生编码
///
public string bilg_dr_codg { get; set; }
///
/// 出院带药标志
///
public string dscg_tkdrug_flag { get; set; }
///
/// 医嘱号
///
public string drord_no { get; set; }
///
/// 受单医生姓名
///
public string orders_dr_name { get; set; }
///
/// 受单医生编码
///
public string orders_dr_code { get; set; }
///
/// 医疗类别
///
public string med_type { get; set; }
///
/// 费用发生时间
///
public string fee_ocur_time { get; set; }
///
/// 医院审批标志
///
public string hosp_appr_flag { get; set; }
///
/// 医疗目录编码
///
public string med_list_codg { get; set; }
///
/// 生育费用标志
///
public string matn_fee_flag { get; set; }
///
/// 单价
///
public string pric { get; set; }
///
/// 备注
///
public string memo { get; set; }
///
/// 原费用流水号
///
public string init_feedetl_sn { get; set; }
///
/// 开单科室名称
///
public string bilg_dept_name { get; set; }
///
/// 开单科室编码
///
public string bilg_dept_codg { get; set; }
}
}
}