tencentcloud-sdk-aca 3.0.967
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-aca.rb +11 -0
- data/lib/v20210323/client.rb +228 -0
- data/lib/v20210323/models.rb +2352 -0
- metadata +66 -0
@@ -0,0 +1,2352 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module TencentCloud
|
18
|
+
module Aca
|
19
|
+
module V20210323
|
20
|
+
# 异常提醒
|
21
|
+
class Abnormals < TencentCloud::Common::AbstractModel
|
22
|
+
# @param Type: 类型
|
23
|
+
# @type Type: String
|
24
|
+
# @param Title: 标题
|
25
|
+
# @type Title: String
|
26
|
+
# @param AbnormalReason: 异常原因 PatientInfo 病人信息缺失;OrderInfo 医嘱信息缺失; PrescriptionError 处方异常提醒
|
27
|
+
# @type AbnormalReason: String
|
28
|
+
|
29
|
+
attr_accessor :Type, :Title, :AbnormalReason
|
30
|
+
|
31
|
+
def initialize(type=nil, title=nil, abnormalreason=nil)
|
32
|
+
@Type = type
|
33
|
+
@Title = title
|
34
|
+
@AbnormalReason = abnormalreason
|
35
|
+
end
|
36
|
+
|
37
|
+
def deserialize(params)
|
38
|
+
@Type = params['Type']
|
39
|
+
@Title = params['Title']
|
40
|
+
@AbnormalReason = params['AbnormalReason']
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# 业务接口请求头
|
45
|
+
class CommonHeader < TencentCloud::Common::AbstractModel
|
46
|
+
# @param HospitalId: 机构ID
|
47
|
+
# @type HospitalId: String
|
48
|
+
# @param Token: 合作方ID
|
49
|
+
# @type Token: String
|
50
|
+
|
51
|
+
attr_accessor :HospitalId, :Token
|
52
|
+
|
53
|
+
def initialize(hospitalid=nil, token=nil)
|
54
|
+
@HospitalId = hospitalid
|
55
|
+
@Token = token
|
56
|
+
end
|
57
|
+
|
58
|
+
def deserialize(params)
|
59
|
+
@HospitalId = params['HospitalId']
|
60
|
+
@Token = params['Token']
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# 危疾重症
|
65
|
+
class CriticalInfo < TencentCloud::Common::AbstractModel
|
66
|
+
# @param Type: 危急重症类型 0:文字描述类 1:数值检查类
|
67
|
+
# @type Type: Integer
|
68
|
+
# @param Tips: 提示
|
69
|
+
# @type Tips: String
|
70
|
+
|
71
|
+
attr_accessor :Type, :Tips
|
72
|
+
|
73
|
+
def initialize(type=nil, tips=nil)
|
74
|
+
@Type = type
|
75
|
+
@Tips = tips
|
76
|
+
end
|
77
|
+
|
78
|
+
def deserialize(params)
|
79
|
+
@Type = params['Type']
|
80
|
+
@Tips = params['Tips']
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
# 当前诊断
|
85
|
+
class CurrentDiagnosis < TencentCloud::Common::AbstractModel
|
86
|
+
# @param DiagnoseDisease: 诊断疾病
|
87
|
+
# @type DiagnoseDisease: String
|
88
|
+
# @param DiseaseGuideInfo: 疾病指南信息
|
89
|
+
# @type DiseaseGuideInfo: String
|
90
|
+
# @param StandardName: 标准名称
|
91
|
+
# @type StandardName: String
|
92
|
+
|
93
|
+
attr_accessor :DiagnoseDisease, :DiseaseGuideInfo, :StandardName
|
94
|
+
|
95
|
+
def initialize(diagnosedisease=nil, diseaseguideinfo=nil, standardname=nil)
|
96
|
+
@DiagnoseDisease = diagnosedisease
|
97
|
+
@DiseaseGuideInfo = diseaseguideinfo
|
98
|
+
@StandardName = standardname
|
99
|
+
end
|
100
|
+
|
101
|
+
def deserialize(params)
|
102
|
+
@DiagnoseDisease = params['DiagnoseDisease']
|
103
|
+
@DiseaseGuideInfo = params['DiseaseGuideInfo']
|
104
|
+
@StandardName = params['StandardName']
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# 科室信息
|
109
|
+
class Department < TencentCloud::Common::AbstractModel
|
110
|
+
# @param Id: 科室ID
|
111
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
112
|
+
# @type Id: String
|
113
|
+
# @param Name: 科室名称
|
114
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
115
|
+
# @type Name: String
|
116
|
+
# @param Scope: 科室类型 0:门诊 1:住院 2:门诊+住院
|
117
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
118
|
+
# @type Scope: Integer
|
119
|
+
# @param OutpatientOn: 门诊区开关 true:此科室对应的门诊区开启智能审方功能, false:此科室对应的门诊区关闭智能审方功能; 仅对scope为0/2的科室生效
|
120
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
121
|
+
# @type OutpatientOn: Boolean
|
122
|
+
# @param InHospitalOn: 住院区开关 true:此科室对应的住院区开启智能审方功能, false:此科室对应的住院区关闭智能审方功能; 仅对scope为1/2的科室生效
|
123
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
124
|
+
# @type InHospitalOn: Boolean
|
125
|
+
|
126
|
+
attr_accessor :Id, :Name, :Scope, :OutpatientOn, :InHospitalOn
|
127
|
+
|
128
|
+
def initialize(id=nil, name=nil, scope=nil, outpatienton=nil, inhospitalon=nil)
|
129
|
+
@Id = id
|
130
|
+
@Name = name
|
131
|
+
@Scope = scope
|
132
|
+
@OutpatientOn = outpatienton
|
133
|
+
@InHospitalOn = inhospitalon
|
134
|
+
end
|
135
|
+
|
136
|
+
def deserialize(params)
|
137
|
+
@Id = params['Id']
|
138
|
+
@Name = params['Name']
|
139
|
+
@Scope = params['Scope']
|
140
|
+
@OutpatientOn = params['OutpatientOn']
|
141
|
+
@InHospitalOn = params['InHospitalOn']
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
145
|
+
# 诊断、辅助内容
|
146
|
+
class DiagnosisInfo < TencentCloud::Common::AbstractModel
|
147
|
+
# @param IntentType: 默认0,0:初诊-常规诊疗 1:复诊 2:检验检查/取药/咨询/疫苗 3:信息缺失 4:信息错误
|
148
|
+
# @type IntentType: Integer
|
149
|
+
# @param RiskInfo: 诊断风险
|
150
|
+
# @type RiskInfo: String
|
151
|
+
# @param SuspectedDiagnosis: 疑似诊断列表
|
152
|
+
# @type SuspectedDiagnosis: Array
|
153
|
+
# @param ReferralInfo: 转诊提醒
|
154
|
+
# @type ReferralInfo: :class:`Tencentcloud::Aca.v20210323.models.ReferralInfo`
|
155
|
+
# @param CriticalInfo: 危急重症
|
156
|
+
# @type CriticalInfo: Array
|
157
|
+
# @param VitalSignsInfo: 生命体征风险
|
158
|
+
# @type VitalSignsInfo: :class:`Tencentcloud::Aca.v20210323.models.VitalSignsInfo`
|
159
|
+
# @param DifferDiagnosis: 鉴别诊断
|
160
|
+
# @type DifferDiagnosis: Array
|
161
|
+
# @param RecordQuality: 病历质控
|
162
|
+
# @type RecordQuality: :class:`Tencentcloud::Aca.v20210323.models.RecordQuality`
|
163
|
+
# @param CurrentDiagnosis: 当前诊断
|
164
|
+
# @type CurrentDiagnosis: Array
|
165
|
+
# @param TreatmentGuide: 治疗方案
|
166
|
+
# @type TreatmentGuide: Array
|
167
|
+
# @param EmrQuality: 病历质控
|
168
|
+
# @type EmrQuality: :class:`Tencentcloud::Aca.v20210323.models.EmrQuality`
|
169
|
+
# @param HealthPrescriptions: 健康处方
|
170
|
+
# @type HealthPrescriptions: Array
|
171
|
+
|
172
|
+
attr_accessor :IntentType, :RiskInfo, :SuspectedDiagnosis, :ReferralInfo, :CriticalInfo, :VitalSignsInfo, :DifferDiagnosis, :RecordQuality, :CurrentDiagnosis, :TreatmentGuide, :EmrQuality, :HealthPrescriptions
|
173
|
+
|
174
|
+
def initialize(intenttype=nil, riskinfo=nil, suspecteddiagnosis=nil, referralinfo=nil, criticalinfo=nil, vitalsignsinfo=nil, differdiagnosis=nil, recordquality=nil, currentdiagnosis=nil, treatmentguide=nil, emrquality=nil, healthprescriptions=nil)
|
175
|
+
@IntentType = intenttype
|
176
|
+
@RiskInfo = riskinfo
|
177
|
+
@SuspectedDiagnosis = suspecteddiagnosis
|
178
|
+
@ReferralInfo = referralinfo
|
179
|
+
@CriticalInfo = criticalinfo
|
180
|
+
@VitalSignsInfo = vitalsignsinfo
|
181
|
+
@DifferDiagnosis = differdiagnosis
|
182
|
+
@RecordQuality = recordquality
|
183
|
+
@CurrentDiagnosis = currentdiagnosis
|
184
|
+
@TreatmentGuide = treatmentguide
|
185
|
+
@EmrQuality = emrquality
|
186
|
+
@HealthPrescriptions = healthprescriptions
|
187
|
+
end
|
188
|
+
|
189
|
+
def deserialize(params)
|
190
|
+
@IntentType = params['IntentType']
|
191
|
+
@RiskInfo = params['RiskInfo']
|
192
|
+
unless params['SuspectedDiagnosis'].nil?
|
193
|
+
@SuspectedDiagnosis = []
|
194
|
+
params['SuspectedDiagnosis'].each do |i|
|
195
|
+
suspecteddiagnosis_tmp = SuspectedDiagnosis.new
|
196
|
+
suspecteddiagnosis_tmp.deserialize(i)
|
197
|
+
@SuspectedDiagnosis << suspecteddiagnosis_tmp
|
198
|
+
end
|
199
|
+
end
|
200
|
+
unless params['ReferralInfo'].nil?
|
201
|
+
@ReferralInfo = ReferralInfo.new
|
202
|
+
@ReferralInfo.deserialize(params['ReferralInfo'])
|
203
|
+
end
|
204
|
+
unless params['CriticalInfo'].nil?
|
205
|
+
@CriticalInfo = []
|
206
|
+
params['CriticalInfo'].each do |i|
|
207
|
+
criticalinfo_tmp = CriticalInfo.new
|
208
|
+
criticalinfo_tmp.deserialize(i)
|
209
|
+
@CriticalInfo << criticalinfo_tmp
|
210
|
+
end
|
211
|
+
end
|
212
|
+
unless params['VitalSignsInfo'].nil?
|
213
|
+
@VitalSignsInfo = VitalSignsInfo.new
|
214
|
+
@VitalSignsInfo.deserialize(params['VitalSignsInfo'])
|
215
|
+
end
|
216
|
+
unless params['DifferDiagnosis'].nil?
|
217
|
+
@DifferDiagnosis = []
|
218
|
+
params['DifferDiagnosis'].each do |i|
|
219
|
+
differdiagnosis_tmp = DifferDiagnosis.new
|
220
|
+
differdiagnosis_tmp.deserialize(i)
|
221
|
+
@DifferDiagnosis << differdiagnosis_tmp
|
222
|
+
end
|
223
|
+
end
|
224
|
+
unless params['RecordQuality'].nil?
|
225
|
+
@RecordQuality = RecordQuality.new
|
226
|
+
@RecordQuality.deserialize(params['RecordQuality'])
|
227
|
+
end
|
228
|
+
unless params['CurrentDiagnosis'].nil?
|
229
|
+
@CurrentDiagnosis = []
|
230
|
+
params['CurrentDiagnosis'].each do |i|
|
231
|
+
currentdiagnosis_tmp = CurrentDiagnosis.new
|
232
|
+
currentdiagnosis_tmp.deserialize(i)
|
233
|
+
@CurrentDiagnosis << currentdiagnosis_tmp
|
234
|
+
end
|
235
|
+
end
|
236
|
+
unless params['TreatmentGuide'].nil?
|
237
|
+
@TreatmentGuide = []
|
238
|
+
params['TreatmentGuide'].each do |i|
|
239
|
+
treatmentguide_tmp = TreatmentGuide.new
|
240
|
+
treatmentguide_tmp.deserialize(i)
|
241
|
+
@TreatmentGuide << treatmentguide_tmp
|
242
|
+
end
|
243
|
+
end
|
244
|
+
unless params['EmrQuality'].nil?
|
245
|
+
@EmrQuality = EmrQuality.new
|
246
|
+
@EmrQuality.deserialize(params['EmrQuality'])
|
247
|
+
end
|
248
|
+
unless params['HealthPrescriptions'].nil?
|
249
|
+
@HealthPrescriptions = []
|
250
|
+
params['HealthPrescriptions'].each do |i|
|
251
|
+
healthprescriptions_tmp = HealthPrescriptions.new
|
252
|
+
healthprescriptions_tmp.deserialize(i)
|
253
|
+
@HealthPrescriptions << healthprescriptions_tmp
|
254
|
+
end
|
255
|
+
end
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
259
|
+
# 字典信息
|
260
|
+
class Dict < TencentCloud::Common::AbstractModel
|
261
|
+
# @param FreqCode: 给药频次编码
|
262
|
+
# @type FreqCode: String
|
263
|
+
# @param FreqName: 给药频次名称
|
264
|
+
# @type FreqName: String
|
265
|
+
# @param Disable: 是否禁用 0-启用 1-禁用
|
266
|
+
# @type Disable: Integer
|
267
|
+
# @param UsageCode: 给药途径编码
|
268
|
+
# @type UsageCode: String
|
269
|
+
# @param UsageName: 给药途径名称
|
270
|
+
# @type UsageName: String
|
271
|
+
# @param DeptId: 科室ID
|
272
|
+
# @type DeptId: String
|
273
|
+
# @param DeptName: 科室名称
|
274
|
+
# @type DeptName: String
|
275
|
+
# @param Scope: 科室区域类型 0:门诊 1:住院 2:门诊+住院
|
276
|
+
# @type Scope: Integer
|
277
|
+
# @param OutpatientOn: 门诊开关
|
278
|
+
# @type OutpatientOn: Boolean
|
279
|
+
# @param InHospitalOn: 住院
|
280
|
+
# @type InHospitalOn: Boolean
|
281
|
+
# @param DiagCode: 诊断编码
|
282
|
+
# @type DiagCode: String
|
283
|
+
# @param DiagName: 诊断名称
|
284
|
+
# @type DiagName: String
|
285
|
+
# @param IcdCode: ICD代码
|
286
|
+
# @type IcdCode: String
|
287
|
+
|
288
|
+
attr_accessor :FreqCode, :FreqName, :Disable, :UsageCode, :UsageName, :DeptId, :DeptName, :Scope, :OutpatientOn, :InHospitalOn, :DiagCode, :DiagName, :IcdCode
|
289
|
+
|
290
|
+
def initialize(freqcode=nil, freqname=nil, disable=nil, usagecode=nil, usagename=nil, deptid=nil, deptname=nil, scope=nil, outpatienton=nil, inhospitalon=nil, diagcode=nil, diagname=nil, icdcode=nil)
|
291
|
+
@FreqCode = freqcode
|
292
|
+
@FreqName = freqname
|
293
|
+
@Disable = disable
|
294
|
+
@UsageCode = usagecode
|
295
|
+
@UsageName = usagename
|
296
|
+
@DeptId = deptid
|
297
|
+
@DeptName = deptname
|
298
|
+
@Scope = scope
|
299
|
+
@OutpatientOn = outpatienton
|
300
|
+
@InHospitalOn = inhospitalon
|
301
|
+
@DiagCode = diagcode
|
302
|
+
@DiagName = diagname
|
303
|
+
@IcdCode = icdcode
|
304
|
+
end
|
305
|
+
|
306
|
+
def deserialize(params)
|
307
|
+
@FreqCode = params['FreqCode']
|
308
|
+
@FreqName = params['FreqName']
|
309
|
+
@Disable = params['Disable']
|
310
|
+
@UsageCode = params['UsageCode']
|
311
|
+
@UsageName = params['UsageName']
|
312
|
+
@DeptId = params['DeptId']
|
313
|
+
@DeptName = params['DeptName']
|
314
|
+
@Scope = params['Scope']
|
315
|
+
@OutpatientOn = params['OutpatientOn']
|
316
|
+
@InHospitalOn = params['InHospitalOn']
|
317
|
+
@DiagCode = params['DiagCode']
|
318
|
+
@DiagName = params['DiagName']
|
319
|
+
@IcdCode = params['IcdCode']
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
# 鉴别诊断
|
324
|
+
class DifferDiagnosis < TencentCloud::Common::AbstractModel
|
325
|
+
# @param DifferName: 鉴别名称
|
326
|
+
# @type DifferName: String
|
327
|
+
# @param DifferTips: 鉴别提示
|
328
|
+
# @type DifferTips: String
|
329
|
+
# @param DiseaseGuideInfo: 疾病指南信息
|
330
|
+
# @type DiseaseGuideInfo: String
|
331
|
+
|
332
|
+
attr_accessor :DifferName, :DifferTips, :DiseaseGuideInfo
|
333
|
+
|
334
|
+
def initialize(differname=nil, differtips=nil, diseaseguideinfo=nil)
|
335
|
+
@DifferName = differname
|
336
|
+
@DifferTips = differtips
|
337
|
+
@DiseaseGuideInfo = diseaseguideinfo
|
338
|
+
end
|
339
|
+
|
340
|
+
def deserialize(params)
|
341
|
+
@DifferName = params['DifferName']
|
342
|
+
@DifferTips = params['DifferTips']
|
343
|
+
@DiseaseGuideInfo = params['DiseaseGuideInfo']
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
# 药品文档信息
|
348
|
+
class DocInfo < TencentCloud::Common::AbstractModel
|
349
|
+
# @param DrugId: 药品ID
|
350
|
+
# @type DrugId: String
|
351
|
+
# @param DrugName: 药品名称
|
352
|
+
# @type DrugName: String
|
353
|
+
# @param DocUrl: 说明书地址
|
354
|
+
# @type DocUrl: String
|
355
|
+
|
356
|
+
attr_accessor :DrugId, :DrugName, :DocUrl
|
357
|
+
|
358
|
+
def initialize(drugid=nil, drugname=nil, docurl=nil)
|
359
|
+
@DrugId = drugid
|
360
|
+
@DrugName = drugname
|
361
|
+
@DocUrl = docurl
|
362
|
+
end
|
363
|
+
|
364
|
+
def deserialize(params)
|
365
|
+
@DrugId = params['DrugId']
|
366
|
+
@DrugName = params['DrugName']
|
367
|
+
@DocUrl = params['DocUrl']
|
368
|
+
end
|
369
|
+
end
|
370
|
+
|
371
|
+
# 医生信息
|
372
|
+
class DoctorInfo < TencentCloud::Common::AbstractModel
|
373
|
+
# @param DoctorId: 医生ID
|
374
|
+
# @type DoctorId: String
|
375
|
+
# @param DoctorName: 医生姓名
|
376
|
+
# @type DoctorName: String
|
377
|
+
# @param DoctorPhone: 医生电话
|
378
|
+
# @type DoctorPhone: String
|
379
|
+
|
380
|
+
attr_accessor :DoctorId, :DoctorName, :DoctorPhone
|
381
|
+
|
382
|
+
def initialize(doctorid=nil, doctorname=nil, doctorphone=nil)
|
383
|
+
@DoctorId = doctorid
|
384
|
+
@DoctorName = doctorname
|
385
|
+
@DoctorPhone = doctorphone
|
386
|
+
end
|
387
|
+
|
388
|
+
def deserialize(params)
|
389
|
+
@DoctorId = params['DoctorId']
|
390
|
+
@DoctorName = params['DoctorName']
|
391
|
+
@DoctorPhone = params['DoctorPhone']
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
395
|
+
# 药品信息
|
396
|
+
class Drug < TencentCloud::Common::AbstractModel
|
397
|
+
# @param DrugOrgId: 医院药品id
|
398
|
+
# @type DrugOrgId: String
|
399
|
+
# @param DrugName: 医院药品通用名
|
400
|
+
# @type DrugName: String
|
401
|
+
# @param DrugCommodityName: 医院药品商品名
|
402
|
+
# @type DrugCommodityName: String
|
403
|
+
# @param Specifications: 医院药品规格
|
404
|
+
# @type Specifications: String
|
405
|
+
# @param ApprovalNumber: 医院药品批准文号
|
406
|
+
# @type ApprovalNumber: String
|
407
|
+
# @param Manufacturer: 生产厂商
|
408
|
+
# @type Manufacturer: String
|
409
|
+
# @param DosageForm: 剂型
|
410
|
+
# @type DosageForm: String
|
411
|
+
# @param Unuse: 使用状态 0:启用 1:停用
|
412
|
+
# @type Unuse: Integer
|
413
|
+
# @param DosageFormCode: 剂型编码
|
414
|
+
# @type DosageFormCode: String
|
415
|
+
# @param DefinedDailyDose: 抗菌药DDD值
|
416
|
+
# @type DefinedDailyDose: String
|
417
|
+
# @param Amount: 药品单价
|
418
|
+
# @type Amount: String
|
419
|
+
# @param YbCode: 国家医保编码
|
420
|
+
# @type YbCode: String
|
421
|
+
# @param DrugBasicCode: 药品本位码
|
422
|
+
# @type DrugBasicCode: String
|
423
|
+
# @param PropertyInfo: 药品属性
|
424
|
+
# @type PropertyInfo: :class:`Tencentcloud::Aca.v20210323.models.DurgPropertyInfo`
|
425
|
+
|
426
|
+
attr_accessor :DrugOrgId, :DrugName, :DrugCommodityName, :Specifications, :ApprovalNumber, :Manufacturer, :DosageForm, :Unuse, :DosageFormCode, :DefinedDailyDose, :Amount, :YbCode, :DrugBasicCode, :PropertyInfo
|
427
|
+
|
428
|
+
def initialize(drugorgid=nil, drugname=nil, drugcommodityname=nil, specifications=nil, approvalnumber=nil, manufacturer=nil, dosageform=nil, unuse=nil, dosageformcode=nil, defineddailydose=nil, amount=nil, ybcode=nil, drugbasiccode=nil, propertyinfo=nil)
|
429
|
+
@DrugOrgId = drugorgid
|
430
|
+
@DrugName = drugname
|
431
|
+
@DrugCommodityName = drugcommodityname
|
432
|
+
@Specifications = specifications
|
433
|
+
@ApprovalNumber = approvalnumber
|
434
|
+
@Manufacturer = manufacturer
|
435
|
+
@DosageForm = dosageform
|
436
|
+
@Unuse = unuse
|
437
|
+
@DosageFormCode = dosageformcode
|
438
|
+
@DefinedDailyDose = defineddailydose
|
439
|
+
@Amount = amount
|
440
|
+
@YbCode = ybcode
|
441
|
+
@DrugBasicCode = drugbasiccode
|
442
|
+
@PropertyInfo = propertyinfo
|
443
|
+
end
|
444
|
+
|
445
|
+
def deserialize(params)
|
446
|
+
@DrugOrgId = params['DrugOrgId']
|
447
|
+
@DrugName = params['DrugName']
|
448
|
+
@DrugCommodityName = params['DrugCommodityName']
|
449
|
+
@Specifications = params['Specifications']
|
450
|
+
@ApprovalNumber = params['ApprovalNumber']
|
451
|
+
@Manufacturer = params['Manufacturer']
|
452
|
+
@DosageForm = params['DosageForm']
|
453
|
+
@Unuse = params['Unuse']
|
454
|
+
@DosageFormCode = params['DosageFormCode']
|
455
|
+
@DefinedDailyDose = params['DefinedDailyDose']
|
456
|
+
@Amount = params['Amount']
|
457
|
+
@YbCode = params['YbCode']
|
458
|
+
@DrugBasicCode = params['DrugBasicCode']
|
459
|
+
unless params['PropertyInfo'].nil?
|
460
|
+
@PropertyInfo = DurgPropertyInfo.new
|
461
|
+
@PropertyInfo.deserialize(params['PropertyInfo'])
|
462
|
+
end
|
463
|
+
end
|
464
|
+
end
|
465
|
+
|
466
|
+
# 药品列表
|
467
|
+
class DrugList < TencentCloud::Common::AbstractModel
|
468
|
+
# @param DrugId: 药品ID
|
469
|
+
# @type DrugId: String
|
470
|
+
# @param DrugName: 药品名称
|
471
|
+
# @type DrugName: String
|
472
|
+
# @param DocUrl: 文档地址
|
473
|
+
# @type DocUrl: String
|
474
|
+
# @param NotFound: 是否找到
|
475
|
+
# @type NotFound: Boolean
|
476
|
+
|
477
|
+
attr_accessor :DrugId, :DrugName, :DocUrl, :NotFound
|
478
|
+
|
479
|
+
def initialize(drugid=nil, drugname=nil, docurl=nil, notfound=nil)
|
480
|
+
@DrugId = drugid
|
481
|
+
@DrugName = drugname
|
482
|
+
@DocUrl = docurl
|
483
|
+
@NotFound = notfound
|
484
|
+
end
|
485
|
+
|
486
|
+
def deserialize(params)
|
487
|
+
@DrugId = params['DrugId']
|
488
|
+
@DrugName = params['DrugName']
|
489
|
+
@DocUrl = params['DocUrl']
|
490
|
+
@NotFound = params['NotFound']
|
491
|
+
end
|
492
|
+
end
|
493
|
+
|
494
|
+
# 处方药品信息
|
495
|
+
class DrugUsage < TencentCloud::Common::AbstractModel
|
496
|
+
# @param DrugId: 药品ID
|
497
|
+
# @type DrugId: String
|
498
|
+
# @param DrugName: 药品名称
|
499
|
+
# @type DrugName: String
|
500
|
+
# @param TimePerDay: 日服药频次
|
501
|
+
# @type TimePerDay: String
|
502
|
+
# @param Usage: 给药途径
|
503
|
+
# @type Usage: String
|
504
|
+
# @param PrescriptionId: 处方ID,药品不同分组是传不同的处方ID
|
505
|
+
# @type PrescriptionId: String
|
506
|
+
# @param DosagePerTime: 每次剂量
|
507
|
+
# @type DosagePerTime: String
|
508
|
+
# @param DosagePerTimeUnit: 每次剂量单位
|
509
|
+
# @type DosagePerTimeUnit: String
|
510
|
+
# @param Time: 单次服药时间
|
511
|
+
# @type Time: String
|
512
|
+
# @param Cycle: 给药周期
|
513
|
+
# @type Cycle: String
|
514
|
+
# @param DosagePerDay: 单日剂量
|
515
|
+
# @type DosagePerDay: String
|
516
|
+
# @param Course: 疗程
|
517
|
+
# @type Course: String
|
518
|
+
# @param Speed: 给药速度
|
519
|
+
# @type Speed: String
|
520
|
+
# @param BeginTime: 处方生效时间戳,住院医嘱必须传(caseType =1)
|
521
|
+
# @type BeginTime: Integer
|
522
|
+
# @param EndTime: 处方失效时间戳,住院医嘱必须传(caseType =1)
|
523
|
+
# @type EndTime: Integer
|
524
|
+
# @param Package: 开具数量
|
525
|
+
# @type Package: String
|
526
|
+
# @param PackageUnit: 开具数量单位
|
527
|
+
# @type PackageUnit: String
|
528
|
+
# @param GroupInj: 相同标志液体间进行配伍禁忌审核,不同标志间液体不进行配伍禁忌审核
|
529
|
+
# @type GroupInj: String
|
530
|
+
# @param PrescriptionCharge: 处方金额
|
531
|
+
# @type PrescriptionCharge: String
|
532
|
+
# @param MedicationDays: 用药天数
|
533
|
+
# @type MedicationDays: String
|
534
|
+
|
535
|
+
attr_accessor :DrugId, :DrugName, :TimePerDay, :Usage, :PrescriptionId, :DosagePerTime, :DosagePerTimeUnit, :Time, :Cycle, :DosagePerDay, :Course, :Speed, :BeginTime, :EndTime, :Package, :PackageUnit, :GroupInj, :PrescriptionCharge, :MedicationDays
|
536
|
+
|
537
|
+
def initialize(drugid=nil, drugname=nil, timeperday=nil, usage=nil, prescriptionid=nil, dosagepertime=nil, dosagepertimeunit=nil, time=nil, cycle=nil, dosageperday=nil, course=nil, speed=nil, begintime=nil, endtime=nil, package=nil, packageunit=nil, groupinj=nil, prescriptioncharge=nil, medicationdays=nil)
|
538
|
+
@DrugId = drugid
|
539
|
+
@DrugName = drugname
|
540
|
+
@TimePerDay = timeperday
|
541
|
+
@Usage = usage
|
542
|
+
@PrescriptionId = prescriptionid
|
543
|
+
@DosagePerTime = dosagepertime
|
544
|
+
@DosagePerTimeUnit = dosagepertimeunit
|
545
|
+
@Time = time
|
546
|
+
@Cycle = cycle
|
547
|
+
@DosagePerDay = dosageperday
|
548
|
+
@Course = course
|
549
|
+
@Speed = speed
|
550
|
+
@BeginTime = begintime
|
551
|
+
@EndTime = endtime
|
552
|
+
@Package = package
|
553
|
+
@PackageUnit = packageunit
|
554
|
+
@GroupInj = groupinj
|
555
|
+
@PrescriptionCharge = prescriptioncharge
|
556
|
+
@MedicationDays = medicationdays
|
557
|
+
end
|
558
|
+
|
559
|
+
def deserialize(params)
|
560
|
+
@DrugId = params['DrugId']
|
561
|
+
@DrugName = params['DrugName']
|
562
|
+
@TimePerDay = params['TimePerDay']
|
563
|
+
@Usage = params['Usage']
|
564
|
+
@PrescriptionId = params['PrescriptionId']
|
565
|
+
@DosagePerTime = params['DosagePerTime']
|
566
|
+
@DosagePerTimeUnit = params['DosagePerTimeUnit']
|
567
|
+
@Time = params['Time']
|
568
|
+
@Cycle = params['Cycle']
|
569
|
+
@DosagePerDay = params['DosagePerDay']
|
570
|
+
@Course = params['Course']
|
571
|
+
@Speed = params['Speed']
|
572
|
+
@BeginTime = params['BeginTime']
|
573
|
+
@EndTime = params['EndTime']
|
574
|
+
@Package = params['Package']
|
575
|
+
@PackageUnit = params['PackageUnit']
|
576
|
+
@GroupInj = params['GroupInj']
|
577
|
+
@PrescriptionCharge = params['PrescriptionCharge']
|
578
|
+
@MedicationDays = params['MedicationDays']
|
579
|
+
end
|
580
|
+
end
|
581
|
+
|
582
|
+
# 药品属性
|
583
|
+
class DurgPropertyInfo < TencentCloud::Common::AbstractModel
|
584
|
+
# @param DrugType: 药品类型 1:西药,2:中成药,3:中药,4:化学药品,5:生物制药
|
585
|
+
# @type DrugType: Integer
|
586
|
+
# @param AntibacterialType: 抗菌药分类 1:抗真菌药物, 2:抗细菌药物, 3:抗结核药物, 4:其他抗菌药, 0:普通药品
|
587
|
+
# @type AntibacterialType: Integer
|
588
|
+
# @param AntibacterialClass: 抗菌药级别 1:非限制级, 2:限制级, 3:特殊使用级
|
589
|
+
# @type AntibacterialClass: Integer
|
590
|
+
# @param SpeciallyDrugType: 特殊药品类型 1:毒性药品, 2:麻醉药品, 3:放射药品, 4:精神一类药品, 5:精神二类药品, 6:其他特管药品, 7:贵重药品
|
591
|
+
# @type SpeciallyDrugType: Integer
|
592
|
+
# @param IsBasicDrug: 是否为基本药物 1:是, 2:否, 0:未知
|
593
|
+
# @type IsBasicDrug: Integer
|
594
|
+
# @param ChargeType: 社保药品 1:甲类药品, 2:乙类药品, 3:双跨药品, 4:自费药品, 0:未知
|
595
|
+
# @type ChargeType: Integer
|
596
|
+
|
597
|
+
attr_accessor :DrugType, :AntibacterialType, :AntibacterialClass, :SpeciallyDrugType, :IsBasicDrug, :ChargeType
|
598
|
+
|
599
|
+
def initialize(drugtype=nil, antibacterialtype=nil, antibacterialclass=nil, speciallydrugtype=nil, isbasicdrug=nil, chargetype=nil)
|
600
|
+
@DrugType = drugtype
|
601
|
+
@AntibacterialType = antibacterialtype
|
602
|
+
@AntibacterialClass = antibacterialclass
|
603
|
+
@SpeciallyDrugType = speciallydrugtype
|
604
|
+
@IsBasicDrug = isbasicdrug
|
605
|
+
@ChargeType = chargetype
|
606
|
+
end
|
607
|
+
|
608
|
+
def deserialize(params)
|
609
|
+
@DrugType = params['DrugType']
|
610
|
+
@AntibacterialType = params['AntibacterialType']
|
611
|
+
@AntibacterialClass = params['AntibacterialClass']
|
612
|
+
@SpeciallyDrugType = params['SpeciallyDrugType']
|
613
|
+
@IsBasicDrug = params['IsBasicDrug']
|
614
|
+
@ChargeType = params['ChargeType']
|
615
|
+
end
|
616
|
+
end
|
617
|
+
|
618
|
+
# 诊断列表
|
619
|
+
class EmrDiagnosises < TencentCloud::Common::AbstractModel
|
620
|
+
# @param DiagnosisName: 诊断名称
|
621
|
+
# @type DiagnosisName: String
|
622
|
+
# @param IcdCode: ICD代码
|
623
|
+
# @type IcdCode: String
|
624
|
+
|
625
|
+
attr_accessor :DiagnosisName, :IcdCode
|
626
|
+
|
627
|
+
def initialize(diagnosisname=nil, icdcode=nil)
|
628
|
+
@DiagnosisName = diagnosisname
|
629
|
+
@IcdCode = icdcode
|
630
|
+
end
|
631
|
+
|
632
|
+
def deserialize(params)
|
633
|
+
@DiagnosisName = params['DiagnosisName']
|
634
|
+
@IcdCode = params['IcdCode']
|
635
|
+
end
|
636
|
+
end
|
637
|
+
|
638
|
+
# 病历质控
|
639
|
+
class EmrQuality < TencentCloud::Common::AbstractModel
|
640
|
+
# @param MissPhysicalExamination: 缺失体格检查项目
|
641
|
+
# @type MissPhysicalExamination: Array
|
642
|
+
|
643
|
+
attr_accessor :MissPhysicalExamination
|
644
|
+
|
645
|
+
def initialize(missphysicalexamination=nil)
|
646
|
+
@MissPhysicalExamination = missphysicalexamination
|
647
|
+
end
|
648
|
+
|
649
|
+
def deserialize(params)
|
650
|
+
@MissPhysicalExamination = params['MissPhysicalExamination']
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
654
|
+
# 获取适应症请求
|
655
|
+
class GetDrugIndicationsReqData < TencentCloud::Common::AbstractModel
|
656
|
+
# @param Drugs: 查询药品列表
|
657
|
+
# @type Drugs: Array
|
658
|
+
|
659
|
+
attr_accessor :Drugs
|
660
|
+
|
661
|
+
def initialize(drugs=nil)
|
662
|
+
@Drugs = drugs
|
663
|
+
end
|
664
|
+
|
665
|
+
def deserialize(params)
|
666
|
+
unless params['Drugs'].nil?
|
667
|
+
@Drugs = []
|
668
|
+
params['Drugs'].each do |i|
|
669
|
+
indicationsdrug_tmp = IndicationsDrug.new
|
670
|
+
indicationsdrug_tmp.deserialize(i)
|
671
|
+
@Drugs << indicationsdrug_tmp
|
672
|
+
end
|
673
|
+
end
|
674
|
+
end
|
675
|
+
end
|
676
|
+
|
677
|
+
# GetDrugIndications请求参数结构体
|
678
|
+
class GetDrugIndicationsRequest < TencentCloud::Common::AbstractModel
|
679
|
+
# @param Header: 请求头
|
680
|
+
# @type Header: :class:`Tencentcloud::Aca.v20210323.models.CommonHeader`
|
681
|
+
# @param Data: 获取适应症请求
|
682
|
+
# @type Data: :class:`Tencentcloud::Aca.v20210323.models.GetDrugIndicationsReqData`
|
683
|
+
|
684
|
+
attr_accessor :Header, :Data
|
685
|
+
|
686
|
+
def initialize(header=nil, data=nil)
|
687
|
+
@Header = header
|
688
|
+
@Data = data
|
689
|
+
end
|
690
|
+
|
691
|
+
def deserialize(params)
|
692
|
+
unless params['Header'].nil?
|
693
|
+
@Header = CommonHeader.new
|
694
|
+
@Header.deserialize(params['Header'])
|
695
|
+
end
|
696
|
+
unless params['Data'].nil?
|
697
|
+
@Data = GetDrugIndicationsReqData.new
|
698
|
+
@Data.deserialize(params['Data'])
|
699
|
+
end
|
700
|
+
end
|
701
|
+
end
|
702
|
+
|
703
|
+
# 药品适应症响应
|
704
|
+
class GetDrugIndicationsResp < TencentCloud::Common::AbstractModel
|
705
|
+
# @param Indications: 适应症
|
706
|
+
# @type Indications: Array
|
707
|
+
# @param DocInfos: 药品说明
|
708
|
+
# @type DocInfos: Array
|
709
|
+
|
710
|
+
attr_accessor :Indications, :DocInfos
|
711
|
+
|
712
|
+
def initialize(indications=nil, docinfos=nil)
|
713
|
+
@Indications = indications
|
714
|
+
@DocInfos = docinfos
|
715
|
+
end
|
716
|
+
|
717
|
+
def deserialize(params)
|
718
|
+
@Indications = params['Indications']
|
719
|
+
unless params['DocInfos'].nil?
|
720
|
+
@DocInfos = []
|
721
|
+
params['DocInfos'].each do |i|
|
722
|
+
docinfo_tmp = DocInfo.new
|
723
|
+
docinfo_tmp.deserialize(i)
|
724
|
+
@DocInfos << docinfo_tmp
|
725
|
+
end
|
726
|
+
end
|
727
|
+
end
|
728
|
+
end
|
729
|
+
|
730
|
+
# GetDrugIndications返回参数结构体
|
731
|
+
class GetDrugIndicationsResponse < TencentCloud::Common::AbstractModel
|
732
|
+
# @param Code: 错误码
|
733
|
+
# @type Code: Integer
|
734
|
+
# @param Message: 错误信息
|
735
|
+
# @type Message: String
|
736
|
+
# @param Data: 适应症响应
|
737
|
+
# @type Data: :class:`Tencentcloud::Aca.v20210323.models.GetDrugIndicationsResp`
|
738
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
739
|
+
# @type RequestId: String
|
740
|
+
|
741
|
+
attr_accessor :Code, :Message, :Data, :RequestId
|
742
|
+
|
743
|
+
def initialize(code=nil, message=nil, data=nil, requestid=nil)
|
744
|
+
@Code = code
|
745
|
+
@Message = message
|
746
|
+
@Data = data
|
747
|
+
@RequestId = requestid
|
748
|
+
end
|
749
|
+
|
750
|
+
def deserialize(params)
|
751
|
+
@Code = params['Code']
|
752
|
+
@Message = params['Message']
|
753
|
+
unless params['Data'].nil?
|
754
|
+
@Data = GetDrugIndicationsResp.new
|
755
|
+
@Data.deserialize(params['Data'])
|
756
|
+
end
|
757
|
+
@RequestId = params['RequestId']
|
758
|
+
end
|
759
|
+
end
|
760
|
+
|
761
|
+
# 健康处方
|
762
|
+
class HealthPrescriptions < TencentCloud::Common::AbstractModel
|
763
|
+
# @param Title: 标题
|
764
|
+
# @type Title: String
|
765
|
+
# @param Url: 健康处方链接
|
766
|
+
# @type Url: String
|
767
|
+
# @param KeyInformation: 关键信息
|
768
|
+
# @type KeyInformation: String
|
769
|
+
|
770
|
+
attr_accessor :Title, :Url, :KeyInformation
|
771
|
+
|
772
|
+
def initialize(title=nil, url=nil, keyinformation=nil)
|
773
|
+
@Title = title
|
774
|
+
@Url = url
|
775
|
+
@KeyInformation = keyinformation
|
776
|
+
end
|
777
|
+
|
778
|
+
def deserialize(params)
|
779
|
+
@Title = params['Title']
|
780
|
+
@Url = params['Url']
|
781
|
+
@KeyInformation = params['KeyInformation']
|
782
|
+
end
|
783
|
+
end
|
784
|
+
|
785
|
+
# 适应症药品请求
|
786
|
+
class IndicationsDrug < TencentCloud::Common::AbstractModel
|
787
|
+
# @param DrugName: 药品名称
|
788
|
+
# @type DrugName: String
|
789
|
+
# @param Specifications: 规格
|
790
|
+
# @type Specifications: String
|
791
|
+
# @param ApprovalNumber: 批准文号
|
792
|
+
# @type ApprovalNumber: String
|
793
|
+
# @param Manufacturer: 生产厂家
|
794
|
+
# @type Manufacturer: String
|
795
|
+
# @param DrugId: 药品ID
|
796
|
+
# @type DrugId: String
|
797
|
+
# @param TradeName: 商品名
|
798
|
+
# @type TradeName: String
|
799
|
+
# @param Type: 类型 默认0 0-西药 2-中药
|
800
|
+
# @type Type: Integer
|
801
|
+
|
802
|
+
attr_accessor :DrugName, :Specifications, :ApprovalNumber, :Manufacturer, :DrugId, :TradeName, :Type
|
803
|
+
|
804
|
+
def initialize(drugname=nil, specifications=nil, approvalnumber=nil, manufacturer=nil, drugid=nil, tradename=nil, type=nil)
|
805
|
+
@DrugName = drugname
|
806
|
+
@Specifications = specifications
|
807
|
+
@ApprovalNumber = approvalnumber
|
808
|
+
@Manufacturer = manufacturer
|
809
|
+
@DrugId = drugid
|
810
|
+
@TradeName = tradename
|
811
|
+
@Type = type
|
812
|
+
end
|
813
|
+
|
814
|
+
def deserialize(params)
|
815
|
+
@DrugName = params['DrugName']
|
816
|
+
@Specifications = params['Specifications']
|
817
|
+
@ApprovalNumber = params['ApprovalNumber']
|
818
|
+
@Manufacturer = params['Manufacturer']
|
819
|
+
@DrugId = params['DrugId']
|
820
|
+
@TradeName = params['TradeName']
|
821
|
+
@Type = params['Type']
|
822
|
+
end
|
823
|
+
end
|
824
|
+
|
825
|
+
# 登录请求对象
|
826
|
+
class LoginData < TencentCloud::Common::AbstractModel
|
827
|
+
# @param DoctorId: 医生ID
|
828
|
+
# @type DoctorId: String
|
829
|
+
# @param DoctorName: 医生名称
|
830
|
+
# @type DoctorName: String
|
831
|
+
# @param DoctorLevel: 医生职级 主治医师、副主任医师、主任医师
|
832
|
+
# @type DoctorLevel: String
|
833
|
+
# @param DoctorDepartment: 医生科室 当前登录科室
|
834
|
+
# @type DoctorDepartment: String
|
835
|
+
# @param DepartmentId: 科室ID
|
836
|
+
# @type DepartmentId: String
|
837
|
+
|
838
|
+
attr_accessor :DoctorId, :DoctorName, :DoctorLevel, :DoctorDepartment, :DepartmentId
|
839
|
+
|
840
|
+
def initialize(doctorid=nil, doctorname=nil, doctorlevel=nil, doctordepartment=nil, departmentid=nil)
|
841
|
+
@DoctorId = doctorid
|
842
|
+
@DoctorName = doctorname
|
843
|
+
@DoctorLevel = doctorlevel
|
844
|
+
@DoctorDepartment = doctordepartment
|
845
|
+
@DepartmentId = departmentid
|
846
|
+
end
|
847
|
+
|
848
|
+
def deserialize(params)
|
849
|
+
@DoctorId = params['DoctorId']
|
850
|
+
@DoctorName = params['DoctorName']
|
851
|
+
@DoctorLevel = params['DoctorLevel']
|
852
|
+
@DoctorDepartment = params['DoctorDepartment']
|
853
|
+
@DepartmentId = params['DepartmentId']
|
854
|
+
end
|
855
|
+
end
|
856
|
+
|
857
|
+
# 登录返回数据
|
858
|
+
class LoginDataResp < TencentCloud::Common::AbstractModel
|
859
|
+
# @param Token: token
|
860
|
+
# @type Token: String
|
861
|
+
# @param ExpiresIn: 过期时间
|
862
|
+
# @type ExpiresIn: Integer
|
863
|
+
# @param Timestamp: 服务端时间戳,时间戳校验失败时返回
|
864
|
+
# @type Timestamp: Integer
|
865
|
+
|
866
|
+
attr_accessor :Token, :ExpiresIn, :Timestamp
|
867
|
+
|
868
|
+
def initialize(token=nil, expiresin=nil, timestamp=nil)
|
869
|
+
@Token = token
|
870
|
+
@ExpiresIn = expiresin
|
871
|
+
@Timestamp = timestamp
|
872
|
+
end
|
873
|
+
|
874
|
+
def deserialize(params)
|
875
|
+
@Token = params['Token']
|
876
|
+
@ExpiresIn = params['ExpiresIn']
|
877
|
+
@Timestamp = params['Timestamp']
|
878
|
+
end
|
879
|
+
end
|
880
|
+
|
881
|
+
# 登录接口请求头
|
882
|
+
class LoginHeader < TencentCloud::Common::AbstractModel
|
883
|
+
# @param HospitalId: 机构ID
|
884
|
+
# @type HospitalId: String
|
885
|
+
# @param PartnerId: 合作方ID
|
886
|
+
# @type PartnerId: String
|
887
|
+
# @param Timestamp: 加密时间戳毫秒
|
888
|
+
# @type Timestamp: Integer
|
889
|
+
# @param Signature: 签名数据
|
890
|
+
# @type Signature: String
|
891
|
+
# @param PlatformId: 平台ID,平台版登录时传入
|
892
|
+
# @type PlatformId: String
|
893
|
+
|
894
|
+
attr_accessor :HospitalId, :PartnerId, :Timestamp, :Signature, :PlatformId
|
895
|
+
|
896
|
+
def initialize(hospitalid=nil, partnerid=nil, timestamp=nil, signature=nil, platformid=nil)
|
897
|
+
@HospitalId = hospitalid
|
898
|
+
@PartnerId = partnerid
|
899
|
+
@Timestamp = timestamp
|
900
|
+
@Signature = signature
|
901
|
+
@PlatformId = platformid
|
902
|
+
end
|
903
|
+
|
904
|
+
def deserialize(params)
|
905
|
+
@HospitalId = params['HospitalId']
|
906
|
+
@PartnerId = params['PartnerId']
|
907
|
+
@Timestamp = params['Timestamp']
|
908
|
+
@Signature = params['Signature']
|
909
|
+
@PlatformId = params['PlatformId']
|
910
|
+
end
|
911
|
+
end
|
912
|
+
|
913
|
+
# LoginHisTool请求参数结构体
|
914
|
+
class LoginHisToolRequest < TencentCloud::Common::AbstractModel
|
915
|
+
# @param Header: 请求头
|
916
|
+
# @type Header: :class:`Tencentcloud::Aca.v20210323.models.LoginHeader`
|
917
|
+
# @param Data: 请求体
|
918
|
+
# @type Data: :class:`Tencentcloud::Aca.v20210323.models.LoginData`
|
919
|
+
|
920
|
+
attr_accessor :Header, :Data
|
921
|
+
|
922
|
+
def initialize(header=nil, data=nil)
|
923
|
+
@Header = header
|
924
|
+
@Data = data
|
925
|
+
end
|
926
|
+
|
927
|
+
def deserialize(params)
|
928
|
+
unless params['Header'].nil?
|
929
|
+
@Header = LoginHeader.new
|
930
|
+
@Header.deserialize(params['Header'])
|
931
|
+
end
|
932
|
+
unless params['Data'].nil?
|
933
|
+
@Data = LoginData.new
|
934
|
+
@Data.deserialize(params['Data'])
|
935
|
+
end
|
936
|
+
end
|
937
|
+
end
|
938
|
+
|
939
|
+
# LoginHisTool返回参数结构体
|
940
|
+
class LoginHisToolResponse < TencentCloud::Common::AbstractModel
|
941
|
+
# @param Code: 错误码
|
942
|
+
# @type Code: Integer
|
943
|
+
# @param Message: 错误信息
|
944
|
+
# @type Message: String
|
945
|
+
# @param Data: 登录返回token信息
|
946
|
+
# @type Data: :class:`Tencentcloud::Aca.v20210323.models.LoginDataResp`
|
947
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
948
|
+
# @type RequestId: String
|
949
|
+
|
950
|
+
attr_accessor :Code, :Message, :Data, :RequestId
|
951
|
+
|
952
|
+
def initialize(code=nil, message=nil, data=nil, requestid=nil)
|
953
|
+
@Code = code
|
954
|
+
@Message = message
|
955
|
+
@Data = data
|
956
|
+
@RequestId = requestid
|
957
|
+
end
|
958
|
+
|
959
|
+
def deserialize(params)
|
960
|
+
@Code = params['Code']
|
961
|
+
@Message = params['Message']
|
962
|
+
unless params['Data'].nil?
|
963
|
+
@Data = LoginDataResp.new
|
964
|
+
@Data.deserialize(params['Data'])
|
965
|
+
end
|
966
|
+
@RequestId = params['RequestId']
|
967
|
+
end
|
968
|
+
end
|
969
|
+
|
970
|
+
# 登出
|
971
|
+
class LoginOutData < TencentCloud::Common::AbstractModel
|
972
|
+
# @param Token: 登录获取的token
|
973
|
+
# @type Token: String
|
974
|
+
|
975
|
+
attr_accessor :Token
|
976
|
+
|
977
|
+
def initialize(token=nil)
|
978
|
+
@Token = token
|
979
|
+
end
|
980
|
+
|
981
|
+
def deserialize(params)
|
982
|
+
@Token = params['Token']
|
983
|
+
end
|
984
|
+
end
|
985
|
+
|
986
|
+
# 登出header对象
|
987
|
+
class LoginOutHeader < TencentCloud::Common::AbstractModel
|
988
|
+
# @param PartnerId: 合作方ID
|
989
|
+
# @type PartnerId: String
|
990
|
+
# @param Timestamp: 时间戳毫秒数
|
991
|
+
# @type Timestamp: Integer
|
992
|
+
# @param Signature: 签名值
|
993
|
+
# @type Signature: String
|
994
|
+
# @param HospitalId: 医院ID 单院版传这个
|
995
|
+
# @type HospitalId: String
|
996
|
+
# @param PlatformId: 平台ID 平台版传这个
|
997
|
+
# @type PlatformId: String
|
998
|
+
|
999
|
+
attr_accessor :PartnerId, :Timestamp, :Signature, :HospitalId, :PlatformId
|
1000
|
+
|
1001
|
+
def initialize(partnerid=nil, timestamp=nil, signature=nil, hospitalid=nil, platformid=nil)
|
1002
|
+
@PartnerId = partnerid
|
1003
|
+
@Timestamp = timestamp
|
1004
|
+
@Signature = signature
|
1005
|
+
@HospitalId = hospitalid
|
1006
|
+
@PlatformId = platformid
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
def deserialize(params)
|
1010
|
+
@PartnerId = params['PartnerId']
|
1011
|
+
@Timestamp = params['Timestamp']
|
1012
|
+
@Signature = params['Signature']
|
1013
|
+
@HospitalId = params['HospitalId']
|
1014
|
+
@PlatformId = params['PlatformId']
|
1015
|
+
end
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
# LoginOutHisTool请求参数结构体
|
1019
|
+
class LoginOutHisToolRequest < TencentCloud::Common::AbstractModel
|
1020
|
+
# @param Header: 登出请求header
|
1021
|
+
# @type Header: :class:`Tencentcloud::Aca.v20210323.models.LoginOutHeader`
|
1022
|
+
# @param Data: 登出请求数据
|
1023
|
+
# @type Data: :class:`Tencentcloud::Aca.v20210323.models.LoginOutData`
|
1024
|
+
|
1025
|
+
attr_accessor :Header, :Data
|
1026
|
+
|
1027
|
+
def initialize(header=nil, data=nil)
|
1028
|
+
@Header = header
|
1029
|
+
@Data = data
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
def deserialize(params)
|
1033
|
+
unless params['Header'].nil?
|
1034
|
+
@Header = LoginOutHeader.new
|
1035
|
+
@Header.deserialize(params['Header'])
|
1036
|
+
end
|
1037
|
+
unless params['Data'].nil?
|
1038
|
+
@Data = LoginOutData.new
|
1039
|
+
@Data.deserialize(params['Data'])
|
1040
|
+
end
|
1041
|
+
end
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
# LoginOutHisTool返回参数结构体
|
1045
|
+
class LoginOutHisToolResponse < TencentCloud::Common::AbstractModel
|
1046
|
+
# @param Code: 错误码
|
1047
|
+
# @type Code: Integer
|
1048
|
+
# @param Message: 错误信息
|
1049
|
+
# @type Message: String
|
1050
|
+
# @param Data: 响应数据
|
1051
|
+
# @type Data: :class:`Tencentcloud::Aca.v20210323.models.LoginOutResponseData`
|
1052
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1053
|
+
# @type RequestId: String
|
1054
|
+
|
1055
|
+
attr_accessor :Code, :Message, :Data, :RequestId
|
1056
|
+
|
1057
|
+
def initialize(code=nil, message=nil, data=nil, requestid=nil)
|
1058
|
+
@Code = code
|
1059
|
+
@Message = message
|
1060
|
+
@Data = data
|
1061
|
+
@RequestId = requestid
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
def deserialize(params)
|
1065
|
+
@Code = params['Code']
|
1066
|
+
@Message = params['Message']
|
1067
|
+
unless params['Data'].nil?
|
1068
|
+
@Data = LoginOutResponseData.new
|
1069
|
+
@Data.deserialize(params['Data'])
|
1070
|
+
end
|
1071
|
+
@RequestId = params['RequestId']
|
1072
|
+
end
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
# 登出数据
|
1076
|
+
class LoginOutResponseData < TencentCloud::Common::AbstractModel
|
1077
|
+
# @param Timestamp: 服务器时间戳毫秒
|
1078
|
+
# @type Timestamp: Integer
|
1079
|
+
|
1080
|
+
attr_accessor :Timestamp
|
1081
|
+
|
1082
|
+
def initialize(timestamp=nil)
|
1083
|
+
@Timestamp = timestamp
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
def deserialize(params)
|
1087
|
+
@Timestamp = params['Timestamp']
|
1088
|
+
end
|
1089
|
+
end
|
1090
|
+
|
1091
|
+
# 操作结果
|
1092
|
+
class OperateResp < TencentCloud::Common::AbstractModel
|
1093
|
+
# @param Dummy: 操作结果
|
1094
|
+
# @type Dummy: Boolean
|
1095
|
+
|
1096
|
+
attr_accessor :Dummy
|
1097
|
+
|
1098
|
+
def initialize(dummy=nil)
|
1099
|
+
@Dummy = dummy
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
def deserialize(params)
|
1103
|
+
@Dummy = params['Dummy']
|
1104
|
+
end
|
1105
|
+
end
|
1106
|
+
|
1107
|
+
# 患者信息
|
1108
|
+
class PatientBaseInfo < TencentCloud::Common::AbstractModel
|
1109
|
+
# @param Sex: 性别
|
1110
|
+
# @type Sex: String
|
1111
|
+
# @param Height: 身高 单位cm
|
1112
|
+
# @type Height: String
|
1113
|
+
# @param Weight: 体重 单位kg
|
1114
|
+
# @type Weight: String
|
1115
|
+
# @param PatientId: 患者ID
|
1116
|
+
# @type PatientId: String
|
1117
|
+
# @param Name: 名称
|
1118
|
+
# @type Name: String
|
1119
|
+
# @param Age: 年龄
|
1120
|
+
# @type Age: String
|
1121
|
+
# @param BirthPlace: 出生地
|
1122
|
+
# @type BirthPlace: String
|
1123
|
+
# @param LivePlace: 居住地
|
1124
|
+
# @type LivePlace: String
|
1125
|
+
# @param BirthDay: 出生日期和年龄必须传一个
|
1126
|
+
# @type BirthDay: String
|
1127
|
+
|
1128
|
+
attr_accessor :Sex, :Height, :Weight, :PatientId, :Name, :Age, :BirthPlace, :LivePlace, :BirthDay
|
1129
|
+
|
1130
|
+
def initialize(sex=nil, height=nil, weight=nil, patientid=nil, name=nil, age=nil, birthplace=nil, liveplace=nil, birthday=nil)
|
1131
|
+
@Sex = sex
|
1132
|
+
@Height = height
|
1133
|
+
@Weight = weight
|
1134
|
+
@PatientId = patientid
|
1135
|
+
@Name = name
|
1136
|
+
@Age = age
|
1137
|
+
@BirthPlace = birthplace
|
1138
|
+
@LivePlace = liveplace
|
1139
|
+
@BirthDay = birthday
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
def deserialize(params)
|
1143
|
+
@Sex = params['Sex']
|
1144
|
+
@Height = params['Height']
|
1145
|
+
@Weight = params['Weight']
|
1146
|
+
@PatientId = params['PatientId']
|
1147
|
+
@Name = params['Name']
|
1148
|
+
@Age = params['Age']
|
1149
|
+
@BirthPlace = params['BirthPlace']
|
1150
|
+
@LivePlace = params['LivePlace']
|
1151
|
+
@BirthDay = params['BirthDay']
|
1152
|
+
end
|
1153
|
+
end
|
1154
|
+
|
1155
|
+
# 患者家族病史
|
1156
|
+
class PatientFamilyHistory < TencentCloud::Common::AbstractModel
|
1157
|
+
# @param FamilyDiseaseHistory: 家族病史 如家族病史不能分开,可传入此字段
|
1158
|
+
# @type FamilyDiseaseHistory: String
|
1159
|
+
# @param Relation: 关系
|
1160
|
+
# @type Relation: String
|
1161
|
+
# @param CurrentSituation: 当前情况
|
1162
|
+
# @type CurrentSituation: String
|
1163
|
+
|
1164
|
+
attr_accessor :FamilyDiseaseHistory, :Relation, :CurrentSituation
|
1165
|
+
|
1166
|
+
def initialize(familydiseasehistory=nil, relation=nil, currentsituation=nil)
|
1167
|
+
@FamilyDiseaseHistory = familydiseasehistory
|
1168
|
+
@Relation = relation
|
1169
|
+
@CurrentSituation = currentsituation
|
1170
|
+
end
|
1171
|
+
|
1172
|
+
def deserialize(params)
|
1173
|
+
@FamilyDiseaseHistory = params['FamilyDiseaseHistory']
|
1174
|
+
@Relation = params['Relation']
|
1175
|
+
@CurrentSituation = params['CurrentSituation']
|
1176
|
+
end
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
# 患者过往病史
|
1180
|
+
class PatientHistory < TencentCloud::Common::AbstractModel
|
1181
|
+
# @param DiseaseHistory: 病史
|
1182
|
+
# @type DiseaseHistory: String
|
1183
|
+
# @param TreatmentHistory: 治疗史
|
1184
|
+
# @type TreatmentHistory: String
|
1185
|
+
|
1186
|
+
attr_accessor :DiseaseHistory, :TreatmentHistory
|
1187
|
+
|
1188
|
+
def initialize(diseasehistory=nil, treatmenthistory=nil)
|
1189
|
+
@DiseaseHistory = diseasehistory
|
1190
|
+
@TreatmentHistory = treatmenthistory
|
1191
|
+
end
|
1192
|
+
|
1193
|
+
def deserialize(params)
|
1194
|
+
@DiseaseHistory = params['DiseaseHistory']
|
1195
|
+
@TreatmentHistory = params['TreatmentHistory']
|
1196
|
+
end
|
1197
|
+
end
|
1198
|
+
|
1199
|
+
# 体格检查
|
1200
|
+
class PhysicalExam < TencentCloud::Common::AbstractModel
|
1201
|
+
# @param Pulse: 脉搏,单位:次/分
|
1202
|
+
# @type Pulse: String
|
1203
|
+
# @param Breathe: 呼吸,单位:次/分
|
1204
|
+
# @type Breathe: String
|
1205
|
+
# @param Weight: 体重,单位KG
|
1206
|
+
# @type Weight: String
|
1207
|
+
# @param BodyTemperature: 体温,单位:℃
|
1208
|
+
# @type BodyTemperature: String
|
1209
|
+
# @param DiastolicPressure: 舒张压, 单位:mmHg
|
1210
|
+
# @type DiastolicPressure: String
|
1211
|
+
# @param SystolicPressure: 收缩压, 单位:mmHg
|
1212
|
+
# @type SystolicPressure: String
|
1213
|
+
|
1214
|
+
attr_accessor :Pulse, :Breathe, :Weight, :BodyTemperature, :DiastolicPressure, :SystolicPressure
|
1215
|
+
|
1216
|
+
def initialize(pulse=nil, breathe=nil, weight=nil, bodytemperature=nil, diastolicpressure=nil, systolicpressure=nil)
|
1217
|
+
@Pulse = pulse
|
1218
|
+
@Breathe = breathe
|
1219
|
+
@Weight = weight
|
1220
|
+
@BodyTemperature = bodytemperature
|
1221
|
+
@DiastolicPressure = diastolicpressure
|
1222
|
+
@SystolicPressure = systolicpressure
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
def deserialize(params)
|
1226
|
+
@Pulse = params['Pulse']
|
1227
|
+
@Breathe = params['Breathe']
|
1228
|
+
@Weight = params['Weight']
|
1229
|
+
@BodyTemperature = params['BodyTemperature']
|
1230
|
+
@DiastolicPressure = params['DiastolicPressure']
|
1231
|
+
@SystolicPressure = params['SystolicPressure']
|
1232
|
+
end
|
1233
|
+
end
|
1234
|
+
|
1235
|
+
# 合理用药信息
|
1236
|
+
class RationalDrugInfo < TencentCloud::Common::AbstractModel
|
1237
|
+
# @param Hit: 是否有风险
|
1238
|
+
# @type Hit: Boolean
|
1239
|
+
# @param DrugUsages: 药品用量风险
|
1240
|
+
# @type DrugUsages: Array
|
1241
|
+
# @param DrugRepeats: 重复用药风险
|
1242
|
+
# @type DrugRepeats: Array
|
1243
|
+
# @param DrugRoutes: 用药途径风险
|
1244
|
+
# @type DrugRoutes: Array
|
1245
|
+
# @param SpecialPopulations: 特殊人群风险
|
1246
|
+
# @type SpecialPopulations: Array
|
1247
|
+
# @param DrugTaboos: 禁忌症风险
|
1248
|
+
# @type DrugTaboos: Array
|
1249
|
+
# @param DrugInteractions: 相互作用风险
|
1250
|
+
# @type DrugInteractions: Array
|
1251
|
+
# @param DrugIncompatibility: 配伍禁忌风险
|
1252
|
+
# @type DrugIncompatibility: Array
|
1253
|
+
# @param DrugAllergys: 过敏风险
|
1254
|
+
# @type DrugAllergys: Array
|
1255
|
+
# @param DrugIndications: 适应症风险
|
1256
|
+
# @type DrugIndications: Array
|
1257
|
+
# @param Abnormals: 异常提醒
|
1258
|
+
# @type Abnormals: Array
|
1259
|
+
# @param DrugList: 药品列表
|
1260
|
+
# @type DrugList: Array
|
1261
|
+
|
1262
|
+
attr_accessor :Hit, :DrugUsages, :DrugRepeats, :DrugRoutes, :SpecialPopulations, :DrugTaboos, :DrugInteractions, :DrugIncompatibility, :DrugAllergys, :DrugIndications, :Abnormals, :DrugList
|
1263
|
+
|
1264
|
+
def initialize(hit=nil, drugusages=nil, drugrepeats=nil, drugroutes=nil, specialpopulations=nil, drugtaboos=nil, druginteractions=nil, drugincompatibility=nil, drugallergys=nil, drugindications=nil, abnormals=nil, druglist=nil)
|
1265
|
+
@Hit = hit
|
1266
|
+
@DrugUsages = drugusages
|
1267
|
+
@DrugRepeats = drugrepeats
|
1268
|
+
@DrugRoutes = drugroutes
|
1269
|
+
@SpecialPopulations = specialpopulations
|
1270
|
+
@DrugTaboos = drugtaboos
|
1271
|
+
@DrugInteractions = druginteractions
|
1272
|
+
@DrugIncompatibility = drugincompatibility
|
1273
|
+
@DrugAllergys = drugallergys
|
1274
|
+
@DrugIndications = drugindications
|
1275
|
+
@Abnormals = abnormals
|
1276
|
+
@DrugList = druglist
|
1277
|
+
end
|
1278
|
+
|
1279
|
+
def deserialize(params)
|
1280
|
+
@Hit = params['Hit']
|
1281
|
+
unless params['DrugUsages'].nil?
|
1282
|
+
@DrugUsages = []
|
1283
|
+
params['DrugUsages'].each do |i|
|
1284
|
+
riskinfo_tmp = RiskInfo.new
|
1285
|
+
riskinfo_tmp.deserialize(i)
|
1286
|
+
@DrugUsages << riskinfo_tmp
|
1287
|
+
end
|
1288
|
+
end
|
1289
|
+
unless params['DrugRepeats'].nil?
|
1290
|
+
@DrugRepeats = []
|
1291
|
+
params['DrugRepeats'].each do |i|
|
1292
|
+
riskinfo_tmp = RiskInfo.new
|
1293
|
+
riskinfo_tmp.deserialize(i)
|
1294
|
+
@DrugRepeats << riskinfo_tmp
|
1295
|
+
end
|
1296
|
+
end
|
1297
|
+
unless params['DrugRoutes'].nil?
|
1298
|
+
@DrugRoutes = []
|
1299
|
+
params['DrugRoutes'].each do |i|
|
1300
|
+
riskinfo_tmp = RiskInfo.new
|
1301
|
+
riskinfo_tmp.deserialize(i)
|
1302
|
+
@DrugRoutes << riskinfo_tmp
|
1303
|
+
end
|
1304
|
+
end
|
1305
|
+
unless params['SpecialPopulations'].nil?
|
1306
|
+
@SpecialPopulations = []
|
1307
|
+
params['SpecialPopulations'].each do |i|
|
1308
|
+
riskinfo_tmp = RiskInfo.new
|
1309
|
+
riskinfo_tmp.deserialize(i)
|
1310
|
+
@SpecialPopulations << riskinfo_tmp
|
1311
|
+
end
|
1312
|
+
end
|
1313
|
+
unless params['DrugTaboos'].nil?
|
1314
|
+
@DrugTaboos = []
|
1315
|
+
params['DrugTaboos'].each do |i|
|
1316
|
+
riskinfo_tmp = RiskInfo.new
|
1317
|
+
riskinfo_tmp.deserialize(i)
|
1318
|
+
@DrugTaboos << riskinfo_tmp
|
1319
|
+
end
|
1320
|
+
end
|
1321
|
+
unless params['DrugInteractions'].nil?
|
1322
|
+
@DrugInteractions = []
|
1323
|
+
params['DrugInteractions'].each do |i|
|
1324
|
+
riskinfo_tmp = RiskInfo.new
|
1325
|
+
riskinfo_tmp.deserialize(i)
|
1326
|
+
@DrugInteractions << riskinfo_tmp
|
1327
|
+
end
|
1328
|
+
end
|
1329
|
+
unless params['DrugIncompatibility'].nil?
|
1330
|
+
@DrugIncompatibility = []
|
1331
|
+
params['DrugIncompatibility'].each do |i|
|
1332
|
+
riskinfo_tmp = RiskInfo.new
|
1333
|
+
riskinfo_tmp.deserialize(i)
|
1334
|
+
@DrugIncompatibility << riskinfo_tmp
|
1335
|
+
end
|
1336
|
+
end
|
1337
|
+
unless params['DrugAllergys'].nil?
|
1338
|
+
@DrugAllergys = []
|
1339
|
+
params['DrugAllergys'].each do |i|
|
1340
|
+
riskinfo_tmp = RiskInfo.new
|
1341
|
+
riskinfo_tmp.deserialize(i)
|
1342
|
+
@DrugAllergys << riskinfo_tmp
|
1343
|
+
end
|
1344
|
+
end
|
1345
|
+
unless params['DrugIndications'].nil?
|
1346
|
+
@DrugIndications = []
|
1347
|
+
params['DrugIndications'].each do |i|
|
1348
|
+
riskinfo_tmp = RiskInfo.new
|
1349
|
+
riskinfo_tmp.deserialize(i)
|
1350
|
+
@DrugIndications << riskinfo_tmp
|
1351
|
+
end
|
1352
|
+
end
|
1353
|
+
unless params['Abnormals'].nil?
|
1354
|
+
@Abnormals = []
|
1355
|
+
params['Abnormals'].each do |i|
|
1356
|
+
abnormals_tmp = Abnormals.new
|
1357
|
+
abnormals_tmp.deserialize(i)
|
1358
|
+
@Abnormals << abnormals_tmp
|
1359
|
+
end
|
1360
|
+
end
|
1361
|
+
unless params['DrugList'].nil?
|
1362
|
+
@DrugList = []
|
1363
|
+
params['DrugList'].each do |i|
|
1364
|
+
druglist_tmp = DrugList.new
|
1365
|
+
druglist_tmp.deserialize(i)
|
1366
|
+
@DrugList << druglist_tmp
|
1367
|
+
end
|
1368
|
+
end
|
1369
|
+
end
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
# 推荐用法
|
1373
|
+
class RecommendedUsage < TencentCloud::Common::AbstractModel
|
1374
|
+
# @param UsageRoute: 给药途径
|
1375
|
+
# @type UsageRoute: String
|
1376
|
+
# @param Frequency: 给药频率 格式为“最小频次,最大频次,频次单位,频次周期”,如"1,2,次,2", 表示2天内最少给药1次,最大给药2次。
|
1377
|
+
# @type Frequency: String
|
1378
|
+
# @param SingleDose: 给药剂量 格式为"最小剂量,最大剂量,剂量单位",如"10,10,ml",<br>表示每次最大给药量为10ml,最小给药量为10ml。
|
1379
|
+
# @type SingleDose: String
|
1380
|
+
|
1381
|
+
attr_accessor :UsageRoute, :Frequency, :SingleDose
|
1382
|
+
|
1383
|
+
def initialize(usageroute=nil, frequency=nil, singledose=nil)
|
1384
|
+
@UsageRoute = usageroute
|
1385
|
+
@Frequency = frequency
|
1386
|
+
@SingleDose = singledose
|
1387
|
+
end
|
1388
|
+
|
1389
|
+
def deserialize(params)
|
1390
|
+
@UsageRoute = params['UsageRoute']
|
1391
|
+
@Frequency = params['Frequency']
|
1392
|
+
@SingleDose = params['SingleDose']
|
1393
|
+
end
|
1394
|
+
end
|
1395
|
+
|
1396
|
+
# 病历质控
|
1397
|
+
class RecordQuality < TencentCloud::Common::AbstractModel
|
1398
|
+
# @param Hit: 病历是否有问题
|
1399
|
+
# @type Hit: Boolean
|
1400
|
+
# @param Completeness: 完整性问题
|
1401
|
+
# @type Completeness: String
|
1402
|
+
# @param Timeliness: 及时性问题
|
1403
|
+
# @type Timeliness: String
|
1404
|
+
# @param Logical: 逻辑性问题
|
1405
|
+
# @type Logical: String
|
1406
|
+
|
1407
|
+
attr_accessor :Hit, :Completeness, :Timeliness, :Logical
|
1408
|
+
|
1409
|
+
def initialize(hit=nil, completeness=nil, timeliness=nil, logical=nil)
|
1410
|
+
@Hit = hit
|
1411
|
+
@Completeness = completeness
|
1412
|
+
@Timeliness = timeliness
|
1413
|
+
@Logical = logical
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
def deserialize(params)
|
1417
|
+
@Hit = params['Hit']
|
1418
|
+
@Completeness = params['Completeness']
|
1419
|
+
@Timeliness = params['Timeliness']
|
1420
|
+
@Logical = params['Logical']
|
1421
|
+
end
|
1422
|
+
end
|
1423
|
+
|
1424
|
+
# 转诊提醒
|
1425
|
+
class ReferralInfo < TencentCloud::Common::AbstractModel
|
1426
|
+
# @param Hit: 命中
|
1427
|
+
# @type Hit: Boolean
|
1428
|
+
# @param Tips: 提示
|
1429
|
+
# @type Tips: String
|
1430
|
+
|
1431
|
+
attr_accessor :Hit, :Tips
|
1432
|
+
|
1433
|
+
def initialize(hit=nil, tips=nil)
|
1434
|
+
@Hit = hit
|
1435
|
+
@Tips = tips
|
1436
|
+
end
|
1437
|
+
|
1438
|
+
def deserialize(params)
|
1439
|
+
@Hit = params['Hit']
|
1440
|
+
@Tips = params['Tips']
|
1441
|
+
end
|
1442
|
+
end
|
1443
|
+
|
1444
|
+
# 预测数据
|
1445
|
+
class RequestCase < TencentCloud::Common::AbstractModel
|
1446
|
+
# @param CaseType: 处方类型 0:门诊处方;1:住院医嘱;2:急诊处方
|
1447
|
+
# @type CaseType: Integer
|
1448
|
+
# @param ChiefComplaint: 主诉
|
1449
|
+
# @type ChiefComplaint: String
|
1450
|
+
# @param Department: 科室
|
1451
|
+
# @type Department: String
|
1452
|
+
# @param CaseId: 病历文书ID
|
1453
|
+
# 医生每次书写病历文书的ID,文书内容包含主诉,病史,当前诊断等内容<br />门诊场景:门诊病历文书(带有主诉、病史、诊断及药品的)只有一份,这个编号只有一个。<br/>住院场景:假设住院3天,医生每天都会写一份病历文书(带有主诉、病史、诊断及医嘱药品的文书),那么有对应三个病历文书编号,每次调用预测接口都要传入不同的病历文书编号。注意:如两次调用预测接口,传相同的caseid,则在药师端管理平台的上一次审方记录中的诊断会被本次接口传入的诊断更新。
|
1454
|
+
# @type CaseId: String
|
1455
|
+
# @param CaseTime: 病历更新时间
|
1456
|
+
# @type CaseTime: String
|
1457
|
+
# @param VisitId: 就诊ID
|
1458
|
+
# 门诊处方传门诊号,住院医嘱传住院号;备注:门诊场景:用户挂一次号,看一个医生,这时候会有一个代表变成就诊的编号,下一次挂号就诊,这个编号会变。<br/>住院场景:用户本次办理入院,会有一个住院编号,仅代表本次住院,如果下次再住院,这个编号会变。
|
1459
|
+
# @type VisitId: String
|
1460
|
+
# @param PatientBaseinfo: 患者信息
|
1461
|
+
# @type PatientBaseinfo: :class:`Tencentcloud::Aca.v20210323.models.PatientBaseInfo`
|
1462
|
+
# @param DoctorInfo: 医生信息
|
1463
|
+
# @type DoctorInfo: :class:`Tencentcloud::Aca.v20210323.models.DoctorInfo`
|
1464
|
+
# @param PresentIllness: 现病史
|
1465
|
+
# @type PresentIllness: String
|
1466
|
+
# @param PatientOther: 患者其他信息,包含过敏史等
|
1467
|
+
# @type PatientOther: String
|
1468
|
+
# @param PatientHistory: 患者过往病史
|
1469
|
+
# @type PatientHistory: :class:`Tencentcloud::Aca.v20210323.models.PatientHistory`
|
1470
|
+
# @param PatientFamilyHistory: 患者家族病史
|
1471
|
+
# @type PatientFamilyHistory: :class:`Tencentcloud::Aca.v20210323.models.PatientFamilyHistory`
|
1472
|
+
# @param PhysicalExam: 体格检查
|
1473
|
+
# @type PhysicalExam: :class:`Tencentcloud::Aca.v20210323.models.PhysicalExam`
|
1474
|
+
# @param EmrDiagnosises: 诊断列表,第一个为首要诊断
|
1475
|
+
# @type EmrDiagnosises: Array
|
1476
|
+
# @param Prescriptions: 处方列表
|
1477
|
+
# @type Prescriptions: Array
|
1478
|
+
|
1479
|
+
attr_accessor :CaseType, :ChiefComplaint, :Department, :CaseId, :CaseTime, :VisitId, :PatientBaseinfo, :DoctorInfo, :PresentIllness, :PatientOther, :PatientHistory, :PatientFamilyHistory, :PhysicalExam, :EmrDiagnosises, :Prescriptions
|
1480
|
+
|
1481
|
+
def initialize(casetype=nil, chiefcomplaint=nil, department=nil, caseid=nil, casetime=nil, visitid=nil, patientbaseinfo=nil, doctorinfo=nil, presentillness=nil, patientother=nil, patienthistory=nil, patientfamilyhistory=nil, physicalexam=nil, emrdiagnosises=nil, prescriptions=nil)
|
1482
|
+
@CaseType = casetype
|
1483
|
+
@ChiefComplaint = chiefcomplaint
|
1484
|
+
@Department = department
|
1485
|
+
@CaseId = caseid
|
1486
|
+
@CaseTime = casetime
|
1487
|
+
@VisitId = visitid
|
1488
|
+
@PatientBaseinfo = patientbaseinfo
|
1489
|
+
@DoctorInfo = doctorinfo
|
1490
|
+
@PresentIllness = presentillness
|
1491
|
+
@PatientOther = patientother
|
1492
|
+
@PatientHistory = patienthistory
|
1493
|
+
@PatientFamilyHistory = patientfamilyhistory
|
1494
|
+
@PhysicalExam = physicalexam
|
1495
|
+
@EmrDiagnosises = emrdiagnosises
|
1496
|
+
@Prescriptions = prescriptions
|
1497
|
+
end
|
1498
|
+
|
1499
|
+
def deserialize(params)
|
1500
|
+
@CaseType = params['CaseType']
|
1501
|
+
@ChiefComplaint = params['ChiefComplaint']
|
1502
|
+
@Department = params['Department']
|
1503
|
+
@CaseId = params['CaseId']
|
1504
|
+
@CaseTime = params['CaseTime']
|
1505
|
+
@VisitId = params['VisitId']
|
1506
|
+
unless params['PatientBaseinfo'].nil?
|
1507
|
+
@PatientBaseinfo = PatientBaseInfo.new
|
1508
|
+
@PatientBaseinfo.deserialize(params['PatientBaseinfo'])
|
1509
|
+
end
|
1510
|
+
unless params['DoctorInfo'].nil?
|
1511
|
+
@DoctorInfo = DoctorInfo.new
|
1512
|
+
@DoctorInfo.deserialize(params['DoctorInfo'])
|
1513
|
+
end
|
1514
|
+
@PresentIllness = params['PresentIllness']
|
1515
|
+
@PatientOther = params['PatientOther']
|
1516
|
+
unless params['PatientHistory'].nil?
|
1517
|
+
@PatientHistory = PatientHistory.new
|
1518
|
+
@PatientHistory.deserialize(params['PatientHistory'])
|
1519
|
+
end
|
1520
|
+
unless params['PatientFamilyHistory'].nil?
|
1521
|
+
@PatientFamilyHistory = PatientFamilyHistory.new
|
1522
|
+
@PatientFamilyHistory.deserialize(params['PatientFamilyHistory'])
|
1523
|
+
end
|
1524
|
+
unless params['PhysicalExam'].nil?
|
1525
|
+
@PhysicalExam = PhysicalExam.new
|
1526
|
+
@PhysicalExam.deserialize(params['PhysicalExam'])
|
1527
|
+
end
|
1528
|
+
unless params['EmrDiagnosises'].nil?
|
1529
|
+
@EmrDiagnosises = []
|
1530
|
+
params['EmrDiagnosises'].each do |i|
|
1531
|
+
emrdiagnosises_tmp = EmrDiagnosises.new
|
1532
|
+
emrdiagnosises_tmp.deserialize(i)
|
1533
|
+
@EmrDiagnosises << emrdiagnosises_tmp
|
1534
|
+
end
|
1535
|
+
end
|
1536
|
+
unless params['Prescriptions'].nil?
|
1537
|
+
@Prescriptions = []
|
1538
|
+
params['Prescriptions'].each do |i|
|
1539
|
+
drugusage_tmp = DrugUsage.new
|
1540
|
+
drugusage_tmp.deserialize(i)
|
1541
|
+
@Prescriptions << drugusage_tmp
|
1542
|
+
end
|
1543
|
+
end
|
1544
|
+
end
|
1545
|
+
end
|
1546
|
+
|
1547
|
+
# 风险信息
|
1548
|
+
class RiskInfo < TencentCloud::Common::AbstractModel
|
1549
|
+
# @param DrugId: 药品ID
|
1550
|
+
# @type DrugId: String
|
1551
|
+
# @param DrugName: 药品名称
|
1552
|
+
# @type DrugName: String
|
1553
|
+
# @param RiskLevel: 风险等级:低级风险、中级风险、高级风险
|
1554
|
+
# @type RiskLevel: String
|
1555
|
+
# @param RiskTips: 风险提示
|
1556
|
+
# @type RiskTips: String
|
1557
|
+
# @param FdaLevel: FDA分级
|
1558
|
+
# @type FdaLevel: String
|
1559
|
+
# @param RelatedDrugName: 关联药品名称
|
1560
|
+
# @type RelatedDrugName: String
|
1561
|
+
# @param RelatedPrescriptionId: 关联处方ID
|
1562
|
+
# @type RelatedPrescriptionId: String
|
1563
|
+
|
1564
|
+
attr_accessor :DrugId, :DrugName, :RiskLevel, :RiskTips, :FdaLevel, :RelatedDrugName, :RelatedPrescriptionId
|
1565
|
+
|
1566
|
+
def initialize(drugid=nil, drugname=nil, risklevel=nil, risktips=nil, fdalevel=nil, relateddrugname=nil, relatedprescriptionid=nil)
|
1567
|
+
@DrugId = drugid
|
1568
|
+
@DrugName = drugname
|
1569
|
+
@RiskLevel = risklevel
|
1570
|
+
@RiskTips = risktips
|
1571
|
+
@FdaLevel = fdalevel
|
1572
|
+
@RelatedDrugName = relateddrugname
|
1573
|
+
@RelatedPrescriptionId = relatedprescriptionid
|
1574
|
+
end
|
1575
|
+
|
1576
|
+
def deserialize(params)
|
1577
|
+
@DrugId = params['DrugId']
|
1578
|
+
@DrugName = params['DrugName']
|
1579
|
+
@RiskLevel = params['RiskLevel']
|
1580
|
+
@RiskTips = params['RiskTips']
|
1581
|
+
@FdaLevel = params['FdaLevel']
|
1582
|
+
@RelatedDrugName = params['RelatedDrugName']
|
1583
|
+
@RelatedPrescriptionId = params['RelatedPrescriptionId']
|
1584
|
+
end
|
1585
|
+
end
|
1586
|
+
|
1587
|
+
# 智能用药请求数据
|
1588
|
+
class SmartDrugInfoData < TencentCloud::Common::AbstractModel
|
1589
|
+
# @param DrugName: 药品名称
|
1590
|
+
# @type DrugName: String
|
1591
|
+
# @param Specifications: 规格
|
1592
|
+
# @type Specifications: String
|
1593
|
+
# @param ApprovalNumber: 批准文号
|
1594
|
+
# @type ApprovalNumber: String
|
1595
|
+
# @param Manufacturer: 生产厂家
|
1596
|
+
# @type Manufacturer: String
|
1597
|
+
# @param DrugId: 药品ID
|
1598
|
+
# @type DrugId: String
|
1599
|
+
# @param Diagnosis: 诊断
|
1600
|
+
# @type Diagnosis: String
|
1601
|
+
# @param Age: 年龄
|
1602
|
+
# @type Age: Float
|
1603
|
+
|
1604
|
+
attr_accessor :DrugName, :Specifications, :ApprovalNumber, :Manufacturer, :DrugId, :Diagnosis, :Age
|
1605
|
+
|
1606
|
+
def initialize(drugname=nil, specifications=nil, approvalnumber=nil, manufacturer=nil, drugid=nil, diagnosis=nil, age=nil)
|
1607
|
+
@DrugName = drugname
|
1608
|
+
@Specifications = specifications
|
1609
|
+
@ApprovalNumber = approvalnumber
|
1610
|
+
@Manufacturer = manufacturer
|
1611
|
+
@DrugId = drugid
|
1612
|
+
@Diagnosis = diagnosis
|
1613
|
+
@Age = age
|
1614
|
+
end
|
1615
|
+
|
1616
|
+
def deserialize(params)
|
1617
|
+
@DrugName = params['DrugName']
|
1618
|
+
@Specifications = params['Specifications']
|
1619
|
+
@ApprovalNumber = params['ApprovalNumber']
|
1620
|
+
@Manufacturer = params['Manufacturer']
|
1621
|
+
@DrugId = params['DrugId']
|
1622
|
+
@Diagnosis = params['Diagnosis']
|
1623
|
+
@Age = params['Age']
|
1624
|
+
end
|
1625
|
+
end
|
1626
|
+
|
1627
|
+
# SmartDrugInfo请求参数结构体
|
1628
|
+
class SmartDrugInfoRequest < TencentCloud::Common::AbstractModel
|
1629
|
+
# @param Header: 请求头
|
1630
|
+
# @type Header: :class:`Tencentcloud::Aca.v20210323.models.CommonHeader`
|
1631
|
+
# @param Data: 药品信息
|
1632
|
+
# @type Data: :class:`Tencentcloud::Aca.v20210323.models.SmartDrugInfoData`
|
1633
|
+
|
1634
|
+
attr_accessor :Header, :Data
|
1635
|
+
|
1636
|
+
def initialize(header=nil, data=nil)
|
1637
|
+
@Header = header
|
1638
|
+
@Data = data
|
1639
|
+
end
|
1640
|
+
|
1641
|
+
def deserialize(params)
|
1642
|
+
unless params['Header'].nil?
|
1643
|
+
@Header = CommonHeader.new
|
1644
|
+
@Header.deserialize(params['Header'])
|
1645
|
+
end
|
1646
|
+
unless params['Data'].nil?
|
1647
|
+
@Data = SmartDrugInfoData.new
|
1648
|
+
@Data.deserialize(params['Data'])
|
1649
|
+
end
|
1650
|
+
end
|
1651
|
+
end
|
1652
|
+
|
1653
|
+
# 智能用药响应
|
1654
|
+
class SmartDrugInfoResp < TencentCloud::Common::AbstractModel
|
1655
|
+
# @param DrugId: 药品ID
|
1656
|
+
# @type DrugId: String
|
1657
|
+
# @param SequenceId: 序列ID
|
1658
|
+
# @type SequenceId: Integer
|
1659
|
+
# @param DrugHashId: 药品哈希ID
|
1660
|
+
# @type DrugHashId: String
|
1661
|
+
# @param ImgUrl: 图片URL
|
1662
|
+
# @type ImgUrl: String
|
1663
|
+
# @param DrugName: 药品名称
|
1664
|
+
# @type DrugName: String
|
1665
|
+
# @param TradeName: 商品名
|
1666
|
+
# @type TradeName: String
|
1667
|
+
# @param EnglishName: 英文名称
|
1668
|
+
# @type EnglishName: String
|
1669
|
+
# @param EnglishTradeName: 英文商品名
|
1670
|
+
# @type EnglishTradeName: String
|
1671
|
+
# @param Pinyin: 拼音
|
1672
|
+
# @type Pinyin: String
|
1673
|
+
# @param OtherNames: 其他名称
|
1674
|
+
# @type OtherNames: String
|
1675
|
+
# @param ChemicalName: 化学名称
|
1676
|
+
# @type ChemicalName: String
|
1677
|
+
# @param EnglishChemicalName: 英文化学名称
|
1678
|
+
# @type EnglishChemicalName: String
|
1679
|
+
# @param ApprovalNumber: 批准文号
|
1680
|
+
# @type ApprovalNumber: String
|
1681
|
+
# @param Property: 药品属性标签 多个标签时 | 分隔,如抗菌药|抗生素|贵重药品
|
1682
|
+
# @type Property: String
|
1683
|
+
# @param Ingredients: 药品成分
|
1684
|
+
# @type Ingredients: String
|
1685
|
+
# @param PhenotypicTrait: 药品性状
|
1686
|
+
# @type PhenotypicTrait: String
|
1687
|
+
# @param Indications: 适应症
|
1688
|
+
# @type Indications: String
|
1689
|
+
# @param Specifications: 规格
|
1690
|
+
# @type Specifications: String
|
1691
|
+
# @param UsageAndDosage: 用法用量
|
1692
|
+
# @type UsageAndDosage: String
|
1693
|
+
# @param RecommendedUsage: 推荐用法
|
1694
|
+
# @type RecommendedUsage: :class:`Tencentcloud::Aca.v20210323.models.RecommendedUsage`
|
1695
|
+
# @param AdverseReaction: 不良反应
|
1696
|
+
# @type AdverseReaction: String
|
1697
|
+
# @param Contraindication: 禁忌
|
1698
|
+
# @type Contraindication: String
|
1699
|
+
# @param Attentions: 注意事项
|
1700
|
+
# @type Attentions: String
|
1701
|
+
# @param Overdose: 药物过量
|
1702
|
+
# @type Overdose: String
|
1703
|
+
# @param PregnantAndLactatingWomen: 孕妇及哺乳期妇女用药
|
1704
|
+
# @type PregnantAndLactatingWomen: String
|
1705
|
+
# @param ElderlyPatients: 老年患者用药
|
1706
|
+
# @type ElderlyPatients: String
|
1707
|
+
# @param PediatricDrugs: 儿童用药
|
1708
|
+
# @type PediatricDrugs: String
|
1709
|
+
# @param Interactions: 药物相互作用
|
1710
|
+
# @type Interactions: String
|
1711
|
+
# @param ClinicalResearch: 临床研究
|
1712
|
+
# @type ClinicalResearch: String
|
1713
|
+
# @param PharmacologyToxicology: 药理毒理
|
1714
|
+
# @type PharmacologyToxicology: String
|
1715
|
+
# @param Pharmacokinetics: 药代动力学
|
1716
|
+
# @type Pharmacokinetics: String
|
1717
|
+
# @param Warning: 警告
|
1718
|
+
# @type Warning: String
|
1719
|
+
# @param ExpireDate: 有效期
|
1720
|
+
# @type ExpireDate: String
|
1721
|
+
# @param Storage: 贮藏
|
1722
|
+
# @type Storage: String
|
1723
|
+
# @param Pack: 包装
|
1724
|
+
# @type Pack: String
|
1725
|
+
# @param Manufacturer: 生产企业
|
1726
|
+
# @type Manufacturer: String
|
1727
|
+
# @param ManufacturerAddress: 生产企业地址
|
1728
|
+
# @type ManufacturerAddress: String
|
1729
|
+
# @param ManufacturerPhone: 生产企业电话
|
1730
|
+
# @type ManufacturerPhone: String
|
1731
|
+
# @param ManufacturerEmail: 生产企业邮箱
|
1732
|
+
# @type ManufacturerEmail: String
|
1733
|
+
# @param ManufacturerWebsite: 生产企业网站
|
1734
|
+
# @type ManufacturerWebsite: String
|
1735
|
+
# @param DocRevisionTime: 说明书制定和修订时间
|
1736
|
+
# @type DocRevisionTime: String
|
1737
|
+
# @param References: 参考文献
|
1738
|
+
# @type References: String
|
1739
|
+
# @param DrugDosageForm: 剂型
|
1740
|
+
# @type DrugDosageForm: String
|
1741
|
+
# @param DrugRoute: 给药途径
|
1742
|
+
# @type DrugRoute: String
|
1743
|
+
# @param DrugBasicCode: 药品本位码
|
1744
|
+
# @type DrugBasicCode: String
|
1745
|
+
# @param OctTag: OCT标签
|
1746
|
+
# @type OctTag: String
|
1747
|
+
|
1748
|
+
attr_accessor :DrugId, :SequenceId, :DrugHashId, :ImgUrl, :DrugName, :TradeName, :EnglishName, :EnglishTradeName, :Pinyin, :OtherNames, :ChemicalName, :EnglishChemicalName, :ApprovalNumber, :Property, :Ingredients, :PhenotypicTrait, :Indications, :Specifications, :UsageAndDosage, :RecommendedUsage, :AdverseReaction, :Contraindication, :Attentions, :Overdose, :PregnantAndLactatingWomen, :ElderlyPatients, :PediatricDrugs, :Interactions, :ClinicalResearch, :PharmacologyToxicology, :Pharmacokinetics, :Warning, :ExpireDate, :Storage, :Pack, :Manufacturer, :ManufacturerAddress, :ManufacturerPhone, :ManufacturerEmail, :ManufacturerWebsite, :DocRevisionTime, :References, :DrugDosageForm, :DrugRoute, :DrugBasicCode, :OctTag
|
1749
|
+
|
1750
|
+
def initialize(drugid=nil, sequenceid=nil, drughashid=nil, imgurl=nil, drugname=nil, tradename=nil, englishname=nil, englishtradename=nil, pinyin=nil, othernames=nil, chemicalname=nil, englishchemicalname=nil, approvalnumber=nil, property=nil, ingredients=nil, phenotypictrait=nil, indications=nil, specifications=nil, usageanddosage=nil, recommendedusage=nil, adversereaction=nil, contraindication=nil, attentions=nil, overdose=nil, pregnantandlactatingwomen=nil, elderlypatients=nil, pediatricdrugs=nil, interactions=nil, clinicalresearch=nil, pharmacologytoxicology=nil, pharmacokinetics=nil, warning=nil, expiredate=nil, storage=nil, pack=nil, manufacturer=nil, manufactureraddress=nil, manufacturerphone=nil, manufactureremail=nil, manufacturerwebsite=nil, docrevisiontime=nil, references=nil, drugdosageform=nil, drugroute=nil, drugbasiccode=nil, octtag=nil)
|
1751
|
+
@DrugId = drugid
|
1752
|
+
@SequenceId = sequenceid
|
1753
|
+
@DrugHashId = drughashid
|
1754
|
+
@ImgUrl = imgurl
|
1755
|
+
@DrugName = drugname
|
1756
|
+
@TradeName = tradename
|
1757
|
+
@EnglishName = englishname
|
1758
|
+
@EnglishTradeName = englishtradename
|
1759
|
+
@Pinyin = pinyin
|
1760
|
+
@OtherNames = othernames
|
1761
|
+
@ChemicalName = chemicalname
|
1762
|
+
@EnglishChemicalName = englishchemicalname
|
1763
|
+
@ApprovalNumber = approvalnumber
|
1764
|
+
@Property = property
|
1765
|
+
@Ingredients = ingredients
|
1766
|
+
@PhenotypicTrait = phenotypictrait
|
1767
|
+
@Indications = indications
|
1768
|
+
@Specifications = specifications
|
1769
|
+
@UsageAndDosage = usageanddosage
|
1770
|
+
@RecommendedUsage = recommendedusage
|
1771
|
+
@AdverseReaction = adversereaction
|
1772
|
+
@Contraindication = contraindication
|
1773
|
+
@Attentions = attentions
|
1774
|
+
@Overdose = overdose
|
1775
|
+
@PregnantAndLactatingWomen = pregnantandlactatingwomen
|
1776
|
+
@ElderlyPatients = elderlypatients
|
1777
|
+
@PediatricDrugs = pediatricdrugs
|
1778
|
+
@Interactions = interactions
|
1779
|
+
@ClinicalResearch = clinicalresearch
|
1780
|
+
@PharmacologyToxicology = pharmacologytoxicology
|
1781
|
+
@Pharmacokinetics = pharmacokinetics
|
1782
|
+
@Warning = warning
|
1783
|
+
@ExpireDate = expiredate
|
1784
|
+
@Storage = storage
|
1785
|
+
@Pack = pack
|
1786
|
+
@Manufacturer = manufacturer
|
1787
|
+
@ManufacturerAddress = manufactureraddress
|
1788
|
+
@ManufacturerPhone = manufacturerphone
|
1789
|
+
@ManufacturerEmail = manufactureremail
|
1790
|
+
@ManufacturerWebsite = manufacturerwebsite
|
1791
|
+
@DocRevisionTime = docrevisiontime
|
1792
|
+
@References = references
|
1793
|
+
@DrugDosageForm = drugdosageform
|
1794
|
+
@DrugRoute = drugroute
|
1795
|
+
@DrugBasicCode = drugbasiccode
|
1796
|
+
@OctTag = octtag
|
1797
|
+
end
|
1798
|
+
|
1799
|
+
def deserialize(params)
|
1800
|
+
@DrugId = params['DrugId']
|
1801
|
+
@SequenceId = params['SequenceId']
|
1802
|
+
@DrugHashId = params['DrugHashId']
|
1803
|
+
@ImgUrl = params['ImgUrl']
|
1804
|
+
@DrugName = params['DrugName']
|
1805
|
+
@TradeName = params['TradeName']
|
1806
|
+
@EnglishName = params['EnglishName']
|
1807
|
+
@EnglishTradeName = params['EnglishTradeName']
|
1808
|
+
@Pinyin = params['Pinyin']
|
1809
|
+
@OtherNames = params['OtherNames']
|
1810
|
+
@ChemicalName = params['ChemicalName']
|
1811
|
+
@EnglishChemicalName = params['EnglishChemicalName']
|
1812
|
+
@ApprovalNumber = params['ApprovalNumber']
|
1813
|
+
@Property = params['Property']
|
1814
|
+
@Ingredients = params['Ingredients']
|
1815
|
+
@PhenotypicTrait = params['PhenotypicTrait']
|
1816
|
+
@Indications = params['Indications']
|
1817
|
+
@Specifications = params['Specifications']
|
1818
|
+
@UsageAndDosage = params['UsageAndDosage']
|
1819
|
+
unless params['RecommendedUsage'].nil?
|
1820
|
+
@RecommendedUsage = RecommendedUsage.new
|
1821
|
+
@RecommendedUsage.deserialize(params['RecommendedUsage'])
|
1822
|
+
end
|
1823
|
+
@AdverseReaction = params['AdverseReaction']
|
1824
|
+
@Contraindication = params['Contraindication']
|
1825
|
+
@Attentions = params['Attentions']
|
1826
|
+
@Overdose = params['Overdose']
|
1827
|
+
@PregnantAndLactatingWomen = params['PregnantAndLactatingWomen']
|
1828
|
+
@ElderlyPatients = params['ElderlyPatients']
|
1829
|
+
@PediatricDrugs = params['PediatricDrugs']
|
1830
|
+
@Interactions = params['Interactions']
|
1831
|
+
@ClinicalResearch = params['ClinicalResearch']
|
1832
|
+
@PharmacologyToxicology = params['PharmacologyToxicology']
|
1833
|
+
@Pharmacokinetics = params['Pharmacokinetics']
|
1834
|
+
@Warning = params['Warning']
|
1835
|
+
@ExpireDate = params['ExpireDate']
|
1836
|
+
@Storage = params['Storage']
|
1837
|
+
@Pack = params['Pack']
|
1838
|
+
@Manufacturer = params['Manufacturer']
|
1839
|
+
@ManufacturerAddress = params['ManufacturerAddress']
|
1840
|
+
@ManufacturerPhone = params['ManufacturerPhone']
|
1841
|
+
@ManufacturerEmail = params['ManufacturerEmail']
|
1842
|
+
@ManufacturerWebsite = params['ManufacturerWebsite']
|
1843
|
+
@DocRevisionTime = params['DocRevisionTime']
|
1844
|
+
@References = params['References']
|
1845
|
+
@DrugDosageForm = params['DrugDosageForm']
|
1846
|
+
@DrugRoute = params['DrugRoute']
|
1847
|
+
@DrugBasicCode = params['DrugBasicCode']
|
1848
|
+
@OctTag = params['OctTag']
|
1849
|
+
end
|
1850
|
+
end
|
1851
|
+
|
1852
|
+
# SmartDrugInfo返回参数结构体
|
1853
|
+
class SmartDrugInfoResponse < TencentCloud::Common::AbstractModel
|
1854
|
+
# @param Code: 错误码
|
1855
|
+
# @type Code: Integer
|
1856
|
+
# @param Message: 错误信息
|
1857
|
+
# @type Message: String
|
1858
|
+
# @param Data: 智能用药信息
|
1859
|
+
# @type Data: :class:`Tencentcloud::Aca.v20210323.models.SmartDrugInfoResp`
|
1860
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1861
|
+
# @type RequestId: String
|
1862
|
+
|
1863
|
+
attr_accessor :Code, :Message, :Data, :RequestId
|
1864
|
+
|
1865
|
+
def initialize(code=nil, message=nil, data=nil, requestid=nil)
|
1866
|
+
@Code = code
|
1867
|
+
@Message = message
|
1868
|
+
@Data = data
|
1869
|
+
@RequestId = requestid
|
1870
|
+
end
|
1871
|
+
|
1872
|
+
def deserialize(params)
|
1873
|
+
@Code = params['Code']
|
1874
|
+
@Message = params['Message']
|
1875
|
+
unless params['Data'].nil?
|
1876
|
+
@Data = SmartDrugInfoResp.new
|
1877
|
+
@Data.deserialize(params['Data'])
|
1878
|
+
end
|
1879
|
+
@RequestId = params['RequestId']
|
1880
|
+
end
|
1881
|
+
end
|
1882
|
+
|
1883
|
+
# 智能预测接口请求对象
|
1884
|
+
class SmartPredictReqData < TencentCloud::Common::AbstractModel
|
1885
|
+
# @param RequestCase: 病历和处方信息
|
1886
|
+
# @type RequestCase: :class:`Tencentcloud::Aca.v20210323.models.RequestCase`
|
1887
|
+
# @param RequestType: 0--默认值,同时返回**疾病预测**和**用药审查**结果<br>1--仅返回**疾病预测**结果<br>2--仅返回**用药审查**结果<br>已同时激活两个模块时,可按需使用
|
1888
|
+
# @type RequestType: Integer
|
1889
|
+
|
1890
|
+
attr_accessor :RequestCase, :RequestType
|
1891
|
+
|
1892
|
+
def initialize(requestcase=nil, requesttype=nil)
|
1893
|
+
@RequestCase = requestcase
|
1894
|
+
@RequestType = requesttype
|
1895
|
+
end
|
1896
|
+
|
1897
|
+
def deserialize(params)
|
1898
|
+
unless params['RequestCase'].nil?
|
1899
|
+
@RequestCase = RequestCase.new
|
1900
|
+
@RequestCase.deserialize(params['RequestCase'])
|
1901
|
+
end
|
1902
|
+
@RequestType = params['RequestType']
|
1903
|
+
end
|
1904
|
+
end
|
1905
|
+
|
1906
|
+
# SmartPredict请求参数结构体
|
1907
|
+
class SmartPredictRequest < TencentCloud::Common::AbstractModel
|
1908
|
+
# @param Header: 请求头
|
1909
|
+
# @type Header: :class:`Tencentcloud::Aca.v20210323.models.CommonHeader`
|
1910
|
+
# @param Data: 请求体
|
1911
|
+
# @type Data: :class:`Tencentcloud::Aca.v20210323.models.SmartPredictReqData`
|
1912
|
+
|
1913
|
+
attr_accessor :Header, :Data
|
1914
|
+
|
1915
|
+
def initialize(header=nil, data=nil)
|
1916
|
+
@Header = header
|
1917
|
+
@Data = data
|
1918
|
+
end
|
1919
|
+
|
1920
|
+
def deserialize(params)
|
1921
|
+
unless params['Header'].nil?
|
1922
|
+
@Header = CommonHeader.new
|
1923
|
+
@Header.deserialize(params['Header'])
|
1924
|
+
end
|
1925
|
+
unless params['Data'].nil?
|
1926
|
+
@Data = SmartPredictReqData.new
|
1927
|
+
@Data.deserialize(params['Data'])
|
1928
|
+
end
|
1929
|
+
end
|
1930
|
+
end
|
1931
|
+
|
1932
|
+
# 智能问诊响应数据
|
1933
|
+
class SmartPredictRespData < TencentCloud::Common::AbstractModel
|
1934
|
+
# @param DiagnosisInfo: 诊断辅助内容
|
1935
|
+
# @type DiagnosisInfo: :class:`Tencentcloud::Aca.v20210323.models.DiagnosisInfo`
|
1936
|
+
# @param RationalDrugInfo: 用药风险信息
|
1937
|
+
# @type RationalDrugInfo: :class:`Tencentcloud::Aca.v20210323.models.RationalDrugInfo`
|
1938
|
+
|
1939
|
+
attr_accessor :DiagnosisInfo, :RationalDrugInfo
|
1940
|
+
|
1941
|
+
def initialize(diagnosisinfo=nil, rationaldruginfo=nil)
|
1942
|
+
@DiagnosisInfo = diagnosisinfo
|
1943
|
+
@RationalDrugInfo = rationaldruginfo
|
1944
|
+
end
|
1945
|
+
|
1946
|
+
def deserialize(params)
|
1947
|
+
unless params['DiagnosisInfo'].nil?
|
1948
|
+
@DiagnosisInfo = DiagnosisInfo.new
|
1949
|
+
@DiagnosisInfo.deserialize(params['DiagnosisInfo'])
|
1950
|
+
end
|
1951
|
+
unless params['RationalDrugInfo'].nil?
|
1952
|
+
@RationalDrugInfo = RationalDrugInfo.new
|
1953
|
+
@RationalDrugInfo.deserialize(params['RationalDrugInfo'])
|
1954
|
+
end
|
1955
|
+
end
|
1956
|
+
end
|
1957
|
+
|
1958
|
+
# SmartPredict返回参数结构体
|
1959
|
+
class SmartPredictResponse < TencentCloud::Common::AbstractModel
|
1960
|
+
# @param Code: 错误码
|
1961
|
+
# @type Code: Integer
|
1962
|
+
# @param Message: 错误信息
|
1963
|
+
# @type Message: String
|
1964
|
+
# @param Data: 智能预测内容
|
1965
|
+
# @type Data: :class:`Tencentcloud::Aca.v20210323.models.SmartPredictRespData`
|
1966
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1967
|
+
# @type RequestId: String
|
1968
|
+
|
1969
|
+
attr_accessor :Code, :Message, :Data, :RequestId
|
1970
|
+
|
1971
|
+
def initialize(code=nil, message=nil, data=nil, requestid=nil)
|
1972
|
+
@Code = code
|
1973
|
+
@Message = message
|
1974
|
+
@Data = data
|
1975
|
+
@RequestId = requestid
|
1976
|
+
end
|
1977
|
+
|
1978
|
+
def deserialize(params)
|
1979
|
+
@Code = params['Code']
|
1980
|
+
@Message = params['Message']
|
1981
|
+
unless params['Data'].nil?
|
1982
|
+
@Data = SmartPredictRespData.new
|
1983
|
+
@Data.deserialize(params['Data'])
|
1984
|
+
end
|
1985
|
+
@RequestId = params['RequestId']
|
1986
|
+
end
|
1987
|
+
end
|
1988
|
+
|
1989
|
+
# 疑似诊断
|
1990
|
+
class SuspectedDiagnosis < TencentCloud::Common::AbstractModel
|
1991
|
+
# @param DiseaseName: 疾病名称
|
1992
|
+
# @type DiseaseName: String
|
1993
|
+
# @param IcdCode: ICD代码
|
1994
|
+
# @type IcdCode: String
|
1995
|
+
# @param Symptom: 症状
|
1996
|
+
# @type Symptom: String
|
1997
|
+
# @param Physi: 体征
|
1998
|
+
# @type Physi: String
|
1999
|
+
# @param Inspection: 检查
|
2000
|
+
# @type Inspection: String
|
2001
|
+
# @param DiseaseGuideInfo: 疾病指南信息
|
2002
|
+
# @type DiseaseGuideInfo: String
|
2003
|
+
# @param Probability: 置信度
|
2004
|
+
# @type Probability: Float
|
2005
|
+
|
2006
|
+
attr_accessor :DiseaseName, :IcdCode, :Symptom, :Physi, :Inspection, :DiseaseGuideInfo, :Probability
|
2007
|
+
|
2008
|
+
def initialize(diseasename=nil, icdcode=nil, symptom=nil, physi=nil, inspection=nil, diseaseguideinfo=nil, probability=nil)
|
2009
|
+
@DiseaseName = diseasename
|
2010
|
+
@IcdCode = icdcode
|
2011
|
+
@Symptom = symptom
|
2012
|
+
@Physi = physi
|
2013
|
+
@Inspection = inspection
|
2014
|
+
@DiseaseGuideInfo = diseaseguideinfo
|
2015
|
+
@Probability = probability
|
2016
|
+
end
|
2017
|
+
|
2018
|
+
def deserialize(params)
|
2019
|
+
@DiseaseName = params['DiseaseName']
|
2020
|
+
@IcdCode = params['IcdCode']
|
2021
|
+
@Symptom = params['Symptom']
|
2022
|
+
@Physi = params['Physi']
|
2023
|
+
@Inspection = params['Inspection']
|
2024
|
+
@DiseaseGuideInfo = params['DiseaseGuideInfo']
|
2025
|
+
@Probability = params['Probability']
|
2026
|
+
end
|
2027
|
+
end
|
2028
|
+
|
2029
|
+
# 同步科室信息
|
2030
|
+
class SyncDepartmentData < TencentCloud::Common::AbstractModel
|
2031
|
+
# @param Cmd: 操作类型 1:获取科室列表 2:同步科室信息(增、改) 3:删除科室
|
2032
|
+
# @type Cmd: Integer
|
2033
|
+
# @param List: 科室列表
|
2034
|
+
# @type List: Array
|
2035
|
+
|
2036
|
+
attr_accessor :Cmd, :List
|
2037
|
+
|
2038
|
+
def initialize(cmd=nil, list=nil)
|
2039
|
+
@Cmd = cmd
|
2040
|
+
@List = list
|
2041
|
+
end
|
2042
|
+
|
2043
|
+
def deserialize(params)
|
2044
|
+
@Cmd = params['Cmd']
|
2045
|
+
unless params['List'].nil?
|
2046
|
+
@List = []
|
2047
|
+
params['List'].each do |i|
|
2048
|
+
department_tmp = Department.new
|
2049
|
+
department_tmp.deserialize(i)
|
2050
|
+
@List << department_tmp
|
2051
|
+
end
|
2052
|
+
end
|
2053
|
+
end
|
2054
|
+
end
|
2055
|
+
|
2056
|
+
# SyncDepartment请求参数结构体
|
2057
|
+
class SyncDepartmentRequest < TencentCloud::Common::AbstractModel
|
2058
|
+
# @param Header: 请求头
|
2059
|
+
# @type Header: :class:`Tencentcloud::Aca.v20210323.models.CommonHeader`
|
2060
|
+
# @param Data: 同步数据
|
2061
|
+
# @type Data: :class:`Tencentcloud::Aca.v20210323.models.SyncDepartmentData`
|
2062
|
+
|
2063
|
+
attr_accessor :Header, :Data
|
2064
|
+
|
2065
|
+
def initialize(header=nil, data=nil)
|
2066
|
+
@Header = header
|
2067
|
+
@Data = data
|
2068
|
+
end
|
2069
|
+
|
2070
|
+
def deserialize(params)
|
2071
|
+
unless params['Header'].nil?
|
2072
|
+
@Header = CommonHeader.new
|
2073
|
+
@Header.deserialize(params['Header'])
|
2074
|
+
end
|
2075
|
+
unless params['Data'].nil?
|
2076
|
+
@Data = SyncDepartmentData.new
|
2077
|
+
@Data.deserialize(params['Data'])
|
2078
|
+
end
|
2079
|
+
end
|
2080
|
+
end
|
2081
|
+
|
2082
|
+
# 同步科室信息返回
|
2083
|
+
class SyncDepartmentRespData < TencentCloud::Common::AbstractModel
|
2084
|
+
# @param List: 科室列表
|
2085
|
+
# @type List: Array
|
2086
|
+
|
2087
|
+
attr_accessor :List
|
2088
|
+
|
2089
|
+
def initialize(list=nil)
|
2090
|
+
@List = list
|
2091
|
+
end
|
2092
|
+
|
2093
|
+
def deserialize(params)
|
2094
|
+
unless params['List'].nil?
|
2095
|
+
@List = []
|
2096
|
+
params['List'].each do |i|
|
2097
|
+
department_tmp = Department.new
|
2098
|
+
department_tmp.deserialize(i)
|
2099
|
+
@List << department_tmp
|
2100
|
+
end
|
2101
|
+
end
|
2102
|
+
end
|
2103
|
+
end
|
2104
|
+
|
2105
|
+
# SyncDepartment返回参数结构体
|
2106
|
+
class SyncDepartmentResponse < TencentCloud::Common::AbstractModel
|
2107
|
+
# @param Code: 错误码
|
2108
|
+
# @type Code: Integer
|
2109
|
+
# @param Message: 错误信息
|
2110
|
+
# @type Message: String
|
2111
|
+
# @param Data: 响应数据
|
2112
|
+
# @type Data: :class:`Tencentcloud::Aca.v20210323.models.SyncDepartmentRespData`
|
2113
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2114
|
+
# @type RequestId: String
|
2115
|
+
|
2116
|
+
attr_accessor :Code, :Message, :Data, :RequestId
|
2117
|
+
|
2118
|
+
def initialize(code=nil, message=nil, data=nil, requestid=nil)
|
2119
|
+
@Code = code
|
2120
|
+
@Message = message
|
2121
|
+
@Data = data
|
2122
|
+
@RequestId = requestid
|
2123
|
+
end
|
2124
|
+
|
2125
|
+
def deserialize(params)
|
2126
|
+
@Code = params['Code']
|
2127
|
+
@Message = params['Message']
|
2128
|
+
unless params['Data'].nil?
|
2129
|
+
@Data = SyncDepartmentRespData.new
|
2130
|
+
@Data.deserialize(params['Data'])
|
2131
|
+
end
|
2132
|
+
@RequestId = params['RequestId']
|
2133
|
+
end
|
2134
|
+
end
|
2135
|
+
|
2136
|
+
# 同步字典数据
|
2137
|
+
class SyncDictData < TencentCloud::Common::AbstractModel
|
2138
|
+
# @param HospitalId: 医院ID
|
2139
|
+
# @type HospitalId: String
|
2140
|
+
# @param DictType: 字典类型 1-给药频次 2-给药途径 3-科室 4-诊断
|
2141
|
+
# @type DictType: Integer
|
2142
|
+
# @param Dicts: 字典数据
|
2143
|
+
# @type Dicts: Array
|
2144
|
+
|
2145
|
+
attr_accessor :HospitalId, :DictType, :Dicts
|
2146
|
+
|
2147
|
+
def initialize(hospitalid=nil, dicttype=nil, dicts=nil)
|
2148
|
+
@HospitalId = hospitalid
|
2149
|
+
@DictType = dicttype
|
2150
|
+
@Dicts = dicts
|
2151
|
+
end
|
2152
|
+
|
2153
|
+
def deserialize(params)
|
2154
|
+
@HospitalId = params['HospitalId']
|
2155
|
+
@DictType = params['DictType']
|
2156
|
+
unless params['Dicts'].nil?
|
2157
|
+
@Dicts = []
|
2158
|
+
params['Dicts'].each do |i|
|
2159
|
+
dict_tmp = Dict.new
|
2160
|
+
dict_tmp.deserialize(i)
|
2161
|
+
@Dicts << dict_tmp
|
2162
|
+
end
|
2163
|
+
end
|
2164
|
+
end
|
2165
|
+
end
|
2166
|
+
|
2167
|
+
# SyncStandardDict请求参数结构体
|
2168
|
+
class SyncStandardDictRequest < TencentCloud::Common::AbstractModel
|
2169
|
+
# @param Header: 请求头
|
2170
|
+
# @type Header: :class:`Tencentcloud::Aca.v20210323.models.CommonHeader`
|
2171
|
+
# @param Data: 字典数据
|
2172
|
+
# @type Data: :class:`Tencentcloud::Aca.v20210323.models.SyncDictData`
|
2173
|
+
|
2174
|
+
attr_accessor :Header, :Data
|
2175
|
+
|
2176
|
+
def initialize(header=nil, data=nil)
|
2177
|
+
@Header = header
|
2178
|
+
@Data = data
|
2179
|
+
end
|
2180
|
+
|
2181
|
+
def deserialize(params)
|
2182
|
+
unless params['Header'].nil?
|
2183
|
+
@Header = CommonHeader.new
|
2184
|
+
@Header.deserialize(params['Header'])
|
2185
|
+
end
|
2186
|
+
unless params['Data'].nil?
|
2187
|
+
@Data = SyncDictData.new
|
2188
|
+
@Data.deserialize(params['Data'])
|
2189
|
+
end
|
2190
|
+
end
|
2191
|
+
end
|
2192
|
+
|
2193
|
+
# SyncStandardDict返回参数结构体
|
2194
|
+
class SyncStandardDictResponse < TencentCloud::Common::AbstractModel
|
2195
|
+
# @param Code: 错误码
|
2196
|
+
# @type Code: Integer
|
2197
|
+
# @param Message: 错误信息
|
2198
|
+
# @type Message: String
|
2199
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2200
|
+
# @type RequestId: String
|
2201
|
+
|
2202
|
+
attr_accessor :Code, :Message, :RequestId
|
2203
|
+
|
2204
|
+
def initialize(code=nil, message=nil, requestid=nil)
|
2205
|
+
@Code = code
|
2206
|
+
@Message = message
|
2207
|
+
@RequestId = requestid
|
2208
|
+
end
|
2209
|
+
|
2210
|
+
def deserialize(params)
|
2211
|
+
@Code = params['Code']
|
2212
|
+
@Message = params['Message']
|
2213
|
+
@RequestId = params['RequestId']
|
2214
|
+
end
|
2215
|
+
end
|
2216
|
+
|
2217
|
+
# 治疗方案
|
2218
|
+
class TreatmentGuide < TencentCloud::Common::AbstractModel
|
2219
|
+
# @param DoctorDiagnosis: 医生诊断
|
2220
|
+
# @type DoctorDiagnosis: String
|
2221
|
+
# @param DiseaseName: 疾病名称
|
2222
|
+
# @type DiseaseName: String
|
2223
|
+
# @param TreatDetailUrl: 治疗详情链接
|
2224
|
+
# @type TreatDetailUrl: String
|
2225
|
+
# @param TreatPlan: 治疗方案
|
2226
|
+
# @type TreatPlan: String
|
2227
|
+
# @param TreatPrinciple: 治疗原则
|
2228
|
+
# @type TreatPrinciple: String
|
2229
|
+
|
2230
|
+
attr_accessor :DoctorDiagnosis, :DiseaseName, :TreatDetailUrl, :TreatPlan, :TreatPrinciple
|
2231
|
+
|
2232
|
+
def initialize(doctordiagnosis=nil, diseasename=nil, treatdetailurl=nil, treatplan=nil, treatprinciple=nil)
|
2233
|
+
@DoctorDiagnosis = doctordiagnosis
|
2234
|
+
@DiseaseName = diseasename
|
2235
|
+
@TreatDetailUrl = treatdetailurl
|
2236
|
+
@TreatPlan = treatplan
|
2237
|
+
@TreatPrinciple = treatprinciple
|
2238
|
+
end
|
2239
|
+
|
2240
|
+
def deserialize(params)
|
2241
|
+
@DoctorDiagnosis = params['DoctorDiagnosis']
|
2242
|
+
@DiseaseName = params['DiseaseName']
|
2243
|
+
@TreatDetailUrl = params['TreatDetailUrl']
|
2244
|
+
@TreatPlan = params['TreatPlan']
|
2245
|
+
@TreatPrinciple = params['TreatPrinciple']
|
2246
|
+
end
|
2247
|
+
end
|
2248
|
+
|
2249
|
+
# 上传药品数据
|
2250
|
+
class UploadDrugData < TencentCloud::Common::AbstractModel
|
2251
|
+
# @param Drugs: 药品列表
|
2252
|
+
# @type Drugs: Array
|
2253
|
+
|
2254
|
+
attr_accessor :Drugs
|
2255
|
+
|
2256
|
+
def initialize(drugs=nil)
|
2257
|
+
@Drugs = drugs
|
2258
|
+
end
|
2259
|
+
|
2260
|
+
def deserialize(params)
|
2261
|
+
unless params['Drugs'].nil?
|
2262
|
+
@Drugs = []
|
2263
|
+
params['Drugs'].each do |i|
|
2264
|
+
drug_tmp = Drug.new
|
2265
|
+
drug_tmp.deserialize(i)
|
2266
|
+
@Drugs << drug_tmp
|
2267
|
+
end
|
2268
|
+
end
|
2269
|
+
end
|
2270
|
+
end
|
2271
|
+
|
2272
|
+
# UploadDrugs请求参数结构体
|
2273
|
+
class UploadDrugsRequest < TencentCloud::Common::AbstractModel
|
2274
|
+
# @param Header: 请求头数据
|
2275
|
+
# @type Header: :class:`Tencentcloud::Aca.v20210323.models.CommonHeader`
|
2276
|
+
# @param Data: 药品上传数据
|
2277
|
+
# @type Data: :class:`Tencentcloud::Aca.v20210323.models.UploadDrugData`
|
2278
|
+
|
2279
|
+
attr_accessor :Header, :Data
|
2280
|
+
|
2281
|
+
def initialize(header=nil, data=nil)
|
2282
|
+
@Header = header
|
2283
|
+
@Data = data
|
2284
|
+
end
|
2285
|
+
|
2286
|
+
def deserialize(params)
|
2287
|
+
unless params['Header'].nil?
|
2288
|
+
@Header = CommonHeader.new
|
2289
|
+
@Header.deserialize(params['Header'])
|
2290
|
+
end
|
2291
|
+
unless params['Data'].nil?
|
2292
|
+
@Data = UploadDrugData.new
|
2293
|
+
@Data.deserialize(params['Data'])
|
2294
|
+
end
|
2295
|
+
end
|
2296
|
+
end
|
2297
|
+
|
2298
|
+
# UploadDrugs返回参数结构体
|
2299
|
+
class UploadDrugsResponse < TencentCloud::Common::AbstractModel
|
2300
|
+
# @param Code: 错误码
|
2301
|
+
# @type Code: Integer
|
2302
|
+
# @param Message: 错误信息
|
2303
|
+
# @type Message: String
|
2304
|
+
# @param Data: 操作信息
|
2305
|
+
# @type Data: :class:`Tencentcloud::Aca.v20210323.models.OperateResp`
|
2306
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2307
|
+
# @type RequestId: String
|
2308
|
+
|
2309
|
+
attr_accessor :Code, :Message, :Data, :RequestId
|
2310
|
+
|
2311
|
+
def initialize(code=nil, message=nil, data=nil, requestid=nil)
|
2312
|
+
@Code = code
|
2313
|
+
@Message = message
|
2314
|
+
@Data = data
|
2315
|
+
@RequestId = requestid
|
2316
|
+
end
|
2317
|
+
|
2318
|
+
def deserialize(params)
|
2319
|
+
@Code = params['Code']
|
2320
|
+
@Message = params['Message']
|
2321
|
+
unless params['Data'].nil?
|
2322
|
+
@Data = OperateResp.new
|
2323
|
+
@Data.deserialize(params['Data'])
|
2324
|
+
end
|
2325
|
+
@RequestId = params['RequestId']
|
2326
|
+
end
|
2327
|
+
end
|
2328
|
+
|
2329
|
+
# 生命体征风险
|
2330
|
+
class VitalSignsInfo < TencentCloud::Common::AbstractModel
|
2331
|
+
# @param Hit: 是否包含风险
|
2332
|
+
# @type Hit: Boolean
|
2333
|
+
# @param Tips: 提示
|
2334
|
+
# @type Tips: String
|
2335
|
+
|
2336
|
+
attr_accessor :Hit, :Tips
|
2337
|
+
|
2338
|
+
def initialize(hit=nil, tips=nil)
|
2339
|
+
@Hit = hit
|
2340
|
+
@Tips = tips
|
2341
|
+
end
|
2342
|
+
|
2343
|
+
def deserialize(params)
|
2344
|
+
@Hit = params['Hit']
|
2345
|
+
@Tips = params['Tips']
|
2346
|
+
end
|
2347
|
+
end
|
2348
|
+
|
2349
|
+
end
|
2350
|
+
end
|
2351
|
+
end
|
2352
|
+
|