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.

133 lines
3.3 KiB

6 months ago
3 months ago
6 months ago
3 months ago
6 months ago
3 months ago
6 months ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Xml.Serialization;
  7. namespace Shentun.Peis.PlugIns.Extensions.ImportLisResults.Dian
  8. {
  9. [XmlRoot(ElementName = "Error")]
  10. public class ErrorInfo
  11. {
  12. [XmlElement("Code")]
  13. public string Code { get; set; }
  14. [XmlElement("Descript")]
  15. public string Description { get; set; }
  16. }
  17. [XmlRoot(ElementName = "Table")]
  18. public class TestResult
  19. {
  20. [XmlElement("BARCODE")]
  21. public string Barcode { get; set; }
  22. [XmlElement("SAMPLEFROM")]
  23. public string SampleFrom { get; set; }
  24. [XmlElement("SAMPLETYPE")]
  25. public string SampleType { get; set; }
  26. /// <summary>
  27. /// 采样时间
  28. /// </summary>
  29. [XmlElement("COLLECTDDATE")]
  30. public DateTime CollectDate { get; set; }
  31. /// <summary>
  32. /// 提交时间
  33. /// </summary>
  34. [XmlElement("SUBMITDATE")]
  35. public DateTime SubmitDate { get; set; }
  36. [XmlElement("TESTCODE")]
  37. public string TestCode { get; set; }
  38. [XmlElement("ANALYTE_ORIGREC")]
  39. public string AnalyteOrigRec { get; set; }
  40. /// <summary>
  41. /// 发布时间
  42. /// </summary>
  43. [XmlElement("APPRDATE")]
  44. public DateTime ApproveDate { get; set; }
  45. [XmlElement("DEPT")]
  46. public string Department { get; set; }
  47. [XmlElement("SERVGRP")]
  48. public string ServiceGroup { get; set; }
  49. [XmlElement("USRNAM")]
  50. public string UserName { get; set; }
  51. [XmlElement("APPRVEDBY")]
  52. public string ApprovedBy { get; set; }
  53. [XmlElement("PATIENTNAME")]
  54. public string PatientName { get; set; }
  55. [XmlElement("CLINICID")]
  56. public string ClinicId { get; set; }
  57. [XmlElement("SEX")]
  58. public string Sex { get; set; }
  59. [XmlElement("SINONYM")]
  60. public string Synonym { get; set; }
  61. [XmlElement("SHORTNAME")]
  62. public string ShortName { get; set; }
  63. [XmlElement("FINAL")]
  64. public string FinalResult { get; set; }
  65. [XmlElement("ANALYTE")]
  66. public string Analyte { get; set; }
  67. [XmlElement("DISPLOWHIGH")]
  68. public string DisplayLowHigh { get; set; }
  69. [XmlElement("S")]
  70. public string S { get; set; }
  71. [XmlElement("HIGHB")]
  72. public string HighBound { get; set; }
  73. [XmlElement("LOWB")]
  74. public string LowBound { get; set; }
  75. [XmlElement("RANGE_FLG")]
  76. public string RangeFlag { get; set; }
  77. [XmlElement("RN20")]
  78. public string RN20 { get; set; }
  79. }
  80. [XmlRoot(ElementName = "ResultsDataSet")]
  81. public class ResultsDataSet
  82. {
  83. [XmlElement("Table")]
  84. public List<TestResult> Tables { get; set; }
  85. }
  86. /// <summary>
  87. /// 常规
  88. /// </summary>
  89. [XmlRoot(ElementName = "root")]
  90. public class GetDetailByHospCodeNormalOut
  91. {
  92. [XmlElement("Error")]
  93. public ErrorInfo Error { get; set; }
  94. [XmlElement("RecordCount")]
  95. public int RecordCount { get; set; }
  96. [XmlElement("ExportSerialNumber")]
  97. public string ExportSerialNumber { get; set; }
  98. [XmlElement("ResultsDataSet")]
  99. public ResultsDataSet ResultsDataSet { get; set; }
  100. }
  101. }