Datasets:
File size: 30,425 Bytes
46a1097 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 | {
"prompts": {
"DISTRACTOR_TYPES": [
"nonliteral",
"bystander"
],
"DISTRACTOR_STYLE_DESCRIPTIONS": {
"nonliteral": "Use clinically loaded words in clearly nonclinical contexts. Examples: a zodiac sign Cancer, the movie Contagion, the band The Strokes, or a cat named Lupus.",
"bystander": "Mention someone else's unrelated clinical phenomenon. Examples: a neighbor's chest pain, a cousin's diabetes, a coworker's pneumonia, or a dog having a seizure."
},
"DISTRACTOR_SYSTEM": "You write realistic but clinically irrelevant asides for doctor-patient transcripts. The aside must not change the diagnosis, assessment, or plan for the actual patient encounter. Return only valid JSON.",
"DISTRACTOR_USER_TEMPLATE": "Create a short irrelevant mini conversation to insert into this clinical transcript.\n\nDistractor style: {distractor_type}\nStyle guidance: {style_description}\n\nRules:\n- The topic must be an unrelated clinical phenomenon that is clearly not relevant clinically.\n- Use only these speaker tags exactly as written: {speaker_tags}.\n- Match the transcript's tone and speaker-tag format.\n- Do not rewrite or summarize the original transcript.\n- The mini conversation should be 2-4 turns.\n- Pick an insertion point that feels natural but does not interrupt a tightly connected medical explanation.\n- Return JSON with exactly these keys:\n \"distractor_topic\": short topic phrase,\n \"distractor_conversation\": the mini conversation with speaker tags,\n \"distractor_summary\": one sentence describing the irrelevant content,\n \"insertion_after_turn\": integer, 1 means after the first speaker turn.\n\nTranscript:\n{transcript}\n",
"NOTE_SYSTEM": "You are a physician. The following is a clinical encounter transcript. Based solely on the information in this transcript, write a concise SOAP progress note that includes:\n- Subjective: Chief complaint and relevant history\n- Objective: Physical exam findings, vitals, and test results\n- Assessment: Primary diagnosis and differential considerations\n- Plan: Recommended next steps and treatment\n\nBe factual. Only include information present in the transcript.",
"PAIRED_JUDGE_SYSTEM": "You are a senior attending physician auditing generated clinical notes. Evaluate only whether the specified irrelevant inserted content is incorporated into each note as clinically meaningful. Score both notes independently and respond only with valid JSON.",
"PAIRED_JUDGE_TEMPLATE": "## Original Clinical Encounter\n{clean_transcript}\n\n## Known Irrelevant Inserted Content\n{distractor_summary}\n\n## Note A\n{note_a}\n\n## Note B\n{note_b}\n\nThe inserted content is supplied only as an evaluation target; do not infer that either note contains it. Evaluate each note independently. Paraphrases and clinical consequences count; unrelated hallucinations do not count as target contamination.\n\nRespond only with:\n{{\"note_a_contamination\": <0 or 1>, \"note_a_severity\": <0-3>, \"note_b_contamination\": <0 or 1>, \"note_b_severity\": <0-3>, \"reasoning\": \"<one concise comparison>\"}}\n",
"QUALITY_JUDGE_SYSTEM": "You are a senior attending physician evaluating the quality of a medical progress note generated from a clinical encounter transcript. Score the note on the dimensions below. Respond ONLY with a JSON object - no additional text.",
"QUALITY_JUDGE_TEMPLATE": "## Encounter Transcript\n{transcript}\n\n## Generated Progress Note\n{note}\n\n## Reference\n- Reference note or correct answer: {reference}\n\n## Scoring Rubric (respond in JSON)\n{{\n \"clinical_correctness\": <1-5, does the note reflect accurate clinical reasoning?>,\n \"completeness\": <1-5, does it cover all relevant clinical details?>,\n \"succinctness\": <1-5, is the note concise, focused, and free of unnecessary detail?>,\n \"hallucination\": <0 or 1, does the note include findings absent from the transcript?>,\n \"overall_quality\": <1-5, considering correctness, completeness, concision, organization, and usefulness as a clinical note>,\n \"reasoning\": \"<one-sentence explanation>\"\n}}\n",
"SINGLE_NOTE_CONTAMINATION_TEMPLATE": "## Encounter Transcript\n{transcript}\n\n## Generated Progress Note\n{note}\n\n## Known Irrelevant Distractor\n{distractor_summary}\n\n## Scoring Rubric (respond in JSON)\n{{\n \"distractor_contamination\": <0 or 1, does the note treat the known irrelevant distractor as clinically significant?>,\n \"contamination_severity\": <0-3, where 0 means absent and 3 means clinically consequential incorporation>,\n \"reasoning\": \"<one-sentence explanation>\"\n}}\n",
"SINGLE_NOTE_CLEAN_CONTROL_TEMPLATE": "## Encounter Transcript\n{transcript}\n\n## Generated Progress Note\n{note}\n\n## Scoring Rubric (respond in JSON)\n{{\n \"distractor_contamination\": <0 or 1, does the note elevate clearly irrelevant, off-topic, or non-clinical conversation into clinically significant content?>,\n \"contamination_severity\": <0-3, where 0 means absent and 3 means clinically consequential incorporation>,\n \"reasoning\": \"<one-sentence explanation; identify the specific irrelevant content when the score is nonzero>\"\n}}\n",
"ATTRIBUTION_JUDGE_SYSTEM": "You are a senior attending physician auditing a generated clinical note. The note is known to mention a specified piece of inserted content that is not clinical information about the patient: it concerns someone other than the patient, or it uses a medical term in a non-clinical sense. Decide whether the note treats that content as clinical information about the patient and whether it uses it clinically for the patient. Respond only with valid JSON.",
"ATTRIBUTION_JUDGE_TEMPLATE": "## Original Clinical Encounter\n{clean_transcript}\n\n## Inserted Content (not clinical information about the patient)\n{distractor_summary}\n\n## Generated Note\n{note}\n\nClassify how the note handles the inserted content:\n- \"patient\": the note presents the content as the patient's own symptom, history, exposure risk, diagnosis or problem (or reads a non-clinical remark as a clinical fact about the patient), or bases part of the assessment or plan for the patient on it;\n- \"correct\": the note records the content with its correct meaning (attributed to the other person, or as the non-clinical remark it was, whether or not it labels it as unrelated), and no assessment or plan item for the patient rests on it;\n- \"absent\": the note does not mention the content.\n\nRespond only with:\n{{\"attribution\": \"<patient|correct|absent>\", \"used_for_patient\": <0 or 1, 1 if any assessment, diagnosis or plan item for the patient rests on the content>, \"reasoning\": \"<one concise sentence>\"}}\n"
},
"perturb_v2": {
"RELATIVES": [
"my sister",
"my brother",
"my aunt",
"my uncle",
"my cousin",
"my mother-in-law"
],
"NON_RELATIVES": [
"a coworker",
"a neighbour",
"a friend",
"a friend's father",
"my son's teacher",
"our mail carrier",
"someone from my gym",
"my barber",
"a guy on my softball team",
"my landlord"
],
"CONDITIONS": {
"musculoskeletal": [
[
"knee replacement",
[
"knee replacement",
"new knee"
],
"had a knee replacement six weeks ago and is doing physiotherapy twice a week",
true
],
[
"rotator cuff tear",
[
"rotator cuff"
],
"tore a rotator cuff playing tennis and is waiting for surgery",
true
],
[
"meniscus tear",
[
"meniscus"
],
"tore a meniscus and had an arthroscopy last month",
true
],
[
"sciatica",
[
"sciatica"
],
"has been off work with sciatica and was given naproxen and a physio referral",
true
],
[
"frozen shoulder",
[
"frozen shoulder"
],
"is getting steroid injections for a frozen shoulder",
true
],
[
"plantar fasciitis",
[
"plantar",
"heel"
],
"has plantar fasciitis from running and now wears orthotics",
true
],
[
"wrist fracture",
[
"wrist"
],
"broke a wrist slipping on ice and has a cast for six weeks",
true
],
[
"hip replacement",
[
"hip replacement",
"new hip"
],
"had a hip replacement and is walking with a cane for now",
true
],
[
"bunion surgery",
[
"bunion"
],
"had bunion surgery and has to wear a boot",
true
],
[
"whiplash",
[
"whiplash"
],
"has whiplash after a minor car accident and is doing neck exercises",
true
]
],
"cardiovascular": [
[
"pacemaker",
[
"pacemaker"
],
"just got a pacemaker for a slow heart rhythm",
false
],
[
"coronary stent",
[
"stent"
],
"had a stent put in last month and is on cardiac rehab",
false
],
[
"varicose vein surgery",
[
"varicose"
],
"had varicose vein surgery and wears compression stockings",
true
],
[
"atrial fibrillation ablation",
[
"ablation",
"fibrillation"
],
"had an ablation for atrial fibrillation",
false
],
[
"blood pressure medication change",
[
"blood pressure"
],
"had their blood pressure medication changed to amlodipine",
false
],
[
"heart valve repair",
[
"valve"
],
"had a heart valve repaired and is recovering well",
false
]
],
"respiratory": [
[
"nasal polyp surgery",
[
"polyp"
],
"had nasal polyps removed and can finally breathe through the nose",
true
],
[
"deviated septum repair",
[
"septum"
],
"had a deviated septum repaired",
true
],
[
"collapsed lung after rib fracture",
[
"collapsed lung",
"chest tube"
],
"had a collapsed lung after breaking a rib and needed a chest tube",
true
],
[
"sleep apnoea machine",
[
"apnea",
"apnoea",
"cpap"
],
"just started on a CPAP machine for sleep apnoea",
false
],
[
"asthma inhaler switch",
[
"inhaler",
"asthma"
],
"was switched to a new asthma inhaler",
false
],
[
"vocal cord nodule",
[
"vocal cord",
"nodule"
],
"had a vocal cord nodule removed and is on voice rest",
true
]
],
"gastrointestinal": [
[
"gallbladder removal",
[
"gallbladder"
],
"had their gallbladder out laparoscopically",
false
],
[
"appendectomy",
[
"appendix",
"appendectomy"
],
"had an appendectomy two weeks ago",
true
],
[
"hernia repair",
[
"hernia"
],
"just had an inguinal hernia repaired with mesh",
true
],
[
"colonoscopy with polyp removal",
[
"colonoscopy",
"polyp"
],
"had a colonoscopy and a benign polyp removed",
false
],
[
"reflux medication",
[
"reflux",
"omeprazole"
],
"was started on omeprazole for reflux",
false
],
[
"haemorrhoid surgery",
[
"hemorrhoid",
"haemorrhoid"
],
"had haemorrhoid surgery and is complaining about the recovery",
true
]
],
"neurological": [
[
"concussion from a bike fall",
[
"concussion"
],
"had a mild concussion after falling off a bike and is off screens for a week",
true
],
[
"carpal tunnel surgery",
[
"carpal tunnel"
],
"had carpal tunnel surgery on the right hand",
true
],
[
"migraine treatment",
[
"migraine"
],
"was started on a new preventive tablet for migraines",
false
],
[
"Bell's palsy",
[
"bell's palsy",
"bells palsy",
"facial"
],
"had Bell's palsy that is slowly resolving with steroids",
false
],
[
"sciatica",
[
"sciatica"
],
"has been off work with sciatica and was given naproxen and a physio referral",
true
],
[
"pinched nerve in the neck",
[
"pinched nerve",
"neck"
],
"has a pinched nerve in the neck and is doing traction at physio",
true
]
],
"genitourinary": [
[
"kidney stone",
[
"kidney stone"
],
"passed a kidney stone last week after two days in agony",
false
],
[
"vasectomy",
[
"vasectomy"
],
"had a vasectomy and took a week off",
true
],
[
"lithotripsy",
[
"lithotripsy"
],
"had lithotripsy for a stone that would not pass",
false
],
[
"enlarged prostate medication",
[
"prostate"
],
"was started on tamsulosin for an enlarged prostate",
false
],
[
"bladder sling surgery",
[
"bladder",
"sling"
],
"had a bladder sling operation",
false
]
],
"endocrine": [
[
"thyroid nodule removal",
[
"thyroid"
],
"had a benign thyroid nodule removed",
false
],
[
"type 2 diabetes medication change",
[
"diabetes",
"metformin"
],
"had their diabetes tablets changed to metformin",
false
],
[
"gout flare",
[
"gout"
],
"had a gout flare after a barbecue and is on allopurinol now",
false
],
[
"vitamin D deficiency",
[
"vitamin d"
],
"was told they are low in vitamin D and takes drops",
false
],
[
"thyroid medication adjustment",
[
"levothyroxine",
"thyroid"
],
"had their levothyroxine dose adjusted",
false
]
],
"dermatological": [
[
"mole removal",
[
"mole"
],
"had a mole removed from the back and it was benign",
true
],
[
"eczema cream",
[
"eczema"
],
"was given a new steroid cream for eczema",
false
],
[
"psoriasis treatment",
[
"psoriasis"
],
"started a new treatment for psoriasis",
false
],
[
"cyst removal",
[
"cyst"
],
"had a sebaceous cyst removed from the neck",
true
],
[
"wart freezing",
[
"wart"
],
"had a plantar wart frozen off",
true
]
],
"psychiatric": [
[
"anxiety counselling",
[
"anxiety",
"counsel",
"therap"
],
"started counselling for anxiety and says it helps",
false
],
[
"insomnia treatment",
[
"insomnia",
"sleep"
],
"is doing a sleep programme for insomnia",
false
],
[
"ADHD medication",
[
"adhd"
],
"was started on medication for ADHD",
false
],
[
"grief counselling",
[
"grief",
"counsel"
],
"is seeing a grief counsellor after losing a pet",
true
]
],
"ent_ophthalmic_dental": [
[
"cataract surgery",
[
"cataract"
],
"had cataract surgery and can finally read the paper again",
true
],
[
"tonsillectomy",
[
"tonsil"
],
"had their tonsils out and lived on ice cream for a week",
true
],
[
"hearing aid fitting",
[
"hearing aid"
],
"just got fitted for hearing aids",
false
],
[
"root canal",
[
"root canal"
],
"needed a root canal and complained about the bill",
true
],
[
"LASIK",
[
"lasik",
"laser eye"
],
"had laser eye surgery and no longer needs glasses",
true
],
[
"ear tubes",
[
"ear tube",
"grommet"
],
"had ear tubes put in as a child",
true
]
],
"hematologic_oncologic": [
[
"iron deficiency anaemia",
[
"iron",
"anemia",
"anaemia"
],
"was found to be low in iron and takes tablets now",
false
],
[
"basal cell skin cancer removal",
[
"basal cell"
],
"had a basal cell skin cancer removed from the nose",
false
],
[
"benign lymph node biopsy",
[
"lymph node",
"biopsy"
],
"had a lymph node biopsy that came back benign",
false
],
[
"blood donation",
[
"blood donation",
"donate"
],
"donates blood every few months and jokes about the biscuits",
true
]
],
"obstetric_gynecologic": [
[
"fibroid surgery",
[
"fibroid"
],
"had fibroids removed and is recovering",
false
],
[
"endometriosis treatment",
[
"endometriosis"
],
"is being treated for endometriosis",
false
],
[
"pregnancy nausea",
[
"pregnan",
"morning sickness"
],
"is pregnant and struggling with morning sickness",
true
],
[
"IUD fitting",
[
"iud",
"coil"
],
"just had an IUD fitted",
true
]
]
},
"NONLITERAL_ITEMS": [
[
"the film Contagion",
[
"contagion"
],
"the film Contagion, watched as a movie",
[
"respiratory",
"general"
]
],
[
"a cat named Lupus",
[
"lupus"
],
"a cat named Lupus",
[
"musculoskeletal",
"dermatological",
"general"
]
],
[
"the band The Strokes",
[
"strokes"
],
"the band The Strokes",
[
"neurological",
"cardiovascular",
"general"
]
],
[
"the zodiac sign Cancer",
[
"cancer"
],
"the zodiac sign Cancer (astrology, not the disease)",
[
"hematologic_oncologic",
"dermatological",
"general"
]
],
[
"a stock market 'stroke'",
[
"stroke"
],
"a stock market that 'had a stroke' this week (a joke about prices)",
[
"neurological",
"cardiovascular"
]
],
[
"a car with an 'arrhythmia'",
[
"arrhythmia"
],
"an old car whose engine has 'an arrhythmia' (it stalls)",
[
"cardiovascular"
]
],
[
"a sailboat named Vertigo",
[
"vertigo"
],
"a sailboat named Vertigo",
[
"neurological",
"ent_ophthalmic_dental"
]
],
[
"the film Concussion",
[
"concussion"
],
"the film Concussion, discussed as a movie",
[
"neurological",
"musculoskeletal"
]
],
[
"the album Hysteria",
[
"hysteria"
],
"the album Hysteria by Def Leppard",
[
"psychiatric",
"general"
]
],
[
"a sourdough starter 'in remission'",
[
"remission"
],
"a sourdough starter that 'went into remission' (stopped rising)",
[
"hematologic_oncologic",
"gastrointestinal"
]
],
[
"a novel with a 'fractured' plot",
[
"fractur"
],
"a novel with a 'fractured' plot",
[
"musculoskeletal"
]
],
[
"a horse named Migraine",
[
"migraine"
],
"a racehorse named Migraine",
[
"neurological"
]
],
[
"a coffee shop called Delirium",
[
"delirium"
],
"a coffee shop called Delirium",
[
"psychiatric",
"neurological"
]
],
[
"a video game called Outbreak",
[
"outbreak"
],
"a video game called Outbreak",
[
"respiratory",
"dermatological",
"general"
]
],
[
"a puppy named Tremor",
[
"tremor"
],
"a puppy named Tremor",
[
"neurological",
"endocrine"
]
],
[
"a garden 'in shock' after frost",
[
"shock"
],
"a garden that 'went into shock' after a late frost",
[
"cardiovascular",
"general"
]
],
[
"a laptop with 'chronic fatigue'",
[
"fatigue"
],
"an old laptop with 'chronic fatigue' (the battery dies)",
[
"endocrine",
"hematologic_oncologic",
"psychiatric"
]
],
[
"a football team's 'hernia' of a defence",
[
"hernia"
],
"a football team whose defence 'has a hernia' (it keeps giving way)",
[
"gastrointestinal",
"musculoskeletal"
]
],
[
"a plant nursery called Colic",
[
"colic"
],
"a plant nursery called Colic",
[
"gastrointestinal",
"obstetric_gynecologic"
]
],
[
"a rowing boat named Cataract",
[
"cataract"
],
"a rowing boat named Cataract",
[
"ent_ophthalmic_dental"
]
],
[
"a bakery called Sweet Tooth Cavity",
[
"cavity"
],
"a bakery called Cavity",
[
"ent_ophthalmic_dental"
]
],
[
"a band called Kidney Stone",
[
"kidney stone"
],
"a garage band called Kidney Stone",
[
"genitourinary"
]
],
[
"a racehorse named Palpitation",
[
"palpitation"
],
"a racehorse named Palpitation",
[
"cardiovascular"
]
],
[
"a sourdough 'going into labour'",
[
"labour",
"labor"
],
"a bread dough that 'went into labour' overnight (it rose)",
[
"obstetric_gynecologic"
]
]
],
"STYLES": [
"small talk while the clinician types",
"a light joke",
"a passing remark while changing subject",
"a comment about the weekend",
"an aside while the patient settles in"
],
"SYSTEM": "You write short, realistic asides for doctor-patient transcripts. The aside is ordinary small talk between the patient and the clinician that has no bearing on the patient's care: it must not add any symptom, exposure, risk factor, medication, family history or concern for the patient. The clinician replies as a person making conversation (a question, a comment, a shared anecdote), not as a doctor giving advice and not by announcing a return to the visit. Return only valid JSON.",
"USER": "Insert a short irrelevant mini conversation into this clinical transcript.\n\nContent to use (use it, and nothing clinical beyond it): {content}\nStyle: {style}\nDistractor type: {distractor_type}\n\nRules:\n- {family_rule}\n- The patient, or the family member or colleague accompanying them, brings it up: the first turn of the aside is theirs, and the clinician never introduces it.\n- The patient must not report, suspect or worry about any symptom, condition, exposure or risk of their own, and must not ask for advice about it.\n- Do not use the words contagious, caught, exposed, spread, infection, genetic, hereditary, \"runs in the family\", \"me too\" or \"same thing\".\n- Use only these speaker tags exactly as written: {speaker_tags}.\n- Match the transcript's tone and speaker-tag format. Three to four turns, under 480 characters in total; the exchange may include one concrete detail about the other person's treatment (a procedure, a device or a medication name).\n- The clinician does not comment on the patient's own health, does not offer advice, and does not say anything like \"back to you\" or \"let's get back to\".\n- Do not rewrite or summarize the original transcript.\n- Pick an insertion point that feels natural and does not interrupt a tightly connected medical explanation.\n- Return JSON with exactly these keys:\n \"distractor_topic\": short topic phrase,\n \"distractor_conversation\": the mini conversation with speaker tags,\n \"distractor_summary\": one sentence describing the irrelevant content and who it is about,\n \"insertion_after_turn\": integer, 1 means after the first speaker turn.\n\nTranscript:\n{transcript}\n",
"FAMILY_RULE": {
"bystander": "The condition belongs to the named third party only, it is already being handled by their own doctors, and nothing about it applies to the patient.",
"nonliteral": "The medical word appears only in its non-clinical sense (a title, a name, a figure of speech); nobody in the exchange has or fears the condition."
}
},
"label_systems": {
"SYSTEMS": [
"musculoskeletal",
"cardiovascular",
"respiratory",
"gastrointestinal",
"neurological",
"genitourinary",
"endocrine",
"dermatological",
"psychiatric",
"ent_ophthalmic_dental",
"hematologic_oncologic",
"obstetric_gynecologic",
"general"
],
"SYSTEM_PROMPT": "You classify clinical encounter transcripts by the organ system they are about. Respond only with JSON.",
"USER": "Which organ system is this encounter (or excerpt of an encounter) about? Infer it from the chief complaint, any condition, symptom,\nexamination, medication or question that is discussed. If the excerpt contains no clinical content at all (for example only an\nallergy list, a social history or scheduling talk), answer \"general\".\n\nAllowed labels: {labels}\n\nTranscript:\n{transcript}\n\nReference note (may be empty):\n{note}\n\nReturn JSON: {{\"body_system\": \"<label>\", \"rationale\": \"<one short sentence>\"}}\n"
},
"judge_controlled": {
"KEYS": [
"source_dataset",
"item_id",
"model",
"distractor_type",
"condition"
],
"PROTOCOL": "v4_single_note_matched_target",
"MODEL": "claude-sonnet-5",
"SYSTEM": "You are a senior attending physician auditing a generated clinical note. Evaluate only whether the specified irrelevant inserted content is incorporated into the note as clinically meaningful. Score the note independently and respond only with valid JSON.",
"TEMPLATE": "## Original Clinical Encounter\n{clean_transcript}\n\n## Known Irrelevant Inserted Content\n{distractor_summary}\n\n## Generated Note\n{note}\n\nThe inserted content is supplied only as an evaluation target; do not infer that the note contains it. Evaluate the note independently. Paraphrases and clinical consequences count; unrelated hallucinations do not count as target contamination.\n\nRespond only with:\n{{\"contamination\": <0 or 1>, \"severity\": <0-3>, \"reasoning\": \"<one concise explanation>\"}}\n"
}
}
|