1// Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//    http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package v20200910
16
17import (
18    "encoding/json"
19    tcerr "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors"
20    tchttp "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http"
21)
22
23type Advice struct {
24
25	// 文本
26	// 注意:此字段可能返回 null,表示取不到有效值。
27	Text *string `json:"Text,omitempty" name:"Text"`
28}
29
30type AspectRatio struct {
31
32	// 原文位置
33	// 注意:此字段可能返回 null,表示取不到有效值。
34	Index []*int64 `json:"Index,omitempty" name:"Index"`
35
36	// 数值
37	// 注意:此字段可能返回 null,表示取不到有效值。
38	Number *string `json:"Number,omitempty" name:"Number"`
39
40	// 关系
41	// 注意:此字段可能返回 null,表示取不到有效值。
42	Relation *string `json:"Relation,omitempty" name:"Relation"`
43
44	// 原文
45	// 注意:此字段可能返回 null,表示取不到有效值。
46	Src *string `json:"Src,omitempty" name:"Src"`
47
48	// 值
49	// 注意:此字段可能返回 null,表示取不到有效值。
50	Value *string `json:"Value,omitempty" name:"Value"`
51}
52
53type BlockInfo struct {
54
55	// 原文位置
56	// 注意:此字段可能返回 null,表示取不到有效值。
57	Index []*int64 `json:"Index,omitempty" name:"Index"`
58
59	// 阳性
60	// 注意:此字段可能返回 null,表示取不到有效值。
61	Positive *string `json:"Positive,omitempty" name:"Positive"`
62
63	// 原文
64	// 注意:此字段可能返回 null,表示取不到有效值。
65	Src *string `json:"Src,omitempty" name:"Src"`
66
67	// 值
68	// 注意:此字段可能返回 null,表示取不到有效值。
69	Value *string `json:"Value,omitempty" name:"Value"`
70
71	// 类型
72	// 注意:此字段可能返回 null,表示取不到有效值。
73	Type *string `json:"Type,omitempty" name:"Type"`
74
75	// 名称
76	// 注意:此字段可能返回 null,表示取不到有效值。
77	Name *string `json:"Name,omitempty" name:"Name"`
78}
79
80type Check struct {
81
82	// 描述
83	// 注意:此字段可能返回 null,表示取不到有效值。
84	Desc *Desc `json:"Desc,omitempty" name:"Desc"`
85
86	// 结论
87	// 注意:此字段可能返回 null,表示取不到有效值。
88	Summary *Summary `json:"Summary,omitempty" name:"Summary"`
89}
90
91type Desc struct {
92
93	// 描述
94	// 注意:此字段可能返回 null,表示取不到有效值。
95	Text *string `json:"Text,omitempty" name:"Text"`
96
97	// 器官
98	// 注意:此字段可能返回 null,表示取不到有效值。
99	Organ []*Organ `json:"Organ,omitempty" name:"Organ"`
100
101	// 结节
102	// 注意:此字段可能返回 null,表示取不到有效值。
103	Tuber []*TuberInfo `json:"Tuber,omitempty" name:"Tuber"`
104}
105
106type DiagCert struct {
107
108	// 建议
109	// 注意:此字段可能返回 null,表示取不到有效值。
110	Advice *Advice `json:"Advice,omitempty" name:"Advice"`
111
112	// 诊断
113	// 注意:此字段可能返回 null,表示取不到有效值。
114	Diagnosis []*DiagCertItem `json:"Diagnosis,omitempty" name:"Diagnosis"`
115}
116
117type DiagCertItem struct {
118
119	// 文本
120	// 注意:此字段可能返回 null,表示取不到有效值。
121	Text *string `json:"Text,omitempty" name:"Text"`
122
123	// 类型
124	// 注意:此字段可能返回 null,表示取不到有效值。
125	Type *string `json:"Type,omitempty" name:"Type"`
126
127	// 值
128	// 注意:此字段可能返回 null,表示取不到有效值。
129	Value []*string `json:"Value,omitempty" name:"Value"`
130}
131
132type DischargeDiagnosis struct {
133
134	// 表格位置
135	// 注意:此字段可能返回 null,表示取不到有效值。
136	TableIndex *int64 `json:"TableIndex,omitempty" name:"TableIndex"`
137
138	// 出院诊断
139	// 注意:此字段可能返回 null,表示取不到有效值。
140	OutDiagnosis *BlockInfo `json:"OutDiagnosis,omitempty" name:"OutDiagnosis"`
141
142	// 疾病编码
143	// 注意:此字段可能返回 null,表示取不到有效值。
144	DiseaseCode *BlockInfo `json:"DiseaseCode,omitempty" name:"DiseaseCode"`
145
146	// 入院情况
147	// 注意:此字段可能返回 null,表示取不到有效值。
148	InStatus *BlockInfo `json:"InStatus,omitempty" name:"InStatus"`
149
150	// 出院情况
151	// 注意:此字段可能返回 null,表示取不到有效值。
152	OutStatus *BlockInfo `json:"OutStatus,omitempty" name:"OutStatus"`
153}
154
155type DiseaseMedicalHistory struct {
156
157	// 主病史
158	// 注意:此字段可能返回 null,表示取不到有效值。
159	MainDiseaseHistory *string `json:"MainDiseaseHistory,omitempty" name:"MainDiseaseHistory"`
160
161	// 过敏史
162	// 注意:此字段可能返回 null,表示取不到有效值。
163	AllergyHistory *string `json:"AllergyHistory,omitempty" name:"AllergyHistory"`
164
165	// 传染疾病史
166	// 注意:此字段可能返回 null,表示取不到有效值。
167	InfectHistory *string `json:"InfectHistory,omitempty" name:"InfectHistory"`
168
169	// 手术史
170	// 注意:此字段可能返回 null,表示取不到有效值。
171	OperationHistory *string `json:"OperationHistory,omitempty" name:"OperationHistory"`
172
173	// 输血史
174	// 注意:此字段可能返回 null,表示取不到有效值。
175	TransfusionHistory *string `json:"TransfusionHistory,omitempty" name:"TransfusionHistory"`
176}
177
178type Elastic struct {
179
180	// 原文位置
181	// 注意:此字段可能返回 null,表示取不到有效值。
182	Index []*int64 `json:"Index,omitempty" name:"Index"`
183
184	// 分数
185	// 注意:此字段可能返回 null,表示取不到有效值。
186	Score *string `json:"Score,omitempty" name:"Score"`
187
188	// 原文
189	// 注意:此字段可能返回 null,表示取不到有效值。
190	Src *string `json:"Src,omitempty" name:"Src"`
191
192	// 值
193	// 注意:此字段可能返回 null,表示取不到有效值。
194	Value *string `json:"Value,omitempty" name:"Value"`
195
196	// 名称
197	// 注意:此字段可能返回 null,表示取不到有效值。
198	Name *string `json:"Name,omitempty" name:"Name"`
199}
200
201type FamilyMedicalHistory struct {
202
203	// 家族成员史
204	// 注意:此字段可能返回 null,表示取不到有效值。
205	RelativeHistory *string `json:"RelativeHistory,omitempty" name:"RelativeHistory"`
206
207	// 家族肿瘤史
208	// 注意:此字段可能返回 null,表示取不到有效值。
209	RelativeCancerHistory *string `json:"RelativeCancerHistory,omitempty" name:"RelativeCancerHistory"`
210
211	// 家族遗传史
212	// 注意:此字段可能返回 null,表示取不到有效值。
213	GeneticHistory *string `json:"GeneticHistory,omitempty" name:"GeneticHistory"`
214}
215
216type FirstPage struct {
217
218	// 出入院诊断
219	// 注意:此字段可能返回 null,表示取不到有效值。
220	DischargeDiagnosis []*DischargeDiagnosis `json:"DischargeDiagnosis,omitempty" name:"DischargeDiagnosis"`
221
222	// 病理诊断
223	// 注意:此字段可能返回 null,表示取不到有效值。
224	PathologicalDiagnosis *BlockInfo `json:"PathologicalDiagnosis,omitempty" name:"PathologicalDiagnosis"`
225
226	// 临床诊断
227	// 注意:此字段可能返回 null,表示取不到有效值。
228	ClinicalDiagnosis *BlockInfo `json:"ClinicalDiagnosis,omitempty" name:"ClinicalDiagnosis"`
229}
230
231type HandleParam struct {
232
233	// ocr引擎
234	OcrEngineType *int64 `json:"OcrEngineType,omitempty" name:"OcrEngineType"`
235
236	// 是否返回分行文本内容
237	IsReturnText *bool `json:"IsReturnText,omitempty" name:"IsReturnText"`
238
239	// 顺时针旋转角度
240	RotateTheAngle *float64 `json:"RotateTheAngle,omitempty" name:"RotateTheAngle"`
241
242	// 自动适配方向,仅支持优图引擎
243	AutoFitDirection *bool `json:"AutoFitDirection,omitempty" name:"AutoFitDirection"`
244
245	// 坐标优化
246	AutoOptimizeCoordinate *bool `json:"AutoOptimizeCoordinate,omitempty" name:"AutoOptimizeCoordinate"`
247
248	// 是否开启图片压缩,开启时imageOriginalSize必须正确填写
249	IsScale *bool `json:"IsScale,omitempty" name:"IsScale"`
250
251	// 原始图片大小(单位byes),用来判断该图片是否需要压缩
252	ImageOriginalSize *uint64 `json:"ImageOriginalSize,omitempty" name:"ImageOriginalSize"`
253
254	// 采用后台默认值(2048Kb)
255	ScaleTargetSize *uint64 `json:"ScaleTargetSize,omitempty" name:"ScaleTargetSize"`
256}
257
258type HistologyLevel struct {
259
260	// 等级
261	// 注意:此字段可能返回 null,表示取不到有效值。
262	Grade *string `json:"Grade,omitempty" name:"Grade"`
263
264	// 原文位置
265	// 注意:此字段可能返回 null,表示取不到有效值。
266	Index []*int64 `json:"Index,omitempty" name:"Index"`
267
268	// 原文
269	// 注意:此字段可能返回 null,表示取不到有效值。
270	Src *string `json:"Src,omitempty" name:"Src"`
271}
272
273type HistologyType struct {
274
275	// 浸润
276	// 注意:此字段可能返回 null,表示取不到有效值。
277	Infiltration *string `json:"Infiltration,omitempty" name:"Infiltration"`
278
279	// 原文位置
280	// 注意:此字段可能返回 null,表示取不到有效值。
281	Index []*int64 `json:"Index,omitempty" name:"Index"`
282
283	// 原文
284	// 注意:此字段可能返回 null,表示取不到有效值。
285	Src *string `json:"Src,omitempty" name:"Src"`
286
287	// 类型
288	// 注意:此字段可能返回 null,表示取不到有效值。
289	Type *string `json:"Type,omitempty" name:"Type"`
290}
291
292type Hospitalization struct {
293
294	// 入院时间
295	// 注意:此字段可能返回 null,表示取不到有效值。
296	AdmissionTime *string `json:"AdmissionTime,omitempty" name:"AdmissionTime"`
297
298	// 出院时间
299	// 注意:此字段可能返回 null,表示取不到有效值。
300	DischargeTime *string `json:"DischargeTime,omitempty" name:"DischargeTime"`
301
302	// 住院天数
303	// 注意:此字段可能返回 null,表示取不到有效值。
304	AdmissionDays *string `json:"AdmissionDays,omitempty" name:"AdmissionDays"`
305
306	// 入院诊断
307	// 注意:此字段可能返回 null,表示取不到有效值。
308	AdmissionDignosis *string `json:"AdmissionDignosis,omitempty" name:"AdmissionDignosis"`
309
310	// 入院情况
311	// 注意:此字段可能返回 null,表示取不到有效值。
312	AdmissionCondition *string `json:"AdmissionCondition,omitempty" name:"AdmissionCondition"`
313
314	// 诊疗经过
315	// 注意:此字段可能返回 null,表示取不到有效值。
316	DiagnosisTreatment *string `json:"DiagnosisTreatment,omitempty" name:"DiagnosisTreatment"`
317
318	// 出院诊断
319	// 注意:此字段可能返回 null,表示取不到有效值。
320	DischargeDiagnosis *string `json:"DischargeDiagnosis,omitempty" name:"DischargeDiagnosis"`
321
322	// 出院医嘱
323	// 注意:此字段可能返回 null,表示取不到有效值。
324	DischargeInstruction *string `json:"DischargeInstruction,omitempty" name:"DischargeInstruction"`
325}
326
327type IHCInfo struct {
328
329	// 原文位置
330	// 注意:此字段可能返回 null,表示取不到有效值。
331	Index []*int64 `json:"Index,omitempty" name:"Index"`
332
333	// 原文
334	// 注意:此字段可能返回 null,表示取不到有效值。
335	Src *string `json:"Src,omitempty" name:"Src"`
336
337	// 名称
338	// 注意:此字段可能返回 null,表示取不到有效值。
339	Name *string `json:"Name,omitempty" name:"Name"`
340
341	// 值
342	Value *Value `json:"Value,omitempty" name:"Value"`
343}
344
345type ImageInfo struct {
346
347	// 图片id
348	Id *uint64 `json:"Id,omitempty" name:"Id"`
349
350	// 图片url
351	Url *string `json:"Url,omitempty" name:"Url"`
352
353	// 图片base64编码
354	Base64 *string `json:"Base64,omitempty" name:"Base64"`
355}
356
357type ImageToClassRequest struct {
358	*tchttp.BaseRequest
359
360	// 图片列表,允许传入多张图片,支持传入图片的url或base64编码
361	ImageInfoList []*ImageInfo `json:"ImageInfoList,omitempty" name:"ImageInfoList"`
362
363	// 图片处理参数
364	HandleParam *HandleParam `json:"HandleParam,omitempty" name:"HandleParam"`
365
366	// 图片类型,目前支持11(检验报告),12(检查报告),15(病理报告),218(诊断证明)。
367	Type *uint64 `json:"Type,omitempty" name:"Type"`
368}
369
370func (r *ImageToClassRequest) ToJsonString() string {
371    b, _ := json.Marshal(r)
372    return string(b)
373}
374
375// FromJsonString It is highly **NOT** recommended to use this function
376// because it has no param check, nor strict type check
377func (r *ImageToClassRequest) FromJsonString(s string) error {
378	f := make(map[string]interface{})
379	if err := json.Unmarshal([]byte(s), &f); err != nil {
380		return err
381	}
382	delete(f, "ImageInfoList")
383	delete(f, "HandleParam")
384	delete(f, "Type")
385	if len(f) > 0 {
386		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ImageToClassRequest has unknown keys!", "")
387	}
388	return json.Unmarshal([]byte(s), &r)
389}
390
391type ImageToClassResponse struct {
392	*tchttp.BaseResponse
393	Response *struct {
394
395		// 分类结果
396	// 注意:此字段可能返回 null,表示取不到有效值。
397		TextTypeList []*TextType `json:"TextTypeList,omitempty" name:"TextTypeList"`
398
399		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
400		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
401	} `json:"Response"`
402}
403
404func (r *ImageToClassResponse) ToJsonString() string {
405    b, _ := json.Marshal(r)
406    return string(b)
407}
408
409// FromJsonString It is highly **NOT** recommended to use this function
410// because it has no param check, nor strict type check
411func (r *ImageToClassResponse) FromJsonString(s string) error {
412	return json.Unmarshal([]byte(s), &r)
413}
414
415type ImageToObjectRequest struct {
416	*tchttp.BaseRequest
417
418	// 图片列表,允许传入多张图片,支持传入图片的url或base64编码
419	ImageInfoList []*ImageInfo `json:"ImageInfoList,omitempty" name:"ImageInfoList"`
420
421	// 图片处理参数
422	HandleParam *HandleParam `json:"HandleParam,omitempty" name:"HandleParam"`
423
424	// 报告类型,目前支持11(检验报告),12(检查报告),15(病理报告),28(出院报告),29(入院报告),210(门诊病历),212(手术记录),218(诊断证明)。如果不清楚报告类型,可以使用分类引擎,该字段传0(同时IsUsedClassify字段必须为True,否则无法输出结果)
425	Type *uint64 `json:"Type,omitempty" name:"Type"`
426
427	// 是否使用分类引擎,当不确定报告类型时,可以使用收费的报告分类引擎服务。若该字段为 False,则 Type 字段不能为 0,否则无法输出结果。
428	// 注意:当 IsUsedClassify 为True 时,表示使用收费的报告分类服务,将会产生额外的费用,具体收费标准参见 [购买指南的产品价格](https://cloud.tencent.com/document/product/1314/54264)
429	IsUsedClassify *bool `json:"IsUsedClassify,omitempty" name:"IsUsedClassify"`
430}
431
432func (r *ImageToObjectRequest) ToJsonString() string {
433    b, _ := json.Marshal(r)
434    return string(b)
435}
436
437// FromJsonString It is highly **NOT** recommended to use this function
438// because it has no param check, nor strict type check
439func (r *ImageToObjectRequest) FromJsonString(s string) error {
440	f := make(map[string]interface{})
441	if err := json.Unmarshal([]byte(s), &f); err != nil {
442		return err
443	}
444	delete(f, "ImageInfoList")
445	delete(f, "HandleParam")
446	delete(f, "Type")
447	delete(f, "IsUsedClassify")
448	if len(f) > 0 {
449		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ImageToObjectRequest has unknown keys!", "")
450	}
451	return json.Unmarshal([]byte(s), &r)
452}
453
454type ImageToObjectResponse struct {
455	*tchttp.BaseResponse
456	Response *struct {
457
458		// 报告结构化结果
459	// 注意:此字段可能返回 null,表示取不到有效值。
460		Template *Template `json:"Template,omitempty" name:"Template"`
461
462		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
463		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
464	} `json:"Response"`
465}
466
467func (r *ImageToObjectResponse) ToJsonString() string {
468    b, _ := json.Marshal(r)
469    return string(b)
470}
471
472// FromJsonString It is highly **NOT** recommended to use this function
473// because it has no param check, nor strict type check
474func (r *ImageToObjectResponse) FromJsonString(s string) error {
475	return json.Unmarshal([]byte(s), &r)
476}
477
478type Indicator struct {
479
480	// 检验指标项
481	// 注意:此字段可能返回 null,表示取不到有效值。
482	Indicators []*IndicatorItem `json:"Indicators,omitempty" name:"Indicators"`
483}
484
485type IndicatorItem struct {
486
487	// 英文缩写
488	// 注意:此字段可能返回 null,表示取不到有效值。
489	Code *string `json:"Code,omitempty" name:"Code"`
490
491	// 标准缩写
492	// 注意:此字段可能返回 null,表示取不到有效值。
493	Scode *string `json:"Scode,omitempty" name:"Scode"`
494
495	// 项目名称
496	// 注意:此字段可能返回 null,表示取不到有效值。
497	Name *string `json:"Name,omitempty" name:"Name"`
498
499	// 标准名
500	// 注意:此字段可能返回 null,表示取不到有效值。
501	Sname *string `json:"Sname,omitempty" name:"Sname"`
502
503	// 结果
504	// 注意:此字段可能返回 null,表示取不到有效值。
505	Result *string `json:"Result,omitempty" name:"Result"`
506
507	// 单位
508	// 注意:此字段可能返回 null,表示取不到有效值。
509	Unit *string `json:"Unit,omitempty" name:"Unit"`
510
511	// 参考范围
512	// 注意:此字段可能返回 null,表示取不到有效值。
513	Range *string `json:"Range,omitempty" name:"Range"`
514
515	// 上下箭头
516	// 注意:此字段可能返回 null,表示取不到有效值。
517	Arrow *string `json:"Arrow,omitempty" name:"Arrow"`
518
519	// 是否正常
520	// 注意:此字段可能返回 null,表示取不到有效值。
521	Normal *bool `json:"Normal,omitempty" name:"Normal"`
522
523	// 项目原文
524	// 注意:此字段可能返回 null,表示取不到有效值。
525	ItemString *string `json:"ItemString,omitempty" name:"ItemString"`
526}
527
528type Invas struct {
529
530	// 原文位置
531	// 注意:此字段可能返回 null,表示取不到有效值。
532	Index []*int64 `json:"Index,omitempty" name:"Index"`
533
534	// 部位
535	// 注意:此字段可能返回 null,表示取不到有效值。
536	Part *Part `json:"Part,omitempty" name:"Part"`
537
538	// 阳性
539	// 注意:此字段可能返回 null,表示取不到有效值。
540	Positive *string `json:"Positive,omitempty" name:"Positive"`
541
542	// 原文
543	// 注意:此字段可能返回 null,表示取不到有效值。
544	Src *string `json:"Src,omitempty" name:"Src"`
545}
546
547type Lymph struct {
548
549	// 原文
550	// 注意:此字段可能返回 null,表示取不到有效值。
551	Src *string `json:"Src,omitempty" name:"Src"`
552
553	// 原文位置
554	// 注意:此字段可能返回 null,表示取不到有效值。
555	Index []*int64 `json:"Index,omitempty" name:"Index"`
556
557	// 部位
558	// 注意:此字段可能返回 null,表示取不到有效值。
559	Part *Part `json:"Part,omitempty" name:"Part"`
560
561	// 总数
562	// 注意:此字段可能返回 null,表示取不到有效值。
563	Total *int64 `json:"Total,omitempty" name:"Total"`
564
565	// 转移数
566	// 注意:此字段可能返回 null,表示取不到有效值。
567	TransferNum *int64 `json:"TransferNum,omitempty" name:"TransferNum"`
568}
569
570type MedDoc struct {
571
572	// 建议
573	// 注意:此字段可能返回 null,表示取不到有效值。
574	Advice *Advice `json:"Advice,omitempty" name:"Advice"`
575
576	// 诊断结果
577	// 注意:此字段可能返回 null,表示取不到有效值。
578	Diagnosis []*DiagCertItem `json:"Diagnosis,omitempty" name:"Diagnosis"`
579
580	// 疾病史
581	// 注意:此字段可能返回 null,表示取不到有效值。
582	DiseaseMedicalHistory *DiseaseMedicalHistory `json:"DiseaseMedicalHistory,omitempty" name:"DiseaseMedicalHistory"`
583
584	// 个人史
585	PersonalMedicalHistory *PersonalMedicalHistory `json:"PersonalMedicalHistory,omitempty" name:"PersonalMedicalHistory"`
586
587	// 婚孕史
588	ObstericalMedicalHistory *ObstericalMedicalHistory `json:"ObstericalMedicalHistory,omitempty" name:"ObstericalMedicalHistory"`
589
590	// 家族史
591	FamilyMedicalHistory *FamilyMedicalHistory `json:"FamilyMedicalHistory,omitempty" name:"FamilyMedicalHistory"`
592
593	// 月经史
594	MenstrualMedicalHistory *MenstrualMedicalHistory `json:"MenstrualMedicalHistory,omitempty" name:"MenstrualMedicalHistory"`
595
596	// 诊疗记录
597	TreatmentRecord *TreatmentRecord `json:"TreatmentRecord,omitempty" name:"TreatmentRecord"`
598}
599
600type MedicalRecordInfo struct {
601
602	// 就诊日期
603	// 注意:此字段可能返回 null,表示取不到有效值。
604	DiagnosisTime *string `json:"DiagnosisTime,omitempty" name:"DiagnosisTime"`
605
606	// 就诊科室
607	// 注意:此字段可能返回 null,表示取不到有效值。
608	DiagnosisDepartmentName *string `json:"DiagnosisDepartmentName,omitempty" name:"DiagnosisDepartmentName"`
609
610	// 就诊医生
611	// 注意:此字段可能返回 null,表示取不到有效值。
612	DiagnosisDoctorName *string `json:"DiagnosisDoctorName,omitempty" name:"DiagnosisDoctorName"`
613
614	// 临床诊断
615	// 注意:此字段可能返回 null,表示取不到有效值。
616	ClinicalDiagnosis *string `json:"ClinicalDiagnosis,omitempty" name:"ClinicalDiagnosis"`
617
618	// 主述
619	// 注意:此字段可能返回 null,表示取不到有效值。
620	MainNarration *string `json:"MainNarration,omitempty" name:"MainNarration"`
621
622	// 体格检查
623	// 注意:此字段可能返回 null,表示取不到有效值。
624	PhysicalExamination *string `json:"PhysicalExamination,omitempty" name:"PhysicalExamination"`
625
626	// 检查结论
627	// 注意:此字段可能返回 null,表示取不到有效值。
628	InspectionFindings *string `json:"InspectionFindings,omitempty" name:"InspectionFindings"`
629
630	// 治疗意见
631	// 注意:此字段可能返回 null,表示取不到有效值。
632	TreatmentOpinion *string `json:"TreatmentOpinion,omitempty" name:"TreatmentOpinion"`
633}
634
635type MenstrualMedicalHistory struct {
636
637	// 末次月经时间
638	// 注意:此字段可能返回 null,表示取不到有效值。
639	LastMenstrualPeriod *string `json:"LastMenstrualPeriod,omitempty" name:"LastMenstrualPeriod"`
640
641	// 经量
642	// 注意:此字段可能返回 null,表示取不到有效值。
643	MenstrualFlow *string `json:"MenstrualFlow,omitempty" name:"MenstrualFlow"`
644
645	// 月经初潮年龄
646	// 注意:此字段可能返回 null,表示取不到有效值。
647	MenarcheAge *string `json:"MenarcheAge,omitempty" name:"MenarcheAge"`
648
649	// 是否来月经
650	// 注意:此字段可能返回 null,表示取不到有效值。
651	MenstruationOrNot *string `json:"MenstruationOrNot,omitempty" name:"MenstruationOrNot"`
652
653	// 月经周期
654	// 注意:此字段可能返回 null,表示取不到有效值。
655	MenstrualCycles *string `json:"MenstrualCycles,omitempty" name:"MenstrualCycles"`
656
657	// 月经持续天数
658	// 注意:此字段可能返回 null,表示取不到有效值。
659	MenstrualPeriod *string `json:"MenstrualPeriod,omitempty" name:"MenstrualPeriod"`
660}
661
662type Multiple struct {
663
664	// 原文位置
665	// 注意:此字段可能返回 null,表示取不到有效值。
666	Index []*int64 `json:"Index,omitempty" name:"Index"`
667
668	// 原文
669	// 注意:此字段可能返回 null,表示取不到有效值。
670	Src *string `json:"Src,omitempty" name:"Src"`
671
672	// 值
673	// 注意:此字段可能返回 null,表示取不到有效值。
674	Value *string `json:"Value,omitempty" name:"Value"`
675
676	// 数量
677	// 注意:此字段可能返回 null,表示取不到有效值。
678	Count *int64 `json:"Count,omitempty" name:"Count"`
679
680	// 名称
681	// 注意:此字段可能返回 null,表示取不到有效值。
682	Name *string `json:"Name,omitempty" name:"Name"`
683}
684
685type NormPart struct {
686
687	// 部位值
688	// 注意:此字段可能返回 null,表示取不到有效值。
689	Part *string `json:"Part,omitempty" name:"Part"`
690
691	// 部位方向
692	// 注意:此字段可能返回 null,表示取不到有效值。
693	PartDirection *string `json:"PartDirection,omitempty" name:"PartDirection"`
694
695	// 组织值
696	// 注意:此字段可能返回 null,表示取不到有效值。
697	Tissue *string `json:"Tissue,omitempty" name:"Tissue"`
698
699	// 组织方向
700	// 注意:此字段可能返回 null,表示取不到有效值。
701	TissueDirection *string `json:"TissueDirection,omitempty" name:"TissueDirection"`
702
703	// 上级部位
704	// 注意:此字段可能返回 null,表示取不到有效值。
705	Upper *string `json:"Upper,omitempty" name:"Upper"`
706}
707
708type NormSize struct {
709
710	// 数量
711	// 注意:此字段可能返回 null,表示取不到有效值。
712	Number []*string `json:"Number,omitempty" name:"Number"`
713
714	// 类型
715	// 注意:此字段可能返回 null,表示取不到有效值。
716	Type *string `json:"Type,omitempty" name:"Type"`
717
718	// 单位
719	// 注意:此字段可能返回 null,表示取不到有效值。
720	Unit *string `json:"Unit,omitempty" name:"Unit"`
721}
722
723type ObstericalMedicalHistory struct {
724
725	// 婚史
726	// 注意:此字段可能返回 null,表示取不到有效值。
727	MarriageHistory *string `json:"MarriageHistory,omitempty" name:"MarriageHistory"`
728
729	// 孕史
730	// 注意:此字段可能返回 null,表示取不到有效值。
731	FertilityHistory *string `json:"FertilityHistory,omitempty" name:"FertilityHistory"`
732}
733
734type Organ struct {
735
736	// 部位
737	// 注意:此字段可能返回 null,表示取不到有效值。
738	Part *Part `json:"Part,omitempty" name:"Part"`
739
740	// 大小
741	// 注意:此字段可能返回 null,表示取不到有效值。
742	Size []*Size `json:"Size,omitempty" name:"Size"`
743
744	// 包膜
745	// 注意:此字段可能返回 null,表示取不到有效值。
746	Envelope *BlockInfo `json:"Envelope,omitempty" name:"Envelope"`
747
748	// 边缘
749	// 注意:此字段可能返回 null,表示取不到有效值。
750	Edge *BlockInfo `json:"Edge,omitempty" name:"Edge"`
751
752	// 内部回声
753	// 注意:此字段可能返回 null,表示取不到有效值。
754	InnerEcho *BlockInfo `json:"InnerEcho,omitempty" name:"InnerEcho"`
755
756	// 腺体
757	// 注意:此字段可能返回 null,表示取不到有效值。
758	Gland *BlockInfo `json:"Gland,omitempty" name:"Gland"`
759
760	// 形状
761	// 注意:此字段可能返回 null,表示取不到有效值。
762	Shape *BlockInfo `json:"Shape,omitempty" name:"Shape"`
763
764	// 厚度
765	// 注意:此字段可能返回 null,表示取不到有效值。
766	Thickness *BlockInfo `json:"Thickness,omitempty" name:"Thickness"`
767
768	// 形态
769	// 注意:此字段可能返回 null,表示取不到有效值。
770	ShapeAttr *BlockInfo `json:"ShapeAttr,omitempty" name:"ShapeAttr"`
771
772	// 血液cdfi
773	// 注意:此字段可能返回 null,表示取不到有效值。
774	CDFI *BlockInfo `json:"CDFI,omitempty" name:"CDFI"`
775
776	// 描述信息
777	// 注意:此字段可能返回 null,表示取不到有效值。
778	SymDesc *BlockInfo `json:"SymDesc,omitempty" name:"SymDesc"`
779
780	// 大小状态
781	// 注意:此字段可能返回 null,表示取不到有效值。
782	SizeStatus *BlockInfo `json:"SizeStatus,omitempty" name:"SizeStatus"`
783
784	// 轮廓
785	// 注意:此字段可能返回 null,表示取不到有效值。
786	Outline *BlockInfo `json:"Outline,omitempty" name:"Outline"`
787
788	// 结构
789	// 注意:此字段可能返回 null,表示取不到有效值。
790	Structure *BlockInfo `json:"Structure,omitempty" name:"Structure"`
791
792	// 密度
793	// 注意:此字段可能返回 null,表示取不到有效值。
794	Density *BlockInfo `json:"Density,omitempty" name:"Density"`
795
796	// 血管
797	// 注意:此字段可能返回 null,表示取不到有效值。
798	Vas *BlockInfo `json:"Vas,omitempty" name:"Vas"`
799
800	// 囊壁
801	// 注意:此字段可能返回 null,表示取不到有效值。
802	Cysticwall *BlockInfo `json:"Cysticwall,omitempty" name:"Cysticwall"`
803
804	// 被膜
805	// 注意:此字段可能返回 null,表示取不到有效值。
806	Capsule *BlockInfo `json:"Capsule,omitempty" name:"Capsule"`
807
808	// 峡部厚度
809	// 注意:此字段可能返回 null,表示取不到有效值。
810	IsthmusThicknese *Size `json:"IsthmusThicknese,omitempty" name:"IsthmusThicknese"`
811
812	// 内部回声分布
813	// 注意:此字段可能返回 null,表示取不到有效值。
814	InnerEchoDistribution *BlockInfo `json:"InnerEchoDistribution,omitempty" name:"InnerEchoDistribution"`
815
816	// 原文
817	// 注意:此字段可能返回 null,表示取不到有效值。
818	Src *string `json:"Src,omitempty" name:"Src"`
819
820	// 原文位置
821	// 注意:此字段可能返回 null,表示取不到有效值。
822	Index []*int64 `json:"Index,omitempty" name:"Index"`
823}
824
825type Part struct {
826
827	// 原文位置
828	// 注意:此字段可能返回 null,表示取不到有效值。
829	Index []*int64 `json:"Index,omitempty" name:"Index"`
830
831	// 部位
832	// 注意:此字段可能返回 null,表示取不到有效值。
833	NormPart *NormPart `json:"NormPart,omitempty" name:"NormPart"`
834
835	// 原文
836	// 注意:此字段可能返回 null,表示取不到有效值。
837	Src *string `json:"Src,omitempty" name:"Src"`
838
839	// 值
840	// 注意:此字段可能返回 null,表示取不到有效值。
841	Value *string `json:"Value,omitempty" name:"Value"`
842
843	// 名称
844	// 注意:此字段可能返回 null,表示取不到有效值。
845	Name *string `json:"Name,omitempty" name:"Name"`
846}
847
848type PathologyReport struct {
849
850	// 癌症部位
851	// 注意:此字段可能返回 null,表示取不到有效值。
852	CancerPart *Part `json:"CancerPart,omitempty" name:"CancerPart"`
853
854	// 癌症部位大小
855	// 注意:此字段可能返回 null,表示取不到有效值。
856	CancerSize []*Size `json:"CancerSize,omitempty" name:"CancerSize"`
857
858	// 描述文本
859	// 注意:此字段可能返回 null,表示取不到有效值。
860	DescText *string `json:"DescText,omitempty" name:"DescText"`
861
862	// 组织学等级
863	// 注意:此字段可能返回 null,表示取不到有效值。
864	HistologyLevel *HistologyLevel `json:"HistologyLevel,omitempty" name:"HistologyLevel"`
865
866	// 组织学类型
867	// 注意:此字段可能返回 null,表示取不到有效值。
868	HistologyType *HistologyType `json:"HistologyType,omitempty" name:"HistologyType"`
869
870	// IHC信息
871	// 注意:此字段可能返回 null,表示取不到有效值。
872	IHC []*IHCInfo `json:"IHC,omitempty" name:"IHC"`
873
874	// 浸润深度
875	// 注意:此字段可能返回 null,表示取不到有效值。
876	InfiltrationDepth *BlockInfo `json:"InfiltrationDepth,omitempty" name:"InfiltrationDepth"`
877
878	// 肿瘤扩散
879	// 注意:此字段可能返回 null,表示取不到有效值。
880	Invasive []*Invas `json:"Invasive,omitempty" name:"Invasive"`
881
882	// 淋巴结
883	// 注意:此字段可能返回 null,表示取不到有效值。
884	LymphNodes []*Lymph `json:"LymphNodes,omitempty" name:"LymphNodes"`
885
886	// PTNM信息
887	// 注意:此字段可能返回 null,表示取不到有效值。
888	PTNM *BlockInfo `json:"PTNM,omitempty" name:"PTNM"`
889
890	// 病理报告类型
891	// 注意:此字段可能返回 null,表示取不到有效值。
892	PathologicalReportType *BlockInfo `json:"PathologicalReportType,omitempty" name:"PathologicalReportType"`
893
894	// 报告原文
895	// 注意:此字段可能返回 null,表示取不到有效值。
896	ReportText *string `json:"ReportText,omitempty" name:"ReportText"`
897
898	// 标本类型
899	// 注意:此字段可能返回 null,表示取不到有效值。
900	SampleType *BlockInfo `json:"SampleType,omitempty" name:"SampleType"`
901
902	// 结论文本
903	// 注意:此字段可能返回 null,表示取不到有效值。
904	SummaryText *string `json:"SummaryText,omitempty" name:"SummaryText"`
905}
906
907type PatientInfo struct {
908
909	// 患者姓名
910	// 注意:此字段可能返回 null,表示取不到有效值。
911	Name *string `json:"Name,omitempty" name:"Name"`
912
913	// 患者性别
914	// 注意:此字段可能返回 null,表示取不到有效值。
915	Sex *string `json:"Sex,omitempty" name:"Sex"`
916
917	// 患者年龄
918	// 注意:此字段可能返回 null,表示取不到有效值。
919	Age *string `json:"Age,omitempty" name:"Age"`
920
921	// 患者手机号码
922	// 注意:此字段可能返回 null,表示取不到有效值。
923	Phone *string `json:"Phone,omitempty" name:"Phone"`
924
925	// 患者地址
926	// 注意:此字段可能返回 null,表示取不到有效值。
927	Address *string `json:"Address,omitempty" name:"Address"`
928
929	// 患者身份证
930	// 注意:此字段可能返回 null,表示取不到有效值。
931	IdCard *string `json:"IdCard,omitempty" name:"IdCard"`
932
933	// 健康卡号
934	// 注意:此字段可能返回 null,表示取不到有效值。
935	HealthCardNo *string `json:"HealthCardNo,omitempty" name:"HealthCardNo"`
936
937	// 社保卡号
938	// 注意:此字段可能返回 null,表示取不到有效值。
939	SocialSecurityCardNo *string `json:"SocialSecurityCardNo,omitempty" name:"SocialSecurityCardNo"`
940
941	// 出生日期
942	// 注意:此字段可能返回 null,表示取不到有效值。
943	Birthday *string `json:"Birthday,omitempty" name:"Birthday"`
944
945	// 民族
946	// 注意:此字段可能返回 null,表示取不到有效值。
947	Ethnicity *string `json:"Ethnicity,omitempty" name:"Ethnicity"`
948
949	// 婚姻状况
950	// 注意:此字段可能返回 null,表示取不到有效值。
951	Married *string `json:"Married,omitempty" name:"Married"`
952
953	// 职业
954	// 注意:此字段可能返回 null,表示取不到有效值。
955	Profession *string `json:"Profession,omitempty" name:"Profession"`
956
957	// 教育程度
958	// 注意:此字段可能返回 null,表示取不到有效值。
959	EducationBackground *string `json:"EducationBackground,omitempty" name:"EducationBackground"`
960
961	// 国籍
962	// 注意:此字段可能返回 null,表示取不到有效值。
963	Nationality *string `json:"Nationality,omitempty" name:"Nationality"`
964
965	// 籍贯
966	// 注意:此字段可能返回 null,表示取不到有效值。
967	BirthPlace *string `json:"BirthPlace,omitempty" name:"BirthPlace"`
968
969	// 医保类型
970	// 注意:此字段可能返回 null,表示取不到有效值。
971	MedicalInsuranceType *string `json:"MedicalInsuranceType,omitempty" name:"MedicalInsuranceType"`
972}
973
974type PersonalMedicalHistory struct {
975
976	// 出生史
977	// 注意:此字段可能返回 null,表示取不到有效值。
978	BirthPlace *string `json:"BirthPlace,omitempty" name:"BirthPlace"`
979
980	// 居住史
981	// 注意:此字段可能返回 null,表示取不到有效值。
982	LivePlace *string `json:"LivePlace,omitempty" name:"LivePlace"`
983
984	// 工作史
985	// 注意:此字段可能返回 null,表示取不到有效值。
986	Job *string `json:"Job,omitempty" name:"Job"`
987
988	// 吸烟史
989	// 注意:此字段可能返回 null,表示取不到有效值。
990	SmokeHistory *string `json:"SmokeHistory,omitempty" name:"SmokeHistory"`
991
992	// 饮酒史
993	// 注意:此字段可能返回 null,表示取不到有效值。
994	AlcoholicHistory *string `json:"AlcoholicHistory,omitempty" name:"AlcoholicHistory"`
995}
996
997type ReportInfo struct {
998
999	// 医院名称
1000	// 注意:此字段可能返回 null,表示取不到有效值。
1001	Hospital *string `json:"Hospital,omitempty" name:"Hospital"`
1002
1003	// 科室名称
1004	// 注意:此字段可能返回 null,表示取不到有效值。
1005	DepartmentName *string `json:"DepartmentName,omitempty" name:"DepartmentName"`
1006
1007	// 申请时间
1008	// 注意:此字段可能返回 null,表示取不到有效值。
1009	BillingTime *string `json:"BillingTime,omitempty" name:"BillingTime"`
1010
1011	// 报告时间
1012	// 注意:此字段可能返回 null,表示取不到有效值。
1013	ReportTime *string `json:"ReportTime,omitempty" name:"ReportTime"`
1014
1015	// 检查时间
1016	// 注意:此字段可能返回 null,表示取不到有效值。
1017	InspectTime *string `json:"InspectTime,omitempty" name:"InspectTime"`
1018
1019	// 检查号
1020	// 注意:此字段可能返回 null,表示取不到有效值。
1021	CheckNum *string `json:"CheckNum,omitempty" name:"CheckNum"`
1022
1023	// 影像号
1024	// 注意:此字段可能返回 null,表示取不到有效值。
1025	ImageNum *string `json:"ImageNum,omitempty" name:"ImageNum"`
1026
1027	// 放射号
1028	// 注意:此字段可能返回 null,表示取不到有效值。
1029	RadiationNum *string `json:"RadiationNum,omitempty" name:"RadiationNum"`
1030
1031	// 检验号
1032	// 注意:此字段可能返回 null,表示取不到有效值。
1033	TestNum *string `json:"TestNum,omitempty" name:"TestNum"`
1034
1035	// 门诊号
1036	// 注意:此字段可能返回 null,表示取不到有效值。
1037	OutpatientNum *string `json:"OutpatientNum,omitempty" name:"OutpatientNum"`
1038
1039	// 病理号
1040	// 注意:此字段可能返回 null,表示取不到有效值。
1041	PathologyNum *string `json:"PathologyNum,omitempty" name:"PathologyNum"`
1042
1043	// 住院号
1044	// 注意:此字段可能返回 null,表示取不到有效值。
1045	InHospitalNum *string `json:"InHospitalNum,omitempty" name:"InHospitalNum"`
1046
1047	// 样本号
1048	// 注意:此字段可能返回 null,表示取不到有效值。
1049	SampleNum *string `json:"SampleNum,omitempty" name:"SampleNum"`
1050
1051	// 标本种类
1052	// 注意:此字段可能返回 null,表示取不到有效值。
1053	SampleType *string `json:"SampleType,omitempty" name:"SampleType"`
1054
1055	// 病历号
1056	// 注意:此字段可能返回 null,表示取不到有效值。
1057	MedicalRecordNum *string `json:"MedicalRecordNum,omitempty" name:"MedicalRecordNum"`
1058
1059	// 报告名称
1060	// 注意:此字段可能返回 null,表示取不到有效值。
1061	ReportName *string `json:"ReportName,omitempty" name:"ReportName"`
1062
1063	// 超声号
1064	// 注意:此字段可能返回 null,表示取不到有效值。
1065	UltraNum *string `json:"UltraNum,omitempty" name:"UltraNum"`
1066
1067	// 临床诊断
1068	// 注意:此字段可能返回 null,表示取不到有效值。
1069	Diagnose *string `json:"Diagnose,omitempty" name:"Diagnose"`
1070}
1071
1072type Size struct {
1073
1074	// 原文位置
1075	// 注意:此字段可能返回 null,表示取不到有效值。
1076	Index []*int64 `json:"Index,omitempty" name:"Index"`
1077
1078	// 标准大小
1079	// 注意:此字段可能返回 null,表示取不到有效值。
1080	NormSize *NormSize `json:"NormSize,omitempty" name:"NormSize"`
1081
1082	// 原文
1083	// 注意:此字段可能返回 null,表示取不到有效值。
1084	Src *string `json:"Src,omitempty" name:"Src"`
1085
1086	// 值
1087	// 注意:此字段可能返回 null,表示取不到有效值。
1088	Value *string `json:"Value,omitempty" name:"Value"`
1089}
1090
1091type Summary struct {
1092
1093	// 症状
1094	// 注意:此字段可能返回 null,表示取不到有效值。
1095	Symptom []*SymptomInfo `json:"Symptom,omitempty" name:"Symptom"`
1096
1097	// 文本
1098	// 注意:此字段可能返回 null,表示取不到有效值。
1099	Text *string `json:"Text,omitempty" name:"Text"`
1100}
1101
1102type Surgery struct {
1103
1104	// 手术史
1105	// 注意:此字段可能返回 null,表示取不到有效值。
1106	SurgeryHistory *SurgeryHistory `json:"SurgeryHistory,omitempty" name:"SurgeryHistory"`
1107}
1108
1109type SurgeryAttr struct {
1110
1111	// 名称
1112	// 注意:此字段可能返回 null,表示取不到有效值。
1113	Name *string `json:"Name,omitempty" name:"Name"`
1114
1115	// 值
1116	// 注意:此字段可能返回 null,表示取不到有效值。
1117	Value *string `json:"Value,omitempty" name:"Value"`
1118}
1119
1120type SurgeryHistory struct {
1121
1122	// 手术名称
1123	// 注意:此字段可能返回 null,表示取不到有效值。
1124	SurgeryName *SurgeryAttr `json:"SurgeryName,omitempty" name:"SurgeryName"`
1125
1126	// 手术日期
1127	// 注意:此字段可能返回 null,表示取不到有效值。
1128	SurgeryDate *SurgeryAttr `json:"SurgeryDate,omitempty" name:"SurgeryDate"`
1129
1130	// 术前诊断
1131	// 注意:此字段可能返回 null,表示取不到有效值。
1132	PreoperativePathology *SurgeryAttr `json:"PreoperativePathology,omitempty" name:"PreoperativePathology"`
1133
1134	// 术中诊断
1135	// 注意:此字段可能返回 null,表示取不到有效值。
1136	IntraoperativePathology *SurgeryAttr `json:"IntraoperativePathology,omitempty" name:"IntraoperativePathology"`
1137
1138	// 术后诊断
1139	// 注意:此字段可能返回 null,表示取不到有效值。
1140	PostoperativePathology *SurgeryAttr `json:"PostoperativePathology,omitempty" name:"PostoperativePathology"`
1141
1142	// 出院诊断
1143	// 注意:此字段可能返回 null,表示取不到有效值。
1144	DischargeDiagnosis *SurgeryAttr `json:"DischargeDiagnosis,omitempty" name:"DischargeDiagnosis"`
1145}
1146
1147type SymptomInfo struct {
1148
1149	// 等级
1150	// 注意:此字段可能返回 null,表示取不到有效值。
1151	Grade *BlockInfo `json:"Grade,omitempty" name:"Grade"`
1152
1153	// 部位
1154	// 注意:此字段可能返回 null,表示取不到有效值。
1155	Part *Part `json:"Part,omitempty" name:"Part"`
1156
1157	// 原文位置
1158	// 注意:此字段可能返回 null,表示取不到有效值。
1159	Index []*int64 `json:"Index,omitempty" name:"Index"`
1160
1161	// 病变
1162	// 注意:此字段可能返回 null,表示取不到有效值。
1163	Symptom *BlockInfo `json:"Symptom,omitempty" name:"Symptom"`
1164
1165	// 属性
1166	// 注意:此字段可能返回 null,表示取不到有效值。
1167	Attrs []*BlockInfo `json:"Attrs,omitempty" name:"Attrs"`
1168
1169	// 原文
1170	// 注意:此字段可能返回 null,表示取不到有效值。
1171	Src *string `json:"Src,omitempty" name:"Src"`
1172}
1173
1174type Template struct {
1175
1176	// 患者信息
1177	// 注意:此字段可能返回 null,表示取不到有效值。
1178	PatientInfo *PatientInfo `json:"PatientInfo,omitempty" name:"PatientInfo"`
1179
1180	// 报告信息
1181	// 注意:此字段可能返回 null,表示取不到有效值。
1182	ReportInfo *ReportInfo `json:"ReportInfo,omitempty" name:"ReportInfo"`
1183
1184	// 检查报告
1185	// 注意:此字段可能返回 null,表示取不到有效值。
1186	Check *Check `json:"Check,omitempty" name:"Check"`
1187
1188	// 病理报告
1189	// 注意:此字段可能返回 null,表示取不到有效值。
1190	Pathology *PathologyReport `json:"Pathology,omitempty" name:"Pathology"`
1191
1192	// 出院报告,入院报告,门诊病历
1193	// 注意:此字段可能返回 null,表示取不到有效值。
1194	MedDoc *MedDoc `json:"MedDoc,omitempty" name:"MedDoc"`
1195
1196	// 诊断证明
1197	// 注意:此字段可能返回 null,表示取不到有效值。
1198	DiagCert *DiagCert `json:"DiagCert,omitempty" name:"DiagCert"`
1199
1200	// 病案首页
1201	// 注意:此字段可能返回 null,表示取不到有效值。
1202	FirstPage *FirstPage `json:"FirstPage,omitempty" name:"FirstPage"`
1203
1204	// 检验报告
1205	// 注意:此字段可能返回 null,表示取不到有效值。
1206	Indicator *Indicator `json:"Indicator,omitempty" name:"Indicator"`
1207
1208	// 报告类型
1209	// 注意:此字段可能返回 null,表示取不到有效值。
1210	ReportType *string `json:"ReportType,omitempty" name:"ReportType"`
1211
1212	// 门诊病历信息
1213	// 注意:此字段可能返回 null,表示取不到有效值。
1214	MedicalRecordInfo *MedicalRecordInfo `json:"MedicalRecordInfo,omitempty" name:"MedicalRecordInfo"`
1215
1216	// 出入院信息
1217	// 注意:此字段可能返回 null,表示取不到有效值。
1218	Hospitalization *Hospitalization `json:"Hospitalization,omitempty" name:"Hospitalization"`
1219
1220	// 手术记录
1221	// 注意:此字段可能返回 null,表示取不到有效值。
1222	Surgery *Surgery `json:"Surgery,omitempty" name:"Surgery"`
1223}
1224
1225type TextToClassRequest struct {
1226	*tchttp.BaseRequest
1227
1228	// 报告文本
1229	Text *string `json:"Text,omitempty" name:"Text"`
1230}
1231
1232func (r *TextToClassRequest) ToJsonString() string {
1233    b, _ := json.Marshal(r)
1234    return string(b)
1235}
1236
1237// FromJsonString It is highly **NOT** recommended to use this function
1238// because it has no param check, nor strict type check
1239func (r *TextToClassRequest) FromJsonString(s string) error {
1240	f := make(map[string]interface{})
1241	if err := json.Unmarshal([]byte(s), &f); err != nil {
1242		return err
1243	}
1244	delete(f, "Text")
1245	if len(f) > 0 {
1246		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "TextToClassRequest has unknown keys!", "")
1247	}
1248	return json.Unmarshal([]byte(s), &r)
1249}
1250
1251type TextToClassResponse struct {
1252	*tchttp.BaseResponse
1253	Response *struct {
1254
1255		// 分类结果
1256		TextTypeList []*TextType `json:"TextTypeList,omitempty" name:"TextTypeList"`
1257
1258		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1259		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1260	} `json:"Response"`
1261}
1262
1263func (r *TextToClassResponse) ToJsonString() string {
1264    b, _ := json.Marshal(r)
1265    return string(b)
1266}
1267
1268// FromJsonString It is highly **NOT** recommended to use this function
1269// because it has no param check, nor strict type check
1270func (r *TextToClassResponse) FromJsonString(s string) error {
1271	return json.Unmarshal([]byte(s), &r)
1272}
1273
1274type TextToObjectRequest struct {
1275	*tchttp.BaseRequest
1276
1277	// 报告文本
1278	Text *string `json:"Text,omitempty" name:"Text"`
1279
1280	// 报告类型,目前支持12(检查报告),15(病理报告),28(出院报告),29(入院报告),210(门诊病历),212(手术记录),218(诊断证明)。如果不清楚报告类型,可以使用分类引擎,该字段传0(同时IsUsedClassify字段必须为True,否则无法输出结果)
1281	Type *uint64 `json:"Type,omitempty" name:"Type"`
1282
1283	// 是否使用分类引擎,当不确定报告类型时,可以使用收费的报告分类引擎服务。若该字段为False,则Type字段不能为0,否则无法输出结果。
1284	// 注意:当 IsUsedClassify 为True 时,表示使用收费的报告分类服务,将会产生额外的费用,具体收费标准参见 [购买指南的产品价格](https://cloud.tencent.com/document/product/1314/54264)
1285	IsUsedClassify *bool `json:"IsUsedClassify,omitempty" name:"IsUsedClassify"`
1286}
1287
1288func (r *TextToObjectRequest) ToJsonString() string {
1289    b, _ := json.Marshal(r)
1290    return string(b)
1291}
1292
1293// FromJsonString It is highly **NOT** recommended to use this function
1294// because it has no param check, nor strict type check
1295func (r *TextToObjectRequest) FromJsonString(s string) error {
1296	f := make(map[string]interface{})
1297	if err := json.Unmarshal([]byte(s), &f); err != nil {
1298		return err
1299	}
1300	delete(f, "Text")
1301	delete(f, "Type")
1302	delete(f, "IsUsedClassify")
1303	if len(f) > 0 {
1304		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "TextToObjectRequest has unknown keys!", "")
1305	}
1306	return json.Unmarshal([]byte(s), &r)
1307}
1308
1309type TextToObjectResponse struct {
1310	*tchttp.BaseResponse
1311	Response *struct {
1312
1313		// 报告结构化结果
1314		Template *Template `json:"Template,omitempty" name:"Template"`
1315
1316		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1317		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1318	} `json:"Response"`
1319}
1320
1321func (r *TextToObjectResponse) ToJsonString() string {
1322    b, _ := json.Marshal(r)
1323    return string(b)
1324}
1325
1326// FromJsonString It is highly **NOT** recommended to use this function
1327// because it has no param check, nor strict type check
1328func (r *TextToObjectResponse) FromJsonString(s string) error {
1329	return json.Unmarshal([]byte(s), &r)
1330}
1331
1332type TextType struct {
1333
1334	// 类别Id
1335	// 注意:此字段可能返回 null,表示取不到有效值。
1336	Id *int64 `json:"Id,omitempty" name:"Id"`
1337
1338	// 类别层级
1339	// 注意:此字段可能返回 null,表示取不到有效值。
1340	Level *int64 `json:"Level,omitempty" name:"Level"`
1341
1342	// 类别名
1343	// 注意:此字段可能返回 null,表示取不到有效值。
1344	Name *string `json:"Name,omitempty" name:"Name"`
1345}
1346
1347type TreatmentRecord struct {
1348
1349	// 入院
1350	// 注意:此字段可能返回 null,表示取不到有效值。
1351	DmissionCondition *string `json:"DmissionCondition,omitempty" name:"DmissionCondition"`
1352
1353	// 主诉
1354	// 注意:此字段可能返回 null,表示取不到有效值。
1355	ChiefComplaint *string `json:"ChiefComplaint,omitempty" name:"ChiefComplaint"`
1356
1357	// 现病史
1358	// 注意:此字段可能返回 null,表示取不到有效值。
1359	DiseasePresent *string `json:"DiseasePresent,omitempty" name:"DiseasePresent"`
1360
1361	// 主要症状体征
1362	// 注意:此字段可能返回 null,表示取不到有效值。
1363	SymptomsAndSigns *string `json:"SymptomsAndSigns,omitempty" name:"SymptomsAndSigns"`
1364
1365	// 辅助检查
1366	// 注意:此字段可能返回 null,表示取不到有效值。
1367	AuxiliaryExamination *string `json:"AuxiliaryExamination,omitempty" name:"AuxiliaryExamination"`
1368
1369	// 体格检查
1370	// 注意:此字段可能返回 null,表示取不到有效值。
1371	BodyExamination *string `json:"BodyExamination,omitempty" name:"BodyExamination"`
1372
1373	// 专科检查
1374	// 注意:此字段可能返回 null,表示取不到有效值。
1375	SpecialistExamination *string `json:"SpecialistExamination,omitempty" name:"SpecialistExamination"`
1376
1377	// 精神检查
1378	// 注意:此字段可能返回 null,表示取不到有效值。
1379	MentalExamination *string `json:"MentalExamination,omitempty" name:"MentalExamination"`
1380
1381	// 检查记录
1382	// 注意:此字段可能返回 null,表示取不到有效值。
1383	CheckRecord *string `json:"CheckRecord,omitempty" name:"CheckRecord"`
1384
1385	// 化验结果
1386	// 注意:此字段可能返回 null,表示取不到有效值。
1387	InspectResult *string `json:"InspectResult,omitempty" name:"InspectResult"`
1388
1389	// 切口愈合情况
1390	// 注意:此字段可能返回 null,表示取不到有效值。
1391	IncisionHealing *string `json:"IncisionHealing,omitempty" name:"IncisionHealing"`
1392
1393	// 处理意见
1394	// 注意:此字段可能返回 null,表示取不到有效值。
1395	TreatmentSuggestion *string `json:"TreatmentSuggestion,omitempty" name:"TreatmentSuggestion"`
1396
1397	// 门诊随访要求
1398	// 注意:此字段可能返回 null,表示取不到有效值。
1399	FollowUpRequirements *string `json:"FollowUpRequirements,omitempty" name:"FollowUpRequirements"`
1400
1401	// 诊疗经过
1402	// 注意:此字段可能返回 null,表示取不到有效值。
1403	CheckAndTreatmentProcess *string `json:"CheckAndTreatmentProcess,omitempty" name:"CheckAndTreatmentProcess"`
1404
1405	// 手术经过
1406	// 注意:此字段可能返回 null,表示取不到有效值。
1407	SurgeryCondition *string `json:"SurgeryCondition,omitempty" name:"SurgeryCondition"`
1408
1409	// 入院情况
1410	// 注意:此字段可能返回 null,表示取不到有效值。
1411	ConditionChanges *string `json:"ConditionChanges,omitempty" name:"ConditionChanges"`
1412
1413	// 出院情况
1414	// 注意:此字段可能返回 null,表示取不到有效值。
1415	DischargeCondition *string `json:"DischargeCondition,omitempty" name:"DischargeCondition"`
1416
1417	// pTNM信息
1418	// 注意:此字段可能返回 null,表示取不到有效值。
1419	PTNM *string `json:"PTNM,omitempty" name:"PTNM"`
1420
1421	// pTNMM信息
1422	// 注意:此字段可能返回 null,表示取不到有效值。
1423	PTNMM *string `json:"PTNMM,omitempty" name:"PTNMM"`
1424
1425	// pTNMN信息
1426	// 注意:此字段可能返回 null,表示取不到有效值。
1427	PTNMN *string `json:"PTNMN,omitempty" name:"PTNMN"`
1428
1429	// pTNMT信息
1430	// 注意:此字段可能返回 null,表示取不到有效值。
1431	PTNMT *string `json:"PTNMT,omitempty" name:"PTNMT"`
1432
1433	// ECOG信息
1434	// 注意:此字段可能返回 null,表示取不到有效值。
1435	ECOG *string `json:"ECOG,omitempty" name:"ECOG"`
1436
1437	// NRS信息
1438	// 注意:此字段可能返回 null,表示取不到有效值。
1439	NRS *string `json:"NRS,omitempty" name:"NRS"`
1440
1441	// KPS信息
1442	// 注意:此字段可能返回 null,表示取不到有效值。
1443	KPS *string `json:"KPS,omitempty" name:"KPS"`
1444
1445	// 死亡日期
1446	// 注意:此字段可能返回 null,表示取不到有效值。
1447	DeathDate *string `json:"DeathDate,omitempty" name:"DeathDate"`
1448
1449	// 复发日期
1450	// 注意:此字段可能返回 null,表示取不到有效值。
1451	RelapseDate *string `json:"RelapseDate,omitempty" name:"RelapseDate"`
1452
1453	// 观测天数
1454	// 注意:此字段可能返回 null,表示取不到有效值。
1455	ObservationDays *string `json:"ObservationDays,omitempty" name:"ObservationDays"`
1456}
1457
1458type TuberInfo struct {
1459
1460	// 类型
1461	// 注意:此字段可能返回 null,表示取不到有效值。
1462	Type *BlockInfo `json:"Type,omitempty" name:"Type"`
1463
1464	// 部位
1465	// 注意:此字段可能返回 null,表示取不到有效值。
1466	Part *Part `json:"Part,omitempty" name:"Part"`
1467
1468	// 大小
1469	// 注意:此字段可能返回 null,表示取不到有效值。
1470	Size []*Size `json:"Size,omitempty" name:"Size"`
1471
1472	// 多发
1473	// 注意:此字段可能返回 null,表示取不到有效值。
1474	Multiple *Multiple `json:"Multiple,omitempty" name:"Multiple"`
1475
1476	// 纵横比
1477	// 注意:此字段可能返回 null,表示取不到有效值。
1478	AspectRatio *AspectRatio `json:"AspectRatio,omitempty" name:"AspectRatio"`
1479
1480	// 边缘
1481	// 注意:此字段可能返回 null,表示取不到有效值。
1482	Edge *BlockInfo `json:"Edge,omitempty" name:"Edge"`
1483
1484	// 内部回声
1485	// 注意:此字段可能返回 null,表示取不到有效值。
1486	InnerEcho *BlockInfo `json:"InnerEcho,omitempty" name:"InnerEcho"`
1487
1488	// 外部回声
1489	// 注意:此字段可能返回 null,表示取不到有效值。
1490	RearEcho *BlockInfo `json:"RearEcho,omitempty" name:"RearEcho"`
1491
1492	// 弹性质地
1493	// 注意:此字段可能返回 null,表示取不到有效值。
1494	Elastic *Elastic `json:"Elastic,omitempty" name:"Elastic"`
1495
1496	// 形状
1497	// 注意:此字段可能返回 null,表示取不到有效值。
1498	Shape *BlockInfo `json:"Shape,omitempty" name:"Shape"`
1499
1500	// 形态
1501	// 注意:此字段可能返回 null,表示取不到有效值。
1502	ShapeAttr *BlockInfo `json:"ShapeAttr,omitempty" name:"ShapeAttr"`
1503
1504	// 皮髓质信息
1505	// 注意:此字段可能返回 null,表示取不到有效值。
1506	SkinMedulla *BlockInfo `json:"SkinMedulla,omitempty" name:"SkinMedulla"`
1507
1508	// 变化趋势
1509	// 注意:此字段可能返回 null,表示取不到有效值。
1510	Trend *BlockInfo `json:"Trend,omitempty" name:"Trend"`
1511
1512	// 钙化
1513	// 注意:此字段可能返回 null,表示取不到有效值。
1514	Calcification *BlockInfo `json:"Calcification,omitempty" name:"Calcification"`
1515
1516	// 包膜
1517	// 注意:此字段可能返回 null,表示取不到有效值。
1518	Envelope *BlockInfo `json:"Envelope,omitempty" name:"Envelope"`
1519
1520	// 强化
1521	// 注意:此字段可能返回 null,表示取不到有效值。
1522	Enhancement *BlockInfo `json:"Enhancement,omitempty" name:"Enhancement"`
1523
1524	// 淋巴结
1525	// 注意:此字段可能返回 null,表示取不到有效值。
1526	LymphEnlargement *BlockInfo `json:"LymphEnlargement,omitempty" name:"LymphEnlargement"`
1527
1528	// 淋巴门
1529	// 注意:此字段可能返回 null,表示取不到有效值。
1530	LymphDoor *BlockInfo `json:"LymphDoor,omitempty" name:"LymphDoor"`
1531
1532	// 活动度
1533	// 注意:此字段可能返回 null,表示取不到有效值。
1534	Activity *BlockInfo `json:"Activity,omitempty" name:"Activity"`
1535
1536	// 手术情况
1537	// 注意:此字段可能返回 null,表示取不到有效值。
1538	Operation *BlockInfo `json:"Operation,omitempty" name:"Operation"`
1539
1540	// 血液cdfi
1541	// 注意:此字段可能返回 null,表示取不到有效值。
1542	CDFI *BlockInfo `json:"CDFI,omitempty" name:"CDFI"`
1543
1544	// 原文位置
1545	// 注意:此字段可能返回 null,表示取不到有效值。
1546	Index []*int64 `json:"Index,omitempty" name:"Index"`
1547
1548	// 大小状态
1549	// 注意:此字段可能返回 null,表示取不到有效值。
1550	SizeStatus *BlockInfo `json:"SizeStatus,omitempty" name:"SizeStatus"`
1551
1552	// 内部回声分布
1553	// 注意:此字段可能返回 null,表示取不到有效值。
1554	InnerEchoDistribution *BlockInfo `json:"InnerEchoDistribution,omitempty" name:"InnerEchoDistribution"`
1555
1556	// 内部回声类型
1557	// 注意:此字段可能返回 null,表示取不到有效值。
1558	InnerEchoType []*BlockInfo `json:"InnerEchoType,omitempty" name:"InnerEchoType"`
1559
1560	// 轮廓
1561	// 注意:此字段可能返回 null,表示取不到有效值。
1562	Outline *BlockInfo `json:"Outline,omitempty" name:"Outline"`
1563
1564	// 结构
1565	// 注意:此字段可能返回 null,表示取不到有效值。
1566	Structure *BlockInfo `json:"Structure,omitempty" name:"Structure"`
1567
1568	// 密度
1569	// 注意:此字段可能返回 null,表示取不到有效值。
1570	Density *BlockInfo `json:"Density,omitempty" name:"Density"`
1571
1572	// 血管
1573	// 注意:此字段可能返回 null,表示取不到有效值。
1574	Vas *BlockInfo `json:"Vas,omitempty" name:"Vas"`
1575
1576	// 囊壁
1577	// 注意:此字段可能返回 null,表示取不到有效值。
1578	Cysticwall *BlockInfo `json:"Cysticwall,omitempty" name:"Cysticwall"`
1579
1580	// 被膜
1581	// 注意:此字段可能返回 null,表示取不到有效值。
1582	Capsule *BlockInfo `json:"Capsule,omitempty" name:"Capsule"`
1583
1584	// 峡部厚度
1585	// 注意:此字段可能返回 null,表示取不到有效值。
1586	IsthmusThicknese *Size `json:"IsthmusThicknese,omitempty" name:"IsthmusThicknese"`
1587
1588	// 原文
1589	// 注意:此字段可能返回 null,表示取不到有效值。
1590	Src *string `json:"Src,omitempty" name:"Src"`
1591}
1592
1593type Value struct {
1594
1595	// 等级
1596	// 注意:此字段可能返回 null,表示取不到有效值。
1597	Grade *string `json:"Grade,omitempty" name:"Grade"`
1598
1599	// 百分比
1600	// 注意:此字段可能返回 null,表示取不到有效值。
1601	Percent []*float64 `json:"Percent,omitempty" name:"Percent"`
1602
1603	// 阳性
1604	// 注意:此字段可能返回 null,表示取不到有效值。
1605	Positive *string `json:"Positive,omitempty" name:"Positive"`
1606}
1607