# AliYun "医学实体识别" API Example Continued ### **Example 3-1** #### ==Input Text== ```text! 患者xX,xx,xX岁,xX,家佳XX,因“反复趾指关节肿痛 10年,加重7天” 入院: 2012-05-03. 09:00 病例特点: 1、患者 10年前始无明显诱因下突发第一跖趾关节红肿热肿,以夜间发病多见,持续数天后自行缓解,未子足够重视,后渐累及趾指各关节,同时伴关节功能障碍,疼痛发作时不能屈伸,曾于外院就诊,确诊为“痛风”,平时不规则服用 “小苏打片、别嘌醇”,患者关节肺账渐为严重,关节畸形变硬,近7天来惠者前述症状更为明显,经当地游医针刺疗法后,关节出现溃烂,疼痛难忍,故来本院要求佳院治疗。 ``` #### ==Diagnosis and Code Mapping== ```object! {'痛风': 'M10.900'} ``` #### ==Symptom and Code Mapping== ```object! {'反复趾指关节肿痛': 'M10.006', '第一跖趾关节红肿热肿': 'A18.037+', '未子足够重视': 'O14.100', '关节功能障碍': 'E28.900', '疼痛发作时不能屈伸': 'R52.900', '关节肺账渐为严重': 'Y91.200', '关节畸形变硬': 'M19.909', '关节出现溃烂': 'M15.401', '疼痛难忍': 'R52.900'} ``` #### ==Operation and Code Mapping== ```object! None ``` #### ==Output== ```json! { "RequestId": "763625C9-B8F1-5884-BB5D-4B4EF48EF134", "Data": { "result": { "ner": [ { "parent": [], "children": [], "probability": [ 0.9078684449195862 ], "end_char": 3, "attributes": [ "PAST" ], "id": 0, "text": "xX", "type": [ "Test-name" ], "attr_probability": [ 0.6331332325935364 ], "begin_char": 2 }, { "parent": [], "children": [], "probability": [ 0.7097356915473938 ], "end_char": 6, "attributes": [ "PAST" ], "id": 1, "text": "xx", "type": [ "Test-name" ], "attr_probability": [ 0.7548995018005371 ], "begin_char": 5 }, { "parent": [], "children": [ 3 ], "probability": [ 0.5609197616577148 ], "end_char": 29, "attributes": [ "PAST" ], "id": 2, "text": "反复趾指关节肿痛", "type": [ "Symptom" ], "attr_probability": [ 0.8977050185203552 ], "begin_char": 22 }, { "parent": [ 2 ], "children": [], "probability": [ 0.6463887095451355 ], "end_char": 27, "attributes": [], "id": 3, "text": "趾指关节", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 24 }, { "parent": [ 5 ], "children": [], "probability": [ 0.754594624042511 ], "end_char": 85, "attributes": [ "PAST" ], "id": 4, "text": "第一跖趾关节", "type": [ "Anatomy" ], "attr_probability": [ 0.9471349120140076 ], "begin_char": 80 }, { "parent": [], "children": [ 4, 6 ], "probability": [ 0.7114244103431702 ], "end_char": 89, "attributes": [ "PAST" ], "id": 5, "text": "第一跖趾关节红肿热肿", "type": [ "Symptom" ], "attr_probability": [ 0.977372944355011 ], "begin_char": 80 }, { "parent": [ 5 ], "children": [], "probability": [ 0.5808806419372559 ], "end_char": 85, "attributes": [ "PAST" ], "id": 6, "text": "跖趾关节", "type": [ "Anatomy" ], "attr_probability": [ 0.8133333325386047 ], "begin_char": 82 }, { "parent": [], "children": [], "probability": [ 0.44013726711273193 ], "end_char": 114, "attributes": [ "PAST" ], "id": 7, "text": "未子足够重视", "type": [ "Symptom" ], "attr_probability": [ 0.8524933457374573 ], "begin_char": 109 }, { "parent": [], "children": [], "probability": [ 0.705733597278595 ], "end_char": 124, "attributes": [ "PAST" ], "id": 8, "text": "趾指各关节", "type": [ "Anatomy" ], "attr_probability": [ 0.8013858199119568 ], "begin_char": 120 }, { "parent": [ 10 ], "children": [], "probability": [ 0.8984023332595825 ], "end_char": 130, "attributes": [ "PAST" ], "id": 9, "text": "关节", "type": [ "Anatomy" ], "attr_probability": [ 0.6542454361915588 ], "begin_char": 129 }, { "parent": [], "children": [ 9 ], "probability": [ 0.9483916759490967 ], "end_char": 134, "attributes": [ "PAST" ], "id": 10, "text": "关节功能障碍", "type": [ "Symptom" ], "attr_probability": [ 0.9590513110160828 ], "begin_char": 129 }, { "parent": [], "children": [], "probability": [ 0.41006287932395935 ], "end_char": 144, "attributes": [ "PAST" ], "id": 11, "text": "疼痛发作时不能屈伸", "type": [ "Symptom" ], "attr_probability": [ 0.963050365447998 ], "begin_char": 136 }, { "parent": [], "children": [], "probability": [ 0.9674490094184875 ], "end_char": 158, "attributes": [ "PAST" ], "id": 12, "text": "痛风", "type": [ "Diagnosis" ], "attr_probability": [ 0.995836615562439 ], "begin_char": 157 }, { "parent": [], "children": [], "probability": [ 0.4020809829235077 ], "end_char": 167, "attributes": [ "PAST" ], "id": 13, "text": "服用", "type": [ "Drug-route" ], "attr_probability": [ 0.9964220523834229 ], "begin_char": 166 }, { "parent": [], "children": [], "probability": [ 0.987600564956665 ], "end_char": 172, "attributes": [ "PAST" ], "id": 14, "text": "小苏打片", "type": [ "Drug" ], "attr_probability": [ 0.9878796935081482 ], "begin_char": 169 }, { "parent": [], "children": [], "probability": [ 0.9567052721977234 ], "end_char": 172, "attributes": [ "PAST" ], "id": 15, "text": "片", "type": [ "Drug-form" ], "attr_probability": [ 0.9971761703491211 ], "begin_char": 172 }, { "parent": [], "children": [], "probability": [ 0.9919456839561462 ], "end_char": 176, "attributes": [ "PAST" ], "id": 16, "text": "别嘌醇", "type": [ "Drug" ], "attr_probability": [ 0.9746174216270447 ], "begin_char": 174 }, { "parent": [ 18, 19 ], "children": [], "probability": [ 0.49722325801849365 ], "end_char": 182, "attributes": [ "PAST" ], "id": 17, "text": "关节", "type": [ "Anatomy" ], "attr_probability": [ 0.822211503982544 ], "begin_char": 181 }, { "parent": [ 19 ], "children": [ 17 ], "probability": [ 0.5098463296890259 ], "end_char": 183, "attributes": [ "PAST" ], "id": 18, "text": "关节肺", "type": [ "Anatomy" ], "attr_probability": [ 0.781074583530426 ], "begin_char": 181 }, { "parent": [], "children": [ 17, 18 ], "probability": [ 0.6969181895256042 ], "end_char": 188, "attributes": [ "PAST" ], "id": 19, "text": "关节肺账渐为严重", "type": [ "Symptom" ], "attr_probability": [ 0.973037838935852 ], "begin_char": 181 }, { "parent": [ 21 ], "children": [], "probability": [ 0.8549872040748596 ], "end_char": 191, "attributes": [ "PAST" ], "id": 20, "text": "关节", "type": [ "Anatomy" ], "attr_probability": [ 0.697891116142273 ], "begin_char": 190 }, { "parent": [], "children": [ 20 ], "probability": [ 0.9062504172325134 ], "end_char": 195, "attributes": [ "PAST" ], "id": 21, "text": "关节畸形变硬", "type": [ "Symptom" ], "attr_probability": [ 0.9634567499160767 ], "begin_char": 190 }, { "parent": [ 23 ], "children": [], "probability": [ 0.9161155223846436 ], "end_char": 224, "attributes": [], "id": 22, "text": "关节", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 223 }, { "parent": [], "children": [ 22 ], "probability": [ 0.9556899666786194 ], "end_char": 228, "attributes": [ "PAST" ], "id": 23, "text": "关节出现溃烂", "type": [ "Symptom" ], "attr_probability": [ 0.8624196648597717 ], "begin_char": 223 }, { "parent": [], "children": [], "probability": [ 0.8174921870231628 ], "end_char": 233, "attributes": [ "PAST" ], "id": 24, "text": "疼痛难忍", "type": [ "Symptom" ], "attr_probability": [ 0.7945008277893066 ], "begin_char": 230 } ], "text": "患者xX,xx,xX岁,xX,家佳XX,因“反复趾指关节肿痛10年,加重7天”入院:2012-05-03.09:00病例特点:1、患者10年前始无明显诱因下突发第一跖趾关节红肿热肿,以夜间发病多见,持续数天后自行缓解,未子足够重视,后渐累及趾指各关节,同时伴关节功能障碍,疼痛发作时不能屈伸,曾于外院就诊,确诊为“痛风”,平时不规则服用“小苏打片、别嘌醇”,患者关节肺账渐为严重,关节畸形变硬,近7天来惠者前述症状更为明显,经当地游医针刺疗法后,关节出现溃烂,疼痛难忍,故来本院要求佳院治疗。" }, "success": true, "tracerId": "0.0.0.0-0-139960032223808-1665616321325-0000000237" } } ``` ### **Example 3-2** #### ==Input Text== ```text! 本病程中患者无畏寒、发热,无恶心,吸吐,无呼吸困难,无咳嗽、咯痰,无腹污、黑便,无尿频、尿急尿痛、血尿,无双下妝水肿。发病以后食欲差、睡眠尚可,大小便正常。 ``` #### ==Diagnosis and Code Mapping== ```object! None ``` #### ==Symptom and Code Mapping== ```object! {'畏寒': 'ZBH000', '发热': 'R50.900', '恶心': 'R11.x00', '吸吐': 'BNP030', '呼吸困难': 'R06.000', '咳嗽': 'R05.x00', '咯痰': 'R04.200', '腹污': 'Z58.200', '黑便': 'BNP130', '尿频': 'BEZ200', '尿急': 'N34.204', '尿痛': 'R30.900', '血尿': 'R31.x00', '双下妝水肿': 'R60.001'} ``` #### ==Operation and Code Mapping== ```object! None ``` #### ==Output== ```json! { "RequestId": "BEA4BB76-02BC-524B-BB6A-36DF6DF6FCA9", "Data": { "result": { "ner": [ { "parent": [], "children": [], "probability": [ 0.9962600469589233 ], "end_char": 8, "attributes": [ "NEGATION" ], "id": 0, "text": "畏寒", "type": [ "Symptom" ], "attr_probability": [ 0.9977682828903198 ], "begin_char": 7 }, { "parent": [], "children": [], "probability": [ 0.9984527826309204 ], "end_char": 11, "attributes": [ "NEGATION" ], "id": 1, "text": "发热", "type": [ "Symptom" ], "attr_probability": [ 0.9993661046028137 ], "begin_char": 10 }, { "parent": [], "children": [], "probability": [ 0.9989973902702332 ], "end_char": 15, "attributes": [ "NEGATION" ], "id": 2, "text": "恶心", "type": [ "Symptom" ], "attr_probability": [ 0.9992119073867798 ], "begin_char": 14 }, { "parent": [], "children": [], "probability": [ 0.9974219799041748 ], "end_char": 18, "attributes": [ "NEGATION" ], "id": 3, "text": "吸吐", "type": [ "Symptom" ], "attr_probability": [ 0.9977856874465942 ], "begin_char": 17 }, { "parent": [], "children": [], "probability": [ 0.9898146390914917 ], "end_char": 24, "attributes": [ "NEGATION" ], "id": 4, "text": "呼吸困难", "type": [ "Symptom" ], "attr_probability": [ 0.9988629817962646 ], "begin_char": 21 }, { "parent": [], "children": [], "probability": [ 0.9989628791809082 ], "end_char": 28, "attributes": [ "NEGATION" ], "id": 5, "text": "咳嗽", "type": [ "Symptom" ], "attr_probability": [ 0.9992989301681519 ], "begin_char": 27 }, { "parent": [], "children": [], "probability": [ 0.9987589120864868 ], "end_char": 31, "attributes": [ "NEGATION" ], "id": 6, "text": "咯痰", "type": [ "Symptom" ], "attr_probability": [ 0.9994373917579651 ], "begin_char": 30 }, { "parent": [ 8 ], "children": [], "probability": [ 0.5155766606330872 ], "end_char": 34, "attributes": [], "id": 7, "text": "腹", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 34 }, { "parent": [], "children": [ 7 ], "probability": [ 0.9957380294799805 ], "end_char": 35, "attributes": [ "NEGATION" ], "id": 8, "text": "腹污", "type": [ "Symptom" ], "attr_probability": [ 0.9993979930877686 ], "begin_char": 34 }, { "parent": [], "children": [], "probability": [ 0.9928321838378906 ], "end_char": 38, "attributes": [ "NEGATION" ], "id": 9, "text": "黑便", "type": [ "Symptom" ], "attr_probability": [ 0.9990617632865906 ], "begin_char": 37 }, { "parent": [], "children": [], "probability": [ 0.9979853630065918 ], "end_char": 42, "attributes": [ "NEGATION" ], "id": 10, "text": "尿频", "type": [ "Symptom" ], "attr_probability": [ 0.9993430972099304 ], "begin_char": 41 }, { "parent": [], "children": [], "probability": [ 0.9994619488716125 ], "end_char": 45, "attributes": [ "NEGATION" ], "id": 11, "text": "尿急", "type": [ "Symptom" ], "attr_probability": [ 0.9993879795074463 ], "begin_char": 44 }, { "parent": [], "children": [], "probability": [ 0.9986485838890076 ], "end_char": 47, "attributes": [ "NEGATION" ], "id": 12, "text": "尿痛", "type": [ "Symptom" ], "attr_probability": [ 0.9991092085838318 ], "begin_char": 46 }, { "parent": [], "children": [], "probability": [ 0.9954474568367004 ], "end_char": 50, "attributes": [ "NEGATION" ], "id": 13, "text": "血尿", "type": [ "Symptom" ], "attr_probability": [ 0.9979444146156311 ], "begin_char": 49 }, { "parent": [], "children": [], "probability": [ 0.5882510542869568 ], "end_char": 57, "attributes": [ "NEGATION" ], "id": 14, "text": "双下妝水肿", "type": [ "Symptom" ], "attr_probability": [ 0.9887353777885437 ], "begin_char": 53 } ], "text": "本病程中患者无畏寒、发热,无恶心,吸吐,无呼吸困难,无咳嗽、咯痰,无腹污、黑便,无尿频、尿急尿痛、血尿,无双下妝水肿。发病以后食欲差、睡眠尚可,大小便正常。" }, "success": true, "tracerId": "0.0.0.0-0-139959897950736-1665616634303-0000000238" } } ``` ### **Example 3-3** #### ==Input Text== ```text! 2、体检:T36.9°C,P74次/分,R19 次/分,Bp 135/80mmHlg,神志清,双肺无异常体征,心率 88 次/分,律不齐,第一心音不等,脉率不规则,强弱不等,脉博短绌,腹部平坦,腹软,右下腹部固定压痛,无反跳痛及肌卫,肠吗音5次(分。趾指各关节胂胀明显,关节僵硬、畸形,活动受限,无一定形状且不对称,关节面破溃,红肿,压痛明显见豆渣样物排出,双下肢无水肺。腹壁反射、膝腱反射正常,巴彬斯基征、脑膜剌激征阴性 ``` #### ==Diagnosis and Code Mapping== ```object! None ``` #### ==Symptom and Code Mapping== ```object! {'双肺无异常体征': 'Q99.900', '律不齐': 'I49.900', '第一心音不等': 'Q87.201', '脉率不规则': 'N92.600', '强弱不等': 'H52.301', '脉博短': 'L60.400', '腹部平坦': 'T44.303', '右下腹部固定压痛': 'R10.301', '反跳痛': 'BWC132', '反跳痛及肌卫': 'M79.100', '趾指各关节胂胀明显': 'M25.416', '关节僵硬': 'M25.600', '关节僵硬、畸形': 'M25.600', '活动受限': 'Z73.600', '一定形状且不对称': 'Q67.000', '关节面破溃': 'M47.904', '红肿': 'L74.801', '压痛明显见豆渣样物排出': 'R36.x00', '双下肢无水肺': 'R60.001', '巴彬斯基征': 'G11.301', '脑膜剌激征': 'I45.600'} ``` #### ==Operation and Code Mapping== ```object! None ``` #### ==Output== ```json! { "RequestId": "E806AA76-C26D-530C-8105-5322F41F7A24", "Data": { "result": { "ner": [ { "parent": [], "children": [], "probability": [ 0.7341045141220093 ], "end_char": 5, "attributes": [], "id": 0, "text": "T", "type": [ "Test-name" ], "attr_probability": [], "begin_char": 5 }, { "parent": [], "children": [], "probability": [ 0.8107817769050598 ], "end_char": 11, "attributes": [], "id": 1, "text": "36.9°C", "type": [ "Test-result" ], "attr_probability": [], "begin_char": 6 }, { "parent": [], "children": [], "probability": [ 0.7970282435417175 ], "end_char": 13, "attributes": [], "id": 2, "text": "P", "type": [ "Test-name" ], "attr_probability": [], "begin_char": 13 }, { "parent": [], "children": [], "probability": [ 0.7902650237083435 ], "end_char": 18, "attributes": [], "id": 3, "text": "74次/分", "type": [ "Test-result" ], "attr_probability": [], "begin_char": 14 }, { "parent": [], "children": [], "probability": [ 0.734681248664856 ], "end_char": 20, "attributes": [], "id": 4, "text": "R", "type": [ "Test-name" ], "attr_probability": [], "begin_char": 20 }, { "parent": [], "children": [], "probability": [ 0.6857496500015259 ], "end_char": 25, "attributes": [], "id": 5, "text": "19次/分", "type": [ "Test-result" ], "attr_probability": [], "begin_char": 21 }, { "parent": [], "children": [], "probability": [ 0.9783371686935425 ], "end_char": 28, "attributes": [], "id": 6, "text": "Bp", "type": [ "Test-name" ], "attr_probability": [], "begin_char": 27 }, { "parent": [], "children": [], "probability": [ 0.9278174042701721 ], "end_char": 39, "attributes": [], "id": 7, "text": "135/80mmHlg", "type": [ "Test-result" ], "attr_probability": [], "begin_char": 29 }, { "parent": [ 9 ], "children": [], "probability": [ 0.6324642300605774 ], "end_char": 46, "attributes": [], "id": 8, "text": "双肺", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 45 }, { "parent": [], "children": [ 8 ], "probability": [ 0.7116462588310242 ], "end_char": 51, "attributes": [ "NEGATION" ], "id": 9, "text": "双肺无异常体征", "type": [ "Symptom" ], "attr_probability": [ 0.9445465803146362 ], "begin_char": 45 }, { "parent": [], "children": [], "probability": [ 0.97432941198349 ], "end_char": 54, "attributes": [], "id": 10, "text": "心率", "type": [ "Test-name" ], "attr_probability": [], "begin_char": 53 }, { "parent": [], "children": [], "probability": [ 0.8773846626281738 ], "end_char": 59, "attributes": [], "id": 11, "text": "88次/分", "type": [ "Test-result" ], "attr_probability": [], "begin_char": 55 }, { "parent": [], "children": [], "probability": [ 0.8409688472747803 ], "end_char": 63, "attributes": [], "id": 12, "text": "律不齐", "type": [ "Symptom" ], "attr_probability": [], "begin_char": 61 }, { "parent": [], "children": [ 14 ], "probability": [ 0.9423933625221252 ], "end_char": 70, "attributes": [], "id": 13, "text": "第一心音不等", "type": [ "Symptom" ], "attr_probability": [], "begin_char": 65 }, { "parent": [ 13 ], "children": [], "probability": [ 0.44311779737472534 ], "end_char": 67, "attributes": [], "id": 14, "text": "心", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 67 }, { "parent": [], "children": [], "probability": [ 0.9177042841911316 ], "end_char": 76, "attributes": [], "id": 15, "text": "脉率不规则", "type": [ "Symptom" ], "attr_probability": [], "begin_char": 72 }, { "parent": [], "children": [], "probability": [ 0.9398859739303589 ], "end_char": 81, "attributes": [], "id": 16, "text": "强弱不等", "type": [ "Symptom" ], "attr_probability": [], "begin_char": 78 }, { "parent": [ 18 ], "children": [], "probability": [ 0.35510048270225525 ], "end_char": 84, "attributes": [], "id": 17, "text": "脉博", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 83 }, { "parent": [], "children": [ 17 ], "probability": [ 0.6267057061195374 ], "end_char": 85, "attributes": [], "id": 18, "text": "脉博短", "type": [ "Symptom" ], "attr_probability": [], "begin_char": 83 }, { "parent": [ 20 ], "children": [], "probability": [ 0.7217709422111511 ], "end_char": 89, "attributes": [], "id": 19, "text": "腹部", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 88 }, { "parent": [], "children": [ 19 ], "probability": [ 0.5568372011184692 ], "end_char": 91, "attributes": [], "id": 20, "text": "腹部平坦", "type": [ "Symptom" ], "attr_probability": [], "begin_char": 88 }, { "parent": [], "children": [], "probability": [ 0.5931835174560547 ], "end_char": 93, "attributes": [], "id": 21, "text": "腹", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 93 }, { "parent": [ 23 ], "children": [ 46 ], "probability": [ 0.8566809892654419 ], "end_char": 99, "attributes": [], "id": 22, "text": "右下腹部", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 96 }, { "parent": [], "children": [ 46, 22 ], "probability": [ 0.9459762573242188 ], "end_char": 103, "attributes": [], "id": 23, "text": "右下腹部固定压痛", "type": [ "Symptom" ], "attr_probability": [], "begin_char": 96 }, { "parent": [ 25 ], "children": [], "probability": [ 0.3843028247356415 ], "end_char": 108, "attributes": [ "NEGATION" ], "id": 24, "text": "反跳痛", "type": [ "Symptom" ], "attr_probability": [ 0.9729751944541931 ], "begin_char": 106 }, { "parent": [], "children": [ 24 ], "probability": [ 0.49066460132598877 ], "end_char": 111, "attributes": [ "NEGATION" ], "id": 25, "text": "反跳痛及肌卫", "type": [ "Symptom" ], "attr_probability": [ 0.9767268896102905 ], "begin_char": 106 }, { "parent": [ 27 ], "children": [], "probability": [ 0.4430939555168152 ], "end_char": 113, "attributes": [], "id": 26, "text": "肠", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 113 }, { "parent": [], "children": [ 26 ], "probability": [ 0.3930829167366028 ], "end_char": 115, "attributes": [], "id": 27, "text": "肠吗音", "type": [ "Test-name" ], "attr_probability": [], "begin_char": 113 }, { "parent": [ 29 ], "children": [], "probability": [ 0.8467509746551514 ], "end_char": 125, "attributes": [], "id": 28, "text": "趾指各关节", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 121 }, { "parent": [], "children": [ 28 ], "probability": [ 0.7573114037513733 ], "end_char": 129, "attributes": [], "id": 29, "text": "趾指各关节胂胀明显", "type": [ "Symptom" ], "attr_probability": [], "begin_char": 121 }, { "parent": [ 32, 31 ], "children": [], "probability": [ 0.8966817855834961 ], "end_char": 132, "attributes": [], "id": 30, "text": "关节", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 131 }, { "parent": [ 32 ], "children": [ 30 ], "probability": [ 0.3983202576637268 ], "end_char": 134, "attributes": [], "id": 31, "text": "关节僵硬", "type": [ "Symptom" ], "attr_probability": [], "begin_char": 131 }, { "parent": [], "children": [ 30, 31 ], "probability": [ 0.9643203020095825 ], "end_char": 137, "attributes": [], "id": 32, "text": "关节僵硬、畸形", "type": [ "Symptom" ], "attr_probability": [], "begin_char": 131 }, { "parent": [], "children": [], "probability": [ 0.920159637928009 ], "end_char": 142, "attributes": [], "id": 33, "text": "活动受限", "type": [ "Symptom" ], "attr_probability": [], "begin_char": 139 }, { "parent": [], "children": [], "probability": [ 0.46516913175582886 ], "end_char": 152, "attributes": [ "NEGATION" ], "id": 34, "text": "一定形状且不对称", "type": [ "Symptom" ], "attr_probability": [ 0.8244473338127136 ], "begin_char": 145 }, { "parent": [ 36, 37 ], "children": [], "probability": [ 0.409789115190506 ], "end_char": 155, "attributes": [], "id": 35, "text": "关节", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 154 }, { "parent": [ 37 ], "children": [ 35 ], "probability": [ 0.7295842170715332 ], "end_char": 156, "attributes": [], "id": 36, "text": "关节面", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 154 }, { "parent": [], "children": [ 35, 36 ], "probability": [ 0.9608871340751648 ], "end_char": 158, "attributes": [], "id": 37, "text": "关节面破溃", "type": [ "Symptom" ], "attr_probability": [], "begin_char": 154 }, { "parent": [], "children": [], "probability": [ 0.7669201493263245 ], "end_char": 161, "attributes": [], "id": 38, "text": "红肿", "type": [ "Symptom" ], "attr_probability": [], "begin_char": 160 }, { "parent": [], "children": [], "probability": [ 0.5969479084014893 ], "end_char": 173, "attributes": [], "id": 39, "text": "压痛明显见豆渣样物排出", "type": [ "Symptom" ], "attr_probability": [], "begin_char": 163 }, { "parent": [ 41 ], "children": [ 45 ], "probability": [ 0.5541084408760071 ], "end_char": 177, "attributes": [], "id": 40, "text": "双下肢", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 175 }, { "parent": [], "children": [ 45, 40 ], "probability": [ 0.45588427782058716 ], "end_char": 180, "attributes": [ "NEGATION" ], "id": 41, "text": "双下肢无水肺", "type": [ "Symptom" ], "attr_probability": [ 0.9732241034507751 ], "begin_char": 175 }, { "parent": [], "children": [], "probability": [ 0.39146488904953003 ], "end_char": 188, "attributes": [], "id": 42, "text": "膝腱", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 187 }, { "parent": [], "children": [], "probability": [ 0.4523276388645172 ], "end_char": 198, "attributes": [ "NEGATION" ], "id": 43, "text": "巴彬斯基征", "type": [ "Symptom" ], "attr_probability": [ 0.7533896565437317 ], "begin_char": 194 }, { "parent": [], "children": [], "probability": [ 0.38326403498649597 ], "end_char": 204, "attributes": [ "NEGATION" ], "id": 44, "text": "脑膜剌激征", "type": [ "Symptom" ], "attr_probability": [ 0.9615726470947266 ], "begin_char": 200 }, { "parent": [ 40, 41 ], "children": [], "probability": [ 0.7 ], "end_char": 176, "attributes": [], "id": 45, "text": "下", "type": [ "Location" ], "attr_probability": [], "begin_char": 176 }, { "parent": [ 22, 23 ], "children": [], "probability": [ 0.7 ], "end_char": 97, "attributes": [], "id": 46, "text": "右下", "type": [ "Location" ], "attr_probability": [], "begin_char": 96 } ], "text": "2、体检:T36.9°C,P74次/分,R19次/分,Bp135/80mmHlg,神志清,双肺无异常体征,心率88次/分,律不齐,第一心音不等,脉率不规则,强弱不等,脉博短绌,腹部平坦,腹软,右下腹部固定压痛,无反跳痛及肌卫,肠吗音5次(分。趾指各关节胂胀明显,关节僵硬、畸形,活动受限,无一定形状且不对称,关节面破溃,红肿,压痛明显见豆渣样物排出,双下肢无水肺。腹壁反射、膝腱反射正常,巴彬斯基征、脑膜剌激征阴性," }, "success": true, "tracerId": "0.0.0.0-0-139959965064864-1665617048764-0000000239" } } ``` ### **Example 3-4** #### ==Input Text== ```text! 3、辅检:血常规(本院 2012-05-03):白细胞 14.76×10%/,中性0.75,淋巴0.20,血红蛋白99g/L。血尿酸(本院 2012-05-03): 640umol/L。 初步诊断: 痛风石合并感染 冠状动脉粥样硬化性心脏病 缺血性心肌病 心律失常一房颤 心功能川级 ``` #### ==Diagnosis and Code Mapping== ```object! {'痛风石合并感染': 'M10.902+', '冠状动脉粥样硬化性心脏病': 'I25.103', '缺血性心肌病': 'I25.500', '心律失常': 'I49.900', '一房颤': 'I48.x01', '心功能川': 'I50.901', '心功能川级': 'I50.902'} ``` #### ==Symptom and Code Mapping== ```object! {'淋巴0.20': 'C84.300'} ``` #### ==Operation and Code Mapping== ```object! None ``` #### ==Output== ```json! { "RequestId": "920CEB81-B954-5665-A6EE-013C1D26B7BC", "Data": { "result": { "ner": [ { "parent": [], "children": [], "probability": [ 0.88320392370224 ], "end_char": 7, "attributes": [], "id": 0, "text": "血常规", "type": [ "Test-name" ], "attr_probability": [], "begin_char": 5 }, { "parent": [], "children": [], "probability": [ 0.9921936988830566 ], "end_char": 25, "attributes": [], "id": 1, "text": "白细胞", "type": [ "Test-name" ], "attr_probability": [], "begin_char": 23 }, { "parent": [], "children": [], "probability": [ 0.7583809494972229 ], "end_char": 35, "attributes": [], "id": 2, "text": "14.76×10%/", "type": [ "Test-result" ], "attr_probability": [], "begin_char": 26 }, { "parent": [], "children": [], "probability": [ 0.7777004837989807 ], "end_char": 42, "attributes": [], "id": 3, "text": "中性0.75", "type": [ "Test-result" ], "attr_probability": [], "begin_char": 37 }, { "parent": [ 5 ], "children": [], "probability": [ 0.5109798908233643 ], "end_char": 45, "attributes": [], "id": 4, "text": "淋巴", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 44 }, { "parent": [], "children": [ 4 ], "probability": [ 0.5969260334968567, 0.7155759334564209 ], "end_char": 49, "attributes": [], "id": 5, "text": "淋巴0.20", "type": [ "Symptom", "Test-result" ], "attr_probability": [], "begin_char": 44 }, { "parent": [], "children": [], "probability": [ 0.9462343454360962 ], "end_char": 54, "attributes": [], "id": 6, "text": "血红蛋白", "type": [ "Test-name" ], "attr_probability": [], "begin_char": 51 }, { "parent": [ 8 ], "children": [], "probability": [ 0.515207052230835 ], "end_char": 59, "attributes": [], "id": 7, "text": "99g/L", "type": [ "Test-result" ], "attr_probability": [], "begin_char": 55 }, { "parent": [], "children": [ 7 ], "probability": [ 0.38526618480682373 ], "end_char": 60, "attributes": [], "id": 8, "text": "99g/L。", "type": [ "Test-result" ], "attr_probability": [], "begin_char": 55 }, { "parent": [], "children": [], "probability": [ 0.6823974251747131 ], "end_char": 63, "attributes": [], "id": 9, "text": "血尿酸", "type": [ "Test-name" ], "attr_probability": [], "begin_char": 61 }, { "parent": [], "children": [], "probability": [ 0.9877200722694397 ], "end_char": 100, "attributes": [], "id": 10, "text": "痛风石合并感染", "type": [ "Diagnosis" ], "attr_probability": [], "begin_char": 94 }, { "parent": [ 12 ], "children": [], "probability": [ 0.934482991695404 ], "end_char": 104, "attributes": [], "id": 11, "text": "冠状动脉", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 101 }, { "parent": [], "children": [ 11, 13 ], "probability": [ 0.9902409315109253 ], "end_char": 112, "attributes": [], "id": 12, "text": "冠状动脉粥样硬化性心脏病", "type": [ "Diagnosis" ], "attr_probability": [], "begin_char": 101 }, { "parent": [ 12 ], "children": [], "probability": [ 0.8758352398872375 ], "end_char": 111, "attributes": [], "id": 13, "text": "心脏", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 110 }, { "parent": [], "children": [ 15 ], "probability": [ 0.9870399832725525 ], "end_char": 118, "attributes": [], "id": 14, "text": "缺血性心肌病", "type": [ "Diagnosis" ], "attr_probability": [], "begin_char": 113 }, { "parent": [ 14 ], "children": [], "probability": [ 0.7726649641990662 ], "end_char": 117, "attributes": [], "id": 15, "text": "心肌", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 116 }, { "parent": [ 17 ], "children": [], "probability": [ 0.7098982930183411 ], "end_char": 119, "attributes": [], "id": 16, "text": "心", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 119 }, { "parent": [], "children": [ 16 ], "probability": [ 0.9759452939033508 ], "end_char": 122, "attributes": [], "id": 17, "text": "心律失常", "type": [ "Diagnosis" ], "attr_probability": [], "begin_char": 119 }, { "parent": [], "children": [], "probability": [ 0.9448463916778564 ], "end_char": 125, "attributes": [], "id": 18, "text": "一房颤", "type": [ "Diagnosis" ], "attr_probability": [], "begin_char": 123 }, { "parent": [ 20, 21 ], "children": [], "probability": [ 0.7102290987968445 ], "end_char": 126, "attributes": [], "id": 19, "text": "心", "type": [ "Anatomy" ], "attr_probability": [], "begin_char": 126 }, { "parent": [ 21 ], "children": [ 19 ], "probability": [ 0.3628300130367279 ], "end_char": 129, "attributes": [], "id": 20, "text": "心功能川", "type": [ "Diagnosis" ], "attr_probability": [], "begin_char": 126 }, { "parent": [], "children": [ 19, 20 ], "probability": [ 0.4350235164165497 ], "end_char": 130, "attributes": [], "id": 21, "text": "心功能川级", "type": [ "Diagnosis" ], "attr_probability": [], "begin_char": 126 } ], "text": "3、辅检:血常规(本院2012-05-03):白细胞14.76×10%/,中性0.75,淋巴0.20,血红蛋白99g/L。血尿酸(本院2012-05-03):640umol/L。初步诊断:痛风石合并感染冠状动脉粥样硬化性心脏病缺血性心肌病心律失常一房颤心功能川级" }, "success": true, "tracerId": "0.0.0.0-0-139959763786048-1665617191429-0000000240" } } ```