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.

124 lines
3.1 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.ImportLisResults.Dian
{
[XmlRoot(ElementName = "Error")]
public class ErrorInfo
{
[XmlElement("Code")]
public string Code { get; set; }
[XmlElement("Descript")]
public string Description { get; set; }
}
[XmlRoot(ElementName = "Table")]
public class TestResult
{
[XmlElement("BARCODE")]
public string Barcode { get; set; }
[XmlElement("SAMPLEFROM")]
public string SampleFrom { get; set; }
[XmlElement("SAMPLETYPE")]
public string SampleType { get; set; }
[XmlElement("COLLECTDDATE")]
public DateTime CollectDate { get; set; }
[XmlElement("SUBMITDATE")]
public DateTime SubmitDate { get; set; }
[XmlElement("TESTCODE")]
public string TestCode { get; set; }
[XmlElement("ANALYTE_ORIGREC")]
public string AnalyteOrigRec { get; set; }
[XmlElement("APPRDATE")]
public DateTime ApproveDate { get; set; }
[XmlElement("DEPT")]
public string Department { get; set; }
[XmlElement("SERVGRP")]
public string ServiceGroup { get; set; }
[XmlElement("USRNAM")]
public string UserName { get; set; }
[XmlElement("APPRVEDBY")]
public string ApprovedBy { get; set; }
[XmlElement("PATIENTNAME")]
public string PatientName { get; set; }
[XmlElement("CLINICID")]
public string ClinicId { get; set; }
[XmlElement("SEX")]
public string Sex { get; set; }
[XmlElement("SINONYM")]
public string Synonym { get; set; }
[XmlElement("SHORTNAME")]
public string ShortName { get; set; }
[XmlElement("FINAL")]
public string FinalResult { get; set; }
[XmlElement("ANALYTE")]
public string Analyte { get; set; }
[XmlElement("DISPLOWHIGH")]
public string DisplayLowHigh { get; set; }
[XmlElement("S")]
public string S { get; set; }
[XmlElement("HIGHB")]
public string HighBound { get; set; }
[XmlElement("LOWB")]
public string LowBound { get; set; }
[XmlElement("RANGE_FLG")]
public string RangeFlag { get; set; }
[XmlElement("RN20")]
public string RN20 { get; set; }
}
[XmlRoot(ElementName = "ResultsDataSet")]
public class ResultsDataSet
{
[XmlElement("Table")]
public List<TestResult> Tables { get; set; }
}
/// <summary>
/// 常规
/// </summary>
[XmlRoot(ElementName = "root")]
public class GetDetailByHospCodeNormalOut
{
[XmlElement("Error")]
public ErrorInfo Error { get; set; }
[XmlElement("RecordCount")]
public int RecordCount { get; set; }
[XmlElement("ExportSerialNumber")]
public string ExportSerialNumber { get; set; }
[XmlElement("ResultsDataSet")]
public ResultsDataSet ResultsDataSet { get; set; }
}
}