lib/v20200910/models.rb in tencentcloud-sdk-mrs-1.0.220 vs lib/v20200910/models.rb in tencentcloud-sdk-mrs-1.0.221
- old
+ new
@@ -2571,14 +2571,17 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Prescription: :class:`Tencentcloud::Mrs.v20200910.models.Prescription`
# @param VaccineCertificate: 免疫接种证明
# 注意:此字段可能返回 null,表示取不到有效值。
# @type VaccineCertificate: :class:`Tencentcloud::Mrs.v20200910.models.VaccineCertificate`
+ # @param OcrText: OCR文本
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type OcrText: String
- attr_accessor :PatientInfo, :ReportInfo, :Check, :Pathology, :MedDoc, :DiagCert, :FirstPage, :Indicator, :ReportType, :MedicalRecordInfo, :Hospitalization, :Surgery, :Electrocardiogram, :Endoscopy, :Prescription, :VaccineCertificate
+ attr_accessor :PatientInfo, :ReportInfo, :Check, :Pathology, :MedDoc, :DiagCert, :FirstPage, :Indicator, :ReportType, :MedicalRecordInfo, :Hospitalization, :Surgery, :Electrocardiogram, :Endoscopy, :Prescription, :VaccineCertificate, :OcrText
- 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)
+ 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)
@PatientInfo = patientinfo
@ReportInfo = reportinfo
@Check = check
@Pathology = pathology
@MedDoc = meddoc
@@ -2591,10 +2594,11 @@
@Surgery = surgery
@Electrocardiogram = electrocardiogram
@Endoscopy = endoscopy
@Prescription = prescription
@VaccineCertificate = vaccinecertificate
+ @OcrText = ocrtext
end
def deserialize(params)
unless params['PatientInfo'].nil?
@PatientInfo = PatientInfo.new
@@ -2655,9 +2659,10 @@
end
unless params['VaccineCertificate'].nil?
@VaccineCertificate = VaccineCertificate.new
@VaccineCertificate.deserialize(params['VaccineCertificate'])
end
+ @OcrText = params['OcrText']
end
end
# TextToClass请求参数结构体
class TextToClassRequest < TencentCloud::Common::AbstractModel