tencentcloud-sdk-mrs 3.0.916 → 3.0.917

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20200910/models.rb +74 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ae0d965a1983cf1caf5e6ef2b20a791d87e0178
4
- data.tar.gz: fd78bb4ef13878b3dd7e111cd875f51948dfdd71
3
+ metadata.gz: fcc4b5a1000514a4f4602904b4603eae468677a7
4
+ data.tar.gz: d36e0e4f74926f0ec1f69283060b6ee9cea762e7
5
5
  SHA512:
6
- metadata.gz: b4fb414d902bb6fd4320cd45029767554cedb1b6f72c87da2140222e6ecfa465bb4f88b38c5b7376ebfa049a397b849f35f5551ceaa2b3d6a9b783075ae5a1c4
7
- data.tar.gz: 9f0c60da0d25d8bf6c5e5101da97fa7a160e691cf16067762940199bca95ae4dc5ed264cf2718cf5b7ab3f1634cb52f80a6b49173eb141b1ada67cc8d3830913
6
+ metadata.gz: 2f690899ce3e7d12b42ab5309925af51bf7d2acbf8ee6fd87c6da6f5ed46ef5ae09d0203fba7e6fb2df92dcf20917a8fe1102ee53f652c0517e84bde97de413f
7
+ data.tar.gz: 4726ce33576327b91927f4c1e98d2a7b2f7044fe6647fb3f654588948eba4cb8cddc1e87fe1426c771f5246cef4ade8722eb4a9d24cf4a752118b1760dee40ec
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.916
1
+ 3.0.917
@@ -5599,16 +5599,19 @@ module TencentCloud
5599
5599
  # (2)病理报告 15,默认使用 V1,最高支持 V2。
5600
5600
  # (3)入院记录29、出院记录 28、病历记录 216、病程记录 217、门诊记录 210,默认使用 V1,最高支持 V2。
5601
5601
  # @type ReportTypeVersion: Array
5602
+ # @param OcrInfoList: 可选。 图片OCR信息列表,每一个元素是一张图片的OCR结果。适用于不想将医疗报告图片传入腾讯云的客户,客户可对图片OCR信息中的敏感信息去除之后再传入。与 ImageInfoList 二选一,同时存在则使用OcrInfoList
5603
+ # @type OcrInfoList: Array
5602
5604
 
5603
- attr_accessor :ImageInfoList, :HandleParam, :Type, :IsUsedClassify, :UserType, :ReportTypeVersion
5605
+ attr_accessor :ImageInfoList, :HandleParam, :Type, :IsUsedClassify, :UserType, :ReportTypeVersion, :OcrInfoList
5604
5606
 
5605
- def initialize(imageinfolist=nil, handleparam=nil, type=nil, isusedclassify=nil, usertype=nil, reporttypeversion=nil)
5607
+ def initialize(imageinfolist=nil, handleparam=nil, type=nil, isusedclassify=nil, usertype=nil, reporttypeversion=nil, ocrinfolist=nil)
5606
5608
  @ImageInfoList = imageinfolist
5607
5609
  @HandleParam = handleparam
5608
5610
  @Type = type
5609
5611
  @IsUsedClassify = isusedclassify
5610
5612
  @UserType = usertype
5611
5613
  @ReportTypeVersion = reporttypeversion
5614
+ @OcrInfoList = ocrinfolist
5612
5615
  end
5613
5616
 
5614
5617
  def deserialize(params)
@@ -5635,6 +5638,14 @@ module TencentCloud
5635
5638
  @ReportTypeVersion << reporttypeversion_tmp
5636
5639
  end
5637
5640
  end
5641
+ unless params['OcrInfoList'].nil?
5642
+ @OcrInfoList = []
5643
+ params['OcrInfoList'].each do |i|
5644
+ ocrinfo_tmp = OcrInfo.new
5645
+ ocrinfo_tmp.deserialize(i)
5646
+ @OcrInfoList << ocrinfo_tmp
5647
+ end
5648
+ end
5638
5649
  end
5639
5650
  end
5640
5651
 
@@ -7902,6 +7913,67 @@ module TencentCloud
7902
7913
  end
7903
7914
  end
7904
7915
 
7916
+ # 图片完整的OCR信息
7917
+ class OcrInfo < TencentCloud::Common::AbstractModel
7918
+ # @param Items: 图片进行OCR之后得到的所有包含字块的OCR信息
7919
+ # @type Items: Array
7920
+ # @param Text: 图片进行OCR之后得到的所有字符
7921
+ # @type Text: String
7922
+
7923
+ attr_accessor :Items, :Text
7924
+
7925
+ def initialize(items=nil, text=nil)
7926
+ @Items = items
7927
+ @Text = text
7928
+ end
7929
+
7930
+ def deserialize(params)
7931
+ unless params['Items'].nil?
7932
+ @Items = []
7933
+ params['Items'].each do |i|
7934
+ ocritem_tmp = OcrItem.new
7935
+ ocritem_tmp.deserialize(i)
7936
+ @Items << ocritem_tmp
7937
+ end
7938
+ end
7939
+ @Text = params['Text']
7940
+ end
7941
+ end
7942
+
7943
+ # 图片进行OCR之后,包含字符块的信息,包含字符与坐标,一个图片进行OCR之后可能分为多个这样的块
7944
+ class OcrItem < TencentCloud::Common::AbstractModel
7945
+ # @param Words: 图片中文字的字符串
7946
+ # @type Words: String
7947
+ # @param Coords: Words 中每个文字的坐标数组,顺序与Words中的字符顺序一致
7948
+ # @type Coords: Array
7949
+ # @param WordCoords: 整个字符块的坐标信息
7950
+ # @type WordCoords: :class:`Tencentcloud::Mrs.v20200910.models.Coordinate`
7951
+
7952
+ attr_accessor :Words, :Coords, :WordCoords
7953
+
7954
+ def initialize(words=nil, coords=nil, wordcoords=nil)
7955
+ @Words = words
7956
+ @Coords = coords
7957
+ @WordCoords = wordcoords
7958
+ end
7959
+
7960
+ def deserialize(params)
7961
+ @Words = params['Words']
7962
+ unless params['Coords'].nil?
7963
+ @Coords = []
7964
+ params['Coords'].each do |i|
7965
+ coordinate_tmp = Coordinate.new
7966
+ coordinate_tmp.deserialize(i)
7967
+ @Coords << coordinate_tmp
7968
+ end
7969
+ end
7970
+ unless params['WordCoords'].nil?
7971
+ @WordCoords = Coordinate.new
7972
+ @WordCoords.deserialize(params['WordCoords'])
7973
+ end
7974
+ end
7975
+ end
7976
+
7905
7977
  # 体检报告-眼科-裸眼视力
7906
7978
  class OphthalmologyBareEyeSight < TencentCloud::Common::AbstractModel
7907
7979
  # @param LeftEyeVisual: 左眼视力
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mrs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.916
4
+ version: 3.0.917
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud