Class: TencentCloud::Mrs::V20200910::ReportInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::ReportInfo
- Defined in:
- lib/v20200910/models.rb
Overview
报告基本信息
Instance Attribute Summary collapse
- #BedNo ⇒ Object
- #BillingTime ⇒ Object
- #CheckItem ⇒ Object
- #CheckMethod ⇒ Object
- #CheckNum ⇒ Object
- #DepartmentName ⇒ Object
- #Diagnose ⇒ Object
- #DiagnoseTime ⇒ Object
- #HealthCheckupNum ⇒ Object
- #Hospital ⇒ Object
- #ImageNum ⇒ Object
- #InHospitalNum ⇒ Object
- #InspectTime ⇒ Object
- #MedicalRecordNum ⇒ Object
- #OtherTime ⇒ Object
- #OutpatientNum ⇒ Object
- #PathologyNum ⇒ Object
- #PrintTime ⇒ Object
- #RadiationNum ⇒ Object
- #ReportName ⇒ Object
- #ReportTime ⇒ Object
- #SampleNum ⇒ Object
- #SampleType ⇒ Object
- #TestNum ⇒ Object
- #Times ⇒ Object
- #UltraNum ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hospital = nil, departmentname = nil, billingtime = nil, reporttime = nil, inspecttime = nil, checknum = nil, imagenum = nil, radiationnum = nil, testnum = nil, outpatientnum = nil, pathologynum = nil, inhospitalnum = nil, samplenum = nil, sampletype = nil, medicalrecordnum = nil, reportname = nil, ultranum = nil, diagnose = nil, checkitem = nil, checkmethod = nil, diagnosetime = nil, healthcheckupnum = nil, othertime = nil, printtime = nil, times = nil, bedno = nil) ⇒ ReportInfo
constructor
A new instance of ReportInfo.
Constructor Details
#initialize(hospital = nil, departmentname = nil, billingtime = nil, reporttime = nil, inspecttime = nil, checknum = nil, imagenum = nil, radiationnum = nil, testnum = nil, outpatientnum = nil, pathologynum = nil, inhospitalnum = nil, samplenum = nil, sampletype = nil, medicalrecordnum = nil, reportname = nil, ultranum = nil, diagnose = nil, checkitem = nil, checkmethod = nil, diagnosetime = nil, healthcheckupnum = nil, othertime = nil, printtime = nil, times = nil, bedno = nil) ⇒ ReportInfo
Returns a new instance of ReportInfo.
9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 |
# File 'lib/v20200910/models.rb', line 9191 def initialize(hospital=nil, departmentname=nil, billingtime=nil, reporttime=nil, inspecttime=nil, checknum=nil, imagenum=nil, radiationnum=nil, testnum=nil, outpatientnum=nil, pathologynum=nil, inhospitalnum=nil, samplenum=nil, sampletype=nil, medicalrecordnum=nil, reportname=nil, ultranum=nil, diagnose=nil, checkitem=nil, checkmethod=nil, diagnosetime=nil, healthcheckupnum=nil, othertime=nil, printtime=nil, times=nil, bedno=nil) @Hospital = hospital @DepartmentName = departmentname @BillingTime = billingtime @ReportTime = reporttime @InspectTime = inspecttime @CheckNum = checknum @ImageNum = imagenum @RadiationNum = radiationnum @TestNum = testnum @OutpatientNum = outpatientnum @PathologyNum = pathologynum @InHospitalNum = inhospitalnum @SampleNum = samplenum @SampleType = sampletype @MedicalRecordNum = medicalrecordnum @ReportName = reportname @UltraNum = ultranum @Diagnose = diagnose @CheckItem = checkitem @CheckMethod = checkmethod @DiagnoseTime = diagnosetime @HealthCheckupNum = healthcheckupnum @OtherTime = othertime @PrintTime = printtime @Times = times @BedNo = bedno end |
Instance Attribute Details
#BedNo ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def BedNo @BedNo end |
#BillingTime ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def BillingTime @BillingTime end |
#CheckItem ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def CheckItem @CheckItem end |
#CheckMethod ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def CheckMethod @CheckMethod end |
#CheckNum ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def CheckNum @CheckNum end |
#DepartmentName ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def DepartmentName @DepartmentName end |
#Diagnose ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def Diagnose @Diagnose end |
#DiagnoseTime ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def DiagnoseTime @DiagnoseTime end |
#HealthCheckupNum ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def HealthCheckupNum @HealthCheckupNum end |
#Hospital ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def Hospital @Hospital end |
#ImageNum ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def ImageNum @ImageNum end |
#InHospitalNum ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def InHospitalNum @InHospitalNum end |
#InspectTime ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def InspectTime @InspectTime end |
#MedicalRecordNum ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def MedicalRecordNum @MedicalRecordNum end |
#OtherTime ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def OtherTime @OtherTime end |
#OutpatientNum ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def OutpatientNum @OutpatientNum end |
#PathologyNum ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def PathologyNum @PathologyNum end |
#PrintTime ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def PrintTime @PrintTime end |
#RadiationNum ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def RadiationNum @RadiationNum end |
#ReportName ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def ReportName @ReportName end |
#ReportTime ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def ReportTime @ReportTime end |
#SampleNum ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def SampleNum @SampleNum end |
#SampleType ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def SampleType @SampleType end |
#TestNum ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def TestNum @TestNum end |
#Times ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def Times @Times end |
#UltraNum ⇒ Object
9189 9190 9191 |
# File 'lib/v20200910/models.rb', line 9189 def UltraNum @UltraNum end |
Instance Method Details
#deserialize(params) ⇒ Object
9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 |
# File 'lib/v20200910/models.rb', line 9220 def deserialize(params) @Hospital = params['Hospital'] @DepartmentName = params['DepartmentName'] @BillingTime = params['BillingTime'] @ReportTime = params['ReportTime'] @InspectTime = params['InspectTime'] @CheckNum = params['CheckNum'] @ImageNum = params['ImageNum'] @RadiationNum = params['RadiationNum'] @TestNum = params['TestNum'] @OutpatientNum = params['OutpatientNum'] @PathologyNum = params['PathologyNum'] @InHospitalNum = params['InHospitalNum'] @SampleNum = params['SampleNum'] @SampleType = params['SampleType'] @MedicalRecordNum = params['MedicalRecordNum'] @ReportName = params['ReportName'] @UltraNum = params['UltraNum'] @Diagnose = params['Diagnose'] @CheckItem = params['CheckItem'] @CheckMethod = params['CheckMethod'] @DiagnoseTime = params['DiagnoseTime'] @HealthCheckupNum = params['HealthCheckupNum'] @OtherTime = params['OtherTime'] @PrintTime = params['PrintTime'] unless params['Times'].nil? @Times = [] params['Times'].each do |i| time_tmp = Time.new time_tmp.deserialize(i) @Times << time_tmp end end @BedNo = params['BedNo'] end |