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.

257 lines
9.3 KiB

1 month ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Report.Entity.PeisEntity.OccupationalDisease
  7. {
  8. // Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
  9. public class CommonReason
  10. {
  11. public string suggestionContent { get; set; }
  12. public int displayOrder { get; set; }
  13. }
  14. public class HealthGuidance
  15. {
  16. public string suggestionContent { get; set; }
  17. public int displayOrder { get; set; }
  18. }
  19. public class Item
  20. {
  21. public string itemId { get; set; }
  22. public string itemName { get; set; }
  23. public string result { get; set; }
  24. public string referenceRangeValue { get; set; }
  25. public string criticalRangeValue { get; set; }
  26. public string unit { get; set; }
  27. public int reportFontColor { get; set; }
  28. public int reportBackgroundColor { get; set; }
  29. public string reportPrompt { get; set; }
  30. public int displayOrder { get; set; }
  31. }
  32. public class ItemType
  33. {
  34. public string medicalReportTypeId { get; set; }
  35. public string itemTypeId { get; set; }
  36. public string itemTypePathCode { get; set; }
  37. public string itemTypeName { get; set; }
  38. public int displayOrder { get; set; }
  39. }
  40. public class MedicalInterpretation
  41. {
  42. public string suggestionContent { get; set; }
  43. public int displayOrder { get; set; }
  44. }
  45. public class MedicalReportType
  46. {
  47. public string medicalReportTypeId { get; set; }
  48. public string medicalReportTypeName { get; set; }
  49. public int displayOrder { get; set; }
  50. }
  51. public class OcCheckTypeDto
  52. {
  53. public string ocCheckTypeId { get; set; }
  54. public string displayName { get; set; }
  55. public string simpleCode { get; set; }
  56. public int displayOrder { get; set; }
  57. }
  58. public class PatientOccupationalDisease
  59. {
  60. public string ocCheckTypeId { get; set; }
  61. public string ocCheckTypeName { get; set; }
  62. public string jobType { get; set; }
  63. public string totalWorkTime { get; set; }
  64. public string poisonWorkTime { get; set; }
  65. public string riskFactors { get; set; }
  66. public string familyGeneticHistory { get; set; }
  67. public string lastMenstrualPeriodDate { get; set; }
  68. public string firstMenstruation { get; set; }
  69. public string menstruationTimeLength { get; set; }
  70. public string menstruationCycle { get; set; }
  71. public string menstruationEndAge { get; set; }
  72. public string menstruationFlag { get; set; }
  73. public string childrenNum { get; set; }
  74. public string abortionTimes { get; set; }
  75. public string prematureBirthTimes { get; set; }
  76. public string stillbirthTimes { get; set; }
  77. public string abnormalTimes { get; set; }
  78. public string smokeFlag { get; set; }
  79. public int? smokeNum { get; set; }
  80. public string OccupationalDiseaseNumber { get; set; }
  81. public int? smokeNumMax { get; set; }
  82. public int? smokeYears { get; set; }
  83. public string drinkFlag { get; set; }
  84. public int? drinkNum { get; set; }
  85. public int? drinkNumMax { get; set; }
  86. public int? drinkYears { get; set; }
  87. public string other { get; set; }
  88. public string occupationalAbnormal { get; set; }
  89. public string noOccupationalAbnormal { get; set; }
  90. public string occupationalAbSuggestion { get; set; }
  91. public string noOccupAbSuggestion { get; set; }
  92. public string handleSuggestion { get; set; }
  93. }
  94. public class PatientOccupationalHistoryDto
  95. {
  96. public string org { get; set; }
  97. public string beginDate { get; set; }
  98. public string endDate { get; set; }
  99. public string workShop { get; set; }
  100. public string workType { get; set; }
  101. public string poison { get; set; }
  102. public string protectiveMeasures { get; set; }
  103. public int displayOrder { get; set; }
  104. }
  105. public class PatientOccupationalMedicalHistoryDto
  106. {
  107. public string occupationalDisease { get; set; }
  108. public string diagnosisDate { get; set; }
  109. public string diagnosisHospital { get; set; }
  110. public string isRecovery { get; set; }
  111. public string treatmentMethods { get; set; }
  112. public int displayOrder { get; set; }
  113. }
  114. public class PatientPastMedicalHistoryDto
  115. {
  116. public string occupationalDisease { get; set; }
  117. public string diagnosisDate { get; set; }
  118. public string diagnosisHospital { get; set; }
  119. public string isRecovery { get; set; }
  120. public string treatmentMethods { get; set; }
  121. public int displayOrder { get; set; }
  122. }
  123. public class PatientPoisonDto
  124. {
  125. public string poisonName { get; set; }
  126. public string occupationalAbnormalName { get; set; }
  127. public int displayOrder { get; set; }
  128. }
  129. public class PatientSymptomDto
  130. {
  131. public string symptomName { get; set; }
  132. public string degree { get; set; }
  133. public string timeLength { get; set; }
  134. public int displayOrder { get; set; }
  135. }
  136. public class Picture
  137. {
  138. public string pictureFileName { get; set; }
  139. public string pictureBase64 { get; set; }
  140. public int displayOrder { get; set; }
  141. }
  142. public class RegisterCheck
  143. {
  144. public string itemTypeId { get; set; }
  145. public string asbitemNames { get; set; }
  146. public int displayOrder { get; set; }
  147. public string checkDoctorName { get; set; }
  148. public string checkDoctorSignUrl { get; set; }
  149. public string checkDate { get; set; }
  150. public string auditorName { get; set; }
  151. public string auditorSignUrl { get; set; }
  152. public string samplerName { get; set; }
  153. public string samplingTime { get; set; }
  154. public List<Item> items { get; set; }
  155. public List<Summary> summarys { get; set; }
  156. public List<Picture> pictures { get; set; }
  157. }
  158. public class Dto0006
  159. {
  160. public List<OcCheckTypeDto> ocCheckTypeDtos { get; set; }
  161. public PatientOccupationalDisease patientOccupationalDisease { get; set; }
  162. public List<PatientOccupationalHistoryDto> patientOccupationalHistoryDtos { get; set; }
  163. public List<PatientPoisonDto> patientPoisonDtos { get; set; }
  164. public List<PatientSymptomDto> patientSymptomDtos { get; set; }
  165. public List<PatientOccupationalMedicalHistoryDto> patientOccupationalMedicalHistoryDtos { get; set; }
  166. public List<PatientPastMedicalHistoryDto> patientPastMedicalHistoryDtos { get; set; }
  167. public string patientRegisterId { get; set; }
  168. public string isPersonal { get; set; }
  169. public string customerOrgName { get; set; }
  170. public string departmentName { get; set; }
  171. public string patientRegisterNo { get; set; }
  172. public string patientNo { get; set; }
  173. public string idNo { get; set; }
  174. public int medicalTimes { get; set; }
  175. public string patientName { get; set; }
  176. public string sexName { get; set; }
  177. public int age { get; set; }
  178. public string birthDate { get; set; }
  179. public string maritalStatusName { get; set; }
  180. public string nationName { get; set; }
  181. public string mobileTelephone { get; set; }
  182. public string isVip { get; set; }
  183. public string medicalStartDate { get; set; }
  184. public string medicalTypeName { get; set; }
  185. public string personnelTypeName { get; set; }
  186. public string medicalPackageOrCustomerOrgGroupName { get; set; }
  187. public string summaryDoctorName { get; set; }
  188. public string summaryDoctorSignUrl { get; set; }
  189. public string summaryDate { get; set; }
  190. public string auditDoctorName { get; set; }
  191. public string auditDoctorSignUrl { get; set; }
  192. public string auditDate { get; set; }
  193. public string medicalCenterId { get; set; }
  194. public string medicalCenterName { get; set; }
  195. public string medicalCenterAddress { get; set; }
  196. public string medicalCenterTelphone { get; set; }
  197. public List<MedicalReportType> medicalReportTypes { get; set; }
  198. public List<ItemType> itemTypes { get; set; }
  199. public List<SumSummary> sumSummarys { get; set; }
  200. public List<SumSuggestion> sumSuggestions { get; set; }
  201. public List<RegisterCheck> registerChecks { get; set; }
  202. }
  203. public class Summary
  204. {
  205. public string summary { get; set; }
  206. public int displayOrder { get; set; }
  207. }
  208. public class SummaryContent
  209. {
  210. public string summaryContent { get; set; }
  211. public int displayOrder { get; set; }
  212. }
  213. public class SumSuggestion
  214. {
  215. public string suggestionTitle { get; set; }
  216. public string suggestionFlag { get; set; }
  217. public int displayOrder { get; set; }
  218. public List<MedicalInterpretation> medicalInterpretations { get; set; }
  219. public List<CommonReason> commonReasons { get; set; }
  220. public List<HealthGuidance> healthGuidances { get; set; }
  221. }
  222. public class SumSummary
  223. {
  224. public string summaryTitle { get; set; }
  225. public string summaryFlag { get; set; }
  226. public int displayOrder { get; set; }
  227. public List<SummaryContent> summaryContents { get; set; }
  228. }
  229. }