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.
419 lines
11 KiB
419 lines
11 KiB
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.PacsRequests.YinHai.Dto
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
/// 请求明细项
|
|
/// </summary>
|
|
[XmlRoot("detail")]
|
|
public class PacsRequestCallBodyDataDetailDto
|
|
{
|
|
|
|
|
|
[XmlElement("request_no")]
|
|
public string RequestNo { get; set; }
|
|
|
|
[XmlElement("patient_type")]
|
|
public string PatientType { get; set; }
|
|
|
|
[XmlElement("item_serial_no")]
|
|
public string ItemSerialNo { get; set; }
|
|
|
|
[XmlElement("org_code")]
|
|
public string OrgCode { get; set; }
|
|
|
|
[XmlElement("system_source")]
|
|
public string SystemSource { get; set; }
|
|
|
|
[XmlElement("org_name")]
|
|
public string OrgName { get; set; }
|
|
|
|
[XmlElement("patient_id")]
|
|
public string PatientId { get; set; }
|
|
|
|
[XmlElement("visit_id")]
|
|
public string VisitId { get; set; }
|
|
|
|
[XmlElement("order_id")]
|
|
public string OrderId { get; set; }
|
|
|
|
[XmlElement("item_id")]
|
|
public string ItemId { get; set; }
|
|
|
|
[XmlElement("item_code")]
|
|
public string ItemCode { get; set; }
|
|
|
|
[XmlElement("item_name")]
|
|
public string ItemName { get; set; }
|
|
|
|
[XmlElement("cost")]
|
|
public string Cost { get; set; }
|
|
|
|
[XmlElement("opeartion_code")]
|
|
public string OpeartionCode { get; set; }
|
|
|
|
[XmlElement("operation_name")]
|
|
public string OperationName { get; set; }
|
|
|
|
[XmlElement("operation_position_code")]
|
|
public string OperationPositionCode { get; set; }
|
|
|
|
|
|
[XmlElement("operation_position_name")]
|
|
public string OperationPositionName { get; set; }
|
|
|
|
[XmlElement("involved_name")]
|
|
public string InvolvedName { get; set; }
|
|
|
|
[XmlElement("operation_way_info")]
|
|
public string OperationWayInfo { get; set; }
|
|
|
|
[XmlElement("operation_count")]
|
|
public string OperationCount { get; set; }
|
|
|
|
[XmlElement("operation_date")]
|
|
public string OperationDate { get; set; }
|
|
|
|
[XmlElement("anesthesia_way_code")]
|
|
public string AnesthesiaWayCode { get; set; }
|
|
|
|
[XmlElement("anesthesia_observe_result")]
|
|
public string AnesthesiaObserveResult { get; set; }
|
|
|
|
[XmlElement("anestheisa_tcm_modern_code")]
|
|
public string AnestheisaTcmModernCode { get; set; }
|
|
|
|
[XmlElement("anesthesia_physician_code")]
|
|
public string AnesthesiaPhysicianCode { get; set; }
|
|
|
|
[XmlElement("anesthesia_physician_sign")]
|
|
public string AnesthesiaPhysicianSign { get; set; }
|
|
|
|
[XmlElement("diag_peocess_info")]
|
|
public string DiagPeocessInfo { get; set; }
|
|
|
|
[XmlElement("exec_dept_code")]
|
|
public string ExecDeptCode { get; set; }
|
|
|
|
[XmlElement("exec_dept_name")]
|
|
public string ExecDeptName { get; set; }
|
|
|
|
[XmlElement("exec_flag")]
|
|
public string ExecFlag { get; set; }
|
|
|
|
[XmlElement("cancel_flag")]
|
|
public string CancelFlag { get; set; }
|
|
|
|
[XmlElement("device_type_name")]
|
|
public string DeviceTypeName { get; set; }
|
|
|
|
[XmlElement("device_name")]
|
|
public string DeviceName { get; set; }
|
|
|
|
[XmlElement("device_way_name")]
|
|
public string DeviceWayName { get; set; }
|
|
|
|
[XmlElement("is_emergency")]
|
|
public string IsEmergency { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 请求明细列表
|
|
/// </summary>
|
|
[XmlRoot("request_details")]
|
|
public class PacsRequestCallBodyDataDetailsDto
|
|
{
|
|
[XmlElement("detail")]
|
|
public List<PacsRequestCallBodyDataDetailDto> Details { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 主请求信息
|
|
/// </summary>
|
|
[XmlRoot("request")]
|
|
public class PacsRequestCallBodyDataRequestDto
|
|
{
|
|
|
|
/// <summary>
|
|
/// 检查单号码
|
|
/// </summary>
|
|
[XmlElement("request_no")]
|
|
public string RequestNo { get; set; }
|
|
|
|
[XmlElement("patient_type")]
|
|
public string PatientType { get; set; }
|
|
|
|
[XmlElement("org_code")]
|
|
public string OrgCode { get; set; }
|
|
|
|
[XmlElement("system_source")]
|
|
public string SystemSource { get; set; }
|
|
|
|
|
|
|
|
[XmlElement("org_name")]
|
|
public string OrgName { get; set; }
|
|
|
|
[XmlElement("visit_id")]
|
|
public string VisitId { get; set; }
|
|
|
|
[XmlElement("visit_no")]
|
|
public string VisitNo { get; set; }
|
|
|
|
[XmlElement("patient_id")]
|
|
public string PatientId { get; set; }
|
|
|
|
[XmlElement("patient_no")]
|
|
public string PatientNo { get; set; }
|
|
|
|
[XmlElement("is_baby")]
|
|
public string IsBaby { get; set; }
|
|
|
|
[XmlElement("patient_name")]
|
|
public string PatientName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 性别
|
|
/// </summary>
|
|
[XmlElement("gender_code")]
|
|
public string GenderCode { get; set; }
|
|
|
|
[XmlElement("age")]
|
|
public string Age { get; set; }
|
|
|
|
[XmlElement("age_unit")]
|
|
public string AgeUnit { get; set; }
|
|
|
|
[XmlElement("med_card_no")]
|
|
public string MedCardNo { get; set; }
|
|
|
|
[XmlElement("id_card")]
|
|
public string IdCard { get; set; }
|
|
|
|
[XmlElement("health_card_no")]
|
|
public string HealthCardNo { get; set; }
|
|
|
|
[XmlElement("health_file_no")]
|
|
public string HealthFileNo { get; set; }
|
|
|
|
[XmlElement("purpose")]
|
|
public string Purpose { get; set; }
|
|
|
|
[XmlElement("telphone")]
|
|
public string Telphone { get; set; }
|
|
|
|
[XmlElement("present_address")]
|
|
public string PresentAddress { get; set; }
|
|
|
|
[XmlElement("nation_code")]
|
|
public string NationCode { get; set; }
|
|
|
|
[XmlElement("nation_name")]
|
|
public string NationName { get; set; }
|
|
|
|
[XmlElement("nationality_code")]
|
|
public string NationalityCode { get; set; }
|
|
|
|
[XmlElement("nationality_name")]
|
|
public string NationalityName { get; set; }
|
|
|
|
[XmlElement("marriage_code")]
|
|
public string MarriageCode { get; set; }
|
|
|
|
[XmlElement("present_history")]
|
|
public string PresentHistory { get; set; }
|
|
|
|
[XmlElement("complanit")]
|
|
public string Complanit { get; set; }
|
|
|
|
[XmlElement("symptoms_info")]
|
|
public string SymptomsInfo { get; set; }
|
|
|
|
[XmlElement("diag_code")]
|
|
public string DiagCode { get; set; }
|
|
|
|
[XmlElement("diag_name")]
|
|
public string DiagName { get; set; }
|
|
|
|
[XmlElement("requestor_code")]
|
|
public string RequestorCode { get; set; }
|
|
|
|
[XmlElement("requestor")]
|
|
public string Requestor { get; set; }
|
|
|
|
[XmlElement("request_dept_code")]
|
|
public string RequestDeptCode { get; set; }
|
|
|
|
[XmlElement("request_dept_name")]
|
|
public string RequestDeptName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 开单时间
|
|
/// </summary>
|
|
[XmlElement("billing_date")]
|
|
public string BillingDate { get; set; }
|
|
|
|
[XmlElement("ward_code")]
|
|
public string WardCode { get; set; }
|
|
|
|
[XmlElement("ward_name")]
|
|
public string WardName { get; set; }
|
|
|
|
[XmlElement("room_no")]
|
|
public string RoomNo { get; set; }
|
|
|
|
[XmlElement("bed_no")]
|
|
public string BedNo { get; set; }
|
|
|
|
[XmlElement("identy_no")]
|
|
public string IdentyNo { get; set; }
|
|
|
|
[XmlElement("dept_code")]
|
|
public string DeptCode { get; set; }
|
|
|
|
[XmlElement("dept_name")]
|
|
public string DeptName { get; set; }
|
|
|
|
[XmlElement("is_emergency")]
|
|
public string IsEmergency { get; set; }
|
|
|
|
[XmlElement("birthday")]
|
|
public string Birthday { get; set; }
|
|
|
|
[XmlElement("visit_count")]
|
|
public string VisitCount { get; set; }
|
|
|
|
[XmlElement("maxitem_id")]
|
|
public string MaxitemId { get; set; }
|
|
|
|
[XmlElement("maxitem_code")]
|
|
public string MaxitemCode { get; set; }
|
|
|
|
[XmlElement("maxitem_name")]
|
|
public string MaxitemName { get; set; }
|
|
|
|
[XmlElement("device_type")]
|
|
public string DeviceType { get; set; }
|
|
|
|
[XmlElement("sum_cost")]
|
|
public string SumCost { get; set; }
|
|
|
|
[XmlElement("pay_flag")]
|
|
public string PayFlag { get; set; }
|
|
|
|
[XmlElement("specimen_type")]
|
|
public string SpecimenType { get; set; }
|
|
|
|
[XmlElement("check_specimen_no")]
|
|
public string CheckSpecimenNo { get; set; }
|
|
|
|
[XmlElement("specimen_status")]
|
|
public string SpecimenStatus { get; set; }
|
|
|
|
[XmlElement("specimen_fixer")]
|
|
public string SpecimenFixer { get; set; }
|
|
|
|
[XmlElement("exec_dept_code")]
|
|
public string ExecDeptCode { get; set; }
|
|
|
|
[XmlElement("exec_dept_name")]
|
|
public string ExecDeptName { get; set; }
|
|
|
|
[XmlElement("cancel_flag")]
|
|
public string CancelFlag { get; set; }
|
|
|
|
[XmlElement("exec_flag")]
|
|
public string ExecFlag { get; set; }
|
|
|
|
[XmlElement("print_flag")]
|
|
public string PrintFlag { get; set; }
|
|
|
|
[XmlElement("print_count")]
|
|
public string PrintCount { get; set; }
|
|
|
|
[XmlElement("gc_flag")]
|
|
public string GcFlag { get; set; }
|
|
|
|
[XmlElement("appointment_flag")]
|
|
public string AppointmentFlag { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 数据部分
|
|
/// </summary>
|
|
[XmlRoot("data")]
|
|
public class PacsRequestCallBodyDataDto
|
|
{
|
|
[XmlElement("request")]
|
|
public PacsRequestCallBodyDataRequestDto Request { get; set; }
|
|
|
|
[XmlElement("request_details")]
|
|
public PacsRequestCallBodyDataDetailsDto RequestDetails { get; set; }
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 请求体
|
|
/// </summary>
|
|
[XmlRoot("body")]
|
|
public class PacsRequestCallBodyDto
|
|
{
|
|
[XmlElement("data")]
|
|
public PacsRequestCallBodyDataDto Data { get; set; }
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 请求头信息
|
|
/// </summary>
|
|
[XmlRoot("head")]
|
|
public class PacsRequestCallHeadDto
|
|
{
|
|
[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 PacsRequestCallDto
|
|
{
|
|
[XmlElement("head")]
|
|
public PacsRequestCallHeadDto Head { get; set; }
|
|
|
|
[XmlElement("body")]
|
|
public PacsRequestCallBodyDto Body { get; set; }
|
|
}
|
|
}
|