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 { /// /// 请求明细项 /// [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; } /// /// 结算id 对应收费申请单号 /// [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; } /// /// 明细费用编码 /// [XmlElement("fee_detail_no")] public string FeeDetailNo { get; set; } /// /// 费用编码 /// [XmlElement("fee_name")] public string FeeName { get; set; } /// /// 单价 /// [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; } } /// /// 请求明细列表 /// [XmlRoot("request_details")] public class HisFeeCallBodyDataDetailsDto { [XmlElement("detail")] public List Details { get; set; } } /// /// 主请求信息 /// [XmlRoot("request")] public class HisFeeCallBodyDataRequestDto { /// /// 人员条码号 /// [XmlElement("visit_id")] public string VisitId { get; set; } /// /// 收费申请单号 /// [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("hos_id")] public string HosId { get; set; } /// /// 固定 /// [XmlElement("org_name")] public string OrgName { get; set; } /// /// 档案号 /// [XmlElement("patient_id")] public string PatientId { get; set; } /// /// 姓名 /// [XmlElement("patient_name")] public string PatientName { get; set; } /// /// 固定 1 /// [XmlElement("gender_code")] public string GenderCode { get; set; } /// /// 出生日期 /// [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; } /// /// 0、个人、1、团体、2不计费(渝东医院新加不计费类型) /// [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; } /// /// 开单科室代码 /// [XmlElement("billing_dept_code")] public string BillingDeptCode { get; set; } /// /// 开单科室名称 /// [XmlElement("billing_dept_name")] public string BillingDeptName { get; set; } /// /// 开单医生编号 登记人账户 /// [XmlElement("billing_doc_code")] public string BillingDocCode { get; set; } /// /// 开单医生姓名 登记人姓名 /// [XmlElement("billing_doc_name")] public string BillingDocName { get; set; } } /// /// 数据部分 /// [XmlRoot("data")] public class HisFeeCallBodyDataDto { [XmlElement("request")] public HisFeeCallBodyDataRequestDto Request { get; set; } [XmlElement("request_details")] public HisFeeCallBodyDataDetailsDto RequestDetails { get; set; } } /// /// 请求体 /// [XmlRoot("body")] public class HisFeeCallBodyDto { [XmlElement("data")] public HisFeeCallBodyDataDto Data { get; set; } } /// /// 请求头信息 /// [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; } /// /// lis pacs his /// [XmlElement("object_system")] public string ObjectSystem { get; set; } [XmlElement("action")] public string Action { get; set; } [XmlElement("code")] public string Code { get; set; } } /// /// 完整的请求XML根对象 /// [XmlRoot("reqxml")] public class HisFeeCallDto { [XmlElement("head")] public HisFeeCallHeadDto Head { get; set; } [XmlElement("body")] public HisFeeCallBodyDto Body { get; set; } } }