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.
254 lines
7.5 KiB
254 lines
7.5 KiB
using Gdsi.Config;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Gdsi.Model
|
|
{
|
|
|
|
/// <summary>
|
|
/// 出院办理
|
|
/// </summary>
|
|
public class Api2402Request
|
|
{
|
|
#region 固定报文
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string infno { get { return "2402"; } }
|
|
/// <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<Diseinfo> diseinfo { get; set; }
|
|
/// <summary>
|
|
/// 出院诊断信息
|
|
/// </summary>
|
|
public Dscginfo dscginfo { get; set; }
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 输入-出院信息
|
|
/// </summary>
|
|
public class Diseinfo
|
|
{
|
|
/// <summary>
|
|
/// 诊断医生编码
|
|
/// </summary>
|
|
public string dise_dor_no { get; set; }
|
|
/// <summary>
|
|
/// 诊断类别
|
|
/// </summary>
|
|
public string diag_type { get; set; }
|
|
/// <summary>
|
|
/// 诊断时间
|
|
/// </summary>
|
|
public string diag_time { get; set; }
|
|
/// <summary>
|
|
/// 诊断名称
|
|
/// </summary>
|
|
public string diag_name { get; set; }
|
|
/// <summary>
|
|
/// 诊断科室
|
|
/// </summary>
|
|
public string diag_dept { get; set; }
|
|
/// <summary>
|
|
/// 诊断代码
|
|
/// </summary>
|
|
public string diag_code { get; set; }
|
|
/// <summary>
|
|
/// 就诊ID
|
|
/// </summary>
|
|
public string mdtrt_id { get; set; }
|
|
/// <summary>
|
|
/// 人员编号
|
|
/// </summary>
|
|
public string psn_no { get; set; }
|
|
/// <summary>
|
|
/// 主诊断标志
|
|
/// </summary>
|
|
public string maindiag_flag { get; set; }
|
|
/// <summary>
|
|
/// 诊断医生编码
|
|
/// </summary>
|
|
public string dise_dor_name { get; set; }
|
|
/// <summary>
|
|
/// 诊断排序号
|
|
/// </summary>
|
|
public string diag_srt_no { get; set; }
|
|
}
|
|
|
|
public class Dscginfo
|
|
{
|
|
/// <summary>
|
|
/// 孕周数
|
|
/// </summary>
|
|
public string geso_val { get; set; }
|
|
/// <summary>
|
|
/// 出院科室名称
|
|
/// </summary>
|
|
public string dscg_dept_name { get; set; }
|
|
/// <summary>
|
|
/// 出院科室编码
|
|
/// </summary>
|
|
public string dscg_dept_code { get; set; }
|
|
/// <summary>
|
|
/// 计划生育服务证号
|
|
/// </summary>
|
|
public string fpsc_no { get; set; }
|
|
/// <summary>
|
|
/// 就诊ID
|
|
/// </summary>
|
|
public string mdtrt_id { get; set; }
|
|
/// <summary>
|
|
/// 人员编号
|
|
/// </summary>
|
|
public string psn_no { get; set; }
|
|
/// <summary>
|
|
/// 死亡日期
|
|
/// </summary>
|
|
public string die_date { get; set; }
|
|
/// <summary>
|
|
/// 伴有并发症标志
|
|
/// </summary>
|
|
public string cop_flag { get; set; }
|
|
/// <summary>
|
|
/// 胎儿数
|
|
/// </summary>
|
|
public string fetus_cnt { get; set; }
|
|
/// <summary>
|
|
/// 早产标志
|
|
/// </summary>
|
|
public string pret_flag { get; set; }
|
|
/// <summary>
|
|
/// 胎次
|
|
/// </summary>
|
|
public string fetts { get; set; }
|
|
/// <summary>
|
|
/// 险种类型
|
|
/// </summary>
|
|
public string insutype { get; set; }
|
|
/// <summary>
|
|
/// 晚育标志
|
|
/// </summary>
|
|
public string latechb_flag { get; set; }
|
|
/// <summary>
|
|
/// 病种名称
|
|
/// </summary>
|
|
public string dise_name { get; set; }
|
|
/// <summary>
|
|
/// 病种编码
|
|
/// </summary>
|
|
public string dise_codg { get; set; }
|
|
/// <summary>
|
|
/// 结束时间
|
|
/// </summary>
|
|
public string endtime { get; set; }
|
|
/// <summary>
|
|
/// 手术操作名称
|
|
/// </summary>
|
|
public string oprn_oprt_name { get; set; }
|
|
/// <summary>
|
|
/// 手术操作代码
|
|
/// </summary>
|
|
public string oprn_oprt_code { get; set; }
|
|
/// <summary>
|
|
/// 计划生育手术类别
|
|
/// </summary>
|
|
public string birctrl_type { get; set; }
|
|
/// <summary>
|
|
/// 计划生育手术或生育日期
|
|
/// </summary>
|
|
public string birctrl_matn_date { get; set; }
|
|
/// <summary>
|
|
/// 生育类别
|
|
/// </summary>
|
|
public string matn_type { get; set; }
|
|
/// <summary>
|
|
/// 离院方式
|
|
/// </summary>
|
|
public string dscg_way { get; set; }
|
|
/// <summary>
|
|
/// 出院床位
|
|
/// </summary>
|
|
public string dscg_bed { get; set; }
|
|
}
|
|
}
|
|
}
|
|
|