{"id":70118,"date":"2026-06-11T09:42:15","date_gmt":"2026-06-11T09:42:15","guid":{"rendered":"https:\/\/www.europesays.com\/ai\/70118\/"},"modified":"2026-06-11T09:42:15","modified_gmt":"2026-06-11T09:42:15","slug":"aidx-a-locally-deployable-ai-system-for-physician-clinical-decision-support","status":"publish","type":"post","link":"https:\/\/www.europesays.com\/ai\/70118\/","title":{"rendered":"AIDx: a locally deployable AI system for physician clinical decision support"},"content":{"rendered":"<p>Overview<\/p>\n<p>The goal of this work was to design and assess a locally deployable LLM-based clinical assistant using de-identified EHR data for training and public benchmarks for evaluation. I conducted no clinical, prospective, or user studies. All experiments are single-modal (text). Imaging and other multimodal inputs are outside scope.<\/p>\n<p>Methodological contributions and scope<\/p>\n<p>This work documents: (1) a patient-timeline construction procedure that restructures de-identified EHR notes into temporally indexed snapshots suitable for supervised instruction tuning; (2) a retrieval pipeline grounded in open medical references and integrated into prompting for answer grounding; (3) a locally deployable inference stack (quantized model + OpenAI-compatible API) that interoperates with EHR retrieval; and (4) ablation experiments and error analysis isolating the contributions of fine-tuning and RAG.<\/p>\n<p>This paper evaluates the end-to-end system under multiple configurations (with and without RAG) and a deterministic protocol. (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#Fig1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>)<\/p>\n<p>AIDx-Copilot training and implementationFig. 1<img decoding=\"async\" aria-describedby=\"figure-1-desc ai-alt-disclaimer-figure-1-1\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/06\/41598_2026_47470_Fig1_HTML.png\" alt=\"Fig. 1\" loading=\"lazy\" width=\"685\" height=\"477\"\/>The alternative text for this image may have been generated using AI.<\/p>\n<p>Data processing pipeline for preparing supervised training data for AIDx-Copilot. De-identified EHR records from emergency, inpatient, and ICU settings are consolidated into a holistic visit representation. Static attributes (e.g., demographics, history) and dynamic attributes (e.g., labs, orders, diagnoses) are separated, and dynamic events are organized into temporally ordered visit timelines. Timeline snapshots are used to generate predictive question\u2013answer pairs for instruction tuning. The patient timeline shown is illustrative and not a complete clinical record.<\/p>\n<p>AIDx-Copilot was trained using de-identified clinical records derived from MIMIC-IV<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Johnson, A. et al. MIMIC-IV.\" href=\"#ref-CR10\" id=\"ref-link-section-d8661880e732\">10<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Johnson, A. E. W. et al. MIMIC-IV, a freely accessible electronic health record dataset. Sci. Data 10, 1 (2023).\" href=\"#ref-CR11\" id=\"ref-link-section-d8661880e732_1\">11<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 12\" title=\"Goldberger, A. L. et al. PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation 101, e215&#x2013;e220 (2000).\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#ref-CR12\" id=\"ref-link-section-d8661880e735\" rel=\"nofollow noopener\" target=\"_blank\">12<\/a>. I consolidated records from emergency, inpatient, and intensive care settings to cover common hospital documentation patterns.<\/p>\n<p>Data preparation and temporal alignment<\/p>\n<p>Each patient chart was restructured into static attributes (demographics, chronic conditions, medical history) and dynamic attributes (laboratory results, orders, procedures, diagnoses). I generated visit timelines by appending a new \u201csnapshot\u201d when any dynamic field changed.<\/p>\n<p>To reduce temporal leakage in supervised prediction (i.e., using future information to answer past queries), snapshot construction orders events by timestamp and generates questions from the current snapshot while sourcing supervision targets only from strictly later snapshots.<\/p>\n<p>Chat sample generation<\/p>\n<p>To simulate clinical query\u2013response interactions, I generated synthetic dialogue pairs in which questions were derived from dynamic variables (e.g., \u201cWhat does the next lab result show?\u201d) and answers from subsequent timestamps. This yielded approximately eight million question\u2013answer samples for supervised fine-tuning.<\/p>\n<p>Model fine-tuning<\/p>\n<p>The base model was Mixtral-8x7B-Instruct-v0.1<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 15\" title=\"AI, M. Mixtral of experts. &#010;                  https:\/\/mistral.ai\/news\/mixtral-of-experts\/&#010;                  &#010;                 (2023).\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#ref-CR15\" id=\"ref-link-section-d8661880e764\" rel=\"nofollow noopener\" target=\"_blank\">15<\/a>. I fine-tuned it using Low-Rank Adaptation (LoRA)<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 16\" title=\"Hu, E.&#xA0;J. et al. LoRA: Low-Rank Adaptation of Large Language Models. &#010;                  arXiv:2106.09685&#010;                  &#010;                 (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#ref-CR16\" id=\"ref-link-section-d8661880e768\" rel=\"nofollow noopener\" target=\"_blank\">16<\/a> with DeepSpeed ZeRO optimizations<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 17\" title=\"Rasley, J., Rajbhandari, S., Ruwase, O. &amp; He, Y. for Computing Machinery, A. (ed.) DeepSpeed: System Optimizations Enable Training Deep Learning Models with Over 100 Billion Parameters. (ed.for Computing Machinery, A.) Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp; Data Mining, KDD &#x2019;20, 3505&#x2013;3506 (Association for Computing Machinery, New York, NY, USA, 2020).\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#ref-CR17\" id=\"ref-link-section-d8661880e772\" rel=\"nofollow noopener\" target=\"_blank\">17<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 18\" title=\"Rajbhandari, S., Rasley, J., Ruwase, O. &amp; He, Y. Press, I. (ed.) ZeRO: Memory optimizations toward training trillion parameter models. (ed.Press, I.) Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, SC &#x2019;20, 1&#x2013;16 (IEEE Press, Atlanta, Georgia, 2020).\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#ref-CR18\" id=\"ref-link-section-d8661880e775\" rel=\"nofollow noopener\" target=\"_blank\">18<\/a>. Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#Tab1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a> lists all training hyperparameters. Following training, LoRA weights were merged with the base model and quantized using ExLLaMA v2<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 19\" title=\"turboderp. Turboderp\/exllamav2 (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#ref-CR19\" id=\"ref-link-section-d8661880e782\" rel=\"nofollow noopener\" target=\"_blank\">19<\/a> to reduce memory footprint and enable fast inference.<\/p>\n<p>Table 1 Training hyperparameters for AIDx-Copilot fine-tuning.<\/p>\n<p>Deployment stack<\/p>\n<p>AIDx-Copilot is served behind an OpenAI-compatible API implemented with TabbyAPI<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 20\" title=\"Theroyallab. Theroyallab\/tabbyAPI. The Royal Lab (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#ref-CR20\" id=\"ref-link-section-d8661880e1178\" rel=\"nofollow noopener\" target=\"_blank\">20<\/a>. The backend orchestrates EHR retrieval, optional retrieval grounding, and response generation. (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#Fig2\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>)<\/p>\n<p>Retrieval-augmented generation (RAG)Fig. 2<img decoding=\"async\" aria-describedby=\"figure-2-desc ai-alt-disclaimer-figure-2-1\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/06\/41598_2026_47470_Fig2_HTML.png\" alt=\"Fig. 2\" loading=\"lazy\" width=\"685\" height=\"331\"\/>The alternative text for this image may have been generated using AI.<\/p>\n<p>Workflow of AIDx, illustrating integration with an EHR database and optional retrieval grounding from medical references before response generation.<\/p>\n<p>To provide access to external medical reference material, AIDx supports retrieval-augmented generation (RAG)<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 21\" title=\"Lewis, P. et al. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. &#010;                  arXiv:2005.11401&#010;                  &#010;                 (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#ref-CR21\" id=\"ref-link-section-d8661880e1212\" rel=\"nofollow noopener\" target=\"_blank\">21<\/a>. I constructed a reference database from open-access medical textbooks in the LibreTexts Medicine Library<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 22\" title=\"LibreTexts Medicine Library. https:\/\/med.libretexts.org (2016).\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#ref-CR22\" id=\"ref-link-section-d8661880e1216\" rel=\"nofollow noopener\" target=\"_blank\">22<\/a>. Text was chunked using a recursive splitter (chunk size 1,000 characters; no overlap) and indexed for similarity search. For background and terminology, I follow recent surveys of retrieval-augmented generation for LLMs<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 23\" title=\"Gao, Y. et al. Retrieval-augmented generation for large language models: A survey. &#010;                  arXiv:2312.10997&#010;                  &#010;                 (2023).\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#ref-CR23\" id=\"ref-link-section-d8661880e1220\" rel=\"nofollow noopener\" target=\"_blank\">23<\/a>. Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#Tab2\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a> summarizes the RAG configuration.<\/p>\n<p>Table 2 RAG pipeline configuration details.<\/p>\n<p>Data-flow boundary and deployment modes<\/p>\n<p>The reference implementation can embed text using OpenAI text-embedding-3-small and store vectors in Pinecone<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 24\" title=\"Pinecone. The vector database to build knowledgeable AI | Pinecone. &#010;                  https:\/\/www.pinecone.io\/&#010;                  &#010;                .\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#ref-CR24\" id=\"ref-link-section-d8661880e1453\" rel=\"nofollow noopener\" target=\"_blank\">24<\/a>. These choices may involve third-party services depending on deployment. For privacy-sensitive on-premises settings, an equivalent fully local configuration replaces the embedding model with a locally hosted BGE-base-en-v1.5 encoder and replaces the vector store with a self-hosted FAISS index. The application-layer interface (retrieve top passages, append to prompt) remains unchanged.<\/p>\n<p>RAG usage in benchmark evaluation<\/p>\n<p>To clearly delineate system components: the primary benchmark results reported in Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#Tab3\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a> were obtained without RAG. This means the primary benchmarks test the fine-tuned model in isolation and do not reflect retrieval grounding. Ablation experiments in Section\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"section anchor\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#Sec17\" rel=\"nofollow noopener\" target=\"_blank\">6.3<\/a> separately evaluate the effect of enabling RAG on benchmark performance.<\/p>\n<p>Evaluation protocol<\/p>\n<p>Evaluation used the MultiMedQA benchmark suite<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 25\" title=\"Singhal, K. et al. Large Language Models Encode Clinical Knowledge. &#010;                  arXiv:2212.13138&#010;                  &#010;                 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#ref-CR25\" id=\"ref-link-section-d8661880e1482\" rel=\"nofollow noopener\" target=\"_blank\">25<\/a>. I loaded all benchmarks from the Open Life Science AI MultiMedQA collection on Hugging Face (<a href=\"https:\/\/huggingface.co\/collections\/openlifescienceai\/multimedqa\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/huggingface.co\/collections\/openlifescienceai\/multimedqa<\/a>).<\/p>\n<p>Dataset identifiers and revisions<\/p>\n<p>To make the benchmark configuration unambiguous, I record the dataset repositories and the revision (Git commit on the main branch) used at the time of evaluation:<\/p>\n<p>MedQA (USMLE): openlifescienceai\/medqa @ 153e61c.<\/p>\n<p>PubMedQA: openlifescienceai\/pubmedqa @ 50fc41d.<\/p>\n<p>MedMCQA: openlifescienceai\/medmcqa @ c8b1a7c.<\/p>\n<p>MMLU Clinical Knowledge: openlifescienceai\/mmlu_clinical_knowledge @ e151167.<\/p>\n<p>MMLU Professional Medicine: openlifescienceai\/mmlu_professional_medicine @ a7a792b.<\/p>\n<p>MMLU Anatomy: openlifescienceai\/mmlu_anatomy @ a7a792b.<\/p>\n<p>MMLU College Biology: openlifescienceai\/mmlu_college_biology @ 94b1278.<\/p>\n<p>MMLU College Medicine: openlifescienceai\/mmlu_college_medicine @ d983527.<\/p>\n<p>MMLU Medical Genetics: openlifescienceai\/mmlu_medical_genetics @ f248e4a.<\/p>\n<p>For each dataset and MMLU subject, I used the test split.<\/p>\n<p>Prompt template<\/p>\n<p>For each question, AIDx-Copilot received the prompt shown in Listing\u00a01. The system message establishes the medical assistant role. The user message contains the question stem and answer options verbatim from the dataset. The formatting constraint restricts the model to outputting a single-letter answer.<\/p>\n<p>Listing 1 Exact prompt template used for all benchmark evaluations. Placeholders question and options are filled from each dataset item. For RAG-enabled ablation runs, retrieved passages are prepended to the user message as shown in Section 3.5.<\/p>\n<p><img decoding=\"async\" aria-describedby=\"figure-d-desc ai-alt-disclaimer-figure-d-1\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/06\/41598_2026_47470_Figd_HTML.png\" alt=\"figure d\" loading=\"lazy\" width=\"685\" height=\"353\"\/>The alternative text for this image may have been generated using AI.<\/p>\n<p>Decoding and scoring<\/p>\n<p>For each question, AIDx-Copilot produced a single answer under deterministic decoding (temperature=0, top_p=1, repetition_penalty=1.0; no self-consistency voting, no chain-of-thought). A regular expression (BEST ANSWER:\\(\\backslash\\)s*([A-D]) for four-option items; BEST ANSWER:\\(\\backslash\\)s*([A-C]) for PubMedQA) extracted the predicted letter. Items where the regex failed to match were scored as incorrect. Accuracy was computed as exact match with the reference label.<\/p>\n<p>Uncertainty reporting<\/p>\n<p>For each dataset, I report a Wilson 95% confidence interval for accuracy to reflect uncertainty due to finite test set size.<\/p>\n<p>Ablation study design<\/p>\n<p>To isolate the contributions of EHR-based fine-tuning and retrieval grounding, I evaluated four configurations on the full MultiMedQA suite under the identical deterministic protocol described above: <\/p>\n<p>                    1.<\/p>\n<p>Base: Mixtral-8x7B-Instruct-v0.1 without fine-tuning or RAG. This is the unmodified base model with quantization applied identically to the fine-tuned variant.<\/p>\n<p>                    2.<\/p>\n<p>Base + RAG: Base model with retrieval grounding enabled. For each benchmark question, the question text was used as the retrieval query, and the top-5 passages from the LibreTexts Medicine index were prepended to the user message under the header \u201cReference context:\u201d.<\/p>\n<p>                    3.<\/p>\n<p>Fine-tuned (FT): AIDx-Copilot after EHR-based fine-tuning, without RAG. This is the configuration reported in the primary results (Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#Tab3\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a>).<\/p>\n<p>                    4.<\/p>\n<p>Fine-tuned + RAG (FT + RAG): AIDx-Copilot with retrieval grounding enabled using the same RAG procedure as configuration\u00a02.<\/p>\n<p>All four configurations used the same quantized inference stack, prompt template (with or without prepended context), and scoring procedure.<\/p>\n<p>Operational metrics<\/p>\n<p>To assess deployment feasibility, I measured inference latency, throughput, VRAM consumption, and retrieval overhead on the hardware configuration described in Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#Tab6\" rel=\"nofollow noopener\" target=\"_blank\">6<\/a>. Latency was measured as wall-clock time from prompt submission to final token generation, averaged over 200 randomly sampled MedQA questions. Throughput was measured as questions processed per minute in sequential mode. VRAM was measured at peak allocation during inference using nvidia-smi.<\/p>\n<p>Operational governance and security<\/p>\n<p>AIDx is intended as a clinician-in-the-loop system. In practice, on-premises deployment requires basic governance controls so hospitals can answer three questions for any given output: who used the system, what exactly ran, and what information influenced the answer. The controls below describe the minimum operational safeguards supported by the AIDx design.<\/p>\n<p>Audit logging (what happened): record the request timestamp, user\/role identifier, patient record identifier (or pseudonym), model version, retrieval index version, and the identifiers of retrieved reference passages. Store response metadata (e.g., token counts, latency) and keep logs within the institutional boundary.<\/p>\n<p>Role-based access control (who can do what): restrict actions by role (e.g., clinician: query and view results; administrator: configure deployment settings; auditor: review logs). Require explicit permissions for configuration changes and access to any log data.<\/p>\n<p>Versioning and change control (what exactly ran): version the deployed model artifact and retrieval index, and record the active versions on each request. Support rollback to a prior approved version if a regression or incident is detected.<\/p>\n<p>Incident response (what to do when things go wrong): define triggers for investigation (e.g., unusual error rates, suspected prompt injection, unauthorized access), assign ownership for triage, and document procedures to disable retrieval, roll back a model\/index, or take the system offline.<\/p>\n<p>                Ethical and regulatory considerations<\/p>\n<p>All benchmark data used are publicly available. Training data were derived from de-identified MIMIC-IV records. AIDx can be deployed on-premises to support HIPAA-aligned operation. GDPR and the EU AI Act motivate transparency, logging, risk management, and human oversight<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 13\" title=\"Regulation (eu) 2016\/679 of the european parliament and of the council on the protection of natural persons with regard to the processing of personal data and on the free movement of such data (general data protection regulation). &#010;                  https:\/\/eur-lex.europa.eu\/eli\/reg\/2016\/679\/oj&#010;                  &#010;                 (2016). Official Journal of the European Union, L119\/1.\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#ref-CR13\" id=\"ref-link-section-d8661880e1830\" rel=\"nofollow noopener\" target=\"_blank\">13<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 14\" title=\"Regulation (eu) 2024\/1689 of the european parliament and of the council laying down harmonised rules on artificial intelligence (artificial intelligence act). &#010;                  https:\/\/eur-lex.europa.eu\/eli\/reg\/2024\/1689\/oj&#010;                  &#010;                 (2024). Official Journal of the European Union, L202\/1.\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#ref-CR14\" id=\"ref-link-section-d8661880e1833\" rel=\"nofollow noopener\" target=\"_blank\">14<\/a>.<\/p>\n<p>Reproducibility and code availability<\/p>\n<p>To make the evaluation transparent and replicable at the benchmark level, this work specifies: datasets, splits, and dataset revisions (Section\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"section anchor\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#Sec7\" rel=\"nofollow noopener\" target=\"_blank\">4.4<\/a>); the exact prompt template (Listing\u00a01); decoding settings (temperature=0, top_p=1, repetition_penalty=1.0); the scoring regex and failure-handling rule; all training hyperparameters (Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#Tab1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>); and RAG configuration details (Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#Tab2\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>). Per-dataset confidence intervals are reported in Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"http:\/\/www.nature.com\/articles\/s41598-026-47470-1#Tab3\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a>.<\/p>\n<p>To support independent reproduction of the evaluation protocol, Supplementary Algorithm S1 provides pseudocode for the scoring script. The full evaluation code \u2014 including the benchmark runner, prompt construction, regex scoring, Wilson confidence interval computation, and the RAG retrieval reference implementation \u2014 is deposited at Zenodo (<a href=\"https:\/\/doi.org\/10.5281\/zenodo.19207085\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/doi.org\/10.5281\/zenodo.19207085<\/a>). The evaluation can be executed against any OpenAI-compatible API endpoint. The AIDx training code, serving stack, and model artifacts are proprietary and are not publicly released.<\/p>\n","protected":false},"excerpt":{"rendered":"Overview The goal of this work was to design and assess a locally deployable LLM-based clinical assistant using&hellip;\n","protected":false},"author":2,"featured_media":70119,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[24,38937,25,38940,24633,17633,38938,1668,1743,1737,4965,38939,1744,7402,160],"class_list":["post-70118","post","type-post","status-publish","format-standard","has-post-thumbnail","category-ai","tag-ai","tag-ai-driven-clinical-decision-support","tag-artificial-intelligence","tag-benchmark-evaluation","tag-business-and-industry","tag-computational-biology-and-bioinformatics","tag-ehr-integration","tag-health-care","tag-humanities-and-social-sciences","tag-mathematics-and-computing","tag-medical-research","tag-model-efficiency","tag-multidisciplinary","tag-retrieval-augmented-generation","tag-science"],"_links":{"self":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/70118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/comments?post=70118"}],"version-history":[{"count":0,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/70118\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media\/70119"}],"wp:attachment":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media?parent=70118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/categories?post=70118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/tags?post=70118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}