Class: TencentCloud::Mrs::V20200910::Template
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::Template
- Defined in:
- lib/v20200910/models.rb
Overview
报告模板
Instance Attribute Summary collapse
- #BirthCert ⇒ Object
- #C14 ⇒ Object
- #Check ⇒ Object
- #Covid ⇒ Object
- #DiagCert ⇒ Object
- #Electrocardiogram ⇒ Object
- #Endoscopy ⇒ Object
- #Exame ⇒ Object
- #Eye ⇒ Object
- #FirstPage ⇒ Object
- #Hospitalization ⇒ Object
- #Indicator ⇒ Object
- #IndicatorV3 ⇒ Object
- #Maternity ⇒ Object
- #MedDoc ⇒ Object
- #MedDocV2 ⇒ Object
- #MedicalRecordInfo ⇒ Object
- #OcrResult ⇒ Object
- #OcrText ⇒ Object
- #Pathology ⇒ Object
- #PathologyV2 ⇒ Object
- #PatientInfo ⇒ Object
- #Prescription ⇒ Object
- #ReportInfo ⇒ Object
- #ReportType ⇒ Object
- #ReportTypeDesc ⇒ Object
- #Surgery ⇒ Object
- #Timeline ⇒ Object
- #VaccineCertificate ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(patientinfo = nil, reportinfo = nil, check = nil, pathology = nil, meddoc = nil, diagcert = nil, firstpage = nil, indicator = nil, reporttype = nil, medicalrecordinfo = nil, hospitalization = nil, surgery = nil, electrocardiogram = nil, endoscopy = nil, prescription = nil, vaccinecertificate = nil, ocrtext = nil, ocrresult = nil, reporttypedesc = nil, pathologyv2 = nil, c14 = nil, exame = nil, meddocv2 = nil, indicatorv3 = nil, covid = nil, maternity = nil, eye = nil, birthcert = nil, timeline = nil) ⇒ Template
constructor
A new instance of Template.
Constructor Details
#initialize(patientinfo = nil, reportinfo = nil, check = nil, pathology = nil, meddoc = nil, diagcert = nil, firstpage = nil, indicator = nil, reporttype = nil, medicalrecordinfo = nil, hospitalization = nil, surgery = nil, electrocardiogram = nil, endoscopy = nil, prescription = nil, vaccinecertificate = nil, ocrtext = nil, ocrresult = nil, reporttypedesc = nil, pathologyv2 = nil, c14 = nil, exame = nil, meddocv2 = nil, indicatorv3 = nil, covid = nil, maternity = nil, eye = nil, birthcert = nil, timeline = nil) ⇒ Template
Returns a new instance of Template.
10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 |
# File 'lib/v20200910/models.rb', line 10270 def initialize(patientinfo=nil, reportinfo=nil, check=nil, pathology=nil, meddoc=nil, diagcert=nil, firstpage=nil, indicator=nil, reporttype=nil, medicalrecordinfo=nil, hospitalization=nil, surgery=nil, electrocardiogram=nil, endoscopy=nil, prescription=nil, vaccinecertificate=nil, ocrtext=nil, ocrresult=nil, reporttypedesc=nil, pathologyv2=nil, c14=nil, exame=nil, meddocv2=nil, indicatorv3=nil, covid=nil, maternity=nil, eye=nil, birthcert=nil, timeline=nil) @PatientInfo = patientinfo @ReportInfo = reportinfo @Check = check @Pathology = pathology @MedDoc = meddoc @DiagCert = diagcert @FirstPage = firstpage @Indicator = indicator @ReportType = reporttype @MedicalRecordInfo = medicalrecordinfo @Hospitalization = hospitalization @Surgery = surgery @Electrocardiogram = electrocardiogram @Endoscopy = endoscopy @Prescription = prescription @VaccineCertificate = vaccinecertificate @OcrText = ocrtext @OcrResult = ocrresult @ReportTypeDesc = reporttypedesc @PathologyV2 = pathologyv2 @C14 = c14 @Exame = exame @MedDocV2 = meddocv2 @IndicatorV3 = indicatorv3 @Covid = covid @Maternity = maternity @Eye = eye @BirthCert = birthcert @Timeline = timeline end |
Instance Attribute Details
#BirthCert ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def BirthCert @BirthCert end |
#C14 ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def C14 @C14 end |
#Check ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def Check @Check end |
#Covid ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def Covid @Covid end |
#DiagCert ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def DiagCert @DiagCert end |
#Electrocardiogram ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def Electrocardiogram @Electrocardiogram end |
#Endoscopy ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def Endoscopy @Endoscopy end |
#Exame ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def Exame @Exame end |
#Eye ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def Eye @Eye end |
#FirstPage ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def FirstPage @FirstPage end |
#Hospitalization ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def Hospitalization @Hospitalization end |
#Indicator ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def Indicator @Indicator end |
#IndicatorV3 ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def IndicatorV3 @IndicatorV3 end |
#Maternity ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def Maternity @Maternity end |
#MedDoc ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def MedDoc @MedDoc end |
#MedDocV2 ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def MedDocV2 @MedDocV2 end |
#MedicalRecordInfo ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def MedicalRecordInfo @MedicalRecordInfo end |
#OcrResult ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def OcrResult @OcrResult end |
#OcrText ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def OcrText @OcrText end |
#Pathology ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def Pathology @Pathology end |
#PathologyV2 ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def PathologyV2 @PathologyV2 end |
#PatientInfo ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def PatientInfo @PatientInfo end |
#Prescription ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def Prescription @Prescription end |
#ReportInfo ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def ReportInfo @ReportInfo end |
#ReportType ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def ReportType @ReportType end |
#ReportTypeDesc ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def ReportTypeDesc @ReportTypeDesc end |
#Surgery ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def Surgery @Surgery end |
#Timeline ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def Timeline @Timeline end |
#VaccineCertificate ⇒ Object
10268 10269 10270 |
# File 'lib/v20200910/models.rb', line 10268 def VaccineCertificate @VaccineCertificate end |
Instance Method Details
#deserialize(params) ⇒ Object
10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 |
# File 'lib/v20200910/models.rb', line 10302 def deserialize(params) unless params['PatientInfo'].nil? @PatientInfo = PatientInfo.new @PatientInfo.deserialize(params['PatientInfo']) end unless params['ReportInfo'].nil? @ReportInfo = ReportInfo.new @ReportInfo.deserialize(params['ReportInfo']) end unless params['Check'].nil? @Check = Check.new @Check.deserialize(params['Check']) end unless params['Pathology'].nil? @Pathology = PathologyReport.new @Pathology.deserialize(params['Pathology']) end unless params['MedDoc'].nil? @MedDoc = MedDoc.new @MedDoc.deserialize(params['MedDoc']) end unless params['DiagCert'].nil? @DiagCert = DiagCert.new @DiagCert.deserialize(params['DiagCert']) end unless params['FirstPage'].nil? @FirstPage = FirstPage.new @FirstPage.deserialize(params['FirstPage']) end unless params['Indicator'].nil? @Indicator = Indicator.new @Indicator.deserialize(params['Indicator']) end @ReportType = params['ReportType'] unless params['MedicalRecordInfo'].nil? @MedicalRecordInfo = MedicalRecordInfo.new @MedicalRecordInfo.deserialize(params['MedicalRecordInfo']) end unless params['Hospitalization'].nil? @Hospitalization = Hospitalization.new @Hospitalization.deserialize(params['Hospitalization']) end unless params['Surgery'].nil? @Surgery = Surgery.new @Surgery.deserialize(params['Surgery']) end unless params['Electrocardiogram'].nil? @Electrocardiogram = Electrocardiogram.new @Electrocardiogram.deserialize(params['Electrocardiogram']) end unless params['Endoscopy'].nil? @Endoscopy = Endoscopy.new @Endoscopy.deserialize(params['Endoscopy']) end unless params['Prescription'].nil? @Prescription = Prescription.new @Prescription.deserialize(params['Prescription']) end unless params['VaccineCertificate'].nil? @VaccineCertificate = VaccineCertificate.new @VaccineCertificate.deserialize(params['VaccineCertificate']) end @OcrText = params['OcrText'] @OcrResult = params['OcrResult'] @ReportTypeDesc = params['ReportTypeDesc'] unless params['PathologyV2'].nil? @PathologyV2 = PathologyV2.new @PathologyV2.deserialize(params['PathologyV2']) end unless params['C14'].nil? @C14 = Indicator.new @C14.deserialize(params['C14']) end unless params['Exame'].nil? @Exame = Exame.new @Exame.deserialize(params['Exame']) end unless params['MedDocV2'].nil? @MedDocV2 = DischargeInfoBlock.new @MedDocV2.deserialize(params['MedDocV2']) end unless params['IndicatorV3'].nil? @IndicatorV3 = IndicatorV3.new @IndicatorV3.deserialize(params['IndicatorV3']) end unless params['Covid'].nil? @Covid = CovidItemsInfo.new @Covid.deserialize(params['Covid']) end unless params['Maternity'].nil? @Maternity = Maternity.new @Maternity.deserialize(params['Maternity']) end unless params['Eye'].nil? @Eye = EyeItemsInfo.new @Eye.deserialize(params['Eye']) end unless params['BirthCert'].nil? @BirthCert = BirthCert.new @BirthCert.deserialize(params['BirthCert']) end unless params['Timeline'].nil? @Timeline = TimelineInformation.new @Timeline.deserialize(params['Timeline']) end end |