tencentcloud-sdk-mrs 3.0.722 → 3.0.723

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a091ede1328ccdbdc0b309e07d5feed14ba665d
4
- data.tar.gz: 478a8e012587387ac87a9c5bb21123bd16c85dd7
3
+ metadata.gz: 89df1e70003908a5db41c1c52ab6e721b86c308c
4
+ data.tar.gz: 94f5fff16e2338db5a2d479f039aa7b3b8b8262c
5
5
  SHA512:
6
- metadata.gz: 72032ec4faf725bf7ecdce823ae274681bdb371796ef11ce52748c67a9d9c17c7f806d151fcd467119a5f07eae0686a53741ee94df89a50350ca8c380e5ae0da
7
- data.tar.gz: b322f4497f18ea41a2e5b2c068a65c10ee5dacfa14787bf1cd448a085897e2be360c06488f8b36f87a4705d290793b8fba3142db76be9db76f59b745c64f6592
6
+ metadata.gz: 8dbefca169c29826653d6dddc05a96c65b955f2828290a19354e6dc5ae49deaf8874e1af5eb6f133afdc2a19e25e6e6e407c09e2375593fdbe45a4292497c986
7
+ data.tar.gz: c20c8a1e99bb1acee12545601dc17cf4d49fc0dcc89444f928f3e5ab80c5252312ac6b0131d0a88865aba55aff3021ff95a3f0955d62ecda7aae673151be5566
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.722
1
+ 3.0.723
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 医疗报告图片脱敏接口
33
+
34
+ # @param request: Request instance for ImageMask.
35
+ # @type request: :class:`Tencentcloud::mrs::V20200910::ImageMaskRequest`
36
+ # @rtype: :class:`Tencentcloud::mrs::V20200910::ImageMaskResponse`
37
+ def ImageMask(request)
38
+ body = send_request('ImageMask', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = ImageMaskResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 图片分类
33
57
 
34
58
  # @param request: Request instance for ImageToClass.
@@ -4008,8 +4008,8 @@ module TencentCloud
4008
4008
 
4009
4009
  attr_accessor :AdmissionTime, :DischargeTime, :AdmissionDays, :AdmissionDignosis, :AdmissionCondition, :DiagnosisTreatment, :DischargeDiagnosis, :DischargeInstruction, :AdmissionDiagnosis
4010
4010
  extend Gem::Deprecate
4011
- deprecate :AdmissionDignosis, :none, 2023, 11
4012
- deprecate :AdmissionDignosis=, :none, 2023, 11
4011
+ deprecate :AdmissionDignosis, :none, 2023, 12
4012
+ deprecate :AdmissionDignosis=, :none, 2023, 12
4013
4013
 
4014
4014
  def initialize(admissiontime=nil, dischargetime=nil, admissiondays=nil, admissiondignosis=nil, admissioncondition=nil, diagnosistreatment=nil, dischargediagnosis=nil, dischargeinstruction=nil, admissiondiagnosis=nil)
4015
4015
  @AdmissionTime = admissiontime
@@ -4188,6 +4188,81 @@ module TencentCloud
4188
4188
  end
4189
4189
  end
4190
4190
 
4191
+ # 图片脱敏选项
4192
+ # 不填默认敏感信息都脱敏
4193
+ class ImageMaskFlags < TencentCloud::Common::AbstractModel
4194
+ # @param HospitalFlag: 是否对医院信息进行脱敏
4195
+ # @type HospitalFlag: Boolean
4196
+ # @param DoctorFlag: 是否对医生信息进行脱敏
4197
+ # @type DoctorFlag: Boolean
4198
+ # @param PatientFlag: 是否对患者信息进行脱敏
4199
+ # @type PatientFlag: Boolean
4200
+ # @param BarFlag: 是否对二维码信息进行脱敏
4201
+ # @type BarFlag: Boolean
4202
+
4203
+ attr_accessor :HospitalFlag, :DoctorFlag, :PatientFlag, :BarFlag
4204
+
4205
+ def initialize(hospitalflag=nil, doctorflag=nil, patientflag=nil, barflag=nil)
4206
+ @HospitalFlag = hospitalflag
4207
+ @DoctorFlag = doctorflag
4208
+ @PatientFlag = patientflag
4209
+ @BarFlag = barflag
4210
+ end
4211
+
4212
+ def deserialize(params)
4213
+ @HospitalFlag = params['HospitalFlag']
4214
+ @DoctorFlag = params['DoctorFlag']
4215
+ @PatientFlag = params['PatientFlag']
4216
+ @BarFlag = params['BarFlag']
4217
+ end
4218
+ end
4219
+
4220
+ # ImageMask请求参数结构体
4221
+ class ImageMaskRequest < TencentCloud::Common::AbstractModel
4222
+ # @param Image: 图片信息,目前只支持传图片base64
4223
+ # @type Image: :class:`Tencentcloud::Mrs.v20200910.models.ImageInfo`
4224
+ # @param MaskFlag: 图片脱敏选项, 不传默认都脱敏
4225
+ # @type MaskFlag: :class:`Tencentcloud::Mrs.v20200910.models.ImageMaskFlags`
4226
+
4227
+ attr_accessor :Image, :MaskFlag
4228
+
4229
+ def initialize(image=nil, maskflag=nil)
4230
+ @Image = image
4231
+ @MaskFlag = maskflag
4232
+ end
4233
+
4234
+ def deserialize(params)
4235
+ unless params['Image'].nil?
4236
+ @Image = ImageInfo.new
4237
+ @Image.deserialize(params['Image'])
4238
+ end
4239
+ unless params['MaskFlag'].nil?
4240
+ @MaskFlag = ImageMaskFlags.new
4241
+ @MaskFlag.deserialize(params['MaskFlag'])
4242
+ end
4243
+ end
4244
+ end
4245
+
4246
+ # ImageMask返回参数结构体
4247
+ class ImageMaskResponse < TencentCloud::Common::AbstractModel
4248
+ # @param MaskedImage: 脱敏后图片的Base64信息
4249
+ # @type MaskedImage: String
4250
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4251
+ # @type RequestId: String
4252
+
4253
+ attr_accessor :MaskedImage, :RequestId
4254
+
4255
+ def initialize(maskedimage=nil, requestid=nil)
4256
+ @MaskedImage = maskedimage
4257
+ @RequestId = requestid
4258
+ end
4259
+
4260
+ def deserialize(params)
4261
+ @MaskedImage = params['MaskedImage']
4262
+ @RequestId = params['RequestId']
4263
+ end
4264
+ end
4265
+
4191
4266
  # ImageToClass请求参数结构体
4192
4267
  class ImageToClassRequest < TencentCloud::Common::AbstractModel
4193
4268
  # @param ImageInfoList: 图片列表,允许传入多张图片,支持传入图片的base64编码,暂不支持图片url
@@ -4599,8 +4674,8 @@ module TencentCloud
4599
4674
 
4600
4675
  attr_accessor :TableIndictors, :Version, :TableIndicators
4601
4676
  extend Gem::Deprecate
4602
- deprecate :TableIndictors, :none, 2023, 11
4603
- deprecate :TableIndictors=, :none, 2023, 11
4677
+ deprecate :TableIndictors, :none, 2023, 12
4678
+ deprecate :TableIndictors=, :none, 2023, 12
4604
4679
 
4605
4680
  def initialize(tableindictors=nil, version=nil, tableindicators=nil)
4606
4681
  @TableIndictors = tableindictors
@@ -6860,8 +6935,8 @@ module TencentCloud
6860
6935
 
6861
6936
  attr_accessor :Part, :Size, :Envelope, :Edge, :InnerEcho, :Gland, :Shape, :Thickness, :ShapeAttr, :CDFI, :SymDesc, :SizeStatus, :Outline, :Structure, :Density, :Vas, :Cysticwall, :Capsule, :IsthmusThicknese, :InnerEchoDistribution, :Src, :Index, :Transparent, :MriAdc, :MriDwi, :MriT1, :MriT2, :CtHu, :Suvmax, :Metabolism, :RadioactiveUptake, :LymphEnlargement, :ImageFeature, :Duct, :Trend, :Operation, :Coords, :IsthmusThickness
6862
6937
  extend Gem::Deprecate
6863
- deprecate :IsthmusThicknese, :none, 2023, 11
6864
- deprecate :IsthmusThicknese=, :none, 2023, 11
6938
+ deprecate :IsthmusThicknese, :none, 2023, 12
6939
+ deprecate :IsthmusThicknese=, :none, 2023, 12
6865
6940
 
6866
6941
  def initialize(part=nil, size=nil, envelope=nil, edge=nil, innerecho=nil, gland=nil, shape=nil, thickness=nil, shapeattr=nil, cdfi=nil, symdesc=nil, sizestatus=nil, outline=nil, structure=nil, density=nil, vas=nil, cysticwall=nil, capsule=nil, isthmusthicknese=nil, innerechodistribution=nil, src=nil, index=nil, transparent=nil, mriadc=nil, mridwi=nil, mrit1=nil, mrit2=nil, cthu=nil, suvmax=nil, metabolism=nil, radioactiveuptake=nil, lymphenlargement=nil, imagefeature=nil, duct=nil, trend=nil, operation=nil, coords=nil, isthmusthickness=nil)
6867
6942
  @Part = part
@@ -7452,8 +7527,8 @@ module TencentCloud
7452
7527
 
7453
7528
  attr_accessor :IncisionHealingText, :AuxiliaryExaminationText, :SpecialExamText, :OutpatientDiagnosisText, :AdmissionConditionText, :CheckAndTreatmentProcessText, :SymptomsAndSignsText, :DischargeInstructionsText, :AdmissionDiagnosisText, :SurgeryConditionText, :PathologicalDiagnosisText, :DischargeConditionText, :CheckRecordText, :ChiefComplaintText, :DischargeDiagnosisText, :MainDiseaseHistoryText, :DiseasePresentText, :PersonalHistoryText, :MenstruallHistoryText, :ObstericalHistoryText, :FamilyHistoryText, :AllergyHistoryText, :DiseaseHistoryText, :OtherDiagnosisText, :BodyExaminationText, :SpecialistExaminationText, :TreatmentResultText, :MenstrualHistoryText
7454
7529
  extend Gem::Deprecate
7455
- deprecate :MenstruallHistoryText, :none, 2023, 11
7456
- deprecate :MenstruallHistoryText=, :none, 2023, 11
7530
+ deprecate :MenstruallHistoryText, :none, 2023, 12
7531
+ deprecate :MenstruallHistoryText=, :none, 2023, 12
7457
7532
 
7458
7533
  def initialize(incisionhealingtext=nil, auxiliaryexaminationtext=nil, specialexamtext=nil, outpatientdiagnosistext=nil, admissionconditiontext=nil, checkandtreatmentprocesstext=nil, symptomsandsignstext=nil, dischargeinstructionstext=nil, admissiondiagnosistext=nil, surgeryconditiontext=nil, pathologicaldiagnosistext=nil, dischargeconditiontext=nil, checkrecordtext=nil, chiefcomplainttext=nil, dischargediagnosistext=nil, maindiseasehistorytext=nil, diseasepresenttext=nil, personalhistorytext=nil, menstruallhistorytext=nil, obstericalhistorytext=nil, familyhistorytext=nil, allergyhistorytext=nil, diseasehistorytext=nil, otherdiagnosistext=nil, bodyexaminationtext=nil, specialistexaminationtext=nil, treatmentresulttext=nil, menstrualhistorytext=nil)
7459
7534
  @IncisionHealingText = incisionhealingtext
@@ -10472,8 +10547,8 @@ module TencentCloud
10472
10547
 
10473
10548
  attr_accessor :DmissionCondition, :ChiefComplaint, :DiseasePresent, :SymptomsAndSigns, :AuxiliaryExamination, :BodyExamination, :SpecialistExamination, :MentalExamination, :CheckRecord, :InspectResult, :IncisionHealing, :TreatmentSuggestion, :FollowUpRequirements, :CheckAndTreatmentProcess, :SurgeryCondition, :ConditionChanges, :DischargeCondition, :PTNM, :PTNMM, :PTNMN, :PTNMT, :ECOG, :NRS, :KPS, :DeathDate, :RelapseDate, :ObservationDays, :AdmissionCondition
10474
10549
  extend Gem::Deprecate
10475
- deprecate :DmissionCondition, :none, 2023, 11
10476
- deprecate :DmissionCondition=, :none, 2023, 11
10550
+ deprecate :DmissionCondition, :none, 2023, 12
10551
+ deprecate :DmissionCondition=, :none, 2023, 12
10477
10552
 
10478
10553
  def initialize(dmissioncondition=nil, chiefcomplaint=nil, diseasepresent=nil, symptomsandsigns=nil, auxiliaryexamination=nil, bodyexamination=nil, specialistexamination=nil, mentalexamination=nil, checkrecord=nil, inspectresult=nil, incisionhealing=nil, treatmentsuggestion=nil, followuprequirements=nil, checkandtreatmentprocess=nil, surgerycondition=nil, conditionchanges=nil, dischargecondition=nil, ptnm=nil, ptnmm=nil, ptnmn=nil, ptnmt=nil, ecog=nil, nrs=nil, kps=nil, deathdate=nil, relapsedate=nil, observationdays=nil, admissioncondition=nil)
10479
10554
  @DmissionCondition = dmissioncondition
@@ -11056,8 +11131,8 @@ module TencentCloud
11056
11131
 
11057
11132
  attr_accessor :Type, :Part, :Size, :Multiple, :AspectRatio, :Edge, :InnerEcho, :RearEcho, :Elastic, :Shape, :ShapeAttr, :SkinMedulla, :Trend, :Calcification, :Envelope, :Enhancement, :LymphEnlargement, :LymphDoor, :Activity, :Operation, :CDFI, :Index, :SizeStatus, :InnerEchoDistribution, :InnerEchoType, :Outline, :Structure, :Density, :Vas, :Cysticwall, :Capsule, :IsthmusThicknese, :Src, :Transparent, :MriAdc, :MriDwi, :MriT1, :MriT2, :CtHu, :Suvmax, :Metabolism, :RadioactiveUptake, :SymDesc, :ImageFeature, :Coords, :IsthmusThickness
11058
11133
  extend Gem::Deprecate
11059
- deprecate :IsthmusThicknese, :none, 2023, 11
11060
- deprecate :IsthmusThicknese=, :none, 2023, 11
11134
+ deprecate :IsthmusThicknese, :none, 2023, 12
11135
+ deprecate :IsthmusThicknese=, :none, 2023, 12
11061
11136
 
11062
11137
  def initialize(type=nil, part=nil, size=nil, multiple=nil, aspectratio=nil, edge=nil, innerecho=nil, rearecho=nil, elastic=nil, shape=nil, shapeattr=nil, skinmedulla=nil, trend=nil, calcification=nil, envelope=nil, enhancement=nil, lymphenlargement=nil, lymphdoor=nil, activity=nil, operation=nil, cdfi=nil, index=nil, sizestatus=nil, innerechodistribution=nil, innerechotype=nil, outline=nil, structure=nil, density=nil, vas=nil, cysticwall=nil, capsule=nil, isthmusthicknese=nil, src=nil, transparent=nil, mriadc=nil, mridwi=nil, mrit1=nil, mrit2=nil, cthu=nil, suvmax=nil, metabolism=nil, radioactiveuptake=nil, symdesc=nil, imagefeature=nil, coords=nil, isthmusthickness=nil)
11063
11138
  @Type = type
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mrs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.722
4
+ version: 3.0.723
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-06 00:00:00.000000000 Z
11
+ date: 2023-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common