清远人医医保服务

Qyry
尹强 1 year ago
parent ec28d0440d
commit c3590e3b65
  1. 69
      Gdsi-Api/Controllers/HomeController.cs
  2. BIN
      Gdsi-Api/fd202306051530.zip
  3. 273
      Gdsi/Domain/GdsiApi.cs
  4. 18
      Gdsi/Gdsi.csproj
  5. 98
      Gdsi/Helper/LogHelper.cs
  6. 211
      Gdsi/Model/Request/Api2301Request.cs
  7. 111
      Gdsi/Model/Request/Api2302Request.cs
  8. 161
      Gdsi/Model/Request/Api2303Request.cs
  9. 159
      Gdsi/Model/Request/Api2304Request.cs
  10. 254
      Gdsi/Model/Request/Api2402Request.cs
  11. 291
      Gdsi/Model/Request/Api2403Request.cs
  12. 139
      Gdsi/Model/Result/Api2301Result.cs
  13. 53
      Gdsi/Model/Result/Api2302Result.cs
  14. 330
      Gdsi/Model/Result/Api2303Result.cs
  15. 276
      Gdsi/Model/Result/Api2304Result.cs
  16. 54
      Gdsi/Model/Result/Api2402Result.cs
  17. 53
      Gdsi/Model/Result/Api2403Result.cs
  18. 2
      Gdsi/packages.config

@ -31,7 +31,76 @@ namespace Gdsi_Api.Controllers
LogHelper.saveInfoLog("GetInfo", beginTime, endTime, toJson(req), toJson(info)); LogHelper.saveInfoLog("GetInfo", beginTime, endTime, toJson(req), toJson(info));
return Json(info); return Json(info);
} }
/// <summary>
/// 入院信息变更
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public ActionResult GetChangeAdmission(Api2403Request request)
{
Api2403Result Api2403result = GdsiApi.api_2403(request);
return Json(Api2403result);
}
/// <summary>
/// 住院费用明细撤销
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public ActionResult GetCancelHospitalizationDetails(Api2302Request request)
{
Api2302Result Api2302result = GdsiApi.api_2302(request);
return Json(Api2302result);
}
/// <summary>
/// 住院费用明细上传
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public ActionResult GetUploadHospitalizationDetails(Api2301Request request)
{
Api2301Result Api2301result = GdsiApi.api_2301(request);
return Json(Api2301result);
}
/// <summary>
/// 出院办理
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public ActionResult GetDischargeProcessing(Api2402Request request)
{
Api2402Result Api2402result = GdsiApi.api_2402(request);
return Json(Api2402result);
}
/// <summary>
/// 住院预结算
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public ActionResult GetHospPreSettlement(Api2303Request request)
{
Api2303Result Api2303result = GdsiApi.api_2303(request);
return Json(Api2303result);
}
/// <summary>
/// 住院正式结算
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public ActionResult GetHospFormalSettlement(Api2304Request request)
{
Api2304Result Api2304result = GdsiApi.api_2304(request);
return Json(Api2304result);
}
#region Tool #region Tool
/// <summary> /// <summary>
/// 对象转Json字符串 /// 对象转Json字符串

Binary file not shown.

File diff suppressed because one or more lines are too long

@ -31,8 +31,8 @@
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> <Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Core" /> <Reference Include="System.Core" />
@ -47,11 +47,25 @@
<Compile Include="Config\GdsiConfig.cs" /> <Compile Include="Config\GdsiConfig.cs" />
<Compile Include="Domain\GdsiApi.cs" /> <Compile Include="Domain\GdsiApi.cs" />
<Compile Include="Helper\Http.cs" /> <Compile Include="Helper\Http.cs" />
<Compile Include="Helper\LogHelper.cs" />
<Compile Include="Model\Info.cs" /> <Compile Include="Model\Info.cs" />
<Compile Include="Model\Request\Api2301Request.cs" />
<Compile Include="Model\Request\Api2302Request.cs" />
<Compile Include="Model\Request\Api2303Request.cs" />
<Compile Include="Model\Request\Api2304Request.cs" />
<Compile Include="Model\Request\Api2402Request.cs" />
<Compile Include="Model\Request\Api2403Request.cs" />
<Compile Include="Model\Result\Api2301Result.cs" />
<Compile Include="Model\Result\Api2302Result.cs" />
<Compile Include="Model\Result\Api2303Result.cs" />
<Compile Include="Model\Result\Api2304Result.cs" />
<Compile Include="Model\Result\Api2402Result.cs" />
<Compile Include="Model\Result\Api2403Result.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="packages.config" /> <None Include="packages.config" />
</ItemGroup> </ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> </Project>

@ -0,0 +1,98 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gdsi.Helper
{
public class LogHelper
{
#region HIS请求(包含调用时间)
/// <summary>
/// HIS请求
/// </summary>
/// <param name="method">HIS方法</param>
/// <param name="req">json入参</param>
/// <param name="resp">json出参</param>
/// <param name="resp">调用开始时间</param>
public static void doJsonRequestLog(string method, string req, string resp, DateTime stime)
{
string path = "D:\\FangDing\\FountainLog\\His\\" + "Xml";
try
{
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);
}
FileStream fs = new FileStream(path + "\\" + DateTime.Today.ToString("yyyyMMddHHmmss").Substring(0, 8).ToString() + ".txt", FileMode.Append, FileAccess.Write);
StreamWriter sw = new StreamWriter(fs);
sw.WriteLine("--------------------------------\r\n");
try
{
DateTime dnow = DateTime.Now;
sw.WriteLine("调用时间:" + stime.ToString());
sw.WriteLine("返回时间:" + dnow.ToString());
TimeSpan span = dnow - stime;
string hs = (span.TotalSeconds).ToString() + "秒";
sw.WriteLine("耗时:" + hs);
}
catch
{
}
sw.WriteLine("方法:" + method);
sw.WriteLine("入参:");
sw.WriteLine(req);
sw.WriteLine("出参:");
sw.WriteLine(resp);
sw.WriteLine("--------------------------------\r\n\r\n");
sw.Flush();
sw.Close();
fs.Close();
}
catch (Exception ee)
{
LogHelper.getCatch(ee, method);
}
}
#endregion
#region 方法异常
/// <summary>
/// 方法异常
/// </summary>
/// <param name="ee"></param>
/// <param name="method"></param>
public static void getCatch(Exception ee, string method)
{
string path = "D:\\FangDing\\FountainLog\\His\\" + "Error";
try
{
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);
}
FileStream fs = new FileStream(path + "\\" + DateTime.Today.ToString("yyyyMMddHHmmss").Substring(0, 8).ToString() + ".txt", FileMode.Append, FileAccess.Write);
StreamWriter sw = new StreamWriter(fs);
sw.WriteLine("--------------------------------\r\n");
sw.WriteLine("时间:" + DateTime.Now.ToString());
sw.WriteLine("方法:" + method);
sw.WriteLine("消息:" + ee.Message);
sw.WriteLine("源:" + ee.Source);
sw.WriteLine("数据:" + ee.Data);
sw.WriteLine("--------------------------------\r\n\r\n");
sw.Flush();
sw.Close();
fs.Close();
}
catch { }
}
#endregion
}
}

@ -0,0 +1,211 @@
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; }
}
}
}

@ -0,0 +1,111 @@
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 Api2302Request
{
#region 固定报文
/// <summary>
///
/// </summary>
public string infno { get { return "2302"; } }
/// <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
public Input input { get; set; }
public class Input
{
public Data data { get; set; }
}
public class Data
{
/// <summary>
/// 费用明细流水号
/// </summary>
public string feedetl_sn { get; set; }
/// <summary>
/// 就诊ID
/// </summary>
public string mdtrt_id { get; set; }
/// <summary>
/// 人员编号
/// </summary>
public string psn_no { get; set; }
}
}
}

@ -0,0 +1,161 @@
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; }
}
}
}

@ -0,0 +1,159 @@
using Gdsi.Config;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gdsi.Model
{
public class Api2304Request
{
#region 固定报文
/// <summary>
///
/// </summary>
public string infno { get { return "2304"; } }
/// <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; }
}
}
}

@ -0,0 +1,254 @@
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; }
}
}
}

@ -0,0 +1,291 @@
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 Api2403Request
{
#region 固定报文
/// <summary>
///
/// </summary>
public string infno { get { return "2403"; } }
/// <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 Adminfo adminfo { get; set; }
/// <summary>
///
/// </summary>
public List<Diseinfo> diseinfo { get; set; }
/// <summary>
///
/// </summary>
public class Adminfo
{
/// <summary>
/// 孕周数
/// </summary>
public string geso_val { get; set; }
/// <summary>
/// 联系电话
/// </summary>
public string tel { get; set; }
/// <summary>
/// 入院床位
/// </summary>
public string adm_bed { get; set; }
/// <summary>
/// 计划生育服务证号
/// </summary>
public string fpsc_no { get; set; }
/// <summary>
/// 联系人姓名
/// </summary>
public string coner_name { get; set; }
/// <summary>
/// 就诊ID
/// </summary>
public string mdtrt_id { get; set; }
/// <summary>
/// 入院科室名称
/// </summary>
public string adm_dept_name { get; set; }
/// <summary>
///
/// </summary>
public string adm_dept_codg { get; set; }
/// <summary>
/// 人员编号
/// </summary>
public string psn_no { get; set; }
/// <summary>
/// 主要病情描述
/// </summary>
public string main_cond_dscr { get; set; }
/// <summary>
/// 住院/门诊号
/// </summary>
public string ipt_otp_no { get; set; }
/// <summary>
/// 病历号
/// </summary>
public string medrcdno { get; set; }
/// <summary>
/// 胎儿数
/// </summary>
public string fetus_cnt { get; set; }
/// <summary>
/// 主治医生编码
/// </summary>
public string atddr_no { get; set; }
/// <summary>
/// 早产标志
/// </summary>
public string pret_flag { get; set; }
/// <summary>
/// 医疗类别
/// </summary>
public string med_type { get; set; }
/// <summary>
/// 住院主诊断名称
/// </summary>
public string dscg_maindiag_name { get; set; }
/// <summary>
/// 住院主诊断代码
/// </summary>
public string dscg_maindiag_code { get; set; }
/// <summary>
/// 胎次
/// </summary>
public string fetts { 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 adm_diag_dscr { get; set; }
/// <summary>
/// 计划生育手术类别
/// </summary>
public string birctrl_type { get; set; }
/// <summary>
/// 就诊凭证类型
/// </summary>
public string mdtrt_cert_type { get; set; }
/// <summary>
/// 计划生育手术或生育日期
/// </summary>
public string birctrl_matn_date { get; set; }
/// <summary>
/// 生育类别
/// </summary>
public string matn_type { get; set; }
/// <summary>
/// 开始时间
/// </summary>
public string begntime { get; set; }
/// <summary>
/// 主诊医师姓名
/// </summary>
public string chfpdr_name { get; set; }
}
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>
/// 入院病情
/// </summary>
public string adm_cond { 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; }
}
}
}
}

@ -0,0 +1,139 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gdsi.Model
{
public class Api2301Result
{
public string Msg { get; set; } = string.Empty;
/// <summary>
///
/// </summary>
public Output output { get; set; }
/// <summary>
///
/// </summary>
public string infcode { get; set; }
/// <summary>
///
/// </summary>
public string warn_msg { get; set; }
/// <summary>
///
/// </summary>
public string cainfo { get; set; }
/// <summary>
///
/// </summary>
public string err_msg { get; set; }
/// <summary>
///
/// </summary>
public string refmsg_time { get; set; }
/// <summary>
///
/// </summary>
public string signtype { get; set; }
/// <summary>
///
/// </summary>
public string respond_time { get; set; }
/// <summary>
///
/// </summary>
public string inf_refmsgid { get; set; }
public class Output
{
/// <summary>
///
/// </summary>
public List<Result> result { get; set; }
}
public class Result
{
/// <summary>
/// 基本药物标志
/// </summary>
public string bas_medn_flag { get; set; }
/// <summary>
/// 医疗收费项目类别
/// </summary>
public string med_chrgitm_type { get; set; }
/// <summary>
/// 明细项目费用总额
/// </summary>
public string det_item_fee_sumamt { get; set; }
/// <summary>
/// 医保谈判药品标志
/// </summary>
public string hi_nego_drug_flag { get; set; }
/// <summary>
/// 全自费金额
/// </summary>
public string fulamt_ownpay_amt { get; set; }
/// <summary>
/// 数量
/// </summary>
public string cnt { get; set; }
/// <summary>
/// 单价
/// </summary>
public string pric { get; set; }
/// <summary>
/// 备注
/// </summary>
public string memo { get; set; }
/// <summary>
/// 费用明细流水号
/// </summary>
public string feedetl_sn { get; set; }
/// <summary>
/// 符合政策范围金额
/// </summary>
public string inscp_scp_amt { get; set; }
/// <summary>
/// 直报标志
/// </summary>
public string drt_reim_flag { get; set; }
/// <summary>
/// 超限价金额
/// </summary>
public string overlmt_amt { get; set; }
/// <summary>
/// 目录特项标志
/// </summary>
public string list_sp_item_flag { get; set; }
/// <summary>
/// 定价上限金额
/// </summary>
public string pric_uplmt_amt { get; set; }
/// <summary>
/// 自付比例
/// </summary>
public string selfpay_prop { get; set; }
/// <summary>
/// 儿童用药标志
/// </summary>
public string chld_medc_flag { get; set; }
/// <summary>
/// 先行自付金额
/// </summary>
public string preselfpay_amt { get; set; }
/// <summary>
/// 限制使用标志
/// </summary>
public string lmt_used_flag { get; set; }
/// <summary>
/// 收费项目等级
/// </summary>
public string chrgitm_lv { get; set; }
}
}
}

@ -0,0 +1,53 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gdsi.Model
{
public class Api2302Result
{
public string Msg { get; set; } = string.Empty;
/// <summary>
///
/// </summary>
public Output output { get; set; }
/// <summary>
/// 交易状态码0 成功 -1 失败
/// </summary>
public string infcode { get; set; }
/// <summary>
///
/// </summary>
public string warn_msg { get; set; }
/// <summary>
///
/// </summary>
public string cainfo { get; set; }
/// <summary>
///
/// </summary>
public string err_msg { get; set; }
/// <summary>
///
/// </summary>
public string refmsg_time { get; set; }
/// <summary>
///
/// </summary>
public string signtype { get; set; }
/// <summary>
///
/// </summary>
public string respond_time { get; set; }
/// <summary>
///
/// </summary>
public string inf_refmsgid { get; set; }
public class Output
{
}
}
}

@ -0,0 +1,330 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gdsi.Model
{
public class Api2303Result
{
public string Msg { get; set; } = string.Empty;
/// <summary>
///
/// </summary>
public Output output { get; set; }
/// <summary>
///
/// </summary>
public string infcode { get; set; }
/// <summary>
///
/// </summary>
public string warn_msg { get; set; }
/// <summary>
///
/// </summary>
public string cainfo { get; set; }
/// <summary>
///
/// </summary>
public string err_msg { get; set; }
/// <summary>
///
/// </summary>
public string refmsg_time { get; set; }
/// <summary>
///
/// </summary>
public string signtype { get; set; }
/// <summary>
///
/// </summary>
public string respond_time { get; set; }
/// <summary>
///
/// </summary>
public string inf_refmsgid { get; set; }
public class Output
{
/// <summary>
/// 结算信息
/// </summary>
public Setlinfo setlinfo { get; set; }
/// <summary>
/// 结算基金分项信息
/// </summary>
public List<Setldetail> setldetail { get; set; }
}
/// <summary>
/// 结算信息
/// </summary>
public class Setlinfo
{
/// <summary>
/// 结算时间
/// </summary>
public string setl_time { get; set; }
/// <summary>
/// 公务员医疗补助资金支出
/// </summary>
public string cvlserv_pay { get; set; }
/// <summary>
/// 伤残人员医疗保障基金支出
/// </summary>
public string hifdm_pay { get; set; }
/// <summary>
/// 参保机构行政区划
/// </summary>
public string insu_admdvs { get; set; }
/// <summary>
/// 医疗类别
/// </summary>
public string med_type { get; set; }
/// <summary>
/// 个人支付金额
/// </summary>
public string psn_pay { get; set; }
/// <summary>
/// 字段扩展
/// </summary>
public string exp_content { get; set; }
/// <summary>
/// 开始日期
/// </summary>
public string begndate { get; set; }
/// <summary>
/// 居民大病保险资金支出
/// </summary>
public string hifmi_pay { get; set; }
/// <summary>
/// 人员编号
/// </summary>
public string psn_no { get; set; }
/// <summary>
/// 实际支付起付线
/// </summary>
public string act_pay_dedc { get; set; }
/// <summary>
/// 医药机构结算ID
/// </summary>
public string medins_setl_id { get; set; }
/// <summary>
/// 个人账户共济支付金额
/// </summary>
public string acct_mulaid_pay { get; set; }
/// <summary>
/// 清算方式
/// </summary>
public string clr_way { get; set; }
/// <summary>
/// 其他支出
/// </summary>
public string oth_pay { get; set; }
/// <summary>
///
/// </summary>
public string cashPayamt { get; set; }
/// <summary>
/// 性别
/// </summary>
public string gend { get; set; }
/// <summary>
/// 就诊ID
/// </summary>
public string mdtrt_id { get; set; }
/// <summary>
/// 个人账户支出
/// </summary>
public string acct_pay { get; set; }
/// <summary>
/// 起付标准
/// </summary>
public string dedc_std { get; set; }
/// <summary>
/// 结算类别
/// </summary>
public string setl_type { get; set; }
/// <summary>
/// 本次起付线
/// </summary>
public string crt_dedc { get; set; }
/// <summary>
/// 符合政策范围金额
/// </summary>
public string inscp_scp_amt { get; set; }
/// <summary>
/// 险种类型
/// </summary>
public string insutype { get; set; }
/// <summary>
/// 发票号
/// </summary>
public string invono { get; set; }
/// <summary>
/// 个人负担总金额
/// </summary>
public string psn_part_amt { get; set; }
/// <summary>
/// 结束日期
/// </summary>
public string enddate { get; set; }
/// <summary>
/// 人员类别
/// </summary>
public string psn_type { get; set; }
/// <summary>
/// 基本医疗保险统筹基金支出
/// </summary>
public string hifp_pay { get; set; }
/// <summary>
/// 超限价自费费用
/// </summary>
public string overlmt_selfpay { get; set; }
/// <summary>
/// 先行自付金额
/// </summary>
public string preselfpay_amt { get; set; }
/// <summary>
/// 清算类别
/// </summary>
public string clr_type { get; set; }
/// <summary>
/// 其它基金支付
/// </summary>
public string othfund_pay { get; set; }
/// <summary>
/// 公务员标志
/// </summary>
public string cvlserv_flag { get; set; }
/// <summary>
/// 就诊凭证编号
/// </summary>
public string mdtrt_cert_no { get; set; }
/// <summary>
/// 出生日期
/// </summary>
public string brdy { get; set; }
/// <summary>
/// 民族
/// </summary>
public string naty { get; set; }
/// <summary>
/// 个人现金支出
/// </summary>
public string psn_cash_pay { get; set; }
/// <summary>
/// 证件号码
/// </summary>
public string certno { get; set; }
/// <summary>
/// 就诊凭证类型
/// </summary>
public string mdtrt_cert_type { get; set; }
/// <summary>
/// 余额
/// </summary>
public string balc { get; set; }
/// <summary>
/// 人员证件类型
/// </summary>
public string psn_cert_type { get; set; }
/// <summary>
/// 职工大额医疗费用补助基金支出
/// </summary>
public string hifob_pay { get; set; }
/// <summary>
///
/// </summary>
public string ownpay_hosp_part { get; set; }
/// <summary>
/// 符合范围金额
/// </summary>
public string inscp_amt { get; set; }
/// <summary>
/// 医疗费总额
/// </summary>
public string medfee_sumamt { get; set; }
/// <summary>
/// 企业补充医疗保险基金支出
/// </summary>
public string hifes_pay { get; set; }
/// <summary>
/// 基金支付总额
/// </summary>
public string fund_pay_sumamt { get; set; }
/// <summary>
/// 全自费金额
/// </summary>
public string fulamt_ownpay_amt { get; set; }
/// <summary>
/// 医院负担金额
/// </summary>
public string hosp_part_amt { get; set; }
/// <summary>
/// 结算ID
/// </summary>
public string setl_id { get; set; }
/// <summary>
/// 医疗救助基金支出
/// </summary>
public string maf_pay { get; set; }
/// <summary>
/// 人员姓名
/// </summary>
public string psn_name { get; set; }
/// <summary>
/// 人员参保关系ID
/// </summary>
public string psn_insu_rlts_id { get; set; }
/// <summary>
/// 清算经办机构
/// </summary>
public string clr_optins { get; set; }
/// <summary>
/// 基本医疗保险统筹基金支付比例
/// </summary>
public string pool_prop_selfpay { get; set; }
/// <summary>
/// 年龄
/// </summary>
public string age { get; set; }
}
/// <summary>
/// 输出-结算基金分项信息
/// </summary>
public class Setldetail
{
/// <summary>
/// 基金支付类型
/// </summary>
public string fund_pay_type { get; set; }
/// <summary>
/// 基金支付金额
/// </summary>
public string fund_payamt { get; set; }
/// <summary>
/// 结算过程信息
/// </summary>
public string setl_proc_info { get; set; }
/// <summary>
/// 本次可支付限额金额
/// </summary>
public string crt_payb_lmt_amt { get; set; }
/// <summary>
/// 符合政策范围金额
/// </summary>
public string inscp_scp_amt { get; set; }
/// <summary>
/// 职工基本医疗统筹基金
/// </summary>
public string fund_pay_type_name { get; set; }
}
}
}

@ -0,0 +1,276 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gdsi.Model
{
public class Api2304Result
{
public string Msg { get; set; } = string.Empty;
/// <summary>
///
/// </summary>
public Output output { get; set; }
/// <summary>
///
/// </summary>
public string infcode { get; set; }
/// <summary>
///
/// </summary>
public string warn_msg { get; set; }
/// <summary>
///
/// </summary>
public string cainfo { get; set; }
/// <summary>
///
/// </summary>
public string err_msg { get; set; }
/// <summary>
///
/// </summary>
public string refmsg_time { get; set; }
/// <summary>
///
/// </summary>
public string signtype { get; set; }
/// <summary>
///
/// </summary>
public string respond_time { get; set; }
/// <summary>
///
/// </summary>
public string inf_refmsgid { get; set; }
public class Output
{
/// <summary>
/// 结算信息
/// </summary>
public Setlinfo setlinfo { get; set; }
/// <summary>
/// 结算基金分项信息
/// </summary>
public List<Setldetail> setldetail { get; set; }
}
public class Setlinfo
{
/// <summary>
/// 结算时间
/// </summary>
public string setl_time { get; set; }
/// <summary>
/// 公务员医疗补助资金支出
/// </summary>
public string cvlserv_pay { get; set; }
/// <summary>
/// 伤残人员医疗保障基金支出
/// </summary>
public string hifdm_pay { get; set; }
/// <summary>
/// 公务员标志
/// </summary>
public string cvlserv_flag { get; set; }
/// <summary>
/// 医疗类别
/// </summary>
public string med_type { get; set; }
/// <summary>
/// 字段扩展
/// </summary>
public string exp_content { get; set; }
/// <summary>
/// 出生日期
/// </summary>
public string brdy { get; set; }
/// <summary>
/// 民族
/// </summary>
public string naty { get; set; }
/// <summary>
/// 个人现金支出
/// </summary>
public string psn_cash_pay { get; set; }
/// <summary>
/// 证件号码
/// </summary>
public string certno { get; set; }
/// <summary>
/// 居民大病保险资金支出
/// </summary>
public string hifmi_pay { get; set; }
/// <summary>
/// 人员编号
/// </summary>
public string psn_no { get; set; }
/// <summary>
/// 实际支付起付线
/// </summary>
public string act_pay_dedc { get; set; }
/// <summary>
/// 就诊凭证类型
/// </summary>
public string mdtrt_cert_type { get; set; }
/// <summary>
/// 余额
/// </summary>
public string balc { get; set; }
/// <summary>
/// 医药机构结算ID
/// </summary>
public string medins_setl_id { get; set; }
/// <summary>
/// 人员证件类型
/// </summary>
public string psn_cert_type { get; set; }
/// <summary>
/// 个人账户共济支付金额
/// </summary>
public string acct_mulaid_pay { get; set; }
/// <summary>
/// 清算方式
/// </summary>
public string clr_way { get; set; }
/// <summary>
/// 职工大额医疗费用补助基金支出
/// </summary>
public string hifob_pay { get; set; }
/// <summary>
/// 其他支出
/// </summary>
public string oth_pay { get; set; }
/// <summary>
///
/// </summary>
public string ownpay_hosp_part { get; set; }
/// <summary>
/// 医疗费总额
/// </summary>
public string medfee_sumamt { get; set; }
/// <summary>
/// 企业补充医疗保险基金支出
/// </summary>
public string hifes_pay { get; set; }
/// <summary>
/// 性别
/// </summary>
public string gend { get; set; }
/// <summary>
/// 就诊ID
/// </summary>
public string mdtrt_id { get; set; }
/// <summary>
/// 个人账户支出
/// </summary>
public string acct_pay { get; set; }
/// <summary>
/// 基金支付总额
/// </summary>
public string fund_pay_sumamt { get; set; }
/// <summary>
/// 全自费金额
/// </summary>
public string fulamt_ownpay_amt { get; set; }
/// <summary>
/// 医院负担金额
/// </summary>
public string hosp_part_amt { get; set; }
/// <summary>
/// 结算ID
/// </summary>
public string setl_id { get; set; }
/// <summary>
/// 符合政策范围金额
/// </summary>
public string inscp_scp_amt { get; set; }
/// <summary>
/// 险种类型
/// </summary>
public string insutype { get; set; }
/// <summary>
/// 医疗救助基金支出
/// </summary>
public string maf_pay { get; set; }
/// <summary>
/// 人员姓名
/// </summary>
public string psn_name { get; set; }
/// <summary>
/// 个人负担总金额
/// </summary>
public string psn_part_amt { get; set; }
/// <summary>
/// 清算经办机构
/// </summary>
public string clr_optins { get; set; }
/// <summary>
/// 基本医疗保险统筹基金支付比例
/// </summary>
public string pool_prop_selfpay { get; set; }
/// <summary>
/// 人员类别
/// </summary>
public string psn_type { get; set; }
/// <summary>
/// 基本医疗保险统筹基金支出
/// </summary>
public string hifp_pay { get; set; }
/// <summary>
/// 超限价自费费用
/// </summary>
public string overlmt_selfpay { get; set; }
/// <summary>
/// 先行自付金额
/// </summary>
public string preselfpay_amt { get; set; }
/// <summary>
/// 年龄
/// </summary>
public string age { get; set; }
/// <summary>
/// 清算类别
/// </summary>
public string clr_type { get; set; }
}
public class Setldetail
{
/// <summary>
/// 基金支付类型
/// </summary>
public string fund_pay_type { get; set; }
/// <summary>
/// 基金支付金额
/// </summary>
public string fund_payamt { get; set; }
/// <summary>
/// 结算过程信息
/// </summary>
public string setl_proc_info { get; set; }
/// <summary>
/// 本次可支付限额金额
/// </summary>
public string crt_payb_lmt_amt { get; set; }
/// <summary>
/// 符合政策范围金额
/// </summary>
public string inscp_scp_amt { get; set; }
/// <summary>
/// 职工基本医疗统筹基金
/// </summary>
public string fund_pay_type_name { get; set; }
}
}
}

@ -0,0 +1,54 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gdsi.Model
{
public class Api2402Result
{
public string Msg { get; set; } = string.Empty;
/// <summary>
///
/// </summary>
public Output output { get; set; }
/// <summary>
/// 交易状态码0 成功 -1 失败
/// </summary>
public string infcode { get; set; }
/// <summary>
///
/// </summary>
public string warn_msg { get; set; }
/// <summary>
///
/// </summary>
public string cainfo { get; set; }
/// <summary>
///
/// </summary>
public string err_msg { get; set; }
/// <summary>
///
/// </summary>
public string refmsg_time { get; set; }
/// <summary>
///
/// </summary>
public string signtype { get; set; }
/// <summary>
///
/// </summary>
public string respond_time { get; set; }
/// <summary>
///
/// </summary>
public string inf_refmsgid { get; set; }
public class Output
{
}
}
}

@ -0,0 +1,53 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gdsi.Model
{
public class Api2403Result
{
public string Msg { get; set; } = string.Empty;
/// <summary>
///
/// </summary>
public Output output { get; set; }
/// <summary>
/// 交易状态码0 成功 -1 失败
/// </summary>
public string infcode { get; set; }
/// <summary>
///
/// </summary>
public string warn_msg { get; set; }
/// <summary>
///
/// </summary>
public string cainfo { get; set; }
/// <summary>
///
/// </summary>
public string err_msg { get; set; }
/// <summary>
///
/// </summary>
public string refmsg_time { get; set; }
/// <summary>
///
/// </summary>
public string signtype { get; set; }
/// <summary>
///
/// </summary>
public string respond_time { get; set; }
/// <summary>
///
/// </summary>
public string inf_refmsgid { get; set; }
public class Output
{
}
}
}

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="Newtonsoft.Json" version="12.0.2" targetFramework="net45" /> <package id="Newtonsoft.Json" version="10.0.3" targetFramework="net45" />
</packages> </packages>
Loading…
Cancel
Save