tencentcloud-sdk-mrs 1.0.201 → 1.0.205
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200910/models.rb +230 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f8acc0187be414dd56a7e7e591882b883e0beae
|
4
|
+
data.tar.gz: d7228891d64dd960ab246d9dd7a04dd6c872fb8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed98d13ef443b095dface13360690e2ea40273f1c1b3b700e5a26eaec0ecf4ffb1a8c2b00e43aaea315df2341013938bea635a9c5b4d7d269b919f0e73eb1c4c
|
7
|
+
data.tar.gz: e18154a26dc010808fd2c5656150b035344ce11f909d617b6695521acc7f0c6e6c0fb97d84a4291247eeec94ec40a64c6e0e9b0497f883c6cd0ef63218cb9b31
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.205
|
data/lib/v20200910/models.rb
CHANGED
@@ -71,6 +71,28 @@ module TencentCloud
|
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
74
|
+
# 活检部位
|
75
|
+
class BiopsyPart < TencentCloud::Common::AbstractModel
|
76
|
+
# @param Value: 值
|
77
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
78
|
+
# @type Value: String
|
79
|
+
# @param Src: 原文
|
80
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
81
|
+
# @type Src: String
|
82
|
+
|
83
|
+
attr_accessor :Value, :Src
|
84
|
+
|
85
|
+
def initialize(value=nil, src=nil)
|
86
|
+
@Value = value
|
87
|
+
@Src = src
|
88
|
+
end
|
89
|
+
|
90
|
+
def deserialize(params)
|
91
|
+
@Value = params['Value']
|
92
|
+
@Src = params['Src']
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
74
96
|
# 块信息
|
75
97
|
class BlockInfo < TencentCloud::Common::AbstractModel
|
76
98
|
# @param Index: 原文位置
|
@@ -618,6 +640,118 @@ module TencentCloud
|
|
618
640
|
end
|
619
641
|
end
|
620
642
|
|
643
|
+
# 内窥镜报告
|
644
|
+
class Endoscopy < TencentCloud::Common::AbstractModel
|
645
|
+
# @param BiopsyPart: 活检部位
|
646
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
647
|
+
# @type BiopsyPart: :class:`Tencentcloud::Mrs.v20200910.models.BiopsyPart`
|
648
|
+
# @param Desc: 可见描述
|
649
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
650
|
+
# @type Desc: :class:`Tencentcloud::Mrs.v20200910.models.EndoscopyDesc`
|
651
|
+
# @param Summary: 结论
|
652
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
653
|
+
# @type Summary: :class:`Tencentcloud::Mrs.v20200910.models.Summary`
|
654
|
+
|
655
|
+
attr_accessor :BiopsyPart, :Desc, :Summary
|
656
|
+
|
657
|
+
def initialize(biopsypart=nil, desc=nil, summary=nil)
|
658
|
+
@BiopsyPart = biopsypart
|
659
|
+
@Desc = desc
|
660
|
+
@Summary = summary
|
661
|
+
end
|
662
|
+
|
663
|
+
def deserialize(params)
|
664
|
+
unless params['BiopsyPart'].nil?
|
665
|
+
@BiopsyPart = BiopsyPart.new
|
666
|
+
@BiopsyPart.deserialize(params['BiopsyPart'])
|
667
|
+
end
|
668
|
+
unless params['Desc'].nil?
|
669
|
+
@Desc = EndoscopyDesc.new
|
670
|
+
@Desc.deserialize(params['Desc'])
|
671
|
+
end
|
672
|
+
unless params['Summary'].nil?
|
673
|
+
@Summary = Summary.new
|
674
|
+
@Summary.deserialize(params['Summary'])
|
675
|
+
end
|
676
|
+
end
|
677
|
+
end
|
678
|
+
|
679
|
+
# 内窥镜描述
|
680
|
+
class EndoscopyDesc < TencentCloud::Common::AbstractModel
|
681
|
+
# @param Text: 描述内容
|
682
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
683
|
+
# @type Text: String
|
684
|
+
# @param Organ: 器官
|
685
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
686
|
+
# @type Organ: Array
|
687
|
+
|
688
|
+
attr_accessor :Text, :Organ
|
689
|
+
|
690
|
+
def initialize(text=nil, organ=nil)
|
691
|
+
@Text = text
|
692
|
+
@Organ = organ
|
693
|
+
end
|
694
|
+
|
695
|
+
def deserialize(params)
|
696
|
+
@Text = params['Text']
|
697
|
+
unless params['Organ'].nil?
|
698
|
+
@Organ = []
|
699
|
+
params['Organ'].each do |i|
|
700
|
+
endoscopyorgan_tmp = EndoscopyOrgan.new
|
701
|
+
endoscopyorgan_tmp.deserialize(i)
|
702
|
+
@Organ << endoscopyorgan_tmp
|
703
|
+
end
|
704
|
+
end
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
708
|
+
# 内窥部位
|
709
|
+
class EndoscopyOrgan < TencentCloud::Common::AbstractModel
|
710
|
+
# @param Part: 部位
|
711
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
712
|
+
# @type Part: :class:`Tencentcloud::Mrs.v20200910.models.Part`
|
713
|
+
# @param Index: 原文位置
|
714
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
715
|
+
# @type Index: Array
|
716
|
+
# @param Src: 原文
|
717
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
718
|
+
# @type Src: String
|
719
|
+
# @param PartAlias: 部位别名
|
720
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
721
|
+
# @type PartAlias: String
|
722
|
+
# @param SymDescList: 症状描述
|
723
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
724
|
+
# @type SymDescList: Array
|
725
|
+
|
726
|
+
attr_accessor :Part, :Index, :Src, :PartAlias, :SymDescList
|
727
|
+
|
728
|
+
def initialize(part=nil, index=nil, src=nil, partalias=nil, symdesclist=nil)
|
729
|
+
@Part = part
|
730
|
+
@Index = index
|
731
|
+
@Src = src
|
732
|
+
@PartAlias = partalias
|
733
|
+
@SymDescList = symdesclist
|
734
|
+
end
|
735
|
+
|
736
|
+
def deserialize(params)
|
737
|
+
unless params['Part'].nil?
|
738
|
+
@Part = Part.new
|
739
|
+
@Part.deserialize(params['Part'])
|
740
|
+
end
|
741
|
+
@Index = params['Index']
|
742
|
+
@Src = params['Src']
|
743
|
+
@PartAlias = params['PartAlias']
|
744
|
+
unless params['SymDescList'].nil?
|
745
|
+
@SymDescList = []
|
746
|
+
params['SymDescList'].each do |i|
|
747
|
+
blockinfo_tmp = BlockInfo.new
|
748
|
+
blockinfo_tmp.deserialize(i)
|
749
|
+
@SymDescList << blockinfo_tmp
|
750
|
+
end
|
751
|
+
end
|
752
|
+
end
|
753
|
+
end
|
754
|
+
|
621
755
|
# 家族疾病史
|
622
756
|
class FamilyMedicalHistory < TencentCloud::Common::AbstractModel
|
623
757
|
# @param RelativeHistory: 家族成员史
|
@@ -966,7 +1100,7 @@ module TencentCloud
|
|
966
1100
|
# @type ImageInfoList: Array
|
967
1101
|
# @param HandleParam: 图片处理参数
|
968
1102
|
# @type HandleParam: :class:`Tencentcloud::Mrs.v20200910.models.HandleParam`
|
969
|
-
# @param Type: 报告类型,目前支持11(检验报告),12(检查报告),15(病理报告),28(出院报告),29(入院报告),210(门诊病历),212(手术记录),218(诊断证明),363
|
1103
|
+
# @param Type: 报告类型,目前支持11(检验报告),12(检查报告),15(病理报告),28(出院报告),29(入院报告),210(门诊病历),212(手术记录),218(诊断证明),363(心电图),27(内窥镜检查),215(处方单)。如果不清楚报告类型,可以使用分类引擎,该字段传0(同时IsUsedClassify字段必须为True,否则无法输出结果)
|
970
1104
|
# @type Type: Integer
|
971
1105
|
# @param IsUsedClassify: 是否使用分类引擎,当不确定报告类型时,可以使用收费的报告分类引擎服务。若该字段为 False,则 Type 字段不能为 0,否则无法输出结果。
|
972
1106
|
# 注意:当 IsUsedClassify 为True 时,表示使用收费的报告分类服务,将会产生额外的费用,具体收费标准参见 [购买指南的产品价格](https://cloud.tencent.com/document/product/1314/54264)。
|
@@ -1311,6 +1445,58 @@ module TencentCloud
|
|
1311
1445
|
end
|
1312
1446
|
end
|
1313
1447
|
|
1448
|
+
# 药品
|
1449
|
+
class Medicine < TencentCloud::Common::AbstractModel
|
1450
|
+
# @param Name: 药品名
|
1451
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1452
|
+
# @type Name: String
|
1453
|
+
# @param TradeName: 商品名
|
1454
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1455
|
+
# @type TradeName: String
|
1456
|
+
# @param Firm: 厂商
|
1457
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1458
|
+
# @type Firm: String
|
1459
|
+
# @param Category: 医保类型
|
1460
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1461
|
+
# @type Category: String
|
1462
|
+
# @param Specification: 规格
|
1463
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1464
|
+
# @type Specification: String
|
1465
|
+
# @param MinQuantity: 最小包装数量
|
1466
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1467
|
+
# @type MinQuantity: String
|
1468
|
+
# @param DosageUnit: 最小制剂单位
|
1469
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1470
|
+
# @type DosageUnit: String
|
1471
|
+
# @param PackingUnit: 最小包装单位
|
1472
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1473
|
+
# @type PackingUnit: String
|
1474
|
+
|
1475
|
+
attr_accessor :Name, :TradeName, :Firm, :Category, :Specification, :MinQuantity, :DosageUnit, :PackingUnit
|
1476
|
+
|
1477
|
+
def initialize(name=nil, tradename=nil, firm=nil, category=nil, specification=nil, minquantity=nil, dosageunit=nil, packingunit=nil)
|
1478
|
+
@Name = name
|
1479
|
+
@TradeName = tradename
|
1480
|
+
@Firm = firm
|
1481
|
+
@Category = category
|
1482
|
+
@Specification = specification
|
1483
|
+
@MinQuantity = minquantity
|
1484
|
+
@DosageUnit = dosageunit
|
1485
|
+
@PackingUnit = packingunit
|
1486
|
+
end
|
1487
|
+
|
1488
|
+
def deserialize(params)
|
1489
|
+
@Name = params['Name']
|
1490
|
+
@TradeName = params['TradeName']
|
1491
|
+
@Firm = params['Firm']
|
1492
|
+
@Category = params['Category']
|
1493
|
+
@Specification = params['Specification']
|
1494
|
+
@MinQuantity = params['MinQuantity']
|
1495
|
+
@DosageUnit = params['DosageUnit']
|
1496
|
+
@PackingUnit = params['PackingUnit']
|
1497
|
+
end
|
1498
|
+
end
|
1499
|
+
|
1314
1500
|
# 月经史
|
1315
1501
|
class MenstrualMedicalHistory < TencentCloud::Common::AbstractModel
|
1316
1502
|
# @param LastMenstrualPeriod: 末次月经时间
|
@@ -1987,6 +2173,30 @@ module TencentCloud
|
|
1987
2173
|
end
|
1988
2174
|
end
|
1989
2175
|
|
2176
|
+
# 处方单
|
2177
|
+
class Prescription < TencentCloud::Common::AbstractModel
|
2178
|
+
# @param MedicineList: 药品列表
|
2179
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2180
|
+
# @type MedicineList: Array
|
2181
|
+
|
2182
|
+
attr_accessor :MedicineList
|
2183
|
+
|
2184
|
+
def initialize(medicinelist=nil)
|
2185
|
+
@MedicineList = medicinelist
|
2186
|
+
end
|
2187
|
+
|
2188
|
+
def deserialize(params)
|
2189
|
+
unless params['MedicineList'].nil?
|
2190
|
+
@MedicineList = []
|
2191
|
+
params['MedicineList'].each do |i|
|
2192
|
+
medicine_tmp = Medicine.new
|
2193
|
+
medicine_tmp.deserialize(i)
|
2194
|
+
@MedicineList << medicine_tmp
|
2195
|
+
end
|
2196
|
+
end
|
2197
|
+
end
|
2198
|
+
end
|
2199
|
+
|
1990
2200
|
# 报告基本信息
|
1991
2201
|
class ReportInfo < TencentCloud::Common::AbstractModel
|
1992
2202
|
# @param Hospital: 医院名称
|
@@ -2354,10 +2564,16 @@ module TencentCloud
|
|
2354
2564
|
# @param Electrocardiogram: 心电图报告
|
2355
2565
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2356
2566
|
# @type Electrocardiogram: :class:`Tencentcloud::Mrs.v20200910.models.Electrocardiogram`
|
2567
|
+
# @param Endoscopy: 内窥镜报告
|
2568
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2569
|
+
# @type Endoscopy: :class:`Tencentcloud::Mrs.v20200910.models.Endoscopy`
|
2570
|
+
# @param Prescription: 处方单
|
2571
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2572
|
+
# @type Prescription: :class:`Tencentcloud::Mrs.v20200910.models.Prescription`
|
2357
2573
|
|
2358
|
-
attr_accessor :PatientInfo, :ReportInfo, :Check, :Pathology, :MedDoc, :DiagCert, :FirstPage, :Indicator, :ReportType, :MedicalRecordInfo, :Hospitalization, :Surgery, :Electrocardiogram
|
2574
|
+
attr_accessor :PatientInfo, :ReportInfo, :Check, :Pathology, :MedDoc, :DiagCert, :FirstPage, :Indicator, :ReportType, :MedicalRecordInfo, :Hospitalization, :Surgery, :Electrocardiogram, :Endoscopy, :Prescription
|
2359
2575
|
|
2360
|
-
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)
|
2576
|
+
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)
|
2361
2577
|
@PatientInfo = patientinfo
|
2362
2578
|
@ReportInfo = reportinfo
|
2363
2579
|
@Check = check
|
@@ -2371,6 +2587,8 @@ module TencentCloud
|
|
2371
2587
|
@Hospitalization = hospitalization
|
2372
2588
|
@Surgery = surgery
|
2373
2589
|
@Electrocardiogram = electrocardiogram
|
2590
|
+
@Endoscopy = endoscopy
|
2591
|
+
@Prescription = prescription
|
2374
2592
|
end
|
2375
2593
|
|
2376
2594
|
def deserialize(params)
|
@@ -2423,6 +2641,14 @@ module TencentCloud
|
|
2423
2641
|
@Electrocardiogram = Electrocardiogram.new
|
2424
2642
|
@Electrocardiogram.deserialize(params['Electrocardiogram'])
|
2425
2643
|
end
|
2644
|
+
unless params['Endoscopy'].nil?
|
2645
|
+
@Endoscopy = Endoscopy.new
|
2646
|
+
@Endoscopy.deserialize(params['Endoscopy'])
|
2647
|
+
end
|
2648
|
+
unless params['Prescription'].nil?
|
2649
|
+
@Prescription = Prescription.new
|
2650
|
+
@Prescription.deserialize(params['Prescription'])
|
2651
|
+
end
|
2426
2652
|
end
|
2427
2653
|
end
|
2428
2654
|
|
@@ -2473,7 +2699,7 @@ module TencentCloud
|
|
2473
2699
|
class TextToObjectRequest < TencentCloud::Common::AbstractModel
|
2474
2700
|
# @param Text: 报告文本
|
2475
2701
|
# @type Text: String
|
2476
|
-
# @param Type: 报告类型,目前支持12(检查报告),15(病理报告),28(出院报告),29(入院报告),210(门诊病历),212(手术记录),218(诊断证明),363
|
2702
|
+
# @param Type: 报告类型,目前支持12(检查报告),15(病理报告),28(出院报告),29(入院报告),210(门诊病历),212(手术记录),218(诊断证明),363(心电图),27(内窥镜检查),215(处方单)。如果不清楚报告类型,可以使用分类引擎,该字段传0(同时IsUsedClassify字段必须为True,否则无法输出结果)
|
2477
2703
|
# @type Type: Integer
|
2478
2704
|
# @param IsUsedClassify: 是否使用分类引擎,当不确定报告类型时,可以使用收费的报告分类引擎服务。若该字段为False,则Type字段不能为0,否则无法输出结果。
|
2479
2705
|
# 注意:当 IsUsedClassify 为True 时,表示使用收费的报告分类服务,将会产生额外的费用,具体收费标准参见 [购买指南的产品价格](https://cloud.tencent.com/document/product/1314/54264)。
|
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: 1.0.
|
4
|
+
version: 1.0.205
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|