<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mark Kramer on Medium]]></title>
        <description><![CDATA[Stories by Mark Kramer on Medium]]></description>
        <link>https://medium.com/@kramermark?source=rss-b4f9532a6fa6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*E69nQVTW3U9VZcKm</url>
            <title>Stories by Mark Kramer on Medium</title>
            <link>https://medium.com/@kramermark?source=rss-b4f9532a6fa6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 08:07:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kramermark/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Fix Your Toxic Relationship with AI]]></title>
            <link>https://medium.com/@kramermark/fix-your-toxic-relationship-with-ai-5c10f8d7baa2?source=rss-b4f9532a6fa6------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c10f8d7baa2</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[relationships]]></category>
            <dc:creator><![CDATA[Mark Kramer]]></dc:creator>
            <pubDate>Mon, 29 Sep 2025 12:33:04 GMT</pubDate>
            <atom:updated>2025-09-29T12:33:44.726Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l-iHcnoMEcgg89sHGiPBZw.png" /></figure><p>Jayden is falling behind by insisting on doing work that AI could do because he doesn’t trust the results. Maddy merged some AI-generated code into her project, but can’t explain how it works. Chris is hitting it out of the park. What is going on?</p><p>In the venerable tradition of self-help books, we present one unifying framework that explains <em>everything</em> about your (possibly toxic) relationship with AI. Find yourself or a co-worker on this chart, and you will discover profound new insights that help build a strong foundation for a productive and enduring relationship with AI. Here it is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wc_-PaZ2T1UsaQjw9ZWMlQ.png" /></figure><p>This chart maps your AI relationship in two key dimensions:</p><ul><li><strong>Performance Axis (horizontal): </strong>How AI performs relative to you in your specific context.</li><li><strong>Trust Axis (vertical):</strong> How much you trust AI (too much trust → calibrated → too much <strong>dis</strong>trust) in that context.</li></ul><p>Just like Myers-Briggs helps you decode different personality types, this chart helps to decode your relationship with AI. Here’s what each box means:</p><h4>The Toxic Relationships (Red)<strong>🚨</strong></h4><p>The upper left and lower right are not good places to be.</p><p><strong>Dangerous Deference (upper left): </strong>This is where you find yourself if you trust AI too much in areas of your own competence, so much so that you let it override your better judgment. Maybe you’ve told yourself that AI <em>must</em> know better because it seems so confident. With a resigned shrug you accept the code it writes, the contract language it suggests, or the strategy it postulates. <strong><em>Relationship fix:</em></strong> Repeat Stuart Smalley’s daily affirmation, “I’m good enough, I’m smart enough, and doggone it, people like me.”</p><p><strong>Wasted Opportunity (lower right): </strong>This is where you are highly distrustful of AI and consistently reject it. You will never admit that AI is here to stay, and doing things you couldn’t. Your denial allows competitors to eat your lunch. <strong><em>Relationship fix:</em></strong> It’s okay to feel sad, angry, confused, or hurt. Accept your situation, release those emotions, so you can deal with the new reality.</p><h4>Danger Zones (Yellow) ⚠️</h4><p>In the upper right and lower left, these areas signal extremes of co-dependence and relationship aversion.</p><p><strong>Learned Helplessness (upper right):</strong> You see AI as a superior intelligence, so over time you’ve ceded your agency and independence, leading to feelings of powerlessness, low self-esteem, depression, and hopelessness. <strong><em>Relationship fix:</em></strong> Overcoming learned helplessness involves challenging pessimistic thought patterns, building belief in your ability to achieve goals, and breaking the cycle of passive responses. Set small, manageable goals that can build confidence and demonstrate that your actions can lead to positive outcomes.</p><p><strong>Stubborn Independence (lower left):</strong> Hyper-independent individuals may view AI assistance as a threat to their self-reliance and identity, perceiving dependence on technology as weakness or a compromise of their autonomy. They might fear that accepting AI’s help erodes the problem-solving skills and self-sufficiency they’ve cultivated and take pride in. <strong><em>Relationship fix: </em></strong>Frame AI as a tool that amplifies autonomy rather than replaces it. Try shifting your mindset from “I can do it myself” to “I’m leveraging resources effectively,” which aligns with self-sufficiency and turns a perceived threat into an opportunity.</p><h4>Warning Zones (Orange) 💥</h4><p>Located in the upper center and lower center, these are areas of relationship trouble that should be addressed before they get worse.</p><p><strong>Creeping Complacency (upper center): </strong>You’re gradually handing over decisions to AI where you’re just as capable. Your training and critical thinking capabilities are eroding, and you are becoming more and more dependent on AI. You’re a competent writer, but now AI writes every first draft and it is showing. <strong><em>Relationship fix</em></strong>: You’ve gotten too comfortable and you no longer put in the effort you did in the beginning of your relationship with AI. You need to break routines, ask questions, and challenge assumptions.</p><p><strong>Lost Productivity (lower center)</strong>: You’re experiencing negative thoughts. Where once you felt connected to AI, you are being overtaken by constant doubts. Increasingly, you may be interpreting minor inaccuracies as major red flags. Your workload is increasing as you turn away from AI. <strong><em>Relationship fix</em></strong>: Negative thoughts can stem from unrealistic expectations. Reduce the pressure to find a “perfect” answer and free up energy to focus on building a healthy relationship.</p><h4>The Healthy Relationships (Green) 🌿</h4><p>The center row represents three healthy ways to relate to AI.</p><p><strong>Supported Performance (center left): </strong>Because you have a high degree of competence, AI becomes your research assistant while you focus on the thinking that requires actual expertise. Or, AI handles routine email that used to take you hours each day. Your productivity soars. <strong>Example:</strong> Senior architect using AI for building code compliance while designing the creative vision.</p><p><strong>Productive Collaboration (center): </strong>A sweet spot, where you and AI have complementary strengths and you’ve figured out how to combine them. AI handles data processing, you provide interpretation and context. You have a true partnership where you each do what you’re best at. <strong>Example: </strong>AI does deep research on an unfamiliar topic, saving you hours or days. You then choose the most promising areas to follow up.</p><p><strong>Slippery Superpower (center right): </strong>You’ve learned how to use AI to extend your previous capabilities. AI has supercharged your performance. You are trying to maintain meaningful oversight, but since you are delving into areas where you might not be an expert, you need to watch for the gradual slide toward over-dependence. <strong>Example:</strong> You’re not a programmer, but you have the vision, and AI is doing the coding for you.</p><h3>Conclusion</h3><p>If you are a manager, all of these archetypes might inhabit your organization. This simple 3x3 matrix can help you spot, diagnose, and guide individuals into healthier, more productive relationships with AI.</p><p>If you are an individual, being aware of the pathologies in the top and bottom rows can help you maintain a healthy relationship with AI.</p><p><em>Which relationship pattern describes you? Share in the comments — I’m curious how many people recognize their own patterns. And if this framework helped, clap it up so others can fix their relationships too.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c10f8d7baa2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Tested 12 “Best-in-Class” PDF Table Extraction Tools, and the Results Were Appalling]]></title>
            <link>https://medium.com/@kramermark/i-tested-12-best-in-class-pdf-table-extraction-tools-and-the-results-were-appalling-f8a9991d972e?source=rss-b4f9532a6fa6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8a9991d972e</guid>
            <category><![CDATA[image-processing]]></category>
            <category><![CDATA[pdf]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[table-extraction]]></category>
            <category><![CDATA[clinical-trials]]></category>
            <dc:creator><![CDATA[Mark Kramer]]></dc:creator>
            <pubDate>Sat, 02 Aug 2025 00:45:25 GMT</pubDate>
            <atom:updated>2025-09-24T17:33:48.972Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>One tool proved vastly superior to the rest</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jrq3lOK9fzsyjWlvqozzeQ.png" /></figure><p>One of the problems I’m currently working on involves extracting schedules of activities (SoAs) from clinical study protocol documents. The SoA is a table, often large enough to span multiple printed pages, laying out the sequence and timing of all study-related medical procedures. It’s the master schedule for months or years of clinical care for all trial participants. If you are going to extract the SoA and convert it into a computer-assisted workflow, you’d better get it EXACTLY RIGHT, or a patient could get the wrong treatment or test at the wrong time.</p><p>Naively, I thought parsing tables into digital form was a solved problem. After all, PDF extraction is a core part of many business intelligence applications and AI pipelines, and there are dozens of tools claiming impressive accuracy rates and sophisticated AI capabilities.</p><p>I evaluated 12 different options, commercial and open source. I’ll share the experience by comparing results obtained on <a href="https://cdn.clinicaltrials.gov/large-docs/90/NCT01712490/Prot_000.pdf">a simple SoA</a> with typical features: column headers representing time intervals and time points, procedures listed in the rows, and ‘X’ marks indicating when procedures are carried out:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jLAEIeegOUxGrzgmdWpAJQ.png" /><figcaption>A typical SoA subtable used for testing table extraction</figcaption></figure><p>This is one of three subtables that make up this SoA, but for simplicity, we’ll focus only on this portion. In the original PDF, this is a structured table, meaning it is not an image, but rather an explicit layout of lines and text encoded in the PDF.</p><h3>A Key Feature: Merged Cells</h3><p>Merged cells are very important to get right. In the column headers they indicate the relationship between the major phases of the study, treatment cycles, and clinic visits. (A cycle refers to a defined period of treatment that is repeated on a regular schedule, commonly part of oncology treatment.) In the first column, merged cells group types of related procedures. In the data area, they can represent activities to be carried out continuously during the study, such as monitoring for adverse events. Some table parsers deal with merged cells by copying the value to each component cell. For SoAs, that approach is a non-starter, since it loses the semantics attached to merged cells. For example, <a href="https://cdn.clinicaltrials.gov/large-docs/69/NCT03911869/Prot_000.pdf">this</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*Y1A1usIJ2WBakjr74aJM6g.png" /></figure><p>is not the same as this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*A9g30f1b77Gj43yeaCdWGQ.png" /></figure><p>(The top indicates a continuous dosing regimen, and the bottom represents five discrete doses.)</p><h3>First Category: Commercial Solutions</h3><p>I evaluated six commercial table extraction solutions, focusing on those that provided a free trial or had an interactive web page available to try out the product. Here they are, in alphabetical order:</p><h3><strong>1. ComPDF</strong></h3><p>Among all the commercial solutions, ComPDF was the only tool to correctly capture the hierarchical column headers. However, it had issues with row label merging and missed multiple ‘X’s, a serious error in this context. It missed rotated text and some footnotes, as well. Here is the output (red indicates trouble spots, but coloring can’t highlight missing rows and columns):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LNj3v6FxGdsPHZ2Y9SGlhw.png" /><figcaption>Result with ComPDF</figcaption></figure><h3>2. DocSumo</h3><p><a href="https://www.docsumo.com/">DocSumo</a> is an enterprise system that converts unstructured documents into multiple structured formats. They offer an <a href="https://www.docsumo.com/resources/pdf-to-text-converter">online tool</a> to convert PDF tables to JSON and CSV text. The result was a table unlike the original, with missing rows and columns, and strangely, with columns in alphabetical order.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BevQfXYYD_2fUS5E1D7rdw.png" /><figcaption>Result with DocSumo</figcaption></figure><h3><strong>3. ExtractTable</strong></h3><p><a href="https://extracttable.com/v3/index.html">ExtractTable</a> is a cloud-only API service that processes images and PDFs, with a credit-based pricing model and claims of high accuracy even with bad quality images. Since the output format is CSV, there is no ability to represent merged cells, which is a showstopper. Instead, the content of merged cells was arbitrarily distributed among adjacent cells. More disturbingly, it missed quite a few ‘X’s, which is consequential in this application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DpEzI2_paJmnFUxsslw_FA.png" /><figcaption>Result with ExtractTable</figcaption></figure><h3><strong>4. Nanonets</strong></h3><p><a href="https://nanonets.com/">Nanonets</a> is another enterprise AI platform that claims over 99% data accuracy with pre-trained models for various document types. They sldo offer an <a href="https://nanonets.com/free-tools/extract-table-from-pdf">online table extractor</a>. The results were similar to ExtractTable, but with fewer missed ‘X’s. Curiously, footnotes citations turned into oddball characters like á¶”œ.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*USFtgs1fJ766MMtS1LXDiA.png" /><figcaption>Result with Nanonets</figcaption></figure><h3><strong>5. PDFTables</strong></h3><p><a href="https://pdftables.com/">PDFTables</a> is a UK-based commercial service that converts PDF documents into Excel, CSV, XML and HTML formats using an algorithm that examines spacing between items to identify rows and columns. It claims to be “the number 1 <a href="https://pdftables.com/api">API</a> for converting PDF to Excel.” The results were not bad, but it did not recognize merged cells, and created a new row for each line of text inside a cell. Rotated text was entirely missing. Footnote citations were accurate, although the superscripting was lost.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eNqQW7ZhhoSVYCSU3mUt9A.png" /><figcaption>Result with PDFTables</figcaption></figure><h3>6. Reducto</h3><p>Last in this category, I tried <a href="https://reducto.ai/">Reducto</a>. Built by MIT alumni and backed by over $33 million in funding, they claim best-in-class 90.2% table similarity scores on their <a href="https://reducto.ai/blog/rd-tablebench">RD-TableBench benchmark</a>. Their approach combines vision models with LLMs specifically for complex document layouts. To get access, I reached out to Reducto’s representatives, who ran their software on the test case. Despite the impressive benchmark performance, the results showed a host of structural issues including misalignments, merging of adjacent columns, and randomly merged cells. It also misidentified footnotes (o for c, 9 for g, etc.).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qirgbQElQa6f4j3_seMgRA.png" /><figcaption>Result with Reducto</figcaption></figure><h3><strong>Second Category: Generative AI Models</strong></h3><p>The most advanced AI models possess capabilities to read and interpret information many formats, including PDFs, and have the ability to handle a wide range of visual tasks, including understanding complex images. But could they understand tables? Since it was unclear whether AI systems would do better with PDF input or image input (PNG), I tried both.</p><p>First, I had to design a prompt. To assure precise cell-by-cell accuracy, the prompt asks for properties of each cell to be returned as a separate JSON object. Although non-essential, I also asked the AI to extract formatting characteristics with the goal of building a “visual twin” of the original table:</p><pre>You are a precise table analysis system. Analyze the provided table and extract detailed information for every non-empty cell. Return your analysis as a JSON structure containing an array of cell objects.<br>Instructions<br>Examine the table carefully and identify each individual cell. For every cell in the table, extract the following properties:<br><br>* Row_Start: The row number where the cell begins (top edge). Numbering starts at 1.<br>* Row_End: The row number where the cell ends (bottom edge). For single-row cells, this equals Row_Start.<br>* Col_Start: The column number where the cell begins (left edge). Numbering starts at 1.<br>* Col_End: The column number where the cell ends (right edge). For single-column cells, this equals Col_Start.<br>* Cell_Content: The exact text content within the cell. Include all visible text, preserving spacing and punctuation.<br>* Bold: Boolean value (true/false) indicating whether the text appears in bold formatting.<br>* Rotation: Text rotation in degrees. Use 0 for normal horizontal text, 90 for text reading bottom-to-top, -90 for text reading top-to-bottom.<br>* H_Align: Horizontal text alignment within the cell. Use &quot;left&quot;, &quot;center&quot;, or &quot;right&quot;.<br>* V_Align: Vertical text alignment within the cell. Use &quot;top&quot;, &quot;middle&quot;, or &quot;bottom&quot;.<br><br>Important Guidelines<br>1. Coordinate System: The top-left cell is position (1,1). Row numbers increase downward, column numbers increase rightward.<br>2. Merged Cells: If a cell spans multiple rows or columns, set Row_End and Col_End to reflect the full span. For example, a cell spanning rows 2-4 and columns 3-5 would have Row_Start=2, Row_End=4, Col_Start=3, Col_End=5.<br>3. Empty Cells: Return nothing.<br>4. Text Analysis: Pay careful attention to formatting. Look for bold text, text alignment, and rotated text.<br><br>Output Format<br>Return a JSON object with this exact structure:<br>{ &quot;cells&quot;: [ { &quot;Row_Start&quot;: 1, &quot;Row_End&quot;: 1, &quot;Col_Start&quot;: 1, &quot;Col_End&quot;: 3, &quot;Cell_Content&quot;: &quot;Header 1&quot;, &quot;Bold&quot;: True, &quot;Rotation&quot;: 0, &quot;H_Align&quot;: &quot;center&quot;, &quot;V_Align&quot;: &quot;middle&quot;}, { &quot;Row_Start&quot;: 2, &quot;Row_End&quot;: 2, &quot;Col_Start&quot;: 1, &quot;Col_End&quot;: 1, &quot;Cell_Content&quot;: &quot;Valueᵃ&quot;, &quot;Bold&quot;: False, &quot;Rotation&quot;: 0, &quot;H_Align&quot;: &quot;right&quot;, &quot;V_Align&quot;: &quot;middle&quot;} ]}<br><br>Quality Checklist<br>Before submitting your response, verify:<br>* [ ] All non-empty cells are included<br>* [ ] Row/column coordinates are correct (starting from 1)<br>* [ ] Merged cells have accurate row and column information<br>* [ ] Text content is transcribed exactly<br>* [ ] Formatting attributes are accurately assessed<br>* [ ] JSON structure is valid and complete<br>Analyze the table systematically, working from left to right, top to bottom. Take your time to ensure accuracy in both content extraction and formatting analysis.</pre><p>I tried Claude, Gemini, and OpenAI’s o3 model using this prompt. I couldn’t get o3 to return a complete answer despite building additional encouragement into the prompt. Although nowhere near the input or output token limits, apparently, o3 was <a href="https://community.openai.com/t/lazy-gpt-the-biggest-issue-with-gpt-models/1249630">simply too lazy</a> for this job.</p><h3><strong>7 &amp; 8. Claude Sonnet 4</strong></h3><p>I tested Anthropic’s Claude Sonnet 4 in extended thinking mode, first with PDF input, then image (PNG) input. Claude is my go-to for most things AI, but it failed miserably here. It had issues with row and column alignment, missed some ‘X’s, and missed or misidentified the footnotes. Claude’s PDF analysis even omitted the most important column: the list of procedures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ayrlYF1zU1Tm_7KMQuPX2g.png" /><figcaption>Result with Claude Sonnet 4 result with PDF input</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RCMVM4OBDj6BtwFNiTWNoA.png" /><figcaption>Result with Claude Sonnet 4 result with PNG input</figcaption></figure><h3>9 &amp; 10. Gemini 2.5 Pro</h3><p>Gemini 2.5 Pro is Google’s state-of-the-art thinking model, which excels in at many tasks. Like Claude, I tested Gemini 2.5 Pro with both PDF and image inputs. The results showed structural problems similar to Claude — difficulties with merged cells, alignment issues, and incomplete data extraction despite the model’s advanced reasoning capabilities. Gemini did better with image input. But overall, a disaster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X-dDr89qhmiD7LNRIWoUJg.png" /><figcaption>Result with Gemini 2.5 Pro with PDF input</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CnJUNvk12bCJZm-Ofg0T6g.png" /><figcaption>Result with Gemini 2.5 Pro with PNG input</figcaption></figure><h3>Third Category: Open-Source Solutions</h3><h3>IBM’s Docling: Specialized AI Model</h3><p>I had high hopes for <a href="https://github.com/docling-project/docling">Docling</a>, IBM’s open-source PDF conversion toolkit powered by <a href="https://arxiv.org/abs/2203.01017">TableFormer</a>, a specialized transformer model trained on over 1 million diverse table images from scientific, financial, and general domains. TableFormer achieved 93.6% average accuracy on several large table banks, significantly outperforming traditional solutions like Tabula (67.9%) and Camelot (73.0%).</p><p>Using “accurate” mode to receive best quality results, and following the coding example <a href="https://docling-project.github.io/docling/examples/export_tables/">here</a> to assure correct usage, I ran the test table through Docling. It struggled with the merged cells, incorrectly combined adjacent columns, and had trouble aligning content with headers. Here’s the result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iL-rHkkNREFHpXwoPxx92A.png" /></figure><h3>PDFPlumber</h3><p><a href="https://github.com/jsvine/pdfplumber">Pdfplumber</a> is a bit different from previous entries because it is a Python library, rather than a complete end-to-end solution. Pdfplumber provides detailed information about each character, rectangle, and line in a PDF. It’s particularly good with complex table structures and offers extensive customization via table_settings parameters. Here’s a code fragment that determines the coordinates of cells in a PDF table:</p><pre>import pdfplumber<br>pdf_path = &quot;Test_table.pdf&quot;<br>with pdfplumber.open(pdf_path) as pdf:<br>    page = pdf.pages[0]<br>    table = page.extract_table()<br>    tablefinder = page.debug_tablefinder()<br>    cells = tablefinder.cells</pre><p>As shown below, the cell detection for this example was <strong>perfect:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3rVo1rJjiau5c9i47Axicw.png" /></figure><h3>Not the End of the Story</h3><p>While pdfplumber is an excellent foundation library, it took a hefty amount of DIY work to go from cell detection to populate the schema described in the LLM prompt, which was my target. This determining row and column coordinates, dealing with grid misalignments, populating the cells with text, determining text properties such as rotation and alignment, and picking out the footnotes. Moreover, it turns out that pdfplumber does not work as well when cells have shading (showing different example here):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sg1Bl94X-nXe7birNWzY4Q.png" /></figure><p>In the end, I used pdfplumber only to extract raw information about the table from the PDF, the line segments and positions of individual letters, and built custom code for everything else, not the least of which was an algorithm for combining subtables when the SoA is split across multiple PDF pages. To get foolproof results, I also implemented an image-based fallback based on the <a href="https://pypi.org/project/opencv-python/">opencv library</a>.</p><p><em>**Unfortunately, I don’t have permission to release my code (at least not yet).**</em></p><p>Using pdfplumber in my custom solution, I finally succeeded in extracting SoAs and confirmed it by outputting a “visual twin” of each SoA table I analyzed, now numbering over 100 diverse protocols. Here’s the full visual twin table for the example, including all three subtables of the original SoA:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xk0F6mg26XLblXm7xtGGlA.png" /><figcaption>FInal result obtained based on pdfplumber and opencv and a lot of custom code.</figcaption></figure><h3>Lessons Learned</h3><p>The most sobering lesson was seeing cutting-edge AI models — designed for complex reasoning and problem-solving — struggle with what seemed like a straightforward document processing task. It’s a reminder that AI capabilities can be surprisingly uneven across different domains.</p><p>I was quite surprised that other solutions performed so poorly. However, I am not saying these tools are “bad”. I’m sure each has strengths in different scenarios. They just weren’t right for this particular job.</p><p>Moreover, my algorithm is optimized for SoA tables. It might not generalize as well to completely different table styles or domains. It is not designed to handle “virtual” grids — those that rely purely on text alignment and spacing without visible borders. Many business documents use this formatting style to look cleaner, but that wasn’t my use case.</p><p>Finally, <strong>kudos to the authors and contributors to pdfplumber. </strong>It is a fantastic package and the place to start when you have a problem similar to mine.</p><p><em>Dr. Mark A. Kramer is Distinguished Chief Engineer at MITRE Corporation, where he leads efforts in healthcare interoperability and standards development. He has been instrumental in developing mCODE, Synthea, and FHIR Shorthand.</em></p><p><em>All opinions express are my own and do not necessarily reflect the official policy of position of my employer.</em></p><p>© 2025 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 25–01406–08.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8a9991d972e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Hidden Challenge of Digitizing Clinical Trials: Why Converting Legacy Protocols Is Harder Than…]]></title>
            <link>https://medium.com/@kramermark/the-hidden-challenge-of-digitizing-clinical-trials-why-converting-legacy-protocols-is-harder-than-296e5088a6ff?source=rss-b4f9532a6fa6------2</link>
            <guid isPermaLink="false">https://medium.com/p/296e5088a6ff</guid>
            <category><![CDATA[schedule-of-activities]]></category>
            <category><![CDATA[usdm]]></category>
            <category><![CDATA[pdf-extraction]]></category>
            <category><![CDATA[fhir]]></category>
            <category><![CDATA[clinical-trials]]></category>
            <dc:creator><![CDATA[Mark Kramer]]></dc:creator>
            <pubDate>Fri, 25 Jul 2025 19:37:37 GMT</pubDate>
            <atom:updated>2025-09-24T17:34:21.857Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>The Hidden Challenge of Digitizing Clinical Trials: Why Converting Legacy Protocols Is Harder Than You Think</strong></h3><p><em>I analyzed more than 100 clinical trial protocols to uncover the barriers preventing automated digitalization of critical scheduling data</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hWax6f66uRDqs-s7gicwCg.png" /><figcaption>Barriers to Automatic Conversion of Clinical Trial Protocols to Structured Data</figcaption></figure><p>Imagine hundreds of multi-page tables with different layouts, extensive footnotes, complex directions, and confusing inconsistencies. Now imagine that these tables contain critical information that determines when patients receive treatments, undergo tests, and attend follow-up visits in clinical trials that could save lives.</p><p>This challenge faces the clinical trial industry today, and it’s far more complex than anyone anticipated.</p><h3><strong>The Problem: Legacy Protocols in a Digital World</strong></h3><p>Clinical trials are the backbone of modern medicine, and every trial relies on something called a <strong>Schedule of Activities (SoA)</strong> — essentially a detailed timeline that specifies exactly when every procedure, test, and assessment should occur throughout the study.</p><p>SoAs exist as PDF tables created in various formats by different organizations over decades. With the push toward digital clinical trials and automated systems, practitioners need to convert these legacy documents into structured, machine-readable data. But as my analysis revealed, this task is riddled with unexpected complications.</p><p><strong>Efficiency Killers</strong></p><p>The inability to automatically digitize these schedules creates bottlenecks that:</p><ul><li><strong>Slow down trial setup</strong> as investigators decode the schedule information</li><li><strong>Increase deviations</strong> from the protocol during trial execution</li><li><strong>Increase labor costs</strong> of trials</li><li><strong>Limit the potential</strong> for automated trial monitoring</li></ul><p>As the industry moves toward greater automation of clinical trials these legacy conversion challenges become critical bottlenecks.</p><h3><strong>A Systematic Investigation</strong></h3><p>As a precursor to creating an automatic protocol extraction tool, I undertook a systematic analysis of this digitalization challenge, examining more than 100 diverse clinical trial protocols across different therapeutic areas and sponsors. Three types of barriers to digitalization were identified:</p><p><strong>1. Structural (Layout) Challenges</strong></p><p>Clinical trial schedules aren’t simple grids — they’re complex hierarchical structures that convey temporal relationships through visual design:</p><ul><li><strong>Hierarchical headers</strong> create nested time periods (like “Treatment Phase” containing “Cycle 1” containing “Day 1, Day 15”)</li><li><strong>Merged cells</strong> indicate activity categories, trial phases, activity starts and stops, and continuous versus episodic activities.</li></ul><p>Additionally, because SoA tables are presented in paginated documents, a single SoA could be divided across multiple pages. Tables composed of up to 20 separate pieces were observed.</p><p><strong>2. Content Challenges</strong></p><p>Beyond structure, much of the sequence of activities, and details of the activities themselves, is conveyed through the content of cells and footnotes:</p><ul><li><strong>Repeated cycles</strong> that may be finite (“Cycles 1–5”) or open-ended (“Cycle 2 and beyond”)</li><li><strong>Multiple visits collapsed</strong> into single columns, disrupting chronological order</li><li><strong>Ambiguities</strong>, such as a column labeled “Day 5–7”, which could mean daily for three days, or once during this time period</li><li><strong>Embedded modifications</strong> where the row and column headers say one thing, but the text in the cell or in a footnote says something else.</li></ul><p>For example:</p><ul><li>A column header labeled “Cycle 2 and Beyond” with a footnote that says “a cycle is 21 days”, while a cell directly below says “Weeks 9, 18, 27, and then every 12 weeks”. What is to be made of this?</li><li>A row label that says “Body weight and height” and a cell in the row that says “Only weight” (that’s a simple one, it just gets worse)</li></ul><p><strong>3. Complications</strong></p><p>The most frustrating category involves technical issues that prevent accurate extraction from the PDF source, for example:</p><ul><li><strong>Embedded images</strong> in table cells that are easily overlooked during text extraction</li><li><strong>Custom font encodings</strong> where key symbols like “±” become unreadable</li><li><strong>Redacted information</strong> (black boxes) that confuse table boundary detection</li><li><strong>Grid misalignments</strong> that cause trouble for table extraction algorithms</li></ul><h3><strong>A Path Forward</strong></h3><p>Knowing where potholes are located makes them easier to avoid (this is literally true in Massachusetts). The paper is the first in a series that will describe software capable of handling most of these challenges, offering a bridge from legacy protocols to digital standards like FHIR and USDM.</p><p>The research also suggests simple changes that could make future protocols more amenable to automation, including:</p><ul><li><strong>Avoid converting tables to images </strong>before pasting them into protocols</li><li><strong>Avoid embedding images</strong> into table cells</li><li><strong>Use consistent footnote systems</strong> without restarting numbering</li><li><strong>Maintain clear grid lines and alignment</strong></li><li><strong>Include headers on all continuation pages</strong></li><li><strong>Separate different types of information</strong> into distinct rows</li><li><strong>Place all ancillary information</strong> directly in the table or footnotes</li></ul><h3><strong>The Bigger Picture</strong></h3><p>Initiatives are underway to create fully digital clinical trial protocols from scratch — including CDISC’s Unified Study Definitions Model (USDM) and HL7’s FHIR®-based representations — but the reality is that <strong>routine authoring of protocols in fully structured formats is still years away</strong>. International Council for Harmonisation’s M11 provides document-level structure but places no restrictions on SoA presentation, simply recommending “a tabular format.” That’s no different than what’s happening anyway.</p><p>This creates a critical gap: the industry has thousands of legacy protocols that need immediate digitalization for operational use, plus new protocols will continue using traditional formats or migrate to M11. This explains why conversion capabilities are essential for unlocking existing clinical research assets.</p><h3><strong>Looking Ahead</strong></h3><p>This report sets the stage for subsequent papers that will detail solutions to these challenges. For an industry that depends on precision, reliability, and speed to bring life-saving treatments to patients, solving the digitalization puzzle isn’t just about efficiency — it’s about improving our collective ability to conduct the research that advances human health.</p><p><em>This research was conducted by Mark A. Kramer at MITRE Corporation. The </em><a href="https://github.com/markkramerus/publications/blob/main/1-Barriers%20to%20Conversion%20of%20Protocols%20to%20Structured%20Data.pdf"><em>full technical paper</em></a><em> provides detailed examples and analysis for researchers and developers working on clinical trial digitalization challenges.</em></p><p><em>All opinions express are my own and do not necessarily reflect the official policy of position of my employer.</em></p><p>© 2025 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 25–01406–04.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=296e5088a6ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How AI Learned to Create Realistic Disease Models]]></title>
            <link>https://medium.com/@kramermark/how-ai-learned-to-create-realistic-disease-models-f8f9f57a64e0?source=rss-b4f9532a6fa6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8f9f57a64e0</guid>
            <category><![CDATA[ai-in-healthcare]]></category>
            <category><![CDATA[synthetic-data]]></category>
            <category><![CDATA[healthcare-technology]]></category>
            <category><![CDATA[llm-applications]]></category>
            <category><![CDATA[simulation]]></category>
            <dc:creator><![CDATA[Mark Kramer]]></dc:creator>
            <pubDate>Fri, 25 Jul 2025 14:13:50 GMT</pubDate>
            <atom:updated>2025-07-30T12:05:07.828Z</atom:updated>
            <content:encoded><![CDATA[<p><em>What happens when you use a LLM to create a medical simulation? The answer reveals crucial insights about AI’s potential in modeling complex systems.</em></p><p>In a world where patient privacy is paramount, synthetic patient data has emerged as an essential tool for creating and testing healthcare applications. Creating a realistic medical record isn’t simple — it requires deep medical knowledge, complex disease modeling, and intricate understanding of how healthcare data is represented.</p><p>Around this time last year, my MITRE colleagues Aanchar Mathur, Caroline Elizabeth Adams, Jason Walonoski and I conducted a fascinating experiment using Synthea [1], the popular synthetic patient generator: can large language models like ChatGPT, Claude, and Gemini build new disease models?</p><p>Although the LLMs used in the study have been eclipsed by the next generation of AI models, what we learned still applies and the methodology we used could be supercharged using the latest “thinking” models.</p><h3><strong>Beyond Statistical Population Matching</strong></h3><p>One type of synthetic data generation methods attempts to create statistical matches to existing patterns. But exploring hypothetical scenarios such as the impact of treatment changes, resource reallocation, and payment policy requires simulation models. Synthea does just that, by creating a synthetic patient population, simulating disease onset, progression, and treatment, tracing the trajectory of individual patients as they live their synthetic lifespans <em>in silico</em>.</p><p>Synthea relies on a set of <em>disease modules</em> that represents a specific disease, condition, or clinical guideline that the synthetic patient generator uses to simulate patient experiences and generate realistic health records. Synthea modules are written in JSON format. When running a simulation, Synthea uses its collection of modules to generate a patient’s journey through various health states, generating healthcare events such as onset of conditions, healthcare encounters, diagnoses, procedures, and medications.</p><p>Designing these modules relies on collaboration between clinicians and Synthea experts. While this approach ensures understandability, clinical suitability, and reliability, it can be time-consuming and may result in limited treatment variations. Synthea modules need to reflect:</p><ul><li>Who gets the disease and when</li><li>How symptoms progress over time</li><li>Which tests doctors order based on specific presentations</li><li>How treatment decisions branch based on test results</li><li>How treatments affect outcomes</li><li>What happens when patients don’t comply with treatment</li></ul><p>This isn’t just matching statistical distributions — it’s modeling the entire logic of medical care.</p><h3>The Approach</h3><p>We developed a four-stage approach that mirrors how human experts might tackle this problem, shown in Figure 1:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*etuF03E2G9CFaDeEdMVp5Q.png" /></figure><p><strong>Stage 1: Create a Disease Profile</strong></p><p>Instead of relying solely on the LLM’s training data, the AI first created a comprehensive “disease profile” — essentially a structured summary of everything medically relevant about hyperthyroidism, complete with statistics, probabilities, and clinical guidelines.</p><p><strong>Stage 2: Transform Knowledge into Synthea JSON</strong></p><p>Using this profile, provided with Synthea documentation and examples in context, the LLM then generated first draft of the disease module, a complex JSON structure that Synthea can execute. Figure 2 shows a typical module produced at this stage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*-2j42liCaq3693x_Sx6Ccg.png" /></figure><p><strong>Stage 3: Validate the Results</strong></p><p>This is where it gets interesting. We created prompts with a complete validation rubric: how to check for technical correctness and clinical accuracy, allowing the AI to grade its own work. The LLM stepped through each requirement in the disease profile to see if the model implemented it. At each iteration, the top 10 missed features were identified.</p><p><strong>Stage 4: Iterative Improvement</strong></p><p>The LLM worked on overcoming the most serious deficits determined by the validation process. Through multiple rounds of iterative refinement, the disease module incrementally brought the module closer to the disease profile.</p><h3><strong>The Results</strong></h3><p>While the LLM-generated modules weren’t production-ready, they exhibited a high level of sophistication in terms of technical implementation detail and in overall construction, design, and organization. Figure 3 shows the result of iterative improvement:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/1*BjSlWlEbCQpZyRSeuCIbtQ.png" /></figure><p><strong>The Good:</strong> Two of the tested LLMs (Claude Sonnet 3.5 and Gemini 1.5 Pro) showed dramatic improvement through iteration. Starting scores around 60–70% climbed to nearly 100% after several refinement cycles.</p><p><strong>The Bad:</strong> Validation didn’t pick up everything. Even when the scores neared 100%, human experts found issues. The AI created unnecessarily complex pathways, and sometimes violated the Synthea’s design rules.</p><h3><strong>Lessons for Today’s AI Applications</strong></h3><p>Although it took almost a year to get this paper approved for public release, there are some take-aways that still resonate:</p><p><strong>1. Iteration Beats One-Shot Generation</strong></p><p>The research’s most powerful insight is the methodology itself. We show that progressive refinement, generate, validate, improve, repeat, is far more effective than expecting perfection on the first try.</p><p><strong>2. Domain Expertise + AI &gt; AI Alone</strong></p><p>The quality jumped when medical experts curated the disease profile, refining, clarifying, and structuring what AI could glean from the corpus of public information.</p><p><strong>3. Automated Validation is Essential but Difficult to Perfect</strong></p><p>The validation system caught many issues automatically. But human review still found problems the automated systems missed. With more and more AI-generated content, building robust validation systems is crucial. But we can’t assume these systems catch everything.</p><p><strong>4. Medical Coding is a Blind Spot for LLMs</strong></p><p>Even when the overall logic was sound, the LLMs consistently generated plausible-sounding but incorrect medical codes — a potentially dangerous flaw in healthcare applications. How best to supply LLMs with relevant information from large medical terminology systems remains an ongoing challenge.</p><h3><strong>Looking Forward</strong></h3><p>If we were able to update this study using today’s AI systems, we’d use the “research” mode offered by today’s AI models to create the initial disease profile. We’d definitely employ the same progressive refinement framework, and make validation a major point of emphasis, so the progressive refinement process would converge toward a more accurate model.</p><p>Phenomenological mathematical models like Synthea are valuable tools to advance the understanding complex systems. Far more than statistical matching, these models allow researchers to make predictions and test hypotheses, and can lead to new discoveries and advancements. This research showed how AI can accelerate model development.</p><h3>References</h3><p>[1] Synthea: An approach, method, and software mechanism for generating synthetic patients and the synthetic electronic health care record, Jason Walonoski , Mark Kramer, Joseph Nichols, Andre Quina, Chris Moesel, Dylan Hall, Carlton Duffett, Kudakwashe Dube, Thomas Gallagher, Scott McLachlan, <em>Journal of the American Medical Informatics Association</em>, Volume 25, Issue 3, March 2018, Pages 230–238, <a href="https://doi.org/10.1093/jamia/ocx079">https://doi.org/10.1093/jamia/ocx079</a></p><p><em>The original research, “Leveraging Generative AI to Enhance Synthea Module Development,” was conducted by Mark A. Kramer, Aanchal Mathur, Caroline E. Adams, and Jason A. Walonoski at MITRE Corporation, with funding from the Centers for Medicare &amp; Medicaid Services. Read the full paper on arxiv: </em><a href="https://arxiv.org/abs/2507.21123">https://arxiv.org/abs/2507.21123</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8f9f57a64e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Language-First Interoperability]]></title>
            <link>https://medium.com/@kramermark/language-first-interoperability-f650abfb7353?source=rss-b4f9532a6fa6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f650abfb7353</guid>
            <category><![CDATA[interoperability]]></category>
            <category><![CDATA[agent2agent-protocol]]></category>
            <category><![CDATA[healthcare]]></category>
            <category><![CDATA[natural-language]]></category>
            <category><![CDATA[agents]]></category>
            <dc:creator><![CDATA[Mark Kramer]]></dc:creator>
            <pubDate>Thu, 12 Jun 2025 16:13:47 GMT</pubDate>
            <atom:updated>2025-09-24T17:35:09.046Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Language-First Interoperability: Exchanging Data Faster Using Real-Time Agent-Based Coordination</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RyCGFDr4MyYOGTkJjQTGnw.png" /></figure><p>After 15 years working on healthcare interoperability standards, I find myself contemplating a fundamental shift in how we approach healthcare data exchange. While we have achieved substantial progress with HL7 FHIR®, we continually encounter the same bottleneck: the need for extensive pre-coordination before meaningful data sharing can occur.</p><p>Today, along with my colleague May Terry, I want to introduce a concept we call <strong>Language-First Interoperability (LFI)</strong>, which proposes that AI agents could communicate naturally to negotiate data exchange, then use various means, including existing standards, to execute those exchanges. This approach doesn’t replace data exchange standards but attempts to replace the lengthy pre-coordination of those exchanges.</p><h3><strong>Interoperability Challenges</strong></h3><p>Recent data from ASTP indicates only one-fifth of organizations using health information exchanges (mostly major hospital systems) send or receive any data via HL7 FHIR® APIs. <a href="#_ftn1">[1]</a> It is even less for smaller organizations like skilled nursing facilities, urgent care providers, small physician and dental practices, community-based care, local health departments, and schools.</p><p>We are getting there, but very slowly. One reason stands out: using standards-based methodologies, before any meaningful data sharing can happen, everyone needs to sit down, agree on exactly how they are going to structure the data, write detailed implementation guides, and then spend months or years getting everything aligned and eventually implemented. During this pre-coordination period, valuable data remains siloed, research initiatives are delayed, and opportunities for improved patient care are missed.</p><h3><strong>Introducing Language-First Interoperability</strong></h3><p>Language-First Interoperability (LFI) represents a paradigm shift from pre-coordination to dynamic negotiation. The basic concept is simple: let AI agents communicate with each other in natural language to figure out what data they need and then provide that data in whatever form is needed, including but not limited to our existing standards. Rather than requiring exhaustive upfront agreement on data structures and exchange patterns, LFI determines what information needs to be shared and how to exchange that data in real time. A research agent might say (more or less literally), “I’m looking for patients with diabetes who are on metformin but haven’t tried newer medications.” Hospital system agents could ask clarifying questions, gather the relevant data, and share that data in a form the receiver can use.</p><p>The core insight driving LFI is that when healthcare professionals need to share information quickly, they typically engage in conversation rather than structured data exchange. A referring physician calls a specialist to discuss a complex case, describing symptoms and medical history in natural language, then follows up with whatever documentation is necessary. LFI seeks to automate this conversational coordination while supporting the required level of rigor, including that of standardized data exchange.</p><h3><strong>Example: Referral to a Healthcare Specialist</strong></h3><p>To illustrate the power of Language-First Interoperability to reduce administrative burden and improving healthcare efficiency, consider patient referrals. In today’s healthcare environment, a referral often requires multiple phone calls, faxes, manual data entry, and lengthy delays while staff verify eligibility criteria and gather documentation. LFI could help patients receive faster access to needed care, reducing the risk of condition deterioration that leads to more expensive emergency interventions.</p><p>Here is how it could happen. When a primary care physician initiates a referral by stating “Send a patient referral for cardiology,” the system activates the following process:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q4ojfKm_yXnrD1WjRH5P7Q.png" /></figure><p><strong>Step 1–3: Intelligent Negotiation</strong> — The sending facility’s AI agent communicates directly with the receiving practice’s agent using natural language. The sending agent states, “I need to refer a patient to your practice,” and the receiving agent responds with “here is our practice’s eligibility criteria for receiving patient referrals.” This dynamic exchange eliminates the need for pre-coordinated integration work between every possible combination of referring and receiving providers.</p><p><strong>Step 4–5: Automated Data Gathering</strong> — The receiving agent uses Model Context Protocol (MCP) tools to automatically retrieve relevant data from source systems, then communicates this data back to the referral agent. Automation reduces the manual lookup work that typically consumes significant staff time but automation does not preclude human validation as a step in this process.</p><p><strong>Step 6–10: Dynamic Requirements Resolution</strong> — If the receiving agent identifies missing requirements, it can communicate back to the requesting agent. The sending agent can immediately respond by retrieving the needed documentation from administrative systems and communicating “here is the letter you requested.” This real-time problem-solving capability eliminates the back-and-forth delays that often stretch referral processes across multiple days.</p><p><strong>Step 11–13: Streamlined Completion</strong> — Once all requirements are satisfied, the receiving agent confirms “Accepted” and both systems automatically notify their respective healthcare providers that the referral is complete, and control can be turned over to an appointment scheduling agent.</p><h3><strong>Implementation Challenges</strong></h3><p>Of course, there is a long way to go before we can see systems like this in the real world. Significant challenges must be addressed for successful LFI implementation in healthcare:</p><p><strong>Reliability</strong>: Healthcare stakeholders require high confidence in system behavior and data integrity. LFI agents must be subject to rigorous testing and perhaps even new certification processes that ensure reliable operation under diverse conditions.</p><p><strong>Regulatory Compliance</strong>: Healthcare data exchange is subject to complex regulatory requirements including HIPAA, FDA regulations for medical devices, and state-level privacy laws. LFI implementations must demonstrate compliance with all applicable regulations.</p><p><strong>Clinical Workflow Integration</strong>: Healthcare professionals work within established clinical workflows that have evolved to ensure patient safety and care quality. LFI agents must integrate with these workflows without introducing new sources of error or inefficiency.</p><p><strong>Scalability and Performance</strong>: Healthcare data exchange often involves large datasets and time-sensitive operations. LFI implementations must demonstrate the ability to handle healthcare-level transaction volumes while maintaining acceptable performance characteristics.</p><p><strong>Cyber Security</strong>: Opening new pathways of interaction between organizations entails risks that must be understood and controlled.</p><h3><strong>Think Big, Start Small, Act Now</strong></h3><p>The vision is ambitious but achievable: a healthcare ecosystem where intelligent agents can negotiate data sharing requirements in real-time. The goal is not to replace the careful, consensus-driven process that has produced robust healthcare standards, but to provide a dynamic layer that makes those standards more accessible and immediately useful.</p><p>We believe LFI-enabled workflows can deliver measurable benefits in terms of processing time, labor costs, and provider burden. Agent communication creates an audit trail that supports compliance monitoring and fraud detection. Small practices and large health systems can participate equally, since the use of natural language makes the system’s behavior much more transparent.</p><p>At MITRE, we plan to explore LFI implementation through pilot projects that demonstrate the approach’s value while addressing the unique requirements of healthcare data exchange.</p><p>I invite the healthcare informatics community to engage with these ideas, contribute to their refinement, and collaborate on pilot implementations that could demonstrate the transformative potential of Language-First Interoperability.</p><p><em>Dr. Mark A. Kramer is Distinguished Chief Engineer at MITRE Corporation, where he leads efforts in healthcare interoperability and standards development. He has been instrumental in developing mCODE, Synthea, and FHIR Shorthand.</em></p><p><em>May Terry is a Principal Healthcare Informaticist at the MITRE Corporation. She is a data and semantic modeler for several healthcare projects in cancer, post-acute care, and clinical genomics as well as a technical co-lead for the HL7 AI Transparency on FHIR project.</em></p><p><a href="#_ftnref1">[1]</a> Assistant Secretary for Technology Policy, Data Brief №75, Oct. 2024, <a href="https://www.healthit.gov/data/data-briefs/standards-adoption-among-health-information-exchange-organizations">https://www.healthit.gov/data/data-briefs/standards-adoption-among-health-information-exchange-organizations</a>, accessed June 6, 2025.</p><p>© 2025 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 25–01406–02.</p><p><em>All opinions express are my own and do not necessarily reflect the official policy of position of my employer.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f650abfb7353" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>