class TencentCloud::Mrs::V20200910::Template
报告模板
def deserialize(params)
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
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)
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