tencentcloud-sdk-nodejs
Version:
3,480 lines (3,478 loc) • 122 kB
TypeScript
/**
* 检验报告
*/
export interface Indicator {
/**
* 检验指标项
*/
Indicators?: Array<IndicatorItem>;
/**
* 检验报告块标题
*/
BlockTitle?: Array<BlockTitle>;
/**
* 数据在原PDF文件中的第几页
*/
Page?: number;
}
/**
* 末次月经
*/
export interface LastMenstrualPeriodBlock {
/**
* 名称
*/
Name?: string;
/**
* 原文
*/
Src?: string;
/**
* 归一化值
*/
Norm?: string;
/**
* 类型
*/
Type?: string;
/**
* 时间戳
*/
Timestamp?: string;
/**
* 单位
*/
Unit?: string;
/**
* 对外输出值
*/
Value?: string;
}
/**
* 免疫接种记录
*/
export interface Vaccination {
/**
* 序号
*/
Id?: string;
/**
* 疫苗名称
*/
Vaccine?: string;
/**
* 剂次
*/
Dose?: string;
/**
* 接种日期
*/
Date?: string;
/**
* 疫苗批号
*/
LotNumber?: string;
/**
* 生产企业
*/
Manufacturer?: string;
/**
* 接种单位
*/
Clinic?: string;
/**
* 接种部位
*/
Site?: string;
/**
* 接种者
*/
Provider?: string;
/**
* 疫苗批号
*/
Lot?: string;
}
/**
* 预防用生物制品说明书
*/
export interface BiologicalProductInfo {
/**
* 药品名称,包括通用名和商品名
*/
Name?: BiologicalProductInfoName;
/**
* 成份和性状
*/
IngredientAndAppearance?: BiologicalProductInfoIngredientAndAppearance;
/**
* 接种对象
*/
VaccinationTarget?: BiologicalProductInfoVaccinationTarget;
/**
* 作用与用途
*/
Indications?: BiologicalProductInfoIndications;
/**
* 规格
*/
Brochure?: BiologicalProductInfoBrochure;
/**
* 免疫程序和剂量
*/
Dosage?: BiologicalProductInfoDosage;
/**
* 不良反应
*/
AdverseReaction?: BiologicalProductInfoAdverseReaction;
/**
* 禁忌情况
*/
Contraindications?: BiologicalProductInfoContraindications;
/**
* 注意事项
*/
Precautions?: BiologicalProductInfoPrecautions;
/**
* 储存条件
*/
Storage?: BiologicalProductInfoStorage;
/**
* 包装信息
*/
Packaging?: BiologicalProductInfoPackaging;
/**
* 有效期
*/
ValidityPeriod?: BiologicalProductInfoValidityPeriod;
/**
* 执行标准
*/
ExecutiveStandards?: BiologicalProductInfoExecutiveStandards;
/**
* 批准文号
*/
Approval?: BiologicalProductInfoApproval;
/**
* 生产企业名称和地址
*/
Manufacturer?: BiologicalProductInfoManufacturer;
}
/**
* 时间轴事件
*/
export interface TimelineEvent {
/**
* 事件类型
*/
Type?: string;
/**
* 原文本
*/
Src?: string;
/**
* 事件子类型
*/
SubType?: string;
/**
* 事件发生时间
*/
Time?: string;
/**
* 事件值
*/
Value?: string;
/**
* 位置坐标
*/
Rectangle?: Rectangle;
/**
* 事件发生地点
*/
Place?: string;
/**
* 结束时间
*/
EndTime?: string;
}
/**
* 适应症描述
*/
export interface ChemicalProductInfoIndications {
/**
* 文本
*/
Text?: string;
}
/**
* 注意事项
*/
export interface BiologicalProductInfoPrecautions {
/**
* 文本内容
*/
Text?: string;
}
/**
* ImageMask返回参数结构体
*/
export interface ImageMaskResponse {
/**
* 脱敏后图片的Base64信息
*/
MaskedImage?: string;
/**
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* IHC块
*/
export interface IHCBlock {
/**
* 索引
*/
Index?: Array<number | bigint>;
/**
* 原文
*/
Src?: string;
/**
* 名称
*/
Name?: string;
/**
* 具体值
*/
Value?: ValueBlock;
/**
* 坐标
*/
Coords?: Array<Coord>;
}
/**
* 体检报告-妇科-阴道
*/
export interface GynaecologyVagina {
/**
* 阴道总体描述
*/
Text?: KeyValueItem;
}
/**
* 体温名称
*/
export interface BodyTemperatureBlock {
/**
* 名称
*/
Name?: string;
/**
* 原文
*/
Src?: string;
/**
* 归一化值
*/
Norm?: string;
/**
* 单位
*/
Unit?: string;
/**
* 对外输出值
*/
Value?: string;
}
/**
* 病理详细
*/
export interface PathologicalDiagnosisDetailBlock {
/**
* 部位
*/
Part?: string;
/**
* 类型
*/
HistologicalType?: string;
/**
* 等级
*/
HistologicalGrade?: string;
}
/**
* ImageToObject请求参数结构体
*/
export interface ImageToObjectRequest {
/**
* 报告类型,目前支持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;
/**
* 图片处理参数
*/
HandleParam?: HandleParam;
/**
* 图片列表,目前只支持传入一张图片,需要是图片base64编码,图片url暂不支持
*/
ImageInfoList?: Array<ImageInfo>;
/**
* 后付费的用户类型,新客户传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>;
/**
* 可选。 图片OCR信息列表,每一个元素是一张图片的OCR结果。适用于不想将医疗报告图片传入腾讯云的客户,客户可对图片OCR信息中的敏感信息去除之后再传入。与 ImageInfoList 二选一,同时存在则使用OcrInfoList
*/
OcrInfoList?: Array<OcrInfo>;
}
/**
* 储存条件
*/
export interface ChemicalProductInfoStorage {
/**
* 文本
*/
Text?: string;
}
/**
* 分子病理
*/
export interface Molecular {
/**
* 索引
*/
Index?: Array<number | bigint>;
/**
* 原文
*/
Src?: string;
/**
* 基因名称标注化
*/
Name?: string;
/**
* 分子病理详细信息
*/
Value?: MolecularValue;
/**
* 原文对应坐标
*/
Coords?: Array<Coord>;
}
/**
* 体检报告-眼科-色觉
*/
export interface OphthalmologyColourVision {
/**
* 色觉总体描述
*/
Text?: KeyValueItem;
}
/**
* 结节
*/
export interface TuberInfo {
/**
* 类型
*/
Type?: BlockInfo;
/**
* 部位
*/
Part?: Part;
/**
* 大小
*/
Size?: Array<Size>;
/**
* 多发
*/
Multiple?: Multiple;
/**
* 纵横比
*/
AspectRatio?: AspectRatio;
/**
* 边缘
*/
Edge?: BlockInfo;
/**
* 内部回声
*/
InnerEcho?: BlockInfo;
/**
* 外部回声
*/
RearEcho?: BlockInfo;
/**
* 弹性质地
*/
Elastic?: Elastic;
/**
* 形状
*/
Shape?: BlockInfo;
/**
* 形态
*/
ShapeAttr?: BlockInfo;
/**
* 皮髓质信息
*/
SkinMedulla?: BlockInfo;
/**
* 变化趋势
*/
Trend?: BlockInfo;
/**
* 钙化
*/
Calcification?: BlockInfo;
/**
* 包膜
*/
Envelope?: BlockInfo;
/**
* 强化
*/
Enhancement?: BlockInfo;
/**
* 淋巴结
*/
LymphEnlargement?: BlockInfo;
/**
* 淋巴门
*/
LymphDoor?: BlockInfo;
/**
* 活动度
*/
Activity?: BlockInfo;
/**
* 手术情况
*/
Operation?: BlockInfo;
/**
* 血液cdfi
*/
CDFI?: BlockInfo;
/**
* 原文位置
*/
Index?: Array<number | bigint>;
/**
* 大小状态
*/
SizeStatus?: BlockInfo;
/**
* 内部回声分布
*/
InnerEchoDistribution?: BlockInfo;
/**
* 内部回声类型
*/
InnerEchoType?: Array<BlockInfo>;
/**
* 轮廓
*/
Outline?: BlockInfo;
/**
* 结构
*/
Structure?: BlockInfo;
/**
* 密度
*/
Density?: BlockInfo;
/**
* 血管
*/
Vas?: BlockInfo;
/**
* 囊壁
*/
Cysticwall?: BlockInfo;
/**
* 被膜
*/
Capsule?: BlockInfo;
/**
* 峡部厚度
注意:此字段可能返回 null,表示取不到有效值。
* @deprecated
*/
IsthmusThicknese?: Size;
/**
* 原文
*/
Src?: string;
/**
* 透声度
*/
Transparent?: BlockInfo;
/**
* MRI ADC
*/
MriAdc?: BlockInfo;
/**
* MRI DWI
*/
MriDwi?: BlockInfo;
/**
* MRI T1信号
*/
MriT1?: BlockInfo;
/**
* MRI T2信号
*/
MriT2?: BlockInfo;
/**
* CT HU值
*/
CtHu?: BlockInfo;
/**
* SUmax值
*/
Suvmax?: BlockInfo;
/**
* 代谢情况
*/
Metabolism?: BlockInfo;
/**
* 放射性摄取
*/
RadioactiveUptake?: BlockInfo;
/**
* 病变
*/
SymDesc?: BlockInfo;
/**
* 影像特征
*/
ImageFeature?: BlockInfo;
/**
* 在报告图片中的坐标
*/
Coords?: Array<Coord>;
/**
* 峡部厚度
*/
IsthmusThickness?: Size;
}
/**
* 手术列表
*/
export interface SurgeryListBlock {
/**
* 时间
*/
Time?: string;
/**
* 类型
*/
TimeType?: string;
/**
* 名称
*/
Name?: Array<string>;
/**
* 部位
*/
Part?: string;
}
/**
* 体检报告V1版本
*/
export interface PhysicalExaminationV1 {
/**
* 体检报告信息
*/
PhysicalExaminationMulti?: PhysicalExamination;
/**
* 版本
*/
Version?: string;
}
/**
* 多发
*/
export interface Multiple {
/**
* 原文位置
*/
Index?: Array<number | bigint>;
/**
* 原文
*/
Src?: string;
/**
* 值
*/
Value?: string;
/**
* 数量
*/
Count?: number;
/**
* 名称
*/
Name?: string;
}
/**
* 出入院信息
*/
export interface Hospitalization {
/**
* 入院时间
*/
AdmissionTime?: string;
/**
* 出院时间
*/
DischargeTime?: string;
/**
* 住院天数
*/
AdmissionDays?: string;
/**
* 入院诊断
注意:此字段可能返回 null,表示取不到有效值。
* @deprecated
*/
AdmissionDignosis?: string;
/**
* 入院情况
*/
AdmissionCondition?: string;
/**
* 诊疗经过
*/
DiagnosisTreatment?: string;
/**
* 出院诊断
*/
DischargeDiagnosis?: string;
/**
* 出院医嘱
*/
DischargeInstruction?: string;
/**
* 入院诊断
*/
AdmissionDiagnosis?: string;
/**
* 数据在原PDF文件中的第几页
*/
Page?: number;
}
/**
* 查体
*/
export interface BodyExaminationBlock {
/**
* 体温
*/
BodyTemperature?: BodyTemperatureBlock;
/**
* 脉搏
*/
Pulse?: BodyTemperatureBlock;
/**
* 呼吸
*/
Breathe?: BodyTemperatureBlock;
/**
* 血压
*/
BloodPressure?: BloodPressureBlock;
}
/**
* 建议
*/
export interface Advice {
/**
* 文本
*/
Text?: string;
}
/**
* 报告类型
*/
export interface Report {
/**
* 项目名称
*/
Name?: string;
/**
* 索引
*/
Index?: Array<number | bigint>;
/**
* 原文
*/
Src?: string;
/**
* 报告类型
*/
Value?: string;
/**
* 原文对应坐标
*/
Coords?: Array<Coord>;
}
/**
* 出生地
*/
export interface BirthPlaceBlock {
/**
* 名称
*/
Name?: string;
/**
* 原文
*/
Src?: string;
/**
* 对外输出值
*/
Value?: string;
}
/**
* 体检报告-小结
*/
export interface GeneralExaminationBriefSummary {
/**
* 一般检查小结
*/
Text?: KeyValueItem;
}
/**
* pTNM
*/
export interface PTNM {
/**
* 项目名称
*/
Name?: string;
/**
* 索引
*/
Index?: Array<number | bigint>;
/**
* 原文
*/
Src?: string;
/**
* 归一化值
*/
Value?: string;
/**
* pT
*/
PT?: string;
/**
* pN
*/
PN?: string;
/**
* pM
*/
PM?: string;
/**
* 原文对应坐标
*/
Coords?: Array<Coord>;
}
/**
* 检验报告结构
*/
export interface TableIndicators {
/**
* 项目列表
*/
Indicators?: Array<IndicatorItemV2>;
/**
* 采样标本
*/
Sample?: BaseItem;
}
/**
* 用法用量
*/
export interface ChemicalProductInfoDosage {
/**
* 文本
*/
Text?: string;
}
/**
* 块信息
*/
export interface BlockInfoV2 {
/**
* 原文位置
*/
Index?: Array<number | bigint>;
/**
* 原文
*/
Src?: string;
/**
* 值
*/
Value?: string;
/**
* 名称
*/
Name?: string;
/**
* 疾病编码
*/
Code?: string;
}
/**
* ImageMaskAsyncGetResult返回参数结构体
*/
export interface ImageMaskAsyncGetResultResponse {
/**
* 脱敏后图片的base64编码
*/
MaskedImage?: string;
/**
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 淋巴
*/
export interface Lymph {
/**
* 原文
*/
Src?: string;
/**
* 原文位置
*/
Index?: Array<number | bigint>;
/**
* 部位
*/
Part?: Part;
/**
* 总数
*/
Total?: number;
/**
* 转移数
*/
TransferNum?: number;
}
/**
* 批准文号
*/
export interface BiologicalProductInfoApproval {
/**
* 文本内容
*/
Text?: string;
}
/**
* ImageMaskAsync请求参数结构体
*/
export interface ImageMaskAsyncRequest {
/**
* 图片信息,目前只支持传图片base64
*/
Image: ImageInfo;
/**
* 图片脱敏选项, 不传默认都脱敏
*/
MaskFlag?: ImageMaskFlags;
/**
* 是否自动矫正图片方向
*/
AutoFixImageDirection?: boolean;
}
/**
* 基础类型
*/
export interface BaseItem {
/**
* 类型名称
*/
Name?: string;
/**
* 原始文本
*/
Src?: string;
/**
* 归一化后值
*/
Value?: string;
/**
* 别名
*/
Alias?: string;
/**
* 四点坐标
*/
Coords?: Array<Coord>;
}
/**
* 体检报告-口腔科-牙周
*/
export interface StomatologyPeriodontics {
/**
* 牙周总体描述
*/
Text?: KeyValueItem;
}
/**
* 体检报告-耳鼻喉科
*/
export interface OtolaryngologyBaseItem {
/**
* 耳朵
*/
Ear?: OtolaryngologyEar;
/**
* 鼻
*/
Nose?: OtolaryngologyNose;
/**
* 喉
*/
Larynx?: OtolaryngologyLarynx;
/**
* 耳鼻喉其他
*/
Others?: Array<KeyValueItem>;
/**
* 小结
*/
BriefSummary?: OtolaryngologyBriefSummary;
}
/**
* 病案首页第二页
*/
export interface Fp2NdItem {
/**
* 手术编码
*/
Code?: BaseItem;
/**
* 手术名称
*/
Name?: BaseItem;
/**
* 手术开始时间
*/
StartTime?: BaseItem;
/**
* 手术结束时间
*/
EndTime?: BaseItem;
/**
* 手术等级
*/
Level?: BaseItem;
/**
* 手术类型
*/
Type?: BaseItem;
/**
* 醉愈合方式
*/
IncisionHealingGrade?: BaseItem;
/**
* 麻醉方法
*/
AnesthesiaMethod?: BaseItem;
}
/**
* 体检报告-外科-浅表淋巴结
*/
export interface SurgeryLymphNode {
/**
* 浅表淋巴结总体描述
*/
Text?: KeyValueItem;
}
/**
* 体检报告-外科-头颈部
*/
export interface SurgeryHeadNeck {
/**
* 头颈部总体描述
*/
Text?: KeyValueItem;
}
/**
* 禁忌情况
*/
export interface BiologicalProductInfoContraindications {
/**
* 文本内容
*/
Text?: string;
}
/**
* 体检报告-妇科-盆腔
*/
export interface GynaecologyPelvicCavity {
/**
* 盆腔总体描述
*/
Text?: KeyValueItem;
}
/**
* 性状
*/
export interface ChemicalProductInfoAppearance {
/**
* 文本
*/
Text?: string;
}
/**
* 药代动力学
*/
export interface ChemicalProductInfoPharmacokinetics {
/**
* 文本
*/
Text?: string;
}
/**
* 月经经期
*/
export interface MenstrualPeriodBlock {
/**
* 名称
*/
Name?: string;
/**
* 原文
*/
Src?: string;
/**
* 归一化值
*/
Norm?: string;
/**
* 类型
*/
Type?: string;
/**
* 时间戳
*/
Timestamp?: string;
/**
* 单位
*/
Unit?: string;
/**
* 对外输出值
*/
Value?: string;
}
/**
* 包装信息
*/
export interface ChemicalProductInfoPackaging {
/**
* 文本
*/
Text?: string;
}
/**
* 体检报告-内科-血管
*/
export interface InternalMedicineVessel {
/**
* 血管总体描述
*/
Text?: KeyValueItem;
/**
* 血管杂音
*/
VascularMurmur?: KeyValueItem;
/**
* 外周血管
*/
PeripheralVessel?: KeyValueItem;
}
/**
* 体检报告-眼科-裸眼视力
*/
export interface OphthalmologyBareEyeSight {
/**
* 左眼视力
*/
LeftEyeVisual?: KeyValueItem;
/**
* 裸眼视力
*/
Text?: KeyValueItem;
/**
* 右眼视力
*/
RightEyeVisual?: KeyValueItem;
}
/**
* 值
*/
export interface Value {
/**
* 等级
*/
Grade?: string;
/**
* 百分比
*/
Percent?: Array<number>;
/**
* 阳性
*/
Positive?: string;
}
/**
* 既往史
*/
export interface MainDiseaseHistoryBlock {
/**
* 名称
*/
Name?: string;
/**
* 原文
*/
Src?: string;
/**
* 状态
*/
State?: boolean;
/**
* 对外输出值
*/
Value?: string;
/**
* 否定列表
*/
Neglist?: NeglistBlock;
/**
* 肯定列表
*/
Poslist?: PoslistBlock;
}
/**
* 疾病史
*/
export interface DiseaseMedicalHistory {
/**
* 主病史
*/
MainDiseaseHistory?: string;
/**
* 过敏史
*/
AllergyHistory?: string;
/**
* 传染疾病史
*/
InfectHistory?: string;
/**
* 手术史
*/
OperationHistory?: string;
/**
* 输血史
*/
TransfusionHistory?: string;
}
/**
* 药物史
*/
export interface DrugHistoryBlock {
/**
* 药品名称
*/
Name?: string;
/**
* 原文
*/
Src?: string;
/**
* 药物列表
*/
DrugList?: Array<DrugListBlock>;
/**
* 归一化值
*/
Value?: string;
}
/**
* 药品说明书消息定义
*/
export interface ChemicalProductInfo {
/**
* 药品名称,包括通用名和商品名
*/
Name?: ChemicalProductInfoName;
/**
* 活性成份消息定义,如果是复方制剂,可以不列出每个活性成份的详细信息
*/
ActiveIngredient?: ChemicalProductInfoActiveIngredient;
/**
* 性状
*/
Appearance?: ChemicalProductInfoAppearance;
/**
* 适应症描述
*/
Indications?: ChemicalProductInfoIndications;
/**
* 规格
*/
Brochure?: ChemicalProductInfoBrochure;
/**
* 用法用量
*/
Dosage?: ChemicalProductInfoDosage;
/**
* 不良反应
*/
AdverseReaction?: ChemicalProductInfoAdverseReaction;
/**
* 禁忌情况
*/
Contraindications?: ChemicalProductInfoContraindications;
/**
* 注意事项
*/
Precautions?: ChemicalProductInfoPrecautions;
/**
* 孕妇及哺乳期妇女用药
*/
PregnancyLactationUse?: ChemicalProductInfoPregnancyLactationUse;
/**
* 儿童用药
*/
PediatricUse?: ChemicalProductInfoPediatricUse;
/**
* 老年用药
*/
GeriatricUse?: ChemicalProductInfoGeriatricUse;
/**
* 药品的药物相互作用
*/
Interactions?: ChemicalProductInfoInteractions;
/**
* 药物过量
*/
Overdose?: ChemicalProductInfoOverdose;
/**
* 临床试验
*/
ClinicalTrial?: ChemicalProductInfoClinicalTrial;
/**
* 药理毒理
*/
PharmacologyToxicology?: ChemicalProductInfoPharmacologyToxicology;
/**
* 药代动力学
*/
Pharmacokinetics?: ChemicalProductInfoPharmacokinetics;
/**
* 储存条件
*/
Storage?: ChemicalProductInfoStorage;
/**
* 包装信息
*/
Packaging?: ChemicalProductInfoPackaging;
/**
* 有效期
*/
ValidityPeriod?: ChemicalProductInfoValidityPeriod;
/**
* 执行标准
*/
ExecutiveStandards?: ChemicalProductInfoExecutiveStandards;
/**
* 批准文号
*/
Approval?: ChemicalProductInfoApproval;
/**
* 生产企业名称和地址
*/
Manufacturer?: ChemicalProductInfoManufacturer;
}
/**
* 月经史
*/
export interface MenstrualHistoryDetailBlock {
/**
* 名称
*/
Name?: string;
/**
* 原文
*/
Src?: string;
/**
* 状态
*/
State?: string;
/**
* 归一化值
*/
Norm?: string;
/**
* 时间类型
*/
TimeType?: string;
/**
* 时间戳
*/
Timestamp?: string;
/**
* 单位
*/
Unit?: string;
/**
* 对外输出值
*/
Value?: string;
}
/**
* 体检报告-内科-腹部-胆囊
*/
export interface InternalMedicineAbdomenGallBladder {
/**
* 胆囊总体描述
*/
Src?: KeyValueItem;
/**
* 胆囊大小
*/
Size?: KeyValueItem;
/**
* 胆囊触诊
*/
Palpation?: KeyValueItem;
/**
* 胆囊叩诊
*/
Percussion?: KeyValueItem;
/**
* 胆囊压痛
*/
Tenderness?: KeyValueItem;
/**
* 胆囊质地
*/
Consistency?: KeyValueItem;
}
/**
* PTNM分期
*/
export interface PTNMBlock {
/**
* 名称
*/
Name?: string;
/**
* 原文
*/
Src?: string;
/**
* PTNM分期
*/
PTNMM?: string;
/**
* PTNM分期
*/
PTNMN?: string;
/**
* PTNM分期
*/
PTNMT?: string;
}
/**
* 体检报告-妇科-外阴
*/
export interface GynaecologyVulva {
/**
* 外阴总体描述
*/
Text?: KeyValueItem;
}
/**
* 图片完整的OCR信息
*/
export interface OcrInfo {
/**
* 图片进行OCR之后得到的所有包含字块的OCR信息
*/
Items?: Array<OcrItem>;
/**
* 图片进行OCR之后得到的所有字符
*/
Text?: string;
}
/**
* 核酸报告结论
*/
export interface CovidItemsInfo {
/**
* 核酸报告结论
*/
CovidItems?: Array<CovidItem>;
/**
* 版本号
*/
Version?: string;
/**
* 数据在原PDF文件中的第几页
*/
Page?: number;
}
/**
* 血压
*/
export interface BloodPressureBlock {
/**
* 名称
*/
Name?: string;
/**
* 原文
*/
Src?: string;
/**
* 归一化值
*/
Norm?: string;
/**
* 单位
*/
Unit?: string;
/**
* 对外输出值
*/
Value?: string;
/**
* 舒张压
*/
NormDiastolic?: string;
/**
* 收缩压
*/
NormSystolic?: string;
}
/**
* TurnPDFToObjectAsync请求参数结构体
*/
export interface TurnPDFToObjectAsyncRequest {
/**
* 体检报告PDF文件信息, 目前只支持传PDF文件的Base64编码字符(PDF文件不能超过10MB,如果超过建议先压缩PDF,再转成base64)
*/
PdfInfo: PdfInfo;
/**
* PDF文件中的文字是否为文本内容.
如果该字段为true,那么就会自动判断是电子版还是图片,自动选择直接读取文字还是 OCR 方式.
如果该字段为false, 那么始终采用 OCR 方式
*/
TextBasedPdfFlag?: boolean;
}
/**
* 组织学等级
*/
export interface HistologyLevel {
/**
* 等级
*/
Grade?: string;
/**
* 原文位置
*/
Index?: Array<number | bigint>;
/**
* 原文
*/
Src?: string;
}
/**
* 现病史
*/
export interface DiseasePresentBlock {
/**
* 名称
*/
Name?: string;
/**
* 原文
*/
Src?: string;
/**
* 值
*/
Value?: string;
/**
* 归一化
*/
Norm?: string;
}
/**
* 体检报告-外科-甲状腺
*/
export interface SurgeryThyroid {
/**
* 甲状腺总体描述
*/
Text?: KeyValueItem;
}
/**
* 孕产描述部分
*/
export interface MaternityDesc {
/**
* 胎儿数据结构
*/
Fetus?: Array<Fetus>;
/**
* 胎儿数量
*/
FetusNum?: FieldInfo;
/**
* 原文
*/
Text?: string;
/**
* 坐标
*/
Coords?: Array<Coord>;
}
/**
* 眼科报告结构体
*/
export interface EyeItemsInfo {
/**
* 眼科报告
*/
EyeItems?: EyeItem;
/**
* 版本号
*/
Version?: string;
/**
* 数据在原PDF文件中的第几页
*/
Page?: number;
}
/**
* 体检报告-外科-皮肤
*/
export interface SurgerySkin {
/**
* 皮肤总体描述
*/
Text?: KeyValueItem;
}
/**
* 检验指标项结构v2
*/
export interface IndicatorItemV2 {
/**
* 项目名称
*/
Item?: BaseItem;
/**
* 英文编码
*/
Code?: BaseItem;
/**
* 结果
*/
Result?: BaseItem;
/**
* 单位
*/
Unit?: BaseItem;
/**
* 参考范围
*/
Range?: BaseItem;
/**
* 上下箭头
*/
Arrow?: BaseItem;
/**
* 检测方法
*/
Method?: BaseItem;
/**
* 结果是否异常
*/
Normal?: boolean;
/**
* ID
*/
Id?: number;
/**
* 序号
*/
Order?: number;
/**
* 推测结果是否异常
*/
InferNormal?: string;
}
/**
* 图片进行OCR之后,包含字符块的信息,包含字符与坐标,一个图片进行OCR之后可能分为多个这样的块
*/
export interface OcrItem {
/**
* 图片中文字的字符串
*/
Words?: string;
/**
* Words 中每个文字的坐标数组,顺序与Words中的字符顺序一致
*/
Coords?: Array<Coordinate>;
/**
* 整个字符块的坐标信息
*/
WordCoords?: Coordinate;
}
/**
* 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。
*/
RequestId?: string;
}
/**
* 大小
*/
export interface NormSize {
/**
* 数量
*/
Number?: Array<string>;
/**
* 类型
*/
Type?: string;
/**
* 单位
*/
Unit?: string;
/**
* 归一化值
*/
Impl?: string;
}
/**
* 病案首页
*/
export interface FirstPage {
/**
* 出入院诊断
*/
DischargeDiagnosis?: Array<DischargeDiagnosis>;
/**
* 病理诊断
*/
PathologicalDiagnosis?: BlockInfo;
/**
* 临床诊断
*/
ClinicalDiagnosis?: BlockInfo;
/**
* 受伤中毒的外部原因
*/
DamagePoi?: BlockInfoV2;
/**
* 病案首页第二页
*/
Fp2NdItems?: Array<Fp2NdItem>;
/**
* 数据在原PDF文件中的第几页
*/
Page?: number;
}
/**
* TextToObject返回参数结构体
*/
export interface TextToObjectResponse {
/**
* 报告结构化结果
*/
Template?: Template;
/**
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 手术经过
*/
export interface SurgeryConditionBlock {
/**
* 名称
*/
Name?: string;
/**
* 原文
*/
Src?: string;
/**
* 手术历史
*/
SurgeryList?: Array<SurgeryListBlock>;
/**
* 对外输出值
*/
Value?: string;
}
/**
* 通用块信息
*/
export interface FieldInfo {
/**
* 名称
*/
Name?: string;
/**
* 值
*/
Value?: string;
/**
* 数值
*/
Nums?: Array<NumValue>;
/**
* 原文
*/
Src?: string;
}
/**
* 详情
*/
export interface DetailInformation {
/**
* 部位
*/
Part?: Part;
/**
* 组织大小
*/
TissueSizes?: Array<Size>;
/**
* 结节大小
*/
TuberSizes?: Array<Size>;
/**
* 肿瘤大小
*/
CancerSizes?: Array<Size>;
/**
* 组织学等级
*/
HistologyLevel?: BaseInfo;
/**
* 组织学类型
*/
HistologyType?: HistologyTypeV2;
/**
* 侵犯
*/
Invasive?: Array<InvasiveV2>;
/**
* pTNM
*/
PTNM?: PTNM;
/**
* 浸润深度
*/
InfiltrationDepth?: BaseInfo;
/**
* 结节数量
*/
TuberNum?: BaseInfo;
/**
* 钙化
*/
Calcification?: BaseInfo;
/**
* 坏死
*/
Necrosis?: BaseInfo;
/**
* 异形
*/
Abnormity?: BaseInfo;
/**
* 断链
*/
Breaked?: BaseInfo;
}
/**
* 孕产结论部分
*/
export interface MaternitySummary {
/**
* 胎儿数据结构
*/
Fetus?: Array<Fetus>;
/**
* 胎儿数量
*/
FetusNum?: FieldInfo;
/**
* 病变
*/
Sym?: Array<FieldInfo>;
/**
* 原文
*/
Text?: string;
/**
* 坐标
*/
Coords?: Array<Coord>;
}
/**
* 出入院诊断
*/
export interface DischargeDiagnosis {
/**
* 表格位置
*/
TableIndex?: number;
/**
* 出院诊断
*/
OutDiagnosis?: BlockInfo;
/**
* 疾病编码
*/
DiseaseCode?: BlockInfo;
/**
* 入院情况
*/
InStatus?: BlockInfo;
/**
* 出院情况
*/
OutStatus?: BlockInfo;
}
/**
* 输血史
*/
export interface TransfusionHistoryBlock {
/**
* 名称
*/
Name?: string;
/**
* 原文
*/
Src?: string;
/**
* 状态
*/
State?: boolean;
/**
* 值
*/
Value?: string;
}
/**
* 分子病理详细信息
*/
export interface MolecularValue {
/**
* 外显子
*/
Exon?: string;
/**
* 点位
*/
Position?: string;
/**
* 类型
*/
Type?: string;
/**
* 阳性或阴性
*/
Positive?: string;
/**
* 基因名称原文
*/
Src?: string;
}
/**
* 主诉详情
*/
export interface ChiefComplaintDetailBlock {
/**
* 疾病名称
*/
DiseaseName?: string;
/**
* 部位
*/
Part?: string;
/**
* 时间
*/
Time?: string;
/**
* 时间类型
*/
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。
*/
RequestId?: string;
}
/**
* 体检报告-内科-心脏
*/
export interface InternalMedicineHeart {
/**
* 心脏总体描述
*/
Text?: KeyValueItem;
/**
* 心律
*/
HeartRhythm?: KeyValueItem;
/**
* 心率
*/
HeartRate?: ValueUnitItem;
/**
* 心脏听诊
*/
HeartAuscultation?: KeyValueItem;
}
/**
* 报告基本信息
*/
export interface ReportInfo {
/**
* 医院名称
*/
Hospital?: string;
/**
* 科室名称
*/
DepartmentName?: string;
/**
* 申请时间
*/
BillingTime?: string;
/**
* 报告时间
*/
ReportTime?: string;
/**
* 检查时间
*/
InspectTime?: string;
/**
* 检查号
*/
CheckNum?: string;
/**
* 影像号
*/
ImageNum?: string;
/**
* 放射号
*/
RadiationNum?: string;
/**
* 检验号
*/
TestNum?: string;
/**
* 门诊号
*/
OutpatientNum?: string;
/**
* 病理号
*/
PathologyNum?: string;
/**
* 住院号
*/
InHospitalNum?: string;
/**
* 样本号
*/
SampleNum?: string;
/**
* 标本种类
*/
SampleType?: string;
/**
* 病历号
*/
MedicalRecordNum?: string;
/**
* 报告名称
*/
ReportName?: string;
/**
* 超声号
*/
UltraNum?: string;
/**
* 临床诊断
*/
Diagnose?: string;
/**
* 检查项目
*/
CheckItem?: string;
/**
* 检查方法
*/
CheckMethod?: string;
/**
* 诊断时间
*/
DiagnoseTime?: string;
/**
* 体检号
*/
HealthCheckupNum?: string;
/**
* 其它时间
*/
OtherTime?: string;
/**
* 打印时间
*/
PrintTime?: string;
/**
* 未归类时间
*/
Times?: Array<Time>;
/**
* 床号
*/
BedNo?: string;
}
/**
* 内窥镜报告
*/
export interface Endoscopy {
/**
* 活检部位
*/
BiopsyPart?: BiopsyPart;
/**
* 可见描述
*/
Desc?: EndoscopyDesc;
/**
* 结论
*/
Summary?: Summary;
/**
* 数据在原PDF文件中的第几页
*/
Page?: number;
}
/**
* TurnPDFToObjectAsyncGetResult返回参数结构体
*/
export interface TurnPDFToObjectAsyncGetResultResponse {
/**
* 报告结构化结果
*/
Template?: Template;
/**
* 多级分类结果
*/
TextTypeList?: Array<TextType>;
/**
* 报告结构化结果(体检报告PDF结构化接口返回的 json 内容非常多,建议通过本地代码调用)
*/
Block?: Block;
/**
* 是否使用Block字段
*/
IsBlock?: boolean;
/**
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 体检报告基础信息
*/
export interface PhysicalBaseItem {
/**
* 类型
*/
Name?: string;
/**
* 原始文本
*/
Src?: string;
/**
* 归一化后值
*/
Value?: string;
/**
* 四点坐标
*/
Coords?: Array<Coord>;
}
/**
* 规格
*/
export interface ChemicalProductInfoBrochure {
/**
* 文本
*/
Text?: string;
}
/**
* 组织学类型
*/
export interface HistologyTypeV2 {
/**
* 浸润
*/
Infiltration?: string;
/**
* 索引
*/
Index?: Array<number | bigint>;
/**
* 原文
*/
Src?: string;
/**
* 归一化后的组织学类型
*/
Type?: string;
/**
* 项目名称
*/
Name?: string;
/**
* 原文对应坐标
*/
Coords?: Array<Coord>;
}
/**
* 病理报告v2
*/
export interface PathologyV2 {
/**
* 报告类型
*/
PathologicalReportType?: Report;
/**
* 描述段落
*/
Desc?: DescInfo;
/**
* 诊断结论
*/
Summary?: SummaryInfo;
/**
* 报告全文
*/
ReportText?: string;
/**
* 淋巴结总计转移信息
*/
LymphTotal?: Array<LymphTotal>;
/**
* 单淋巴结转移信息
*/
LymphNodes?: Array<LymphNode>;
/**
* ihc信息
*/
Ihc?: Array<IHCV2>;
/**
* 临床诊断
*/
Clinical?: BaseInfo;
/**
* 是否癌前病变
*/
Precancer?: HistologyClass;
/**
* 是否恶性肿瘤
*/
Malignant?: HistologyClass;
/**
* 是否良性肿瘤
*/
Benigntumor?: HistologyClass;
/**
* 送检材料
*/
SampleType?: BaseInfo;
/**
* 淋巴结大小
*/
LymphSize?: Array<Size>;
/**
* 分子病理
*/
Molecular?: Array<Molecular>;
/**
* 数据在原PDF文件中的第几页
*/
Page?: number;
}
/**
* 块标题
*/
export interface BlockTitle {
/**
* name
*/
Name?: string;
/**
* src
*/
Src?: string;
/**
* value
*/
Value?: string;
}
/**
* 侵犯
*/
export interface InvasiveV2 {
/**
* 索引
*/
Index?: Array<number | bigint>;
/**
* 部位
*/
Part?: Part;
/**
* 阴性或阳性
*/
Positive?: string;
/**
* 原文
*/
Src?: string;
/**
* 原文对应坐标
*/
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 {
/**
* 原文位置
*/
Index?: Array<number | bigint>;
/**
* 数值
*/
Number?: string;
/**
* 关系
*/
Relation?: string;
/**
* 原文
*/
Src?: string;
/**
* 值
*/
Value?: string;
}
/**
* 个人史
*/
export interface PersonalHistoryBlock {
/**
* 出生地
*/
BirthPlace?: BirthPlaceBlock;
/**
* 居住地
*/
LivePlace?: BirthPlaceBlock;
/**
* 职业
*/
Job?: BirthPlaceBlock;
/**
* 吸烟
*/
SmokeHistory?: SmokeHistoryBlock;
/**
* 喝酒
*/
AlcoholicHistory?: SmokeHistoryBlock;
/**
* 月经史
*/
MenstrualHistory?: MenstrualHistoryBlock;
/**
* 婚姻-生育史
*/
ObstericalHistory?: ObstetricalHistoryBlock;
/**
* 家族史
*/
FamilyHistory?: FamilyHistoryBlock;
}
/**
* 新生儿信息
*/
export interface NeonatalInfo {
/**
* 新生儿名字
*/
NeonatalName?: string;
/**
* 新生儿性别
*/
NeonatalGender?: string;
/**
* 出生身长
*/
BirthLength?: string;
/**
* 出生体重
*/
BirthWeight?: string;
/**
* 出生孕周
*/
GestationalAge?: string;
/**
* 出生时间
*/
BirthTime?: string;
/**
* 出生地点
*/
BirthPlace?: string;
/**
* 医疗机构
*/
MedicalInstitutions?: string;
}
/**
* 眼科结构体
*/
export interface EyeItem {
/**
* 左眼
*/
Left?: EyeChildItem;
/**
* 右眼
*/
Right?: EyeChildItem;
/**
* 瞳距
*/
Pd?: BaseItem2;
}
/**
* 家族疾病史
*/
export interface FamilyMedicalHistory {
/**
* 家族成员史
*/
RelativeHistory?: string;
/**
* 家族肿瘤史
*/
RelativeCancerHistory?: string;
/**
* 家族遗传史
*/
GeneticHistory?: string;
}
/**
* 规格
*/
export interface BiologicalProductInfoBrochure {
/**
* 文本内容
*/
Text?: string;
}
/**
* 诊断证明
*/
export interface DiagCert {
/**
* 建议
*/
Advice?: Advice;
/**
* 诊断
*/
Diagnosis?: Array<DiagCertItem>;
/**
* 数据在原PDF文件中的第几页
*/
Page?: number;
}
/**
* 体检报告-眼科-矫正视力
*/
export interface OphthalmologyCorrectedVisualAcuity {
/**
* 左眼矫正视力
*/
LeftEyeVisual?: KeyValueItem;
/**
* 矫正视力
*/
Text?: KeyValueItem;
/**
* 右眼矫正视力
*/
RightEyeVisual?: KeyValueItem;
}
/**
* 血压
*/
export interface GeneralExaminationVitalSignBloodPressure {
/**
* 血压
*/
Text?: BloodPressureItem;
/**
* 收缩压/舒张压
*/
SystolicDiastolicPressure?: Array<BloodPressureItem>;
/**
* 收缩压
*/
SystolicPressure?: Array<BloodPressureItem>;
/**
* 舒张压
*/
DiastolicPressure?: Array<BloodPressureItem>;
}
/**
* 部位信息
*/
export interface Part {
/**
* 原文位置
*/
Index?: Array<number | bigint>;
/**
* 部位
*/
NormPart?: NormPart;
/**
* 原文
*/
Src?: string;
/**
* 值
*/
Value?: string;
/**
* 名称
*/
Name?: string;
/**
* 值
*/
ValueBrief?: string;
}
/**
* ImageToClass返回参数结构体
*/
export interface ImageToClassResponse {
/**
* 分类结果
*/
TextTypeList?: Array<TextType>;
/**
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 出院诊断
*/
export interface DischargeDiagnosisBlock {
/**
* 名称
*/
Name?: string;
/**
* 原文
*/
Src?: string;
/**
* 归一化值
*/
Norm?: string;
/**
* 对外输出值
*/
Value?: string;
}
/**
* 药物史
*/
export interface DrugListBlock {
/**
* 通用名称
*/
CommonName?: string;
/**
* 商品名称
*/
TradeName?: string;
/**
* 用法用量
*/
Dosage?: DosageBlock;
/**
* 值
*/
Value?: string;
}
/**
* 报告模板
*/
export interface Template {
/**
* 患者信息
*/
PatientInfo?: PatientInfo;
/**
* 报告信息
*/
ReportInfo?: ReportInfo;
/**
* 检查报告
*/
Check?: Check;
/**
* 病理报告
*/
Pathology?: PathologyReport;
/**
* 出院报告,入院报告,门诊病历
*/
MedDoc?: MedDoc;
/**
* 诊断证明
*/
DiagCert?: DiagCert;
/**
* 病案首页
*/
FirstPage?: FirstPage;
/**
* 检验报告
*/
Indicator?: Indicator;
/**
* 报告类型
*/
ReportType?: string;
/**
* 门诊病历信息
*/
MedicalRecordInfo?: MedicalRecordInfo;
/**
* 出入院信息
*/
Hospitalization?: Hospitalization;
/**
* 手术记录
*/
Surgery?: Surgery;
/**
* 心电图报告
*/
Electrocardiogram?: Electrocardiogram;
/**
* 内窥镜报告
*/
Endoscopy?: Endoscopy;
/**
* 处方单
*/
Prescription?: Prescription;
/**
* 疫苗接种凭证
*/
VaccineCertificate?: VaccineCertificate;
/**
* OCR文本
*/
OcrText?: string;
/**
* OCR拼接后文本
*/
OcrResult?: string;
/**
* 报告类型
*/
ReportTypeDesc?: string;
/**
* 病理报告v2
*/
PathologyV2?: PathologyV2;
/**
* 碳14尿素呼气试验
*/
C14?: Indicator;
/**
* 体检结论
*/
Exame?: Exame;
/**
* 出院报告v2,入院报告v2,门诊病历v2
*/
MedDocV2?: DischargeInfoBlock;
/**
* 检验报告v3
*/
IndicatorV3?: IndicatorV3;
/**
* 核酸报告
*/
Covid?: CovidItemsInfo;
/**
* 孕产报告
*/
Maternity?: Maternity;
/**
* 眼科报告
*/
Eye?: EyeItemsInfo;
/**
* 出生证明
*/
BirthCert?: BirthCert;
/**
* 时间轴
*/
Timeline?: TimelineInformation;
}
/**
* 体检报告-妇科-小结
*/
export interface GynaecologyBriefSummary {
/**
* 小结
*/
Text?: KeyValueItem;
}
/**
* 家庭成员
*/
export interface RelativeHistoryBlock {
/**
* 名称
*/
Name?: string;
/**
* 成员列表
*/
Detail?: Array<RelativeHistoryDetailBlock>;
/**
* 原文
*/
Src?: string;
/**
* 对外输出值
*/
Value?: string;
}
/**
* 内窥部位
*/
export interface EndoscopyOrgan {
/**
* 部位
*/
Part?: Part;
/**
* 原文位置
*/
Index?: Array<number | bigint>;
/**
* 原文
*/
Src?: string;
/**
* 部位别名
*/
PartAlias?: string;
/**
* 症状描述
*/
SymDescList?: Array<BlockInfo>;
/**
* 坐标
*/
Coords?: Array<Coord>;
}
/**
* 临床分期
*/
export interface ClinicalStaging {
/**
* 名称
*/
Name?: string;
/**
* 原文
*/
Src?: string;
/**
* 值
*/
Value?: string;
}
/**
* 体检报告-内科-腹部-胰腺
*/
export interface InternalMedicineAbdomenPancreas {
/**
* 胰腺总体描述
*/
Src?: KeyValueItem;
/**
* 胰腺大小
*/
Size?: KeyValueItem;
/**
* 胰腺触诊
*/
Palpation?: KeyValueItem;
/**
* 胰腺叩诊
*/
Percussion?: KeyValueItem;
/**
* 肝脏压痛
*/
Tenderness?: KeyValueItem;
/**
* 胰腺质地
*/
Consistency?: KeyValueItem;
}
/**
* 个人史
*/
export interface PersonalMedicalHistory {
/**
* 出生史
*/
BirthPlace?: string;
/**
* 居住史
*/
LivePlace?: string;
/**
* 工作史
*/
Job?: string;
/**
* 吸烟史
*/
SmokeHistory?: string;
/**
* 饮酒史
*/
AlcoholicHistory?: string;
}
/**
* 药物过量
*/
export interface ChemicalProductInfoOverdose {
/**
* 文本
*/
Text?: string;
}
/**
* 体检报告-内科-腹部
*/
export interface InternalMedicineAbdomen {
/**
* 内科腹部小结
*/
Text?: KeyValueItem;
/**
* 肝脏
*/
Liver?: InternalMedicineAbdomenLiver;
/**
* 胆囊
*/
GallBladder?: InternalMedicineAbdomenGallBladder;
/**
* 胰腺
*/
Pancreas?: InternalMedicineAbdomenPancreas;
/**
* 脾脏
*/
Spleen?: InternalMedicineAbdomenSpleen;
/**
* 肾脏
*/
Kidney?: InternalMedicineAbdomenKidney;
/**
* 腹部其他
*/
Others?: Array<KeyValueItem>;
}
/**
* DrugInstructionObject返回参数结构体
*/
export interface DrugInstructionObjectResponse {
/**
* 药品说明书消息定义
*/
ChemicalProductInfo?: ChemicalProductInfo;
/**
* 预防用生物制品说明书
*/
BiologicalProductInfo?: BiologicalProductInfo;
/**
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 吸烟史
*/
export interface SmokeHistoryBlock {
/**
* 名称
*/
Name?: string;
/**
* 原文
*/
Src?: string;
/**
* 时间单位
*/
TimeUnit?: string;
/**
* 时间归一化
*/
TimeNorm?: string;
/**
* 吸烟量
*/
Amount?: string;
/**
* 戒烟状态
*/
QuitState?: boolean;
/**
* 是否吸烟
*/
State?: boolean;
/**
* 对外输出值
*/
Value?: string;
}
/**
* 入院情况
*/
export interface AdmissionConditionBlock {
/**
* 名称
*/
Name?: string;
/**
* 原文
*/
Src?: string;
/**
* 对外输出值
*/
Value?: string;
}
/**
* 体检报告-口腔科-龋齿
*/
export interface StomatologyToothDecay {
/**
* 龋齿总体描述
*/
Text?: KeyValueItem;
}
/**
* TextToClass返回参数结构体
*/
export interface TextToClassResponse {
/**
* 分类结果
*/
TextTypeList?: Array<TextType>;
/**
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 药品的药物相互作用
*/
export interface ChemicalProductInfoInteractions {
/**
* 文本
*/
Text?: string;
}
/**
* 听力信息
*/
export interface HearingItem {
/**
* 类型
*/
Name?: string;
/**
* 项目原文
*/
Item?: PhysicalBaseItem;
/**
* 方位
*/
Location?: PhysicalBaseItem;
/**
* 描述
*/
Result?: PhysicalBaseItem;
}
/**
* 组织学类型
*/
export interface HistologyType {
/**
* 浸润
*/
Infiltration?: string;
/**
* 原文位置
*/
Index?: Array<number | bigint>;
/**
* 原文
*/
Src?: string;
/**
* 类型
*/
Type?: string;
}
/**
* 块信息
*/
export interface BlockInfo {
/**
* 原文位置
*/
Index?: Array<number | bigint>;
/**
* 阳性
*/
Positive?: string;
/**
* 原文
*/
Src?: string;
/**
* 值
*/
Value?: string;
/**
* 类型
*/
Type?: string;
/**
* 名称
*/
Name?: string;
/**
* 大小
*/
Size?: Array<Size>;
}
/**
* 手术记录
*/
export interface Surgery {
/**
* 手术史
*/
SurgeryHistory?: SurgeryHistory;
/**
* 其他信息
*/
OtherInfo?: OtherInfo;
/**
* 数据在原PDF文件中的第几页
*/
Page?: number;
}
/**
* 结构化信息
*/
export interface Block {
/**
* 诊断信息
*/
Check?: Array<Check>;
/**
* 病理报告
*/
Pathology?: Array<PathologyReport>;
/**
* 医学资料
*/
MedDoc?: Array<MedDoc>;
/**
* 诊断证明
*/
DiagCert?: Array<DiagCert>;
/**
* 病案首页
*/
FirstPage?: Array<FirstPage>;
/**
* 检验报告
*/
Indicator?: Array<Indicator>;
/**
* 门诊病历信息
*/
MedicalRecordInfo?: Array<MedicalRecordInfo>;
/**
* 出入院信息
*/
Hospitalization?: Array<Hospitalization>;
/**
* 手术记录
*/
Surgery?: Array<Surgery>;
/**
* 处方单
*/
Prescription?: Array<Prescription>;
/**
* 免疫接种证明
*/
VaccineCertificate?: Array<VaccineCertificate>;
/**
* 心电图
*/
Electrocardiogram?: Array<Electrocardiogram>;
/**
* 病理报告v2
*/
PathologyV2?: Array<PathologyV2>;
/**
* 内窥镜报告
*/
Endoscopy?: Array<Endoscopy>;
/**
* C14检验报告
*/
C14?: Array<Indicator>;
/**
* 体检结论
*/
Exame?: Array<Exame>;
/**
* 出入院结构体
*/
MedDocV2?: Array<DischargeInfoBlock>;
/**
* 检验报告v3
*/
IndicatorV3?: Array<IndicatorV3>;
/**
* 孕产报告
*/
Maternity?: Array<Maternity>;
/**
* 时间轴
*/
Timeline?: Array<TimelineInformation>;
/**
* 核酸报告结论
*/
Covid?: Array<CovidItemsInfo>;
/**
* 眼科报告结构体
*/
Eye?: Array<EyeItemsInfo>;
/**
* 出生证明结构化信息
*/
BirthCert?: Array<BirthCert>;
/**
* 文本类型列表
*/
TextTypeListBlocks?: Array<TextTypeListBlock>;
/**
* 体检报告信息
*/
PhysicalExamination?: PhysicalExaminationV1;
}
/**
* 文本类型
*/
export interface TextType {
/**
* 类别Id
*/
Id?: number;
/**
* 类别层级
*/
Level?: number;
/**
* 类别名
*/
Name?: string;
}
/**
* 心电图指标项
*/
export interface EcgItem {
/**
* 名称
*/
Name?: string;
/**
* 值
*/
Value?: string;
/**
* 单位
*/
Unit?: string;
/**
* 原文
*/
Src?: string;
}
/**
* 胎儿数据结构
*/
export interface Fetus {
/**
* 双顶径
*/
BPD?: FieldInfo;
/**
* 腹前后径
*/
APTD?: FieldInfo;
/**
* 腹左右径
*/
TTD?: FieldInfo;
/**
* 头臀径
*/
CRL?: FieldInfo;
/**
* 头围
*/
HC?: FieldInfo;
/**
* 腹围
*/
AC?: FieldInfo;
/**
* 股骨长
*/
FL?: FieldInfo;
/**
* 肱骨长
*/
HL?: FieldInfo;
/**
* 胎儿重量
*/
Weight?: FieldInfo;
/**
* 颈项透明层
*/
NT?: FieldInfo;
/**
* 脐动脉血流
*/
UmbilicalCord?: FieldInfo;
/**
* 羊水最大深度
*/
WaterDeep?: FieldInfo;
/**
* 羊水四象限测量
*/
WaterQuad?: FieldInfo;
/**
* 羊水指数
*/
AFI?: FieldInfo;
/**
* 胎心
*/
FHR?: FieldInfo;
/**
* 胎动
*/
Movement?: FieldInfo;
/**
* 胎数
*/
Num?: FieldInfo;
/**
* 胎位
*/
Position?: FieldInfo;
/**
* 是否活胎
*/
Alive?: FieldInfo;
/**
* 胎盘位置
*/
PlacentaLocation?: FieldInfo;
/**
* 胎盘厚度
*/
PlacentaThickness?: FieldInfo;
/**
* 胎盘成熟度
*/
PlacentaGrade?: FieldInfo;
/**
* 妊娠时间
*/
GestationTime?: FieldInfo;
/**
* 妊娠周期
*/
GestationPeriod?: FieldInfo;
/**
* 绕颈
*/
AroundNeck?: FieldInfo;
/**
* 病变
*/
Sym?: Array<FieldInfo>;
/**
* 原文内容
*/
Src?: string;
}
/**
* 体检报告-耳鼻喉科-耳朵
*/
export interface OtolaryngologyEar {
/**
* 耳总体描述
*/
Text?: KeyValueItem;
/**
* 听力
*/
Hearing?: HearingItem;
}
/**
* 图片信息
*/
export interface ImageInfo {
/**
* 图片id
*/
Id?: number;
/**
* 图片url(暂不支持传图片Url信息,请使用Base64字段传递图片的Base64编码)
*/
Url?: string;
/**
* 图片base64编码
*/
Base64?: string;
}
/**
* 心电图详情
*/
export interface EcgDescription {
/**
* 心率
*/
HeartRate?: EcgItem;
/**
* 心房率
*/
AuricularRate?: EcgItem;
/**
* 心室率
*/
VentricularRate?: EcgItem;
/**
* 节律
*/
Rhythm?: EcgItem;
/**
* P波时间
*/
PDuration?: EcgItem;
/**
* QRS时间
*/
QrsDuration?: EcgItem;
/**
* QRS电轴
*/
QrsAxis?: EcgItem;
/**
* P-R间期
*/
PRInterval?: EcgItem;
/**
* P-P间期
*/
PPInterval?: EcgItem;
/**
* R-