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.
|
|
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Xml.Serialization;
namespace Shentun.Peis.PlugIns.Extensions.ChargeRequests.YinHai.His{ /// <summary>
/// 请求明细项
/// </summary>
[XmlRoot("detail")] public class HisFeeCallBodyDataDetailDto { [XmlElement("hos_id")] public string HosId { get; set; }
[XmlElement("visit_id")] public string VisitId { get; set; }
[XmlElement("datail_no")] public string DetailNo { get; set; }
/// <summary>
/// 结算id 对应收费申请单号
/// </summary>
[XmlElement("checkout_id")] public string CheckoutId { get; set; }
[XmlElement("org_code")] public string OrgCode { get; set; }
[XmlElement("system_source")] public string SystemSource { get; set; }
[XmlElement("dept_id")] public string DeptId { get; set; }
[XmlElement("dept_name")] public string DeptName { get; set; }
[XmlElement("portfolio_no")] public string PortfolioNo { get; set; }
/// <summary>
/// 明细费用编码
/// </summary>
[XmlElement("fee_detail_no")] public string FeeDetailNo { get; set; }
/// <summary>
/// 费用编码
/// </summary>
[XmlElement("fee_name")] public string FeeName { get; set; }
/// <summary>
/// 单价
/// </summary>
[XmlElement("price")] public string Price { get; set; }
[XmlElement("count")] public string Count { get; set; }
[XmlElement("stock_id")] public string StockId { get; set; }
[XmlElement("real_price")] public string RealPrice { get; set; } }
/// <summary>
/// 请求明细列表
/// </summary>
[XmlRoot("request_details")] public class HisFeeCallBodyDataDetailsDto { [XmlElement("detail")] public List<HisFeeCallBodyDataDetailDto> Details { get; set; } }
/// <summary>
/// 主请求信息
/// </summary>
[XmlRoot("request")] public class HisFeeCallBodyDataRequestDto { /// <summary>
/// 人员条码号
/// </summary>
[XmlElement("visit_id")] public string VisitId { get; set; }
/// <summary>
/// 收费申请单号
/// </summary>
[XmlElement("checkout_id")] public string CheckoutId { get; set; }
/// <summary>
/// 固定
/// </summary>
[XmlElement("org_code")] public string OrgCode { get; set; }
/// <summary>
/// 固定
/// </summary>
[XmlElement("system_source")] public string SystemSource { get; set; }
[XmlElement("hos_id")] public string HosId { get; set; }
/// <summary>
/// 固定
/// </summary>
[XmlElement("org_name")] public string OrgName { get; set; }
/// <summary>
/// 档案号
/// </summary>
[XmlElement("patient_id")] public string PatientId { get; set; }
/// <summary>
/// 姓名
/// </summary>
[XmlElement("patient_name")] public string PatientName { get; set; }
/// <summary>
/// 固定 1
/// </summary>
[XmlElement("gender_code")] public string GenderCode { get; set; }
/// <summary>
/// 出生日期
/// </summary>
[XmlElement("birthday")] public string Birthday { get; set; }
[XmlElement("id_card")] public string IdCard { get; set; }
[XmlElement("address")] public string Address { get; set; }
[XmlElement("phone")] public string Phone { get; set; }
/// <summary>
/// 0、个人、1、团体、2不计费(渝东医院新加不计费类型)
/// </summary>
[XmlElement("checkup_type")] public string CheckupType { get; set; }
[XmlElement("team_appointment_no")] public string TeamAppointmentNo { get; set; }
[XmlElement("team_code")] public string TeamCode { get; set; }
[XmlElement("team_name")] public string TeamName { get; set; }
[XmlElement("team_checkup_time")] public string TeamCheckupTime { get; set; }
[XmlElement("this_register_count")] public string ThisRegisterCount { get; set; }
[XmlElement("checkup_time")] public string CheckupTime { get; set; }
[XmlElement("sum_cost")] public string SumCost { get; set; }
[XmlElement("real_cost")] public string RealCost { get; set; }
/// <summary>
/// 开单科室代码
/// </summary>
[XmlElement("billing_dept_code")] public string BillingDeptCode { get; set; }
/// <summary>
/// 开单科室名称
/// </summary>
[XmlElement("billing_dept_name")] public string BillingDeptName { get; set; }
/// <summary>
/// 开单医生编号 登记人账户
/// </summary>
[XmlElement("billing_doc_code")] public string BillingDocCode { get; set; }
/// <summary>
/// 开单医生姓名 登记人姓名
/// </summary>
[XmlElement("billing_doc_name")] public string BillingDocName { get; set; } }
/// <summary>
/// 数据部分
/// </summary>
[XmlRoot("data")] public class HisFeeCallBodyDataDto { [XmlElement("request")] public HisFeeCallBodyDataRequestDto Request { get; set; }
[XmlElement("request_details")] public HisFeeCallBodyDataDetailsDto RequestDetails { get; set; } }
/// <summary>
/// 请求体
/// </summary>
[XmlRoot("body")] public class HisFeeCallBodyDto { [XmlElement("data")] public HisFeeCallBodyDataDto Data { get; set; } }
/// <summary>
/// 请求头信息
/// </summary>
[XmlRoot("head")] public class HisFeeCallHeadDto { [XmlElement("version")] public string Version { get; set; }
[XmlElement("timestamp")] public string Timestamp { get; set; }
[XmlElement("sign")] public string Sign { get; set; }
[XmlElement("request_id")] public string RequestId { get; set; }
[XmlElement("source_system")] public string SourceSystem { get; set; }
/// <summary>
/// lis pacs his
/// </summary>
[XmlElement("object_system")] public string ObjectSystem { get; set; }
[XmlElement("action")] public string Action { get; set; }
[XmlElement("code")] public string Code { get; set; } }
/// <summary>
/// 完整的请求XML根对象
/// </summary>
[XmlRoot("reqxml")] public class HisFeeCallDto { [XmlElement("head")] public HisFeeCallHeadDto Head { get; set; }
[XmlElement("body")] public HisFeeCallBodyDto Body { get; set; } }}
|