UNPKG

@nocobase/plugin-verification

Version:

User identity verification management, including SMS, TOTP authenticator, with extensibility.

3,082 lines (3,080 loc) 187 kB
/** * 检验报告 */ export interface Indicator { /** * 检验指标项 注意:此字段可能返回 null,表示取不到有效值。 */ Indicators?: Array<IndicatorItem>; /** * 检验报告块标题 注意:此字段可能返回 null,表示取不到有效值。 */ BlockTitle?: Array<BlockTitle>; } /** * 末次月经 */ export interface LastMenstrualPeriodBlock { /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 归一化值 注意:此字段可能返回 null,表示取不到有效值。 */ Norm?: string; /** * 类型 注意:此字段可能返回 null,表示取不到有效值。 */ Type?: string; /** * 时间戳 注意:此字段可能返回 null,表示取不到有效值。 */ Timestamp?: string; /** * 单位 注意:此字段可能返回 null,表示取不到有效值。 */ Unit?: string; /** * 对外输出值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; } /** * 免疫接种记录 */ export interface Vaccination { /** * 序号 注意:此字段可能返回 null,表示取不到有效值。 */ Id?: string; /** * 疫苗名称 注意:此字段可能返回 null,表示取不到有效值。 */ Vaccine?: string; /** * 剂次 注意:此字段可能返回 null,表示取不到有效值。 */ Dose?: string; /** * 接种日期 注意:此字段可能返回 null,表示取不到有效值。 */ Date?: string; /** * 疫苗批号 注意:此字段可能返回 null,表示取不到有效值。 */ LotNumber?: string; /** * 生产企业 注意:此字段可能返回 null,表示取不到有效值。 */ Manufacturer?: string; /** * 接种单位 注意:此字段可能返回 null,表示取不到有效值。 */ Clinic?: string; /** * 接种部位 注意:此字段可能返回 null,表示取不到有效值。 */ Site?: string; /** * 接种者 注意:此字段可能返回 null,表示取不到有效值。 */ Provider?: string; /** * 疫苗批号 注意:此字段可能返回 null,表示取不到有效值。 */ Lot?: string; } /** * 时间轴事件 */ export interface TimelineEvent { /** * 事件类型 注意:此字段可能返回 null,表示取不到有效值。 */ Type?: string; /** * 原文本 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 事件子类型 注意:此字段可能返回 null,表示取不到有效值。 */ SubType?: string; /** * 事件发生时间 注意:此字段可能返回 null,表示取不到有效值。 */ Time?: string; /** * 事件值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; /** * 位置坐标 注意:此字段可能返回 null,表示取不到有效值。 */ Rectangle?: Rectangle; /** * 事件发生地点 注意:此字段可能返回 null,表示取不到有效值。 */ Place?: string; /** * 结束时间 注意:此字段可能返回 null,表示取不到有效值。 */ EndTime?: string; } /** * ImageMask返回参数结构体 */ export interface ImageMaskResponse { /** * 脱敏后图片的Base64信息 */ MaskedImage?: string; /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** * IHC块 */ export interface IHCBlock { /** * 索引 注意:此字段可能返回 null,表示取不到有效值。 */ Index?: Array<number | bigint>; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 具体值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: ValueBlock; /** * 坐标 注意:此字段可能返回 null,表示取不到有效值。 */ Coords?: Array<Coord>; } /** * 体检报告-妇科-阴道 */ export interface GynaecologyVagina { /** * 阴道总体描述 注意:此字段可能返回 null,表示取不到有效值。 */ Text?: KeyValueItem; } /** * 体温名称 */ export interface BodyTemperatureBlock { /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 归一化值 注意:此字段可能返回 null,表示取不到有效值。 */ Norm?: string; /** * 单位 注意:此字段可能返回 null,表示取不到有效值。 */ Unit?: string; /** * 对外输出值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; } /** * 病理详细 */ export interface PathologicalDiagnosisDetailBlock { /** * 部位 注意:此字段可能返回 null,表示取不到有效值。 */ Part?: string; /** * 类型 注意:此字段可能返回 null,表示取不到有效值。 */ HistologicalType?: string; /** * 等级 注意:此字段可能返回 null,表示取不到有效值。 */ HistologicalGrade?: string; } /** * ImageToObject请求参数结构体 */ export interface ImageToObjectRequest { /** * 图片列表,允许传入多张图片,目前只支持传入图片base64编码,图片url暂不支持 */ ImageInfoList: Array<ImageInfo>; /** * 图片处理参数 */ HandleParam: HandleParam; /** * 报告类型,目前支持11(检验报告),12(检查报告),15(病理报告),28(出院报告),29(入院报告),210(门诊病历),212(手术记录),218(诊断证明),363(心电图),27(内窥镜检查),215(处方单),219(免疫接种证明),301(C14呼气试验)。如果不清楚报告类型,可以使用分类引擎,该字段传0(同时IsUsedClassify字段必须为True,否则无法输出结果) */ Type: number; /** * 是否使用分类引擎,当不确定报告类型时,可以使用收费的报告分类引擎服务。若该字段为 False,则 Type 字段不能为 0,否则无法输出结果。 注意:当 IsUsedClassify 为True 时,表示使用收费的报告分类服务,将会产生额外的费用,具体收费标准参见 [购买指南的产品价格](https://cloud.tencent.com/document/product/1314/54264)。 */ IsUsedClassify: boolean; /** * 后付费的用户类型,新客户传1,老客户可不传或传 0。2022 年 12 月 15 新增了计费项,在此时间之前已经通过商务指定优惠价格的大客户,请不传这个字段或传 0,如果传 1 会导致以前获得的折扣价格失效。在 2022 年 12 月 15 日之后,通过商务指定优惠价格的大客户请传 1。 */ UserType?: number; /** * 可选。用于指定不同报告使用的结构化引擎版本,不同版本返回的JSON 数据结果不兼容。若不指定版本号,就默认用旧的版本号。 (1)检验报告 11,默认使用 V2,最高支持 V3。 (2)病理报告 15,默认使用 V1,最高支持 V2。 (3)入院记录29、出院记录 28、病历记录 216、病程记录 217、门诊记录 210,默认使用 V1,最高支持 V2。 */ ReportTypeVersion?: Array<ReportTypeVersion>; } /** * 分子病理 */ export interface Molecular { /** * 索引 注意:此字段可能返回 null,表示取不到有效值。 */ Index?: Array<number | bigint>; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 基因名称标注化 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 分子病理详细信息 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: MolecularValue; /** * 原文对应坐标 注意:此字段可能返回 null,表示取不到有效值。 */ Coords?: Array<Coord>; } /** * 结节 */ export interface TuberInfo { /** * 类型 注意:此字段可能返回 null,表示取不到有效值。 */ Type?: BlockInfo; /** * 部位 注意:此字段可能返回 null,表示取不到有效值。 */ Part?: Part; /** * 大小 注意:此字段可能返回 null,表示取不到有效值。 */ Size?: Array<Size>; /** * 多发 注意:此字段可能返回 null,表示取不到有效值。 */ Multiple?: Multiple; /** * 纵横比 注意:此字段可能返回 null,表示取不到有效值。 */ AspectRatio?: AspectRatio; /** * 边缘 注意:此字段可能返回 null,表示取不到有效值。 */ Edge?: BlockInfo; /** * 内部回声 注意:此字段可能返回 null,表示取不到有效值。 */ InnerEcho?: BlockInfo; /** * 外部回声 注意:此字段可能返回 null,表示取不到有效值。 */ RearEcho?: BlockInfo; /** * 弹性质地 注意:此字段可能返回 null,表示取不到有效值。 */ Elastic?: Elastic; /** * 形状 注意:此字段可能返回 null,表示取不到有效值。 */ Shape?: BlockInfo; /** * 形态 注意:此字段可能返回 null,表示取不到有效值。 */ ShapeAttr?: BlockInfo; /** * 皮髓质信息 注意:此字段可能返回 null,表示取不到有效值。 */ SkinMedulla?: BlockInfo; /** * 变化趋势 注意:此字段可能返回 null,表示取不到有效值。 */ Trend?: BlockInfo; /** * 钙化 注意:此字段可能返回 null,表示取不到有效值。 */ Calcification?: BlockInfo; /** * 包膜 注意:此字段可能返回 null,表示取不到有效值。 */ Envelope?: BlockInfo; /** * 强化 注意:此字段可能返回 null,表示取不到有效值。 */ Enhancement?: BlockInfo; /** * 淋巴结 注意:此字段可能返回 null,表示取不到有效值。 */ LymphEnlargement?: BlockInfo; /** * 淋巴门 注意:此字段可能返回 null,表示取不到有效值。 */ LymphDoor?: BlockInfo; /** * 活动度 注意:此字段可能返回 null,表示取不到有效值。 */ Activity?: BlockInfo; /** * 手术情况 注意:此字段可能返回 null,表示取不到有效值。 */ Operation?: BlockInfo; /** * 血液cdfi 注意:此字段可能返回 null,表示取不到有效值。 */ CDFI?: BlockInfo; /** * 原文位置 注意:此字段可能返回 null,表示取不到有效值。 */ Index?: Array<number | bigint>; /** * 大小状态 注意:此字段可能返回 null,表示取不到有效值。 */ SizeStatus?: BlockInfo; /** * 内部回声分布 注意:此字段可能返回 null,表示取不到有效值。 */ InnerEchoDistribution?: BlockInfo; /** * 内部回声类型 注意:此字段可能返回 null,表示取不到有效值。 */ InnerEchoType?: Array<BlockInfo>; /** * 轮廓 注意:此字段可能返回 null,表示取不到有效值。 */ Outline?: BlockInfo; /** * 结构 注意:此字段可能返回 null,表示取不到有效值。 */ Structure?: BlockInfo; /** * 密度 注意:此字段可能返回 null,表示取不到有效值。 */ Density?: BlockInfo; /** * 血管 注意:此字段可能返回 null,表示取不到有效值。 */ Vas?: BlockInfo; /** * 囊壁 注意:此字段可能返回 null,表示取不到有效值。 */ Cysticwall?: BlockInfo; /** * 被膜 注意:此字段可能返回 null,表示取不到有效值。 */ Capsule?: BlockInfo; /** * 峡部厚度 注意:此字段可能返回 null,表示取不到有效值。 * @deprecated */ IsthmusThicknese?: Size; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 透声度 注意:此字段可能返回 null,表示取不到有效值。 */ Transparent?: BlockInfo; /** * MRI ADC 注意:此字段可能返回 null,表示取不到有效值。 */ MriAdc?: BlockInfo; /** * MRI DWI 注意:此字段可能返回 null,表示取不到有效值。 */ MriDwi?: BlockInfo; /** * MRI T1信号 注意:此字段可能返回 null,表示取不到有效值。 */ MriT1?: BlockInfo; /** * MRI T2信号 注意:此字段可能返回 null,表示取不到有效值。 */ MriT2?: BlockInfo; /** * CT HU值 注意:此字段可能返回 null,表示取不到有效值。 */ CtHu?: BlockInfo; /** * SUmax值 注意:此字段可能返回 null,表示取不到有效值。 */ Suvmax?: BlockInfo; /** * 代谢情况 注意:此字段可能返回 null,表示取不到有效值。 */ Metabolism?: BlockInfo; /** * 放射性摄取 注意:此字段可能返回 null,表示取不到有效值。 */ RadioactiveUptake?: BlockInfo; /** * 病变 注意:此字段可能返回 null,表示取不到有效值。 */ SymDesc?: BlockInfo; /** * 影像特征 注意:此字段可能返回 null,表示取不到有效值。 */ ImageFeature?: BlockInfo; /** * 在报告图片中的坐标 注意:此字段可能返回 null,表示取不到有效值。 */ Coords?: Array<Coord>; /** * 峡部厚度 注意:此字段可能返回 null,表示取不到有效值。 */ IsthmusThickness?: Size; } /** * 手术列表 */ export interface SurgeryListBlock { /** * 时间 注意:此字段可能返回 null,表示取不到有效值。 */ Time?: string; /** * 类型 注意:此字段可能返回 null,表示取不到有效值。 */ TimeType?: string; /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: Array<string>; /** * 部位 注意:此字段可能返回 null,表示取不到有效值。 */ Part?: string; } /** * 体检报告V1版本 */ export interface PhysicalExaminationV1 { /** * 体检报告信息 注意:此字段可能返回 null,表示取不到有效值。 */ PhysicalExaminationMulti?: PhysicalExamination; /** * 版本 注意:此字段可能返回 null,表示取不到有效值。 */ Version?: string; } /** * 多发 */ export interface Multiple { /** * 原文位置 注意:此字段可能返回 null,表示取不到有效值。 */ Index: Array<number | bigint>; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src: string; /** * 值 注意:此字段可能返回 null,表示取不到有效值。 */ Value: string; /** * 数量 注意:此字段可能返回 null,表示取不到有效值。 */ Count: number; /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name: string; } /** * 出入院信息 */ export interface Hospitalization { /** * 入院时间 注意:此字段可能返回 null,表示取不到有效值。 */ AdmissionTime?: string; /** * 出院时间 注意:此字段可能返回 null,表示取不到有效值。 */ DischargeTime?: string; /** * 住院天数 注意:此字段可能返回 null,表示取不到有效值。 */ AdmissionDays?: string; /** * 入院诊断 注意:此字段可能返回 null,表示取不到有效值。 * @deprecated */ AdmissionDignosis?: string; /** * 入院情况 注意:此字段可能返回 null,表示取不到有效值。 */ AdmissionCondition?: string; /** * 诊疗经过 注意:此字段可能返回 null,表示取不到有效值。 */ DiagnosisTreatment?: string; /** * 出院诊断 注意:此字段可能返回 null,表示取不到有效值。 */ DischargeDiagnosis?: string; /** * 出院医嘱 注意:此字段可能返回 null,表示取不到有效值。 */ DischargeInstruction?: string; /** * 入院诊断 注意:此字段可能返回 null,表示取不到有效值。 */ AdmissionDiagnosis?: string; } /** * 查体 */ export interface BodyExaminationBlock { /** * 体温 注意:此字段可能返回 null,表示取不到有效值。 */ BodyTemperature?: BodyTemperatureBlock; /** * 脉搏 注意:此字段可能返回 null,表示取不到有效值。 */ Pulse?: BodyTemperatureBlock; /** * 呼吸 注意:此字段可能返回 null,表示取不到有效值。 */ Breathe?: BodyTemperatureBlock; /** * 血压 注意:此字段可能返回 null,表示取不到有效值。 */ BloodPressure?: BloodPressureBlock; } /** * 建议 */ export interface Advice { /** * 文本 注意:此字段可能返回 null,表示取不到有效值。 */ Text: string; } /** * 报告类型 */ export interface Report { /** * 项目名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 索引 注意:此字段可能返回 null,表示取不到有效值。 */ Index?: Array<number | bigint>; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 报告类型 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; /** * 原文对应坐标 注意:此字段可能返回 null,表示取不到有效值。 */ Coords?: Array<Coord>; } /** * 出生地 */ export interface BirthPlaceBlock { /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 对外输出值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; } /** * 体检报告-小结 */ export interface GeneralExaminationBriefSummary { /** * 一般检查小结 注意:此字段可能返回 null,表示取不到有效值。 */ Text?: KeyValueItem; } /** * pTNM */ export interface PTNM { /** * 项目名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 索引 注意:此字段可能返回 null,表示取不到有效值。 */ Index?: Array<number | bigint>; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 归一化值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; /** * pT 注意:此字段可能返回 null,表示取不到有效值。 */ PT?: string; /** * pN 注意:此字段可能返回 null,表示取不到有效值。 */ PN?: string; /** * pM 注意:此字段可能返回 null,表示取不到有效值。 */ PM?: string; /** * 原文对应坐标 注意:此字段可能返回 null,表示取不到有效值。 */ Coords?: Array<Coord>; } /** * 检验报告结构 */ export interface TableIndicators { /** * 项目列表 注意:此字段可能返回 null,表示取不到有效值。 */ Indicators?: Array<IndicatorItemV2>; /** * 采样标本 注意:此字段可能返回 null,表示取不到有效值。 */ Sample?: BaseItem; } /** * 块信息 */ export interface BlockInfoV2 { /** * 原文位置 注意:此字段可能返回 null,表示取不到有效值。 */ Index?: Array<number | bigint>; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 疾病编码 注意:此字段可能返回 null,表示取不到有效值。 */ Code?: string; } /** * 标准部位 */ export interface NormPart { /** * 部位值 注意:此字段可能返回 null,表示取不到有效值。 */ Part?: string; /** * 部位方向 注意:此字段可能返回 null,表示取不到有效值。 */ PartDirection?: string; /** * 组织值 注意:此字段可能返回 null,表示取不到有效值。 */ Tissue?: string; /** * 组织方向 注意:此字段可能返回 null,表示取不到有效值。 */ TissueDirection?: string; /** * 上级部位 注意:此字段可能返回 null,表示取不到有效值。 */ Upper?: string; /** * 部位详情 注意:此字段可能返回 null,表示取不到有效值。 */ PartDetail?: PartDesc; } /** * 淋巴 */ export interface Lymph { /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src: string; /** * 原文位置 注意:此字段可能返回 null,表示取不到有效值。 */ Index: Array<number | bigint>; /** * 部位 注意:此字段可能返回 null,表示取不到有效值。 */ Part: Part; /** * 总数 注意:此字段可能返回 null,表示取不到有效值。 */ Total: number; /** * 转移数 注意:此字段可能返回 null,表示取不到有效值。 */ TransferNum: number; } /** * 体检报告-口腔科 */ export interface StomatologyBaseItem { /** * 龋齿 注意:此字段可能返回 null,表示取不到有效值。 */ ToothDecay?: StomatologyToothDecay; /** * 牙龈 注意:此字段可能返回 null,表示取不到有效值。 */ Gingiva?: StomatologyGingiva; /** * 牙周 注意:此字段可能返回 null,表示取不到有效值。 */ Periodontics?: StomatologyPeriodontics; /** * 口腔其他 注意:此字段可能返回 null,表示取不到有效值。 */ Others?: Array<KeyValueItem>; /** * 小结 注意:此字段可能返回 null,表示取不到有效值。 */ BriefSummary?: StomatologyBriefSummary; } /** * 基础类型 */ export interface BaseItem { /** * 类型名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 原始文本 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 归一化后值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; /** * 别名 注意:此字段可能返回 null,表示取不到有效值。 */ Alias?: string; /** * 四点坐标 注意:此字段可能返回 null,表示取不到有效值。 */ Coords?: Array<Coord>; } /** * 体检报告-耳鼻喉科 */ export interface OtolaryngologyBaseItem { /** * 耳朵 注意:此字段可能返回 null,表示取不到有效值。 */ Ear?: OtolaryngologyEar; /** * 鼻 注意:此字段可能返回 null,表示取不到有效值。 */ Nose?: OtolaryngologyNose; /** * 喉 注意:此字段可能返回 null,表示取不到有效值。 */ Larynx?: OtolaryngologyLarynx; /** * 耳鼻喉其他 注意:此字段可能返回 null,表示取不到有效值。 */ Others?: Array<KeyValueItem>; /** * 小结 注意:此字段可能返回 null,表示取不到有效值。 */ BriefSummary?: OtolaryngologyBriefSummary; } /** * 病案首页第二页 */ export interface Fp2NdItem { /** * 手术编码 注意:此字段可能返回 null,表示取不到有效值。 */ Code?: BaseItem; /** * 手术名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: BaseItem; /** * 手术开始时间 注意:此字段可能返回 null,表示取不到有效值。 */ StartTime?: BaseItem; /** * 手术结束时间 注意:此字段可能返回 null,表示取不到有效值。 */ EndTime?: BaseItem; /** * 手术等级 注意:此字段可能返回 null,表示取不到有效值。 */ Level?: BaseItem; /** * 手术类型 注意:此字段可能返回 null,表示取不到有效值。 */ Type?: BaseItem; /** * 醉愈合方式 注意:此字段可能返回 null,表示取不到有效值。 */ IncisionHealingGrade?: BaseItem; /** * 麻醉方法 注意:此字段可能返回 null,表示取不到有效值。 */ AnesthesiaMethod?: BaseItem; } /** * 体检报告-外科-浅表淋巴结 */ export interface SurgeryLymphNode { /** * 浅表淋巴结总体描述 注意:此字段可能返回 null,表示取不到有效值。 */ Text?: KeyValueItem; } /** * 体检报告-外科-头颈部 */ export interface SurgeryHeadNeck { /** * 头颈部总体描述 注意:此字段可能返回 null,表示取不到有效值。 */ Text?: KeyValueItem; } /** * 器官 */ export interface Organ { /** * 部位 注意:此字段可能返回 null,表示取不到有效值。 */ Part?: Part; /** * 大小 注意:此字段可能返回 null,表示取不到有效值。 */ Size?: Array<Size>; /** * 包膜 注意:此字段可能返回 null,表示取不到有效值。 */ Envelope?: BlockInfo; /** * 边缘 注意:此字段可能返回 null,表示取不到有效值。 */ Edge?: BlockInfo; /** * 内部回声 注意:此字段可能返回 null,表示取不到有效值。 */ InnerEcho?: BlockInfo; /** * 腺体 注意:此字段可能返回 null,表示取不到有效值。 */ Gland?: BlockInfo; /** * 形状 注意:此字段可能返回 null,表示取不到有效值。 */ Shape?: BlockInfo; /** * 厚度 注意:此字段可能返回 null,表示取不到有效值。 */ Thickness?: BlockInfo; /** * 形态 注意:此字段可能返回 null,表示取不到有效值。 */ ShapeAttr?: BlockInfo; /** * 血液cdfi 注意:此字段可能返回 null,表示取不到有效值。 */ CDFI?: BlockInfo; /** * 描述信息 注意:此字段可能返回 null,表示取不到有效值。 */ SymDesc?: BlockInfo; /** * 大小状态 注意:此字段可能返回 null,表示取不到有效值。 */ SizeStatus?: BlockInfo; /** * 轮廓 注意:此字段可能返回 null,表示取不到有效值。 */ Outline?: BlockInfo; /** * 结构 注意:此字段可能返回 null,表示取不到有效值。 */ Structure?: BlockInfo; /** * 密度 注意:此字段可能返回 null,表示取不到有效值。 */ Density?: BlockInfo; /** * 血管 注意:此字段可能返回 null,表示取不到有效值。 */ Vas?: BlockInfo; /** * 囊壁 注意:此字段可能返回 null,表示取不到有效值。 */ Cysticwall?: BlockInfo; /** * 被膜 注意:此字段可能返回 null,表示取不到有效值。 */ Capsule?: BlockInfo; /** * 峡部厚度 注意:此字段可能返回 null,表示取不到有效值。 * @deprecated */ IsthmusThicknese?: Size; /** * 内部回声分布 注意:此字段可能返回 null,表示取不到有效值。 */ InnerEchoDistribution?: BlockInfo; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 原文位置 注意:此字段可能返回 null,表示取不到有效值。 */ Index?: Array<number | bigint>; /** * 透声度 注意:此字段可能返回 null,表示取不到有效值。 */ Transparent?: BlockInfo; /** * MRI ADC 注意:此字段可能返回 null,表示取不到有效值。 */ MriAdc?: BlockInfo; /** * MRI DWI 注意:此字段可能返回 null,表示取不到有效值。 */ MriDwi?: BlockInfo; /** * MRI T1信号 注意:此字段可能返回 null,表示取不到有效值。 */ MriT1?: BlockInfo; /** * MRI T2信号 注意:此字段可能返回 null,表示取不到有效值。 */ MriT2?: BlockInfo; /** * CT HU值 注意:此字段可能返回 null,表示取不到有效值。 */ CtHu?: BlockInfo; /** * SUmax值 注意:此字段可能返回 null,表示取不到有效值。 */ Suvmax?: BlockInfo; /** * 代谢情况 注意:此字段可能返回 null,表示取不到有效值。 */ Metabolism?: BlockInfo; /** * 放射性摄取 注意:此字段可能返回 null,表示取不到有效值。 */ RadioactiveUptake?: BlockInfo; /** * 淋巴结情况 注意:此字段可能返回 null,表示取不到有效值。 */ LymphEnlargement?: BlockInfo; /** * 影像特征 注意:此字段可能返回 null,表示取不到有效值。 */ ImageFeature?: BlockInfo; /** * 导管 注意:此字段可能返回 null,表示取不到有效值。 */ Duct?: BlockInfo; /** * 趋势 注意:此字段可能返回 null,表示取不到有效值。 */ Trend?: BlockInfo; /** * 手术情况 注意:此字段可能返回 null,表示取不到有效值。 */ Operation?: BlockInfo; /** * 器官在报告图片中的坐标 注意:此字段可能返回 null,表示取不到有效值。 */ Coords?: Array<Coord>; /** * 峡部厚度 注意:此字段可能返回 null,表示取不到有效值。 */ IsthmusThickness?: Size; } /** * 现病史 */ export interface DiseasePresentBlock { /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; /** * 归一化 注意:此字段可能返回 null,表示取不到有效值。 */ Norm?: string; } /** * 月经经期 */ export interface MenstrualPeriodBlock { /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 归一化值 注意:此字段可能返回 null,表示取不到有效值。 */ Norm?: string; /** * 类型 注意:此字段可能返回 null,表示取不到有效值。 */ Type?: string; /** * 时间戳 注意:此字段可能返回 null,表示取不到有效值。 */ Timestamp?: string; /** * 单位 注意:此字段可能返回 null,表示取不到有效值。 */ Unit?: string; /** * 对外输出值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; } /** * 病历 */ export interface TreatmentRecord { /** * 入院 注意:此字段可能返回 null,表示取不到有效值。 * @deprecated */ DmissionCondition?: string; /** * 主诉 注意:此字段可能返回 null,表示取不到有效值。 */ ChiefComplaint?: string; /** * 现病史 注意:此字段可能返回 null,表示取不到有效值。 */ DiseasePresent?: string; /** * 主要症状体征 注意:此字段可能返回 null,表示取不到有效值。 */ SymptomsAndSigns?: string; /** * 辅助检查 注意:此字段可能返回 null,表示取不到有效值。 */ AuxiliaryExamination?: string; /** * 体格检查 注意:此字段可能返回 null,表示取不到有效值。 */ BodyExamination?: string; /** * 专科检查 注意:此字段可能返回 null,表示取不到有效值。 */ SpecialistExamination?: string; /** * 精神检查 注意:此字段可能返回 null,表示取不到有效值。 */ MentalExamination?: string; /** * 检查记录 注意:此字段可能返回 null,表示取不到有效值。 */ CheckRecord?: string; /** * 化验结果 注意:此字段可能返回 null,表示取不到有效值。 */ InspectResult?: string; /** * 切口愈合情况 注意:此字段可能返回 null,表示取不到有效值。 */ IncisionHealing?: string; /** * 处理意见 注意:此字段可能返回 null,表示取不到有效值。 */ TreatmentSuggestion?: string; /** * 门诊随访要求 注意:此字段可能返回 null,表示取不到有效值。 */ FollowUpRequirements?: string; /** * 诊疗经过 注意:此字段可能返回 null,表示取不到有效值。 */ CheckAndTreatmentProcess?: string; /** * 手术经过 注意:此字段可能返回 null,表示取不到有效值。 */ SurgeryCondition?: string; /** * 入院情况 注意:此字段可能返回 null,表示取不到有效值。 */ ConditionChanges?: string; /** * 出院情况 注意:此字段可能返回 null,表示取不到有效值。 */ DischargeCondition?: string; /** * pTNM信息 注意:此字段可能返回 null,表示取不到有效值。 */ PTNM?: string; /** * pTNMM信息 注意:此字段可能返回 null,表示取不到有效值。 */ PTNMM?: string; /** * pTNMN信息 注意:此字段可能返回 null,表示取不到有效值。 */ PTNMN?: string; /** * pTNMT信息 注意:此字段可能返回 null,表示取不到有效值。 */ PTNMT?: string; /** * ECOG信息 注意:此字段可能返回 null,表示取不到有效值。 */ ECOG?: string; /** * NRS信息 注意:此字段可能返回 null,表示取不到有效值。 */ NRS?: string; /** * KPS信息 注意:此字段可能返回 null,表示取不到有效值。 */ KPS?: string; /** * 死亡日期 注意:此字段可能返回 null,表示取不到有效值。 */ DeathDate?: string; /** * 复发日期 注意:此字段可能返回 null,表示取不到有效值。 */ RelapseDate?: string; /** * 观测天数 注意:此字段可能返回 null,表示取不到有效值。 */ ObservationDays?: string; /** * 入院 注意:此字段可能返回 null,表示取不到有效值。 */ AdmissionCondition?: string; } /** * 体检报告-内科-血管 */ export interface InternalMedicineVessel { /** * 血管总体描述 注意:此字段可能返回 null,表示取不到有效值。 */ Text?: KeyValueItem; /** * 血管杂音 注意:此字段可能返回 null,表示取不到有效值。 */ VascularMurmur?: KeyValueItem; /** * 外周血管 注意:此字段可能返回 null,表示取不到有效值。 */ PeripheralVessel?: KeyValueItem; } /** * 体检报告-眼科-裸眼视力 */ export interface OphthalmologyBareEyeSight { /** * 左眼视力 注意:此字段可能返回 null,表示取不到有效值。 */ LeftEyeVisual?: KeyValueItem; /** * 裸眼视力 注意:此字段可能返回 null,表示取不到有效值。 */ Text?: KeyValueItem; /** * 右眼视力 注意:此字段可能返回 null,表示取不到有效值。 */ RightEyeVisual?: KeyValueItem; } /** * 值 */ export interface Value { /** * 等级 注意:此字段可能返回 null,表示取不到有效值。 */ Grade: string; /** * 百分比 注意:此字段可能返回 null,表示取不到有效值。 */ Percent: Array<number>; /** * 阳性 注意:此字段可能返回 null,表示取不到有效值。 */ Positive: string; } /** * 既往史 */ export interface MainDiseaseHistoryBlock { /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 状态 注意:此字段可能返回 null,表示取不到有效值。 */ State?: boolean; /** * 对外输出值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; /** * 否定列表 注意:此字段可能返回 null,表示取不到有效值。 */ Neglist?: NeglistBlock; /** * 肯定列表 注意:此字段可能返回 null,表示取不到有效值。 */ Poslist?: PoslistBlock; } /** * 疾病史 */ export interface DiseaseMedicalHistory { /** * 主病史 注意:此字段可能返回 null,表示取不到有效值。 */ MainDiseaseHistory: string; /** * 过敏史 注意:此字段可能返回 null,表示取不到有效值。 */ AllergyHistory: string; /** * 传染疾病史 注意:此字段可能返回 null,表示取不到有效值。 */ InfectHistory: string; /** * 手术史 注意:此字段可能返回 null,表示取不到有效值。 */ OperationHistory: string; /** * 输血史 注意:此字段可能返回 null,表示取不到有效值。 */ TransfusionHistory: string; } /** * 家族遗传史 */ export interface GeneticHistoryBlock { /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 遗传列表 注意:此字段可能返回 null,表示取不到有效值。 */ GeneticList?: string; /** * 对外输出值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; } /** * 体检报告-眼科-小结 */ export interface OphthalmologyBriefSummary { /** * 眼科小结 注意:此字段可能返回 null,表示取不到有效值。 */ Text?: KeyValueItem; } /** * 月经史 */ export interface MenstrualHistoryDetailBlock { /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 状态 注意:此字段可能返回 null,表示取不到有效值。 */ State?: string; /** * 归一化值 注意:此字段可能返回 null,表示取不到有效值。 */ Norm?: string; /** * 时间类型 注意:此字段可能返回 null,表示取不到有效值。 */ TimeType?: string; /** * 时间戳 注意:此字段可能返回 null,表示取不到有效值。 */ Timestamp?: string; /** * 单位 注意:此字段可能返回 null,表示取不到有效值。 */ Unit?: string; /** * 对外输出值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; } /** * 体检报告-内科-腹部-胆囊 */ export interface InternalMedicineAbdomenGallBladder { /** * 胆囊总体描述 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: KeyValueItem; /** * 胆囊大小 注意:此字段可能返回 null,表示取不到有效值。 */ Size?: KeyValueItem; /** * 胆囊触诊 注意:此字段可能返回 null,表示取不到有效值。 */ Palpation?: KeyValueItem; /** * 胆囊叩诊 注意:此字段可能返回 null,表示取不到有效值。 */ Percussion?: KeyValueItem; /** * 胆囊压痛 注意:此字段可能返回 null,表示取不到有效值。 */ Tenderness?: KeyValueItem; /** * 胆囊质地 注意:此字段可能返回 null,表示取不到有效值。 */ Consistency?: KeyValueItem; } /** * 体检报告-妇科-外阴 */ export interface GynaecologyVulva { /** * 外阴总体描述 注意:此字段可能返回 null,表示取不到有效值。 */ Text?: KeyValueItem; } /** * 体检报告-眼科-色觉 */ export interface OphthalmologyColourVision { /** * 色觉总体描述 注意:此字段可能返回 null,表示取不到有效值。 */ Text?: KeyValueItem; } /** * 核酸报告结论 */ export interface CovidItemsInfo { /** * 核酸报告结论 注意:此字段可能返回 null,表示取不到有效值。 */ CovidItems?: Array<CovidItem>; /** * 版本号 注意:此字段可能返回 null,表示取不到有效值。 */ Version?: string; } /** * 血压 */ export interface BloodPressureBlock { /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 归一化值 注意:此字段可能返回 null,表示取不到有效值。 */ Norm?: string; /** * 单位 注意:此字段可能返回 null,表示取不到有效值。 */ Unit?: string; /** * 对外输出值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; /** * 舒张压 注意:此字段可能返回 null,表示取不到有效值。 */ NormDiastolic?: string; /** * 收缩压 注意:此字段可能返回 null,表示取不到有效值。 */ NormSystolic?: string; } /** * TurnPDFToObjectAsync请求参数结构体 */ export interface TurnPDFToObjectAsyncRequest { /** * 体检报告PDF文件信息, 目前只支持传PDF文件的Base64编码字符(PDF文件不能超过10MB,如果超过建议先压缩PDF,再转成base64) */ PdfInfo: PdfInfo; } /** * 组织学等级 */ export interface HistologyLevel { /** * 等级 注意:此字段可能返回 null,表示取不到有效值。 */ Grade: string; /** * 原文位置 注意:此字段可能返回 null,表示取不到有效值。 */ Index: Array<number | bigint>; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src: string; } /** * 心电图详情 */ export interface EcgDescription { /** * 心率 注意:此字段可能返回 null,表示取不到有效值。 */ HeartRate: EcgItem; /** * 心房率 注意:此字段可能返回 null,表示取不到有效值。 */ AuricularRate: EcgItem; /** * 心室率 注意:此字段可能返回 null,表示取不到有效值。 */ VentricularRate: EcgItem; /** * 节律 注意:此字段可能返回 null,表示取不到有效值。 */ Rhythm: EcgItem; /** * P波时间 注意:此字段可能返回 null,表示取不到有效值。 */ PDuration: EcgItem; /** * QRS时间 注意:此字段可能返回 null,表示取不到有效值。 */ QrsDuration: EcgItem; /** * QRS电轴 注意:此字段可能返回 null,表示取不到有效值。 */ QrsAxis: EcgItem; /** * P-R间期 注意:此字段可能返回 null,表示取不到有效值。 */ PRInterval: EcgItem; /** * P-P间期 注意:此字段可能返回 null,表示取不到有效值。 */ PPInterval: EcgItem; /** * R-R间期 注意:此字段可能返回 null,表示取不到有效值。 */ RRInterval: EcgItem; /** * P-J间期 注意:此字段可能返回 null,表示取不到有效值。 */ PJInterval: EcgItem; /** * Q-T间期 注意:此字段可能返回 null,表示取不到有效值。 */ QTInterval: EcgItem; /** * qt/qtc间期 注意:此字段可能返回 null,表示取不到有效值。 */ QTCInterval: EcgItem; /** * RV5/SV1振幅 注意:此字段可能返回 null,表示取不到有效值。 */ Rv5SV1Amplitude: EcgItem; /** * RV5+SV1振幅 注意:此字段可能返回 null,表示取不到有效值。 */ Rv5AddSV1Amplitude: EcgItem; /** * PRT电轴 注意:此字段可能返回 null,表示取不到有效值。 */ PRTAxis: EcgItem; /** * RV5振幅 注意:此字段可能返回 null,表示取不到有效值。 */ Rv5Amplitude: EcgItem; /** * SV1振幅 注意:此字段可能返回 null,表示取不到有效值。 */ SV1Amplitude: EcgItem; /** * RV6/SV2 注意:此字段可能返回 null,表示取不到有效值。 */ RV6SV2: EcgItem; /** * P/QRS/T电轴 注意:此字段可能返回 null,表示取不到有效值。 */ PQRSTAxis: EcgItem; } /** * 体检报告-外科-甲状腺 */ export interface SurgeryThyroid { /** * 甲状腺总体描述 注意:此字段可能返回 null,表示取不到有效值。 */ Text?: KeyValueItem; } /** * 门诊病历信息 */ export interface MedicalRecordInfo { /** * 就诊日期 注意:此字段可能返回 null,表示取不到有效值。 */ DiagnosisTime: string; /** * 就诊科室 注意:此字段可能返回 null,表示取不到有效值。 */ DiagnosisDepartmentName: string; /** * 就诊医生 注意:此字段可能返回 null,表示取不到有效值。 */ DiagnosisDoctorName: string; /** * 临床诊断 注意:此字段可能返回 null,表示取不到有效值。 */ ClinicalDiagnosis: string; /** * 主述 注意:此字段可能返回 null,表示取不到有效值。 */ MainNarration: string; /** * 体格检查 注意:此字段可能返回 null,表示取不到有效值。 */ PhysicalExamination: string; /** * 检查结论 注意:此字段可能返回 null,表示取不到有效值。 */ InspectionFindings: string; /** * 治疗意见 注意:此字段可能返回 null,表示取不到有效值。 */ TreatmentOpinion: string; } /** * 眼科报告结构体 */ export interface EyeItemsInfo { /** * 眼科报告 注意:此字段可能返回 null,表示取不到有效值。 */ EyeItems?: EyeItem; /** * 版本号 注意:此字段可能返回 null,表示取不到有效值。 */ Version?: string; } /** * 体检报告-外科-皮肤 */ export interface SurgerySkin { /** * 皮肤总体描述 注意:此字段可能返回 null,表示取不到有效值。 */ Text?: KeyValueItem; } /** * 检验指标项结构v2 */ export interface IndicatorItemV2 { /** * 项目名称 注意:此字段可能返回 null,表示取不到有效值。 */ Item?: BaseItem; /** * 英文编码 注意:此字段可能返回 null,表示取不到有效值。 */ Code?: BaseItem; /** * 结果 注意:此字段可能返回 null,表示取不到有效值。 */ Result?: BaseItem; /** * 单位 注意:此字段可能返回 null,表示取不到有效值。 */ Unit?: BaseItem; /** * 参考范围 注意:此字段可能返回 null,表示取不到有效值。 */ Range?: BaseItem; /** * 上下箭头 注意:此字段可能返回 null,表示取不到有效值。 */ Arrow?: BaseItem; /** * 检测方法 注意:此字段可能返回 null,表示取不到有效值。 */ Method?: BaseItem; /** * 结果是否异常 注意:此字段可能返回 null,表示取不到有效值。 */ Normal?: boolean; /** * ID 注意:此字段可能返回 null,表示取不到有效值。 */ Id?: number; /** * 序号 注意:此字段可能返回 null,表示取不到有效值。 */ Order?: number; /** * 推测结果是否异常 注意:此字段可能返回 null,表示取不到有效值。 */ InferNormal?: string; } /** * TurnPDFToObjectAsync返回参数结构体 */ export interface TurnPDFToObjectAsyncResponse { /** * 加密任务ID。 1、此 ID 是经过加密生成,是用于获取 PDF 返回 json 的凭证,需要由客户存储该 TaskID。 2、建议在获取到TaskID 后,5-10分钟后再调用 TurnPDFToObjectAsyncGetResult 接口获取 json 结果。 3、使用此接口,腾讯不会存储传入的 PDF 文件,但是会临时加密存储对应的 json 结果。如果不希望腾讯临时加密存储 json 结果,请使用 TurnPDFToObject 接口。 4、加密存储的 json 结果会24小时后定时自动删除,因此TaskID 仅 24 小时内有效,请在24小时内调用接口 TurnPDFToObjectAsyncGetResult 获取对应 json 结果。 5、TaskID 与腾讯云的账号绑定,通过 TurnPDFToObjectAsync 传入PDF文件和通过 TurnPDFToObjectAsyncGetResult 获取 json 结果,必须是同一个腾讯云账号。即其它人就算获取到 TaskID 也无法获取到 json 结果。 */ TaskID?: string; /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** * 大小 */ export interface NormSize { /** * 数量 注意:此字段可能返回 null,表示取不到有效值。 */ Number?: Array<string>; /** * 类型 注意:此字段可能返回 null,表示取不到有效值。 */ Type?: string; /** * 单位 注意:此字段可能返回 null,表示取不到有效值。 */ Unit?: string; /** * 归一化值 注意:此字段可能返回 null,表示取不到有效值。 */ Impl?: string; } /** * 体检报告-妇科-小结 */ export interface GynaecologyBriefSummary { /** * 小结 注意:此字段可能返回 null,表示取不到有效值。 */ Text?: KeyValueItem; } /** * TextToObject返回参数结构体 */ export interface TextToObjectResponse { /** * 报告结构化结果 */ Template?: Template; /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** * 手术经过 */ export interface SurgeryConditionBlock { /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 手术历史 注意:此字段可能返回 null,表示取不到有效值。 */ SurgeryList?: Array<SurgeryListBlock>; /** * 对外输出值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; } /** * 通用块信息 */ export interface FieldInfo { /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; /** * 数值 注意:此字段可能返回 null,表示取不到有效值。 */ Nums?: Array<NumValue>; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; } /** * 详情 */ export interface DetailInformation { /** * 部位 注意:此字段可能返回 null,表示取不到有效值。 */ Part?: Part; /** * 组织大小 注意:此字段可能返回 null,表示取不到有效值。 */ TissueSizes?: Array<Size>; /** * 结节大小 注意:此字段可能返回 null,表示取不到有效值。 */ TuberSizes?: Array<Size>; /** * 肿瘤大小 注意:此字段可能返回 null,表示取不到有效值。 */ CancerSizes?: Array<Size>; /** * 组织学等级 注意:此字段可能返回 null,表示取不到有效值。 */ HistologyLevel?: BaseInfo; /** * 组织学类型 注意:此字段可能返回 null,表示取不到有效值。 */ HistologyType?: HistologyTypeV2; /** * 侵犯 注意:此字段可能返回 null,表示取不到有效值。 */ Invasive?: Array<InvasiveV2>; /** * pTNM 注意:此字段可能返回 null,表示取不到有效值。 */ PTNM?: PTNM; /** * 浸润深度 注意:此字段可能返回 null,表示取不到有效值。 */ InfiltrationDepth?: BaseInfo; /** * 结节数量 注意:此字段可能返回 null,表示取不到有效值。 */ TuberNum?: BaseInfo; /** * 钙化 注意:此字段可能返回 null,表示取不到有效值。 */ Calcification?: BaseInfo; /** * 坏死 注意:此字段可能返回 null,表示取不到有效值。 */ Necrosis?: BaseInfo; /** * 异形 注意:此字段可能返回 null,表示取不到有效值。 */ Abnormity?: BaseInfo; /** * 断链 注意:此字段可能返回 null,表示取不到有效值。 */ Breaked?: BaseInfo; } /** * 孕产结论部分 */ export interface MaternitySummary { /** * 胎儿数据结构 注意:此字段可能返回 null,表示取不到有效值。 */ Fetus?: Array<Fetus>; /** * 胎儿数量 注意:此字段可能返回 null,表示取不到有效值。 */ FetusNum?: FieldInfo; /** * 病变 注意:此字段可能返回 null,表示取不到有效值。 */ Sym?: Array<FieldInfo>; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Text?: string; /** * 坐标 注意:此字段可能返回 null,表示取不到有效值。 */ Coords?: Array<Coord>; } /** * 出入院诊断 */ export interface DischargeDiagnosis { /** * 表格位置 注意:此字段可能返回 null,表示取不到有效值。 */ TableIndex: number; /** * 出院诊断 注意:此字段可能返回 null,表示取不到有效值。 */ OutDiagnosis: BlockInfo; /** * 疾病编码 注意:此字段可能返回 null,表示取不到有效值。 */ DiseaseCode: BlockInfo; /** * 入院情况 注意:此字段可能返回 null,表示取不到有效值。 */ InStatus: BlockInfo; /** * 出院情况 注意:此字段可能返回 null,表示取不到有效值。 */ OutStatus: BlockInfo; } /** * 输血史 */ export interface TransfusionHistoryBlock { /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 状态 注意:此字段可能返回 null,表示取不到有效值。 */ State?: boolean; /** * 值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; } /** * 分子病理详细信息 */ export interface MolecularValue { /** * 外显子 注意:此字段可能返回 null,表示取不到有效值。 */ Exon?: string; /** * 点位 注意:此字段可能返回 null,表示取不到有效值。 */ Position?: string; /** * 类型 注意:此字段可能返回 null,表示取不到有效值。 */ Type?: string; /** * 阳性或阴性 注意:此字段可能返回 null,表示取不到有效值。 */ Positive?: string; /** * 基因名称原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; } /** * 主诉详情 */ export interface ChiefComplaintDetailBlock { /** * 疾病名称 注意:此字段可能返回 null,表示取不到有效值。 */ DiseaseName?: string; /** * 部位 注意:此字段可能返回 null,表示取不到有效值。 */ Part?: string; /** * 时间 注意:此字段可能返回 null,表示取不到有效值。 */ Time?: string; /** * 时间类型 注意:此字段可能返回 null,表示取不到有效值。 */ TimeType?: string; } /** * 图片脱敏选项 不填默认敏感信息都脱敏 */ export interface ImageMaskFlags { /** * 是否对医院信息进行脱敏 */ HospitalFlag?: boolean; /** * 是否对医生信息进行脱敏 */ DoctorFlag?: boolean; /** * 是否对患者信息进行脱敏 */ PatientFlag?: boolean; /** * 是否对二维码信息进行脱敏 */ BarFlag?: boolean; } /** * TurnPDFToObject返回参数结构体 */ export interface TurnPDFToObjectResponse { /** * 报告结构化结果 */ Template?: Template; /** * 多级分类结果 */ TextTypeList?: Array<TextType>; /** * 报告结构化结果(体检报告PDF结构化接口返回的 json 内容非常多,建议通过本地代码调用) */ Block?: Block; /** * 是否使用Block字段 */ IsBlock?: boolean; /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** * 体检报告-内科-心脏 */ export interface InternalMedicineHeart { /** * 心脏总体描述 注意:此字段可能返回 null,表示取不到有效值。 */ Text?: KeyValueItem; /** * 心律 注意:此字段可能返回 null,表示取不到有效值。 */ HeartRhythm?: KeyValueItem; /** * 心率 注意:此字段可能返回 null,表示取不到有效值。 */ HeartRate?: ValueUnitItem; /** * 心脏听诊 注意:此字段可能返回 null,表示取不到有效值。 */ HeartAuscultation?: KeyValueItem; } /** * 报告基本信息 */ export interface ReportInfo { /** * 医院名称 注意:此字段可能返回 null,表示取不到有效值。 */ Hospital?: string; /** * 科室名称 注意:此字段可能返回 null,表示取不到有效值。 */ DepartmentName?: string; /** * 申请时间 注意:此字段可能返回 null,表示取不到有效值。 */ BillingTime?: string; /** * 报告时间 注意:此字段可能返回 null,表示取不到有效值。 */ ReportTime?: string; /** * 检查时间 注意:此字段可能返回 null,表示取不到有效值。 */ InspectTime?: string; /** * 检查号 注意:此字段可能返回 null,表示取不到有效值。 */ CheckNum?: string; /** * 影像号 注意:此字段可能返回 null,表示取不到有效值。 */ ImageNum?: string; /** * 放射号 注意:此字段可能返回 null,表示取不到有效值。 */ RadiationNum?: string; /** * 检验号 注意:此字段可能返回 null,表示取不到有效值。 */ TestNum?: string; /** * 门诊号 注意:此字段可能返回 null,表示取不到有效值。 */ OutpatientNum?: string; /** * 病理号 注意:此字段可能返回 null,表示取不到有效值。 */ PathologyNum?: string; /** * 住院号 注意:此字段可能返回 null,表示取不到有效值。 */ InHospitalNum?: string; /** * 样本号 注意:此字段可能返回 null,表示取不到有效值。 */ SampleNum?: string; /** * 标本种类 注意:此字段可能返回 null,表示取不到有效值。 */ SampleType?: string; /** * 病历号 注意:此字段可能返回 null,表示取不到有效值。 */ MedicalRecordNum?: string; /** * 报告名称 注意:此字段可能返回 null,表示取不到有效值。 */ ReportName?: string; /** * 超声号 注意:此字段可能返回 null,表示取不到有效值。 */ UltraNum?: string; /** * 临床诊断 注意:此字段可能返回 null,表示取不到有效值。 */ Diagnose?: string; /** * 检查项目 注意:此字段可能返回 null,表示取不到有效值。 */ CheckItem?: string; /** * 检查方法 注意:此字段可能返回 null,表示取不到有效值。 */ CheckMethod?: string; /** * 诊断时间 注意:此字段可能返回 null,表示取不到有效值。 */ DiagnoseTime?: string; /** * 体检号 注意:此字段可能返回 null,表示取不到有效值。 */ HealthCheckupNum?: string; /** * 其它时间 注意:此字段可能返回 null,表示取不到有效值。 */ OtherTime?: string; /** * 打印时间 注意:此字段可能返回 null,表示取不到有效值。 */ PrintTime?: string; /** * 未归类时间 注意:此字段可能返回 null,表示取不到有效值。 */ Times?: Array<Time>; /** * 床号 注意:此字段可能返回 null,表示取不到有效值。 */ BedNo?: string; } /** * 生命体征 */ export interface GeneralExaminationVitalSign { /** * 生命体征总体描述 注意:此字段可能返回 null,表示取不到有效值。 */ Text?: ValueUnitItem; /** * 体温 注意:此字段可能返回 null,表示取不到有效值。 */ BodyTemperature?: ValueUnitItem; /** * 脉率 注意:此字段可能返回 null,表示取不到有效值。 */ Pulse?: ValueUnitItem; /** * 心率 注意:此字段可能返回 null,表示取不到有效值。 */ HeartRate?: ValueUnitItem; /** * 呼吸频率 注意:此字段可能返回 null,表示取不到有效值。 */ BreathingRate?: ValueUnitItem; /** * 身高 注意:此字段可能返回 null,表示取不到有效值。 */ BodyHeight?: ValueUnitItem; /** * 体重 注意:此字段可能返回 null,表示取不到有效值。 */ BodyWeight?: ValueUnitItem; /** * 体质指数 注意:此字段可能返回 null,表示取不到有效值。 */ BodyMassIndex?: ValueUnitItem; /** * 腰围 注意:此字段可能返回 null,表示取不到有效值。 */ Waistline?: ValueUnitItem; /** * 血压 注意:此字段可能返回 null,表示取不到有效值。 */ BloodPressure?: GeneralExaminationVitalSignBloodPressure; } /** * TurnPDFToObjectAsyncGetResult返回参数结构体 */ export interface TurnPDFToObjectAsyncGetResultResponse { /** * 报告结构化结果 */ Template?: Template; /** * 多级分类结果 */ TextTypeList?: Array<TextType>; /** * 报告结构化结果(体检报告PDF结构化接口返回的 json 内容非常多,建议通过本地代码调用) */ Block?: Block; /** * 是否使用Block字段 */ IsBlock?: boolean; /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** * 体检报告基础信息 */ export interface PhysicalBaseItem { /** * 类型 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; /** * 原始文本 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 归一化后值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; /** * 四点坐标 注意:此字段可能返回 null,表示取不到有效值。 */ Coords?: Array<Coord>; } /** * 体检结论 */ export interface Exame { /** * 结论段落 注意:此字段可能返回 null,表示取不到有效值。 */ OverView?: Array<ResultInfo>; /** * 异常与建议段落 注意:此字段可能返回 null,表示取不到有效值。 */ Abnormality?: Array<ResultInfo>; } /** * 病理报告v2 */ export interface PathologyV2 { /** * 报告类型 注意:此字段可能返回 null,表示取不到有效值。 */ PathologicalReportType?: Report; /** * 描述段落 注意:此字段可能返回 null,表示取不到有效值。 */ Desc?: DescInfo; /** * 诊断结论 注意:此字段可能返回 null,表示取不到有效值。 */ Summary?: SummaryInfo; /** * 报告全文 注意:此字段可能返回 null,表示取不到有效值。 */ ReportText?: string; /** * 淋巴结总计转移信息 注意:此字段可能返回 null,表示取不到有效值。 */ LymphTotal?: Array<LymphTotal>; /** * 单淋巴结转移信息 注意:此字段可能返回 null,表示取不到有效值。 */ LymphNodes?: Array<LymphNode>; /** * ihc信息 注意:此字段可能返回 null,表示取不到有效值。 */ Ihc?: Array<IHCV2>; /** * 临床诊断 注意:此字段可能返回 null,表示取不到有效值。 */ Clinical?: BaseInfo; /** * 是否癌前病变 注意:此字段可能返回 null,表示取不到有效值。 */ Precancer?: HistologyClass; /** * 是否恶性肿瘤 注意:此字段可能返回 null,表示取不到有效值。 */ Malignant?: HistologyClass; /** * 是否良性肿瘤 注意:此字段可能返回 null,表示取不到有效值。 */ Benigntumor?: HistologyClass; /** * 送检材料 注意:此字段可能返回 null,表示取不到有效值。 */ SampleType?: BaseInfo; /** * 淋巴结大小 注意:此字段可能返回 null,表示取不到有效值。 */ LymphSize?: Array<Size>; /** * 分子病理 注意:此字段可能返回 null,表示取不到有效值。 */ Molecular?: Array<Molecular>; } /** * 病案首页 */ export interface FirstPage { /** * 出入院诊断 注意:此字段可能返回 null,表示取不到有效值。 */ DischargeDiagnosis?: Array<DischargeDiagnosis>; /** * 病理诊断 注意:此字段可能返回 null,表示取不到有效值。 */ PathologicalDiagnosis?: BlockInfo; /** * 临床诊断 注意:此字段可能返回 null,表示取不到有效值。 */ ClinicalDiagnosis?: BlockInfo; /** * 受伤中毒的外部原因 注意:此字段可能返回 null,表示取不到有效值。 */ DamagePoi?: BlockInfoV2; /** * 病案首页第二页 注意:此字段可能返回 null,表示取不到有效值。 */ Fp2NdItems?: Array<Fp2NdItem>; } /** * 侵犯 */ export interface InvasiveV2 { /** * 索引 注意:此字段可能返回 null,表示取不到有效值。 */ Index?: Array<number | bigint>; /** * 部位 注意:此字段可能返回 null,表示取不到有效值。 */ Part?: Part; /** * 阴性或阳性 注意:此字段可能返回 null,表示取不到有效值。 */ Positive?: string; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 原文对应坐标 注意:此字段可能返回 null,表示取不到有效值。 */ Coords?: Array<Coord>; } /** * TextToObject请求参数结构体 */ export interface TextToObjectRequest { /** * 报告文本 */ Text: string; /** * 报告类型,目前支持12(检查报告),15(病理报告),28(出院报告),29(入院报告),210(门诊病历),212(手术记录),218(诊断证明),363(心电图),27(内窥镜检查),215(处方单),219(免疫接种证明),301(C14呼气试验)。如果不清楚报告类型,可以使用分类引擎,该字段传0(同时IsUsedClassify字段必须为True,否则无法输出结果) */ Type: number; /** * 是否使用分类引擎,当不确定报告类型时,可以使用收费的报告分类引擎服务。若该字段为False,则Type字段不能为0,否则无法输出结果。 注意:当 IsUsedClassify 为True 时,表示使用收费的报告分类服务,将会产生额外的费用,具体收费标准参见 [购买指南的产品价格](https://cloud.tencent.com/document/product/1314/54264)。 */ IsUsedClassify: boolean; /** * 后付费的用户类型,新客户传1,老客户可不传或传 0。2022 年 12 月 15 新增了计费项,在此时间之前已经通过商务指定优惠价格的大客户,请不传这个字段或传 0,如果传 1 会导致以前获得的折扣价格失效。在 2022 年 12 月 15 日之后,通过商务指定优惠价格的大客户请传 1。 */ UserType?: number; /** * 可选。用于指定不同报告使用的结构化引擎版本,不同版本返回的JSON 数据结果不兼容。若不指定版本号,就默认用旧的版本号。 (1)检验报告 11,默认使用 V2,最高支持 V3。 (2)病理报告 15,默认使用 V1,最高支持 V2。 (3)入院记录29、出院记录 28、病历记录 216、病程记录 217、门诊记录 210,默认使用 V1,最高支持 V2。 */ ReportTypeVersion?: Array<ReportTypeVersion>; } /** * 纵横比 */ export interface AspectRatio { /** * 原文位置 注意:此字段可能返回 null,表示取不到有效值。 */ Index: Array<number | bigint>; /** * 数值 注意:此字段可能返回 null,表示取不到有效值。 */ Number: string; /** * 关系 注意:此字段可能返回 null,表示取不到有效值。 */ Relation: string; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src: string; /** * 值 注意:此字段可能返回 null,表示取不到有效值。 */ Value: string; } /** * 个人史 */ export interface PersonalHistoryBlock { /** * 出生地 注意:此字段可能返回 null,表示取不到有效值。 */ BirthPlace?: BirthPlaceBlock; /** * 居住地 注意:此字段可能返回 null,表示取不到有效值。 */ LivePlace?: BirthPlaceBlock; /** * 职业 注意:此字段可能返回 null,表示取不到有效值。 */ Job?: BirthPlaceBlock; /** * 吸烟 注意:此字段可能返回 null,表示取不到有效值。 */ SmokeHistory?: SmokeHistoryBlock; /** * 喝酒 注意:此字段可能返回 null,表示取不到有效值。 */ AlcoholicHistory?: SmokeHistoryBlock; /** * 月经史 注意:此字段可能返回 null,表示取不到有效值。 */ MenstrualHistory?: MenstrualHistoryBlock; /** * 婚姻-生育史 注意:此字段可能返回 null,表示取不到有效值。 */ ObstericalHistory?: ObstetricalHistoryBlock; /** * 家族史 注意:此字段可能返回 null,表示取不到有效值。 */ FamilyHistory?: FamilyHistoryBlock; } /** * 新生儿信息 */ export interface NeonatalInfo { /** * 新生儿名字 注意:此字段可能返回 null,表示取不到有效值。 */ NeonatalName?: string; /** * 新生儿性别 注意:此字段可能返回 null,表示取不到有效值。 */ NeonatalGender?: string; /** * 出生身长 注意:此字段可能返回 null,表示取不到有效值。 */ BirthLength?: string; /** * 出生体重 注意:此字段可能返回 null,表示取不到有效值。 */ BirthWeight?: string; /** * 出生孕周 注意:此字段可能返回 null,表示取不到有效值。 */ GestationalAge?: string; /** * 出生时间 注意:此字段可能返回 null,表示取不到有效值。 */ BirthTime?: string; /** * 出生地点 注意:此字段可能返回 null,表示取不到有效值。 */ BirthPlace?: string; /** * 医疗机构 注意:此字段可能返回 null,表示取不到有效值。 */ MedicalInstitutions?: string; } /** * 大小 */ export interface Size { /** * 原文位置 注意:此字段可能返回 null,表示取不到有效值。 */ Index?: Array<number | bigint>; /** * 标准大小 注意:此字段可能返回 null,表示取不到有效值。 */ NormSize?: NormSize; /** * 原文 注意:此字段可能返回 null,表示取不到有效值。 */ Src?: string; /** * 值 注意:此字段可能返回 null,表示取不到有效值。 */ Value?: string; /** * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ Name?: string; } /** * 眼科结构体 */ export interface EyeItem { /** * 左眼 注意:此字段可能返回 null,表示取不到有效值。 */ Left?: EyeChildItem; /** * 右眼 注意:此字段可能返回 null,表示取不到有效值。 */ Right?: EyeChildItem; /** * 瞳距 注意:此字段可能返回 null,表示取不到有效值。 */ Pd?: BaseItem2; } /** * 家族疾病史 */ export interface FamilyMedicalHistory { /** * 家族成员史 注意:此字段可能返回 null,表示取不到有效值。 */ RelativeHistory: string;