Amazon Comprehend Medical 新增本体链接功能(二)
- 2019-12-20
本文字数:10018 字
阅读完需:约 33 分钟
正如预期,诊断结论和症状都被识别为实体。在详细的结果中,这些实体均链接到 ICD-10-CM 本体中的医疗状况。例如,输入文本中描述的两个主要诊断结论是排名最高的结果,而本体中的特定概念由 Comprehend Medical 推断得来,每个概念都有其自己的分数。
在生产环境中,您可以通过 API 使用 Comprehend Medical,将这些功能集成到您的处理工作流程中。上述所有屏幕截图均以 JSON 格式直观地呈现了 API 返回的结构化信息。例如,以下是检测药物的结果(RxNorm 概念):
Json
{
"Entities": [
{
"Id": 0,
"Text": "Clonidine",
"Category": "MEDICATION",
"Type": "GENERIC_NAME",
"Score": 0.9933062195777893,
"BeginOffset": 83,
"EndOffset": 92,
"Attributes": [],
"Traits": [],
"RxNormConcepts": [
{
"Description": "Clonidine",
"Code": "2599",
"Score": 0.9148101806640625
},
{
"Description": "168 HR Clonidine 0.00417 MG/HR Transdermal System",
"Code": "998671",
"Score": 0.8215734958648682
},
{
"Description": "Clonidine Hydrochloride 0.025 MG Oral Tablet",
"Code": "892791",
"Score": 0.7519310116767883
},
{
"Description": "10 ML Clonidine Hydrochloride 0.5 MG/ML Injection",
"Code": "884225",
"Score": 0.7171697020530701
},
{
"Description": "Clonidine Hydrochloride 0.2 MG Oral Tablet",
"Code": "884185",
"Score": 0.6776907444000244
}
]
},
{
"Id": 1,
"Text": "Vyvanse",
"Category": "MEDICATION",
"Type": "BRAND_NAME",
"Score": 0.9995427131652832,
"BeginOffset": 148,
"EndOffset": 155,
"Attributes": [
{
"Type": "DOSAGE",
"Score": 0.9910679459571838,
"RelationshipScore": 0.9999822378158569,
"Id": 2,
"BeginOffset": 156,
"EndOffset": 162,
"Text": "50 mgs",
"Traits": []
},
{
"Type": "ROUTE_OR_MODE",
"Score": 0.9997182488441467,
"RelationshipScore": 0.9993833303451538,
"Id": 3,
"BeginOffset": 163,
"EndOffset": 165,
"Text": "po",
"Traits": []
},
{
"Type": "FREQUENCY",
"Score": 0.983681321144104,
"RelationshipScore": 0.9999642372131348,
"Id": 4,
"BeginOffset": 166,
"EndOffset": 184,
"Text": "at breakfast daily",
"Traits": []
}
],
"Traits": [],
"RxNormConcepts": [
{
"Description": "lisdexamfetamine dimesylate 50 MG Oral Capsule [Vyvanse]",
"Code": "854852",
"Score": 0.8883932828903198
},
{
"Description": "lisdexamfetamine dimesylate 50 MG Chewable Tablet [Vyvanse]",
"Code": "1871469",
"Score": 0.7482635378837585
},
{
"Description": "Vyvanse",
"Code": "711043",
"Score": 0.7041242122650146
},
{
"Description": "lisdexamfetamine dimesylate 70 MG Oral Capsule [Vyvanse]",
"Code": "854844",
"Score": 0.23675969243049622
},
{
"Description": "lisdexamfetamine dimesylate 60 MG Oral Capsule [Vyvanse]",
"Code": "854848",
"Score": 0.14077001810073853
}
]
},
{
"Id": 5,
"Text": "Clonidine",
"Category": "MEDICATION",
"Type": "GENERIC_NAME",
"Score": 0.9982216954231262,
"BeginOffset": 199,
"EndOffset": 208,
"Attributes": [
{
"Type": "STRENGTH",
"Score": 0.7696017026901245,
"RelationshipScore": 0.9999960660934448,
"Id": 6,
"BeginOffset": 209,
"EndOffset": 216,
"Text": "0.2 mgs",
"Traits": []
},
{
"Type": "DOSAGE",
"Score": 0.777644693851471,
"RelationshipScore": 0.9999927282333374,
"Id": 7,
"BeginOffset": 220,
"EndOffset": 236,
"Text": "1 and 1 / 2 tabs",
"Traits": []
},
{
"Type": "ROUTE_OR_MODE",
"Score": 0.9981689453125,
"RelationshipScore": 0.999950647354126,
"Id": 8,
"BeginOffset": 237,
"EndOffset": 239,
"Text": "po",
"Traits": []
},
{
"Type": "FREQUENCY",
"Score": 0.99753737449646,
"RelationshipScore": 0.9999889135360718,
"Id": 9,
"BeginOffset": 240,
"EndOffset": 243,
"Text": "qhs",
"Traits": []
}
],
"Traits": [],
"RxNormConcepts": [
{
"Description": "Clonidine Hydrochloride 0.2 MG Oral Tablet",
"Code": "884185",
"Score": 0.9600071907043457
},
{
"Description": "Clonidine Hydrochloride 0.025 MG Oral Tablet",
"Code": "892791",
"Score": 0.8955953121185303
},
{
"Description": "24 HR Clonidine Hydrochloride 0.2 MG Extended Release Oral Tablet",
"Code": "885880",
"Score": 0.8706559538841248
},
{
"Description": "12 HR Clonidine Hydrochloride 0.2 MG Extended Release Oral Tablet",
"Code": "1013937",
"Score": 0.786146879196167
},
{
"Description": "Chlorthalidone 15 MG / Clonidine Hydrochloride 0.2 MG Oral Tablet",
"Code": "884198",
"Score": 0.601354718208313
}
]
}
],
"ModelVersion": "0.0.0"
}
类似的,以下是检测医疗状况时的输出(ICD-10-CM 概念):
Json
{
"Entities": [
{
"Id": 0,
"Text": "coronary artery disease",
"Category": "MEDICAL_CONDITION",
"Type": "DX_NAME",
"Score": 0.9933860898017883,
"BeginOffset": 90,
"EndOffset": 113,
"Attributes": [],
"Traits": [
{
"Name": "DIAGNOSIS",
"Score": 0.9682672023773193
}
],
"ICD10CMConcepts": [
{
"Description": "Atherosclerotic heart disease of native coronary artery without angina pectoris",
"Code": "I25.10",
"Score": 0.8199513554573059
},
{
"Description": "Atherosclerotic heart disease of native coronary artery",
"Code": "I25.1",
"Score": 0.4950370192527771
},
{
"Description": "Old myocardial infarction",
"Code": "I25.2",
"Score": 0.18753206729888916
},
{
"Description": "Atherosclerotic heart disease of native coronary artery with unstable angina pectoris",
"Code": "I25.110",
"Score": 0.16535982489585876
},
{
"Description": "Atherosclerotic heart disease of native coronary artery with unspecified angina pectoris",
"Code": "I25.119",
"Score": 0.15222692489624023
}
]
},
{
"Id": 2,
"Text": "atrial fibrillation",
"Category": "MEDICAL_CONDITION",
"Type": "DX_NAME",
"Score": 0.9923409223556519,
"BeginOffset": 116,
"EndOffset": 135,
"Attributes": [],
"Traits": [
{
"Name": "DIAGNOSIS",
"Score": 0.9708861708641052
}
],
"ICD10CMConcepts": [
{
"Description": "Unspecified atrial fibrillation",
"Code": "I48.91",
"Score": 0.7011875510215759
},
{
"Description": "Chronic atrial fibrillation",
"Code": "I48.2",
"Score": 0.28612759709358215
},
{
"Description": "Paroxysmal atrial fibrillation",
"Code": "I48.0",
"Score": 0.21157972514629364
},
{
"Description": "Persistent atrial fibrillation",
"Code": "I48.1",
"Score": 0.16996538639068604
},
{
"Description": "Atrial premature depolarization",
"Code": "I49.1",
"Score": 0.16715925931930542
}
]
},
{
"Id": 3,
"Text": "hypertension",
"Category": "MEDICAL_CONDITION",
"Type": "DX_NAME",
"Score": 0.9993137121200562,
"BeginOffset": 138,
"EndOffset": 150,
"Attributes": [],
"Traits": [
{
"Name": "DIAGNOSIS",
"Score": 0.9734011888504028
}
],
"ICD10CMConcepts": [
{
"Description": "Essential (primary) hypertension",
"Code": "I10",
"Score": 0.6827990412712097
},
{
"Description": "Hypertensive heart disease without heart failure",
"Code": "I11.9",
"Score": 0.09846580773591995
},
{
"Description": "Hypertensive heart disease with heart failure",
"Code": "I11.0",
"Score": 0.09182810038328171
},
{
"Description": "Pulmonary hypertension, unspecified",
"Code": "I27.20",
"Score": 0.0866364985704422
},
{
"Description": "Primary pulmonary hypertension",
"Code": "I27.0",
"Score": 0.07662317156791687
}
]
},
{
"Id": 4,
"Text": "hyperlipidemia",
"Category": "MEDICAL_CONDITION",
"Type": "DX_NAME",
"Score": 0.9998835325241089,
"BeginOffset": 153,
"EndOffset": 167,
"Attributes": [],
"Traits": [
{
"Name": "DIAGNOSIS",
"Score": 0.9702492356300354
}
],
"ICD10CMConcepts": [
{
"Description": "Hyperlipidemia, unspecified",
"Code": "E78.5",
"Score": 0.8378056883811951
},
{
"Description": "Disorders of lipoprotein metabolism and other lipidemias",
"Code": "E78",
"Score": 0.20186281204223633
},
{
"Description": "Lipid storage disorder, unspecified",
"Code": "E75.6",
"Score": 0.18514418601989746
},
{
"Description": "Pure hyperglyceridemia",
"Code": "E78.1",
"Score": 0.1438658982515335
},
{
"Description": "Other hyperlipidemia",
"Code": "E78.49",
"Score": 0.13983778655529022
}
]
},
{
"Id": 5,
"Text": "chills",
"Category": "MEDICAL_CONDITION",
"Type": "DX_NAME",
"Score": 0.9989762306213379,
"BeginOffset": 211,
"EndOffset": 217,
"Attributes": [],
"Traits": [
{
"Name": "SYMPTOM",
"Score": 0.9510533213615417
}
],
"ICD10CMConcepts": [
{
"Description": "Chills (without fever)",
"Code": "R68.83",
"Score": 0.7460958361625671
},
{
"Description": "Fever, unspecified",
"Code": "R50.9",
"Score": 0.11848161369562149
},
{
"Description": "Typhus fever, unspecified",
"Code": "A75.9",
"Score": 0.07497859001159668
},
{
"Description": "Neutropenia, unspecified",
"Code": "D70.9",
"Score": 0.07332006841897964
},
{
"Description": "Lassa fever",
"Code": "A96.2",
"Score": 0.0721040666103363
}
]
},
{
"Id": 6,
"Text": "nausea",
"Category": "MEDICAL_CONDITION",
"Type": "DX_NAME",
"Score": 0.9993392825126648,
"BeginOffset": 220,
"EndOffset": 226,
"Attributes": [],
"Traits": [
{
"Name": "SYMPTOM",
"Score": 0.9175007939338684
}
],
"ICD10CMConcepts": [
{
"Description": "Nausea",
"Code": "R11.0",
"Score": 0.7333012819290161
},
{
"Description": "Nausea with vomiting, unspecified",
"Code": "R11.2",
"Score": 0.20183530449867249
},
{
"Description": "Hematemesis",
"Code": "K92.0",
"Score": 0.1203150525689125
},
{
"Description": "Vomiting, unspecified",
"Code": "R11.10",
"Score": 0.11658868193626404
},
{
"Description": "Nausea and vomiting",
"Code": "R11",
"Score": 0.11535880714654922
}
]
},
{
"Id": 8,
"Text": "flank pain",
"Category": "MEDICAL_CONDITION",
"Type": "DX_NAME",
"Score": 0.9315784573554993,
"BeginOffset": 235,
"EndOffset": 245,
"Attributes": [
{
"Type": "ACUITY",
"Score": 0.9809532761573792,
"RelationshipScore": 0.9999837875366211,
"Id": 7,
"BeginOffset": 229,
"EndOffset": 234,
"Text": "acute",
"Traits": []
}
],
"Traits": [
{
"Name": "SYMPTOM",
"Score": 0.8182812929153442
}
],
"ICD10CMConcepts": [
{
"Description": "Unspecified abdominal pain",
"Code": "R10.9",
"Score": 0.4959934949874878
},
{
"Description": "Generalized abdominal pain",
"Code": "R10.84",
"Score": 0.12332479655742645
},
{
"Description": "Lower abdominal pain, unspecified",
"Code": "R10.30",
"Score": 0.08319114148616791
},
{
"Description": "Upper abdominal pain, unspecified",
"Code": "R10.10",
"Score": 0.08275411278009415
},
{
"Description": "Jaw pain",
"Code": "R68.84",
"Score": 0.07797083258628845
}
]
},
{
"Id": 10,
"Text": "numbness",
"Category": "MEDICAL_CONDITION",
"Type": "DX_NAME",
"Score": 0.9659366011619568,
"BeginOffset": 255,
"EndOffset": 263,
"Attributes": [
{
"Type": "SYSTEM_ORGAN_SITE",
"Score": 0.9976192116737366,
"RelationshipScore": 0.9999089241027832,
"Id": 11,
"BeginOffset": 271,
"EndOffset": 274,
"Text": "leg",
"Traits": []
}
],
"Traits": [
{
"Name": "SYMPTOM",
"Score": 0.7310190796852112
}
],
"ICD10CMConcepts": [
{
"Description": "Anesthesia of skin",
"Code": "R20.0",
"Score": 0.767346203327179
},
{
"Description": "Paresthesia of skin",
"Code": "R20.2",
"Score": 0.13602739572525024
},
{
"Description": "Other complications of anesthesia",
"Code": "T88.59",
"Score": 0.09990577399730682
},
{
"Description": "Hypothermia following anesthesia",
"Code": "T88.51",
"Score": 0.09953102469444275
},
{
"Description": "Disorder of the skin and subcutaneous tissue, unspecified",
"Code": "L98.9",
"Score": 0.08736388385295868
}
]
}
],
"ModelVersion": "0.0.0"
}
**现已推出
**您可以通过控制台、AWS 命令行界面 (CLI) 或 AWS 开发工具包使用 Amazon Comprehend Medical。 使用 Comprehend Medical,您只需为实际用量付费。您需要根据每月处理的文本量付费,具体取决于您今后的使用情况。详情请参阅 Comprehend 定价页面中的“Comprehend Medical”部分。本体链接功能现已在提供 Amazon Comprehend Medical 的所有区域推出,具体区域请参阅 AWS 区域表。
新推出的本体链接 API 使用户可以轻松从非结构化临床文本中检测药物和医疗状况,并将它们分别链接到 RxNorm 和 ICD-10-CM 代码。这项新功能可以帮助您节省以高精度处理大量非结构化医学文本所需成本、时间和精力。
– Danilo
本文转载自 AWS 技术博客。
原文链接:https://amazonaws-china.com/cn/blogs/china/new-amazon-comprehend-medical-adds-ontology-linking/
更多内容推荐
13|厚积薄发:如何让模型更好地理解人类语言?
NLP的研究人员只是知道了外面世界的美好,却发现自己没有CV PTM 的命,为什么这么说呢?这节课我就带你一探究竟。
2023-09-08
国外知名杂志公司的系统架构是怎么构建的
本文是本系列文章的第二部分,将介绍我们的NLP即服务系统HAL的架构。
金域医学 2023“域见杯”医检人工智能开发者大赛正式启动
6月27日, 2023“域见杯”医检人工智能开发者大赛正式启动。
2023-06-30
01|重新出发,让我们学会和 AI 说话
详解OpenAI提供的大语言模型能干什么?带你注册账号,生成调用大语言模型的API Key。
2023-03-20
从零构建医疗领域知识图谱的 KBQA 问答系统
从零构建医疗领域知识图谱的KBQA问答系统
2023-07-27
【Ajv】JSON Schema Validator
大家好,我是小鑫同学。一位从事过 Android 开发、混合开发,现在长期从事前端开发的编程爱好者,我觉得在编程之路上最重要的是知识的分享,所谓三人行必有我师。所以我开始在社区持续输出我所了解到、学习到、工作中遇到的各种编程知识,欢迎有想法、有同感
2022-10-13
10|AI 连接外部资料库,让 Llama Index 带你阅读一本书
让Llama Index带你阅读一本书
2023-04-04
呼叫医生云! Amazon HealthLake 正式推出
在 2020 年 Amazon re:Invent 大会上,我们预览了 Amazon HealthLake,这是一项完全托管、符合 HIPAA 标准的服务。
2022-01-14
13|前浪 DALL-E 2:帮你魔改经典画作
我们只有真正理解了DALL-E 2,才算拿到了进入AI绘画世界的钥匙。
2023-08-16
腾讯 AI Lab 姚建华博士当选 2022 美国医学与生物工程院会士
3月31日记者获悉,美国医学与生物工程院(AIMBE,The American Institute for Medical and Biological Engineering)官网公布了新一届AIMBE成员,以表彰他们在医学与生物工程上取得的卓越成就,腾讯AI Lab AI医疗首席科学家姚建华博士入选。
2022-04-01
2022 云智峰会|智算峰会:智算技术专题论坛
百度云智峰会·智算峰会”,将围绕百度智能云“云智一体,深入产业”的全新战略,为各位带来深入洞察。
什么是敏感信息检测,敏感信息检测,安全视图 | 云效
什么是敏感信息检测?敏感信息检测,敏感信息检测功能,可以检测代码库中的敏感凭证和密钥,比如 API keys 等信息。集成在合并请求代码评审阶段,可以有效防止敏感信息意外提交。
2022-03-25
圣庭医疗联合创始人谷红仓:高通量基因测序在药物研发和靶向治疗中的应用
高通量基因测序让靶向药、新药的研发更快速,更高效
2022-08-18
02|用 LangChain 快速构建基于“易速鲜花”本地知识库的智能问答系统
直观感受一下 LangChain 作为一个基于大语言模型的应用开发框架,功能到底有多么强大吧!
2023-09-11
【等保知识】等保三级要求多少分?几分能过?
网络安全等级保护制度是国家的基本国策、基本制度和基本方法,各大企业都应该遵循,应该积极办理等保测评,采购过等保设备。那你知道等保三级要求多少分?几分能过?
2021-08-31
ChatGPT Turbo API 18 元 /100 万个单词
3月2日OpenAI放出了真正的ChatGPT API,不是背后的GPT-3.5大模型,是ChatGPT的本体模型!ChatGPT API价格为1k tokens/$0.002,等于每输出100万个单词,价格才2.7美金(约18元人民币)
2023-03-04
让 API 管理效率更进一步的 API7 DevPortal
本篇文章介绍了 API 全生命周期管理和 DevPortal 的概念,并分享了基于 Apache APISIX 的企业版产品 API7 DevPortal,近期即将上线,敬请期待。
2023-03-16
呼叫医生云! Amazon HealthLake 现已正式上线
在 2020 年亚马逊云科技 re:Invent 大会上,我们预览了 Amazon HealthLake,这是一项完全托管、符合 HIPAA 标准的服务。
2022-01-13
ChatGPT:生成式 AI 技术带来的变革
在当今这个科技日新月异的时代,人工智能(AI)已经渗透到了我们生活的方方面面。从智能手机到自动驾驶,从智能家居到医疗诊断,AI都在发挥着越来越重要的作用。
2023-08-21
10|CLIP:让 AI 绘画模型乖乖听你的话
只有真正理解了CLIP,你才能知道为什么prompt可以控制AI绘画生成的内容。
2023-08-07
推荐阅读
08|实战:医疗数据集大揭秘
2023-11-13
亚马逊云科技推出基于生成式 AI 的临床文档工具 HealthScribe 预览版
前言
2023-12-01
巨头们涌入的医疗大模型,何时迎来最好的商业时代?
谷歌云为医生推出专用生成式 AI 工具,临床信息一键搜索
华为云盘古大模型 for 医学,“良医小慧”让智慧诊疗触手可及
2023-09-27
一个简单的例子
2023-12-01
电子书
大厂实战PPT下载
换一换 范圣佑 | JetBrains 技术布道师
曹铭斌 | 美的 风控交付中心负责人
江凯 | 蚂蚁集团 支付宝体验技术部/高级前端技术专家
评论