<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "journalpublishing.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.0" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="nlm-ta">J Med Internet Res</journal-id><journal-id journal-id-type="publisher-id">jmir</journal-id><journal-id journal-id-type="index">1</journal-id><journal-title>Journal of Medical Internet Research</journal-title><abbrev-journal-title>J Med Internet Res</abbrev-journal-title><issn pub-type="epub">1438-8871</issn><publisher><publisher-name>JMIR Publications</publisher-name><publisher-loc>Toronto, Canada</publisher-loc></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">v27i1e81184</article-id><article-id pub-id-type="doi">10.2196/81184</article-id><article-categories><subj-group subj-group-type="heading"><subject>Tutorial</subject></subj-group></article-categories><title-group><article-title>AI Act Compliance Within the MyHealth@EU Framework: Tutorial</article-title></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name name-style="western"><surname>Simjanoska Misheva</surname><given-names>Monika</given-names></name><degrees>PhD, Prof Dr</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Shahpaski</surname><given-names>Dragan</given-names></name><degrees>BSc</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Dobreva</surname><given-names>Jovana</given-names></name><degrees>MSc</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Bukovec</surname><given-names>Djansel</given-names></name><degrees>BSc</degrees><xref ref-type="aff" rid="aff3">3</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Gjorgjioski</surname><given-names>Blagojche</given-names></name><degrees>BSc</degrees><xref ref-type="aff" rid="aff4">4</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Nikolov</surname><given-names>Marjan</given-names></name><degrees>BSc</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Frtunikj</surname><given-names>Dalibor</given-names></name><degrees>BSc</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Lameski</surname><given-names>Petre</given-names></name><degrees>PhD, Prof Dr</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Aliu</surname><given-names>Azir</given-names></name><degrees>PhD, Prof Dr</degrees><xref ref-type="aff" rid="aff5">5</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Mishev</surname><given-names>Kostadin</given-names></name><degrees>PhD, Prof Dr</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Gams</surname><given-names>Matja&#x017E;</given-names></name><degrees>PhD, Prof Dr</degrees><xref ref-type="aff" rid="aff6">6</xref></contrib></contrib-group><aff id="aff1"><institution>Faculty of Computer Science and Engineering, Saints Cyril and Methodius University of Skopje</institution><addr-line>Rugjer Boshkovikj 16</addr-line><addr-line>Skopje</addr-line><country>North Macedonia</country></aff><aff id="aff2"><institution>Sorsix</institution><addr-line>Skopje</addr-line><country>North Macedonia</country></aff><aff id="aff3"><institution>Zan Mitrev Clinic</institution><addr-line>Skopje</addr-line><country>North Macedonia</country></aff><aff id="aff4"><institution>Adagon</institution><addr-line>Skopje</addr-line><country>North Macedonia</country></aff><aff id="aff5"><institution>Ministry of Health</institution><addr-line>Skopje</addr-line><country>North Macedonia</country></aff><aff id="aff6"><institution>Jo&#x017E;ef Stefan Institute</institution><addr-line>Ljubljana</addr-line><country>Slovenia</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Mavragani</surname><given-names>Amaryllis</given-names></name></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name name-style="western"><surname>Bhatnagar</surname><given-names>Priyanshi</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Sharma</surname><given-names>Priyanshu</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Monika Simjanoska Misheva, PhD, Prof Dr, Faculty of Computer Science and Engineering, Saints Cyril and Methodius University of Skopje, Rugjer Boshkovikj 16, Skopje, 1000, North Macedonia, 0038976472195; <email>monika.simjanoska@finki.ukim.mk</email></corresp></author-notes><pub-date pub-type="collection"><year>2025</year></pub-date><pub-date pub-type="epub"><day>10</day><month>11</month><year>2025</year></pub-date><volume>27</volume><elocation-id>e81184</elocation-id><history><date date-type="received"><day>24</day><month>07</month><year>2025</year></date><date date-type="rev-recd"><day>23</day><month>09</month><year>2025</year></date><date date-type="accepted"><day>24</day><month>09</month><year>2025</year></date></history><copyright-statement>&#x00A9; Monika Simjanoska Misheva, Dragan Shahpaski, Jovana Dobreva, Djansel Bukovec, Blagojche Gjorgjioski, Marjan Nikolov, Dalibor Frtunikj, Petre Lameski, Azir Aliu, Kostadin Mishev, Matja&#x017E; Gams. Originally published in the Journal of Medical Internet Research (<ext-link ext-link-type="uri" xlink:href="https://www.jmir.org">https://www.jmir.org</ext-link>), 10.11.2025. </copyright-statement><copyright-year>2025</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (<ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research (ISSN 1438-8871), is properly cited. The complete bibliographic information, a link to the original publication on <ext-link ext-link-type="uri" xlink:href="https://www.jmir.org/">https://www.jmir.org/</ext-link>, as well as this copyright and license information must be included.</p></license><self-uri xlink:type="simple" xlink:href="https://www.jmir.org/2025/1/e81184"/><abstract><p>The integration of artificial intelligence (AI) into clinical workflows is advancing even before full compliance with the European Union Cross-Border eHealth Network (MyHealth@EU) framework is achieved. While AI-based clinical decision support systems are automatically classified as high risk under the European Union&#x2019;s AI Act, cross-border health data exchange must also satisfy MyHealth@EU interoperability requirements. This creates a dual-compliance challenge: vertical safety and ethics controls mandated by the AI Act and horizontal semantic transport requirements enforced through Open National Contact Point (OpenNCP) gateways, many of which are still maturing toward production readiness. This paper provides a practical, phase-oriented tutorial that enables developers and providers to embed AI Act safeguards before approaching MyHealth@EU interoperability tests. The goal is to show how AI-specific metadata can be included in the Health Level Seven International Clinical Document Architecture and Fast Healthcare Interoperability Resources messages without disrupting standard structures, ensuring both compliance and trustworthiness in AI-assisted clinical decisions. We systematically analyzed Regulation (EU) 2024/1689 (AI Act) and the OpenNCP technical specifications, extracting a harmonized set of overlapping obligations. The AI Act provisions on transparency, provenance, and robustness are mapped directly onto MyHealth@EU workflows, identifying the points where outgoing messages must record AI involvement, log provenance, and trigger validation. To operationalize this mapping, we propose a minimal extension set, covering AI contribution status, rationale, risk classification, and Annex IV documentation links, together with a phase-based compliance checklist that aligns AI Act controls with MyHealth@EU conformance steps. A simulated International Patient Summary transmission demonstrates how Clinical Document Architecture/Fast Healthcare Interoperability Resources extensions can annotate AI involvement, how OpenNCP processes such enriched payloads, and how clinicians in another member state view the result with backward compatibility preserved. We expand on security considerations (eg, Open Worldwide Application Security Project generative AI risks such as prompt injection and adversarial inputs), continuous postmarket risk assessment, monitoring, and alignment with MyHealth@EU&#x2019;s incident aggregation system. Limitations reflect the immaturity of current infrastructures and regulations, with real-world validation pending the rollout of key dependencies. AI-enabled clinical software succeeds only when AI Act safeguards and MyHealth@EU interoperability rules are engineered together from <italic>day 0</italic>. This tutorial provides developers with a forward-looking blueprint that reduces duplication of effort, streamlines conformance testing, and embeds compliance early. While the concept is still in its early phases of practice, it represents a necessary and worthwhile direction for ensuring that future AI-enabled clinical systems can meet both European Union regulatory requirements from day 1.</p><p>risks such as prompt injection and adversarial inputs), continuous postmarket risk assessment, monitoring, and alignment with MyHealth@EU&#x2019;s incident aggregation system. Limitations reflect the immaturity of current infrastructures and regulations, with real-world validation pending the rollout of key dependencies.</p></abstract><kwd-group><kwd>AI Act</kwd><kwd>MyHealth@EU</kwd><kwd>OpenNCP</kwd><kwd>HL7 CDA</kwd><kwd>HL7 FHIR</kwd><kwd>Fast Healthcare Interoperability Resources</kwd><kwd>generative AI</kwd><kwd>interoperability</kwd><kwd>trustworthiness</kwd><kwd>reliability</kwd><kwd>compliance</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>With increasing artificial intelligence (AI), and particularly generative artificial intelligence (GenAI) usage, medical software systems are rapidly evolving toward integrating AI directly into clinical workflows. This shift means many such systems will be categorized as high risk under the European Union&#x2019;s (EU) AI Act, requiring strict controls over multiple dimensions, including risk management, explainability, and postmarket monitoring [<xref ref-type="bibr" rid="ref1">1</xref>]. At the same time, the EU has built a horizontal compliance and interoperability infrastructure through the European Union Cross-Border eHealth Network (MyHealth@EU), which mandates how structured health data flow between member states, passing through the Open National Contact Point (OpenNCP) software&#x2019;s security gateways, and preserving semantic integrity [<xref ref-type="bibr" rid="ref2">2</xref>]. The result is a dual-compliance framework: the AI Act regulates the functionality, that is, what intelligent systems do with data (vertical), whereas MyHealth@EU ensures the data itself are transported and interpreted consistently (horizontal). Neglecting either axis arrests deployment and introduces regulatory compliance risk.</p><p>This dual compliance framework is increasingly relevant as only some EU member states currently operate production-ready national health systems under MyHealth@EU, whereas other member states are actively building or upgrading their digital infrastructures (and in some cases, local regulatory frameworks). However, with the accelerating deployment of GenAI systems and the European Commission&#x2019;s active focus on digital health powered by AI, it is likely that many future national contact points for eHealth (NCPeHs) will prefer to integrate AI from day 1 as the number one emerging technology, well before they are certified on the interoperability layer. Therefore, there is a need to provide a mechanism that ensures AI Act compliance before messages with clinical data arrive at a nonoriginating medical facility, as specified within the MyHealth@EU framework.</p><p>This work provides step-by-step guidance that translates the AI Act requirements into a sequence of implementation actions aligned with the interoperability specifications of MyHealth@EU. It includes a concise checklist to help developers assess, document, and validate AI involvement in clinical decision-making, while ensuring secure and trustworthy data exchange through the MyHealth@EU network.</p><p>The highlights of the work presented are as follows:</p><list list-type="bullet"><list-item><p>Explanation of the legal and technical foundations of both the AI Act and MyHealth@EU framework,</p></list-item><list-item><p>Explanation of the implications of AI usage within clinical decision support systems,</p></list-item><list-item><p>Positioning of AI Act compliance into the MyHealth@EU workflow,</p></list-item><list-item><p>Suggestion of a minimum AI-specific extension of the Health Level Seven International (HL7) Clinical Document Architecture (CDA) R2 and HL7 Fast Healthcare Interoperability Resources (FHIR) message standards, and</p></list-item><list-item><p>Step-by-step guidelines for assuring compliance with the high-risk requirements of the AI Act and alignment with the MyHealth@EU mechanisms where possible.</p></list-item></list><p>This guide targets 3 overlapping audiences. Developers and data scientists will find concrete checklists that map each obligatory AI Act duty to tractable engineering artifacts. Health care IT architects and hospital deployers will see how those artifacts feed OpenNCP conformance suites, enabling plug-and-play integration with national contact points. Regulators, notified bodies, and policy makers can use the same mapping as a &#x201C;transparency lens&#x201D; to verify that both safety and interoperability have been considered in the case that AI was involved in any clinical decision process.</p></sec><sec id="s2"><title>Related Work</title><p>As the EU AI Act [<xref ref-type="bibr" rid="ref1">1</xref>] begins its transformative role in regulating high-risk AI applications, including medical devices, a growing body of literature has emerged offering tools, checklists, and frameworks to guide functional compliance. Sovrano et al [<xref ref-type="bibr" rid="ref3">3</xref>] presented the most direct and legally grounded approach to vertical compliance, developing a checklist strictly derived from the AI Act&#x2019;s Articles 9, 13, and 14, and Annex IV. Their framework, tested on a high-risk medical expenditure prediction model, illustrates gaps in technical documentation that could hinder conformity assessment. While rigorously aligned with the AI Act, this work excludes postmarket adaptability and patient-facing usability features. Mondal [<xref ref-type="bibr" rid="ref4">4</xref>] introduced a life cycle&#x2013;oriented compliance framework tailored to machine learning&#x2013;enabled in vitro diagnostic devices. By comparing the provisions of the AI Act with the In Vitro Diagnostic Medical Devices Regulation (EU) 2017/746 and International Organization for Standardization (ISO)/International Electrotechnical Commission (IEC) standards (ie, ISO 13485 [<xref ref-type="bibr" rid="ref5">5</xref>] and ISO 14971 [<xref ref-type="bibr" rid="ref6">6</xref>]), this work operationalizes harmonization of these regulatory provisions as pertaining to a real-world medical product pipeline. In addition to ISO 13485 and ISO 14971, the newly released ISO/IEC 42001:2023 [<xref ref-type="bibr" rid="ref7">7</xref>] offers a comprehensive AI-specific management system standard that aligns with the governance, transparency, and life cycle control principles enshrined in the AI Act. Organizations adopting ISO 42001 can strengthen their conformity with Articles 9, 10, 13, and 14 of the AI Act, ensuring systematic oversight of high-risk AI systems.</p><p>More conceptual models, such as AI Cards by Golpayegani et al [<xref ref-type="bibr" rid="ref8">8</xref>], provide a modular, machine-readable framework to document AI system purpose, performance, and risk in line with AI Act requirements. The Agile Safety Plan by Myklebust et al [<xref ref-type="bibr" rid="ref9">9</xref>] adds further depth by embedding functional safety and Conformit&#x00E9; Europ&#x00E9;enne marking into agile pipelines using protocols such as IEC 61508 and TR 5469.</p><p>Importantly, recent studies are beginning to address also the horizontal dimension. Pereira et al [<xref ref-type="bibr" rid="ref10">10</xref>] developed an interoperability platform for the Portuguese eHealth system directly referencing MyHealth@EU specifications, identifying CDA/FHIR transformation, consent enforcement, and electronic Identification, Authentication and Trust Services (eIDAS)&#x2013;based trust anchors as compliance bottlenecks. Similarly, Solomou et al [<xref ref-type="bibr" rid="ref11">11</xref>] outlined a national architectural model that aligns mobile health systems with MyHealth@EU requirements, with preliminary compliance checklists for OpenNCP deployment. Furthermore, the Integration of Heterogeneous Data and Evidence Towards Regulatory and Health Technology Assessment Acceptance framework presented by Hussein et al [<xref ref-type="bibr" rid="ref12">12</xref>] explicitly models cross-border semantic validation and audit logging, showing how conformity with European Health Data Space and MyHealth@EU can be harmonized. Bruthans and Jir&#x00E1;kov&#x00E1; [<xref ref-type="bibr" rid="ref13">13</xref>] have assessed the technical status of cross-border ePrescription and patient summary systems in early adopter countries, confirming the necessity for validation routines and governance layers as part of national rollout plans of these and similar systems.</p><p>Despite these promising beginnings, currently, extant works still lack a synchronized compliance methodology that fully merges the AI Act&#x2019;s vertical obligations with MyHealth@EU&#x2019;s horizontal controls.</p></sec><sec id="s3"><title>Regulatory Foundations</title><sec id="s3-1"><title>The EU AI Act&#x2019;s Risk-Based Framework</title><p>The AI Act is a landmark: the world&#x2019;s first comprehensive and legally binding regulation of AI. The AI Act has already established concrete legal requirements and prohibitions for AI systems based on their potential risk, ensuring that regulatory strictness is proportional to potential harm. The 4 risk levels along with their limits are provided in <xref ref-type="table" rid="table1">Table 1</xref>.</p><table-wrap id="t1" position="float"><label>Table 1.</label><caption><p>Definition, examples, and regulatory requirements of the AI Act&#x2019;s levels of risk.</p></caption><table id="table1" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Risk level</td><td align="left" valign="bottom">Definition</td><td align="left" valign="bottom">Examples</td><td align="left" valign="bottom">Regulatory requirements</td></tr></thead><tbody><tr><td align="left" valign="top">Unacceptable risk (banned)</td><td align="left" valign="top">AI<sup><xref ref-type="table-fn" rid="table1fn1">a</xref></sup> systems are considered to pose extreme harm to individuals or society and are completely prohibited.</td><td align="left" valign="top">Subliminal behavior manipulation, exploitation of vulnerable groups, social scoring systems, untargeted biometric surveillance, emotion recognition in workplaces/schools</td><td align="left" valign="top">Banned entirely from development, deployment, or use in the EU<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup>.</td></tr><tr><td align="left" valign="top">High risk</td><td align="left" valign="top">AI that can significantly affect health, safety, or fundamental rights.</td><td align="left" valign="top">AI in medical devices, critical infrastructure control, education and employment decision systems</td><td align="left" valign="top">A comprehensive list of mandatory requirements (discussed later).</td></tr><tr><td align="left" valign="top">Limited risk</td><td align="left" valign="top">AI with moderate impact, mainly requiring user transparency</td><td align="left" valign="top">Chatbots, AI-generated media (images, videos), emotion detection in entertainment</td><td align="left" valign="top">Must inform users they are interacting with AI; outputs must be clearly labeled as AI generated.</td></tr><tr><td align="left" valign="top">Minimal risk</td><td align="left" valign="top">AI that is posing negligible or routine risks; mostly consumer-facing tools.</td><td align="left" valign="top">Spam filters, AI in video games, recommendation systems.</td><td align="left" valign="top">No specific obligations beyond general EU laws; largely unregulated under the AI Act.</td></tr></tbody></table><table-wrap-foot><fn id="table1fn1"><p><sup>a</sup>AI: artificial intelligence.</p></fn><fn id="table1fn2"><p><sup>b</sup>EU: European Union.</p></fn></table-wrap-foot></table-wrap><p>To help organizations determine how the AI Act applies to their AI system, the Future of Life Institute has developed an EU AI Act Compliance Checker [<xref ref-type="bibr" rid="ref14">14</xref>]. It is an interactive tool that guides stakeholders through a series of yes/no questions to identify the relevant obligations under the AI Act. Furthermore, the interactive checker also tailors output based on the user&#x2019;s role (provider, deployer, distributor, etc), ensuring that each stakeholder knows their responsibilities. The compliance checker has been used to produce a decision flowchart (<xref ref-type="fig" rid="figure1">Figure 1</xref>), providing a decision tree for determining the level of risk under the AI Act, given the application domain.</p><p>Annex IV is the technical documentation regarding the AI Act, and it essentially serves as the evidence dossier for compliance, prescribing the Act&#x2019;s minimum contents in detail. In general, the documentation must describe:</p><list list-type="bullet"><list-item><p>the AI system&#x2019;s name and version, the provider&#x2019;s identity, how the system is meant to be used, the system&#x2019;s overall architecture, and the input/output interactions;</p></list-item><list-item><p>the model&#x2019;s algorithmic approach, the rationale behind it, or any design trade-offs made to comply with the Act&#x2019;s requirements;</p></list-item><list-item><p>the source and characteristics of the datasets, their provenance, how they were collected and selected, and any preprocessing that was done;</p></list-item><list-item><p>the performance measures achieved during testing and clarify the conditions under which these were obtained;</p></list-item><list-item><p>the risk assessment process, along with the safety measures and mitigations implemented for each;</p></list-item><list-item><p>how the concept of human-in-the-loop was enabled;</p></list-item><list-item><p>any relevant changes made to the AI system through its life cycle and how they ensured each new version remains compliant;</p></list-item><list-item><p>the internal control measures or best practices were used instead to achieve compliance; and</p></list-item><list-item><p>how the provider will monitor the AI system&#x2019;s performance once it is deployed.</p></list-item></list><p>In addition, the technical file should append a copy of the EU Declaration of Conformity (Annex V) for the AI system. This is the formal statement in which the provider declares that the system conforms to the Act (and is typically signed by an authorized person). This technical documentation is a living set of documents that must be kept up to date (at least 10 years after deployment) and made available to authorities upon request. It forces providers to deeply give consideration to and record every aspect of how the conformant AI was built and how it operates safely.</p><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>The AI Act&#x2019;s level of risk assessment. AI: artificial intelligence.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v27i1e81184_fig01.png"/></fig></sec><sec id="s3-2"><title>MyHealth@EU Interoperability Framework</title><p>MyHealth@EU is the EU&#x2019;s operational infrastructure for cross-border digital health data exchange. Developed under the Connecting Europe Facility&#x2019;s eHealth Digital Service Infrastructure, it currently supports protocols for the routine transfer of ePrescriptions, International Patient Summaries (IPS), and original clinical documents among member states. Regulation (EU)&#x202F;2025/327 formalizes common specifications for this network and outlines expansion to additional datasets, thus providing legal certainty for member states and vendors [<xref ref-type="bibr" rid="ref15">15</xref>]. Up to date, there are 6 main dataset services, planned to act as live clinical payloads flowing through the MyHealth@EU network, that handle real patient data in production. Parts of them are fully operational (ePrescription/eDispensation, IPS, and original clinical documents); one is in a pilot stage (laboratory results), and the others are planned (medical imaging and hospital discharge report).</p><p>OpenNCP [<xref ref-type="bibr" rid="ref16">16</xref>] is an open-source implementation of the software components that are needed to successfully run NCPeH under the semantic and technical frameworks published as under eHealth Digital Service Infrastructure. OpenNCP was originally developed under the European Patients Smart Open Services project, with 25 participating countries and over 50 beneficiaries, running from 2008 to 2014, and since 2014, it has been hosted by the European Commission.</p><p>The cross-border eHealth exchange is governed through a model that cleanly separates policy-making, technical coordination, and national implementation. Health ministry representatives (the eHealth Network), together with the European Commission&#x2019;s Directorate General for Health and Food Safety, comprise the policy-making that sets the strategic agenda. They issue EU-level decisions that add new clinical domains. The same bodies ratify the semantic assets that make data interoperable, as well as approve the common cybersecurity baseline, and define how member states must report incidents.</p><p>Operated by the European Commission, the Central Services Platform (CSP) acts as the technical service hub. Through its Service Metadata Publisher (SMP), the CSP distributes an up-to-date directory of NCPeH end points and their supported transactions. A semantic repository stores and versions all CDA guides, code lists, and FHIR profiles. The CSP also runs the conformance test service, which verifies transport security, semantic validity, and workflow scenarios. The aggregated incident report confirms that each new or upgraded NCPeH meets EU requirements.</p><p>Each member state must operate at least one NCPeH instance with OpenNCP installed as the reference software, implementing the secure message exchange, template validation, consent enforcement, and auditing for every one of the MyHealth@EU dataset services. The dataset service defines what data move and how they are structured. It is the formal, standard-based data exchange capability (eg, IPS) delivered by MyHealth@EU, intended to ensure that clinicians see accurate, structured, and trusted information across borders. The core components of the OpenNCP include a Gateway service that handles AS4 messaging and mutual Transport Layer Security handshakes, a pivot transformer that maps national data models to European Union CDA templates, a security module that validates eIDAS tokens and eXtensible Access Control Markup Language (XACML) consent assertions, and an audit repository conforming to Integrating the Healthcare Enterprise (IHE) Audit Trail and Node Authentication (ATNA) profile. The project publishes binary distributions and Docker images on a regular release cycle; each aligned with the semantic-asset versions distributed by the CSP. Member states may extend OpenNCP via plug-ins provided all extensions pass the CSP Conformance Test Service. Together, these layers enable any clinician in one member state to request and receive a patient&#x2019;s records from another under a single, shared rule set.</p><p><xref ref-type="fig" rid="figure2">Figure 2</xref> shows an example where a clinician from member state A is requesting an IPS from member state B. It illustrates the sequence of steps, where the actors involved are marked with a corresponding color. The following process is used. Step 1 (service discovery) involves OpenNCP-A initiating a query to the SMP hosted by the CSP. Through this request, it retrieves essential interoperability metadata such as the end point address of NCPeH-B, the list of supported data set services, and relevant security certificates. Once the end point is confirmed, step 2 (patient discovery) follows. Here, OpenNCP-A&#x2019;s Cross-Community Patient Discovery Client sends a patient discovery request, including demographic information, to OpenNCP-B, which uses its national master index or electronic health record (EHR) system to locate the matching individual. On successful identification, step 3 (document retrieval) begins as OpenNCP-A&#x2019;s XCA client sends a formal request for the IPS to OpenNCP-B&#x2019;s XCA server, which responds with the patient&#x2019;s structured CDA document. Then in Step 4 (CDA generation), NCPeH-B leverages its pivot transformer to convert local EHR data into the standardized IPS CDA format. This is then semantically validated using controlled terminologies, such as Systematized Nomenclature of Medicine, Logical Observation Identifiers Names and Codes, and Unified Code for Units of Measure, and checked against Schematron rules. Then in step 5 (security and consent check), the Security Module in OpenNCP-B validates the sender&#x2019;s eIDAS identity token, applies XACML-based consent policies, and securely signs and encrypts the response. With the data packaged and ready, step 6 (audit logging) is executed by both NCPeHs. Each system records detailed logs, including transaction identifiers, patient IDs, document type, and timestamps, storing these in IHE ATNA-compliant audit repositories for a minimum of 10 years.</p><fig position="float" id="figure2"><label>Figure 2.</label><caption><p>Interoperable exchange of eHealth information among member states. ASK/TLS: Asynchronous Key Transport/Transport Layer Security; ATC: Anatomical Therapeutic Chemical Classification System; ATNA: Audit Trail and Node Authentication; CDA: Clinical Document Architecture; CSP: Central Services Platform; DG SANTE: Directorate-General for Health and Food Safety; DICOM: Digital Imaging and Communications in Medicine; EDQM: European Directorate for the Quality of Medicines &#x0026; HealthCare; EEHRxF: European Electronic Health Record Exchange Format; eIDAS: Electronic Identification, Authentication and Trust Services; EHR: electronic health record; FHIR: Fast Healthcare Interoperability Resources; HL7: Health Level Seven International; <italic>ICD-10</italic>: <italic>International Classification of Diseases, 10th Revision</italic>; IPS: International Patient Summary; LOINC: Logical Observation Identifiers Names and Codes; NCPeH: National Contact Point for eHealth; NPU: Nomenclature for Properties and Units; OpenNCP: Open National Contact Point (reference implementation for NCPeH); SMP: Service Metadata Publisher; SNOMED CT: Systematized Nomenclature of Medicine&#x2013;Clinical Terms; TLS: Transport Layer Security; XCA: Cross-Community Access (Integrating the Healthcare Enterprise profile for document exchange); XCPD: Cross-Community Patient Discovery (Integrating the Healthcare Enterprise profile for patient identification).</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v27i1e81184_fig02.png"/></fig></sec></sec><sec id="s4"><title>Implications for AI Modules Within the Clinical Decision Support Systems</title><p>AI-enabled clinical ecosystems, increasingly structured as multiagent systems with specialized roles (eg, triage, summarization, translation, and guideline validation), pose significant compliance and interoperability challenges under MyHealth@EU standards. Although the European Health Data Space regulation [<xref ref-type="bibr" rid="ref15">15</xref>] does not yet provide explicit guidance on AI or large language models, it does require that any high-risk AI system be fully compliant with the AI Act. Ensuring transparency, provenance, and robustness&#x2014;key requirements derived from the AI Act&#x2014;is imperative during cross-border exchanges of clinical AI-generated or AI-handled data.</p><p><italic>Transparency</italic> mandates explicit disclosure when AI generates or transforms clinical data, clearly indicating the AI model, assumptions, and oversight involved. For example, AI-generated narrative summaries must annotate the contribution of AI clearly, fulfilling AI Act transparency obligations.</p><p><italic>Provenance</italic> expands transparency by thoroughly documenting data origin, transformation history, model versions, timestamps, national identifiers, and reviewer credentials. This comprehensive metadata enables clinicians to verify data integrity and trustworthiness, addressing the Act&#x2019;s data governance and technical documentation mandates.</p><p><italic>Robustness</italic> safeguards schema integrity, controls terminology usage, secures multiagent data exchanges, and adheres to audit logging standards. It aligns with AI Act provisions on risk management, cybersecurity, human oversight, and postmarket monitoring.</p></sec><sec id="s5"><title>Walkthrough</title><sec id="s5-1"><title>Embedding EU AI Act Compliance Within the MyHealth@EU Framework</title><p>Member states are expected to incorporate AI technologies into their national health care systems, necessitating adherence to the EU AI Act without imposing modifications at the MyHealth@EU infrastructural level. <xref ref-type="fig" rid="figure3">Figure 3</xref> positions an AI-based system within a hypothetical national health care system in member state A. All AI-related regulatory requirements must be addressed before interfacing the national EHR system with the OpenNCP. Specifically, high-risk AI systems under the AI Act must comply with requirements for risk management, data governance, technical documentation, audit logging, transparency and explainability, human oversight, robustness, postmarket monitoring, quality management systems, conformity assessment, and registration in an EU database.</p><p>Analysis of these requirements indicates that some can benefit from existing MyHealth@EU policies, whereas others necessitate external solutions provided by developers responsible for their reliability. Central to these requirements is the technical documentation mandated by Annex IV of the AI Act, serving as a comprehensive reference repository accessible via URL. This documentation, stored securely alongside external services, provides essential details about the AI system.</p><p>Risk management, lacking direct equivalents within MyHealth@EU, must be addressed externally by clearly outlining the risk analysis life cycle, mitigation strategies, hazard modeling, residual risk management, and continuous risk monitoring procedures. Data governance, critical for AI-driven processes, also requires external oversight to manage dataset origin, representativeness, preprocessing techniques, and bias mitigation strategies, guided by compliance rules derived from European Electronic Health Record Exchange Format standards pertinent to medical data.</p><p>Audit logs, essential for system traceability, must adhere to the IHE ATNA profile, ensuring transparent documentation of system operations. Transparency and explainability pose significant challenges within AI applications and necessitate external mechanisms thoroughly detailed in the technical documentation. Human oversight mechanisms must clearly define clinical responsibilities, supervisory roles, decision reviews, and emergency override protocols, incorporating clinical corrections into documentation.</p><p>Robustness, accuracy, and cybersecurity documentation should provide comprehensive evidence of system reliability and safety. This includes detailed performance metrics, stress testing results under edge-case clinical conditions, error handling procedures, adversarial resistance evaluations, and security-by-design mechanisms. For generative AI and multiagent systems, developers should consult security guidelines, such as those outlined by the Open Worldwide Application Security Project (OWASP) GenAI Security Project [<xref ref-type="bibr" rid="ref17">17</xref>], which highlight critical risks such as prompt injection, model extraction, and misuse, offering mitigation strategies tailored to large language model&#x2013;based architectures.</p><p>Postmarket monitoring must define clear frameworks for detecting performance drift, integrating user feedback into iterative updates, and managing incidents effectively. This also entails alignment with the MyHealth@EU incident reporting and aggregation system, ensuring timely and standardized communication of serious events across member states.</p><p>Quality management systems should be implemented in accordance with internationally recognized standards. In particular, ISO/IEC 42001 provides a dedicated framework for auditing, certifying, and governing AI management systems. As Benraouane [<xref ref-type="bibr" rid="ref18">18</xref>] emphasizes, this standard is instrumental in embedding risk-based thinking, traceability, and accountability into AI product life cycle management, the elements that are foundational for both regulatory compliance and ethical assurance in clinical environments.</p><p>The CSP Conformance Testing Service acts as the final validation point, verifying compliance with document formats, security and transport envelopes, and audit trail integrity. Finally, the registration of high-risk AI systems in an EU database remains under regulatory consideration.</p><p>Fulfillment of these criteria allows AI-generated content, such as IPSs, ePrescription/eDispensation documents, discharge reports, laboratory results, and other future MyHealth@EU services, to enrich standardized clinical documents. These documents are typically formatted using either the HL7 CDA, a widely used XML-based format, or the future HL7 FHIR.</p><fig position="float" id="figure3"><label>Figure 3.</label><caption><p>The AI Act position within the MyHealth@EU framework. AI: artificial intelligence; ATNA: Audit Trail and Node Authentication; CDA: Clinical Document Architecture; CSP: Central Services Platform; EEHRxF: European Electronic Health Record Exchange Format; EU: European Union; FHIR: Fast Healthcare Interoperability Resources; HL7: Health Level Seven International; IPS: International Patient Summary; ISO: International Organization for Standardization; MyHealth@EU: European Union Cross-Border eHealth Network; NCPeH: National Contact Point for eHealth; OpenNCP: Open National Contact Point; QMS: quality management system.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v27i1e81184_fig03.png"/></fig><p><xref ref-type="table" rid="table2">Tables 2</xref> and <xref ref-type="table" rid="table3">3</xref> present an effort to incorporate a minimal AI Compliance subsection within the HL7 CDA and HL7 FHIR standards, correspondingly, without compromising the standard fields, including:</p><list list-type="bullet"><list-item><p><italic>AI author metadata</italic>: detailing AI engine specifics</p></list-item><list-item><p><italic>AI compliance section</italic>: isolated container for AI-exclusive data points</p></list-item><list-item><p><italic>Contribution status</italic>: machine-readable indication of AI-generated content</p></list-item><list-item><p><italic>Human-in-the-loop statement:</italic> documentation of human oversight</p></list-item><list-item><p><italic>Risk classification</italic>: designation of risk level for monitoring purposes</p></list-item><list-item><p><italic>Technical-file link</italic>: direct URL access to Annex IV documentation</p></list-item><list-item><p><italic>Explainability rationale</italic>: transparent reasoning behind AI-generated decisions</p></list-item></list><table-wrap id="t2" position="float"><label>Table 2.</label><caption><p>Health Level Seven International Clinical Document Architecture R2 core structure with minimal AI (artificial intelligence)&#x2013;specific extensions.</p></caption><table id="table2" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Layer</td><td align="left" valign="bottom">Description</td><td align="left" valign="bottom">Key child elements&#x2014;(*) is a repeatable element</td></tr></thead><tbody><tr><td align="left" valign="top">Header</td><td align="left" valign="top">Carries document context and metadata so any system can identify who the document is about, what it is, who/what authored it, when it was created, and under whose authority it was released</td><td align="left" valign="top"><list list-type="bullet"><list-item><p>typeId</p></list-item><list-item><p>templateId*</p></list-item><list-item><p>id</p></list-item><list-item><p>code</p></list-item><list-item><p>title</p></list-item><list-item><p>effectiveTime</p></list-item><list-item><p>confidentialityCode</p></list-item><list-item><p>languageCode</p></list-item><list-item><p>recordTarget</p></list-item><list-item><p>author*</p><list list-type="bullet"><list-item><p>AI author metadata (assignedAuthoringDevice)</p><list list-type="bullet"><list-item><p>manufacturerModelName</p></list-item><list-item><p>softwareName</p></list-item></list></list-item></list></list-item><list-item><p>dataEnterer (optional)</p></list-item><list-item><p>informant*</p></list-item><list-item><p>authenticator*/legalAuthenticator</p></list-item><list-item><p>custodian</p></list-item><list-item><p>informationRecipient*</p></list-item><list-item><p>participant*</p></list-item><list-item><p>inFulfillmentOf</p></list-item><list-item><p>documentationOf*</p></list-item><list-item><p>relatedDocument*</p></list-item><list-item><p>authorization</p></list-item><list-item><p>componentOf (encounter context)</p></list-item></list></td></tr><tr><td align="left" valign="top">Body</td><td align="left" valign="top">Holds the clinical content (could be a free-text field or as a structured body with coded sections and entries)</td><td align="left" valign="top"><list list-type="bullet"><list-item><p>Component</p><list list-type="bullet"><list-item><p>structuredBody</p><list list-type="bullet"><list-item><p>AI compliance section</p><list list-type="bullet"><list-item><p>templateId (AI-section profile)</p></list-item><list-item><p>code (AI-META)</p></list-item><list-item><p>title</p></list-item><list-item><p>text (narrative)</p></list-item><list-item><p>entry Contribution status</p></list-item><list-item><p>entry Human-in-the-loop statement</p></list-item><list-item><p>entry Risk classification</p></list-item><list-item><p>entry Technical-file link</p></list-item><list-item><p>entry Explainability rationale</p></list-item></list></list-item><list-item><p>Additional clinical section* (History, Medications, Results,...)</p><list list-type="bullet"><list-item><p>templateId*</p></list-item><list-item><p>code</p></list-item><list-item><p>title</p></list-item><list-item><p>text</p></list-item><list-item><p>entry* (observations, acts, procedures)</p></list-item></list></list-item></list></list-item></list></list-item></list></td></tr></tbody></table></table-wrap><table-wrap id="t3" position="float"><label>Table 3.</label><caption><p>Health Level Seven International Fast Healthcare Interoperability Resources core structure with minimal artificial intelligence (AI)&#x2013;specific extensions.</p></caption><table id="table3" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Bundle</td><td align="left" valign="bottom">Description</td><td align="left" valign="bottom">AI-specific integration</td></tr></thead><tbody><tr><td align="left" valign="top"><italic>DiagnosticReport</italic></td><td align="left" valign="top">Provides narrative findings and points to supporting <italic>Observation</italic>.</td><td align="left" valign="top"><list list-type="bullet"><list-item><p>extension[ai-contribution]&#x2014;AI generation status</p></list-item><list-item><p>extension[ai-rationale]&#x2014;explaining model reasoning</p></list-item><list-item><p>extension[ai-artifact]&#x2014;linking to Annex IV technical file</p></list-item><list-item><p>extension[ai-risk]&#x2014;risk class</p></list-item></list></td></tr><tr><td align="left" valign="top"><italic>Observation</italic></td><td align="left" valign="top">Holds a discrete clinical data point (eg, lesion size, laboratory value).</td><td align="left" valign="top"><list list-type="bullet"><list-item><p>extension[ai-contribution]&#x2014;stating that values were AI-derived</p></list-item></list></td></tr><tr><td align="left" valign="top"><italic>Provenance</italic></td><td align="left" valign="top">Records who (person or system) produced or modified the target resource and when.</td><td align="left" valign="top"><list list-type="bullet"><list-item><p>Provenance.agent.extension[ai-contribution]&#x2014;human verification with possible overriding original statement</p></list-item></list></td></tr></tbody></table></table-wrap><p>Given that future HL7 FHIR implementation would contain a DiagnosticReport for the summary, Observation for a discrete finding, and Provenance to record authorship and timing, the AI-related fields should be implemented as FHIR extensions to those resources with AI contributions, rationale, documentation links, AI confidence, interpretative metrics, and agent involvement as given in <xref ref-type="table" rid="table3">Table 3</xref>.</p><p>We intentionally avoided recommending new AI-based profiles, such as AIDiagnosticReport, to avoid adding complexity while the current draft profiles are still being finalized; this choice postpones fragmentation and makes it easier to converge on a future European AI profile.</p><p>For AI Act compliance, the key requirement is transparency, being able to flag AI involvement and link to the Annex IV technical file. These optional extensions satisfy that without imposing new mandatory constraints on trading partners. These extensions would be considered optional and valid only when AI has been included in some of the clinical reports without imposing new mandatory constraints on trading partners.</p></sec><sec id="s5-2"><title>Checklist for AI-Act Compliance Before OpenNCP Transmission</title><p><xref ref-type="table" rid="table4">Table 4</xref> presents a step-by-step guideline, which outlines essential actions to ensure clinicians that any AI-generated decision wrapped in the data message they receive through MyHealth@EU/OpenNCP complies fully with the AI Act. The same guidelines can also be used for AI Act&#x2013;compliant national transfer of the clinical data.</p><table-wrap id="t4" position="float"><label>Table 4.</label><caption><p>The AI Act compliance checklist for European Union Cross-Border eHealth Network (MyHealth@EU)&#x2013;ready integration.</p></caption><table id="table4" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Phase and step</td><td align="left" valign="bottom">Action</td><td align="left" valign="bottom">Description/artifacts</td><td align="left" valign="bottom">Status</td></tr></thead><tbody><tr><td align="left" valign="top" colspan="4">Phase 0: Project framing</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>0.1<named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content></td><td align="left" valign="top">Confirm clinical scope</td><td align="left" valign="top">Identify which dataset service the AI<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> touches (ePrescription, IPS<sup><xref ref-type="table-fn" rid="table4fn2">b</xref></sup>, imaging, etc)</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>0.2</td><td align="left" valign="top">Classify as high risk</td><td align="left" valign="top">Record legal basis (health diagnosis/treatment) in project log</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>0.3</td><td align="left" valign="top">Setup Annex&#x202F;IV repo</td><td align="left" valign="top">Secure version-controlled URL that will store all compliance artifacts</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="left" valign="top" colspan="4">Phase&#x202F;1: Build external AI Act controls</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>1.1</td><td align="left" valign="top">Risk management system (Art 9)</td><td align="left" valign="top">Create hazard list, mitigation matrix</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>1.2</td><td align="left" valign="top">Data governance (Art 10)</td><td align="left" valign="top">Document dataset provenance, representativeness, preprocessing and bias checks; align codes with EEHRxF<sup><xref ref-type="table-fn" rid="table4fn3">c</xref></sup></td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>1.3</td><td align="left" valign="top">Technical documentation population</td><td align="left" valign="top">Populate Annex&#x202F;IV file set: architecture, test results, certificates</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>1.4</td><td align="left" valign="top">Automatic logs (Art 12)</td><td align="left" valign="top">Extend ATNA<sup><xref ref-type="table-fn" rid="table4fn4">d</xref></sup> to record model ID + inference timestamps</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>1.5</td><td align="left" valign="top">Transparency/XAI<sup><xref ref-type="table-fn" rid="table4fn5">e</xref></sup> (Art 13)</td><td align="left" valign="top">Generate human-readable rationale + JSON payload</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>1.6</td><td align="left" valign="top">Human oversight (Art 14)</td><td align="left" valign="top">Deploy HITL<sup><xref ref-type="table-fn" rid="table4fn6">f</xref></sup> platform with override option</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>1.7</td><td align="left" valign="top">Robustness and security (Art 15)</td><td align="left" valign="top">Run stress tests and archive metrics. Consult security guidelines [<xref ref-type="bibr" rid="ref17">17</xref>].</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>1.8</td><td align="left" valign="top">Quality management system (Art 17)</td><td align="left" valign="top">Operate ISO<sup><xref ref-type="table-fn" rid="table4fn7">g</xref></sup> compliant QMS<sup><xref ref-type="table-fn" rid="table4fn8">h</xref></sup> (eg, ISO 13485 [<xref ref-type="bibr" rid="ref5">5</xref>] for medical devices, ISO 42001 for AI systems [<xref ref-type="bibr" rid="ref18">18</xref>])</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>1.9</td><td align="left" valign="top">Conformity assessment (Art 43)</td><td align="left" valign="top">Complete internal or notified-body route; store certificate</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>1.10</td><td align="left" valign="top">Postmarket monitoring (Art 72)</td><td align="left" valign="top">Implement drift metrics, feedback loop, incident workflow</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>1.11</td><td align="left" valign="top">Prepare EU<sup><xref ref-type="table-fn" rid="table4fn9">i</xref></sup> registration (Art 71)</td><td align="left" valign="top">Draft JSON payload for future EU AI database</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="left" valign="top" colspan="4">Phase&#x202F;2: Generate AI-enriched payload</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>2.1</td><td align="left" valign="top">Build CDA<sup><xref ref-type="table-fn" rid="table4fn10">j</xref></sup>/FHIR<sup><xref ref-type="table-fn" rid="table4fn11">k</xref></sup> document</td><td align="left" valign="top">Use the correct EEHRxF template (eg, ImagingReport, IPS)</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>2.2</td><td align="left" valign="top">Inject AI markers</td><td align="left" valign="top">Add AI-info sections (CDA) or ai-* extensions (FHIR)</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="left" valign="top" colspan="4">Phase&#x202F;3: Conformance and exchange</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>3.1</td><td align="left" valign="top">Schema validate locally</td><td align="left" valign="top">Use an off-the-shelf CDA/FHIR validator</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>3.2</td><td align="left" valign="top">Wrap security envelope</td><td align="left" valign="top">Wrap the document in the same XDS<sup><xref ref-type="table-fn" rid="table4fn12">l</xref></sup>/XDR<sup><xref ref-type="table-fn" rid="table4fn13">m</xref></sup> message your NCPeH<sup><xref ref-type="table-fn" rid="table4fn14">n</xref></sup> expects</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>3.3</td><td align="left" valign="top">Merge ATNA log entry</td><td align="left" valign="top">Create an ATNA record</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>3.4</td><td align="left" valign="top">Run CSP<sup><xref ref-type="table-fn" rid="table4fn15">o</xref></sup> Test Service</td><td align="left" valign="top">Upload the message to the CSP Test Service</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>3.5</td><td align="left" valign="top">Transmit via OpenNCP<sup><xref ref-type="table-fn" rid="table4fn16">p</xref></sup></td><td align="left" valign="top">Route the validated message through your NCPeH. OpenNCP transforms nothing; it simply forwards to member state B. Remote clinicians see a normal report, the AI block appears only in AI-aware UIs</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="left" valign="top" colspan="4">Phase&#x202F;4: Operate, monitor, and evolve</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>4.1</td><td align="left" valign="top">Collect postmarket monitoring metrics</td><td align="left" valign="top">Deploy a metrics collector: model latency, accuracy drift, false-positive rate</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>4.2</td><td align="left" valign="top">Detect and report incidents</td><td align="left" valign="top">File serious-incident JSON to EU portal within 15 days. Link incident ID back into Annex IV folder</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>4.3</td><td align="left" valign="top">Update model under QMS</td><td align="left" valign="top">Log new version of the software</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>4.4</td><td align="left" valign="top">Refresh tech file</td><td align="left" valign="top">Replace Annex&#x202F;IV PDF; keep URL constant</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>4.5</td><td align="left" valign="top">EU database registration (when portal opens)</td><td align="left" valign="top">Post JSON payload when registry goes live; embed EU AI ID in reports</td><td align="left" valign="top">&#x2610;</td></tr><tr><td align="char" char="." valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>4.6</td><td align="left" valign="top">Annual reconformity check</td><td align="left" valign="top">Rerun CSP test on a sample message.</td><td align="left" valign="top">&#x2610;</td></tr></tbody></table><table-wrap-foot><fn id="table4fn1"><p><sup>a</sup>AI: artificial intelligence.</p></fn><fn id="table4fn2"><p><sup>b</sup>IPS: International Patient Summary.</p></fn><fn id="table4fn3"><p><sup>c</sup>EEXRxF: European Electronic Health Record Exchange Format.</p></fn><fn id="table4fn4"><p><sup>d</sup>ATNA: Audit Trail and Node Authentication.</p></fn><fn id="table4fn5"><p><sup>e</sup>XAI: explainable artificial intelligence.</p></fn><fn id="table4fn6"><p><sup>f</sup>HITL: human-in-the-loop.</p></fn><fn id="table4fn7"><p><sup>g</sup>ISO: International Organization for Standardization.</p></fn><fn id="table4fn8"><p><sup>h</sup>QMS: Quality Management System.</p></fn><fn id="table4fn9"><p><sup>i</sup>EU: European Union.</p></fn><fn id="table4fn10"><p><sup>j</sup>CDA: Clinical Document Architecture.</p></fn><fn id="table4fn11"><p><sup>k</sup>FHIR: Fast Healthcare Interoperability Resources.</p></fn><fn id="table4fn12"><p><sup>l</sup>XDS: Cross-Enterprise Document Sharing.</p></fn><fn id="table4fn13"><p><sup>m</sup>XDR: Cross-Enterprise Document Reliable Interchange.</p></fn><fn id="table4fn14"><p><sup>n</sup>NCPeH: National Contact Point for eHealth.</p></fn><fn id="table4fn15"><p><sup>o</sup>CSP: Central Services Platform.</p></fn><fn id="table4fn16"><p><sup>p</sup>OpenNCP: Open National Contact Point.</p></fn></table-wrap-foot></table-wrap></sec></sec><sec id="s6"><title>Illustrative Examples: A Simulation of AI-Supported IPS Transmission</title><p>To demonstrate how the proposed CDA/FHIR extensions and checklist actions can be applied in practice, we simulate an AI-supported IPS transmission between 2 member states (member state A and member state B).</p><sec id="s6-1"><title>Step 1: IPS Generation With AI Contribution</title><p>Within member state A, a hospital EHR generates an IPS enriched by an AI module, which performs a summarization of discharge notes. The CDA header records the standard metadata, while the AI compliance section explicitly marks AI involvement (<xref ref-type="other" rid="box1">Textbox 1</xref>).</p><boxed-text id="box1"><title> Health Level Seven Clinical Document Architecture (HL7 CDA) representing the International Patient Summary (IPS) enriched with AI contributions.</title><p>&#x003C;component&#x003E;</p><p>&#x003C;structuredBody&#x003E;</p><p>&#x003C;component&#x003E;</p><p>&#x003C;section&#x003E;</p><p>&#x003C;templateId root=&#x201C;2.16.840.1.113883.AI-META&#x201D;/&#x003E;</p><p>&#x003C;code code=&#x201C;AI-META&#x201D; displayName=&#x201C;AI Compliance Metadata&#x201D;/&#x003E;</p><p>&#x003C;title&#x003E;AI Compliance Information&#x003C;/title&#x003E;</p><p>&#x003C;text&#x003E;AI-assisted summarization of discharge notes&#x003C;/text&#x003E;</p><p>&#x003C;entry&#x003E;</p><p>&#x003C;observation classCode=&#x201C;OBS&#x201D; moodCode=&#x201C;EVN&#x201D;&#x003E;</p><p>&#x003C;code code=&#x201C;AI-CONTRIBUTION&#x201D; displayName=&#x201C;AI Contribution&#x201D;/&#x003E;</p><p>&#x003C;value xsi:type=&#x201C;BL&#x201D; value=&#x201C;true&#x201D;/&#x003E;</p><p>&#x003C;/observation&#x003E;</p><p>&#x003C;/entry&#x003E;</p><p>&#x003C;entry&#x003E;</p><p>&#x003C;observation&#x003E;</p><p>&#x003C;code code=&#x201C;AI-RISK&#x201D; displayName=&#x201C;Risk Classification&#x201D;/&#x003E;</p><p>&#x003C;value xsi:type=&#x201C;CD&#x201D; code=&#x201C;high-risk&#x201D;/&#x003E;</p><p>&#x003C;/observation&#x003E;</p><p>&#x003C;/entry&#x003E;</p><p>&#x003C;entry&#x003E;</p><p>&#x003C;observation&#x003E;</p><p>&#x003C;code code=&#x201C;AI-RATIONALE&#x201D; displayName=&#x201C;Explainability Rationale&#x201D;/&#x003E;</p><p>&#x003C;value xsi:type=&#x201C;ST&#x201D;&#x003E;Summary generated using validated LLM model v2.3&#x003C;/value&#x003E;</p><p>&#x003C;/observation&#x003E;</p><p>&#x003C;/entry&#x003E;</p><p>&#x003C;entry&#x003E;</p><p>&#x003C;observation&#x003E;</p><p>&#x003C;code code=&#x201C;AI-ANNEXIV&#x201D; displayName=&#x201C;Annex IV Technical File&#x201D;/&#x003E;</p><p>&#x003C;value xsi:type=&#x201C;URI&#x201D;&#x003E;https://hospital.eu/annexIV/ips-ai-summary-v2.3&#x003C;/value&#x003E;</p><p>&#x003C;/observation&#x003E;</p><p>&#x003C;/entry&#x003E;</p><p>&#x003C;/section&#x003E;</p><p>&#x003C;/component&#x003E;</p><p>&#x003C;/structuredBody&#x003E;</p><p>&#x003C;/component&#x003E;</p></boxed-text></sec><sec id="s6-2"><title>Step 2: Equivalent Representation in HL7 FHIR</title><p>If the IPS were represented in FHIR, the AI metadata would be injected via extensions (<xref ref-type="other" rid="box2">Textbox 2</xref>).</p><boxed-text id="box2"><title> Health Level Seven Fast Healthcare Interoperability Resources (HL7 FHIR) JSON representation of the International Patient Summary (IPS) enriched with AI contributions.</title><p>{</p><p>&#x201C;resourceType&#x201D;: &#x201C;DiagnosticReport&#x201D;,</p><p>&#x201C;id&#x201D;: &#x201C;ips-summary-1234&#x201D;,</p><p>&#x201C;status&#x201D;: &#x201C;final&#x201D;,</p><p>&#x201C;code&#x201D;: { &#x201C;coding&#x201D;: [{ &#x201C;system&#x201D;: &#x201C;http://loinc.org&#x201D;, &#x201C;code&#x201D;: &#x201C;60591&#x2010;5&#x201D;, &#x201C;display&#x201D;: &#x201C;Patient summary Document&#x201D; }] },</p><p>&#x201C;subject&#x201D;: { &#x201C;reference&#x201D;: &#x201C;Patient/123&#x201D; },</p><p>&#x201C;extension&#x201D;: [</p><p>{ &#x201C;url&#x201D;: &#x201C;http://hospital.eu/fhir/StructureDefinition/ai-contribution&#x201D;, &#x201C;valueBoolean&#x201D;: true },</p><p>{ &#x201C;url&#x201D;: &#x201C;http://hospital.eu/fhir/StructureDefinition/ai-risk&#x201D;, &#x201C;valueCode&#x201D;: &#x201C;high-risk&#x201D; },</p><p>{ &#x201C;url&#x201D;: &#x201C;http://hospital.eu/fhir/StructureDefinition/ai-rationale&#x201D;, &#x201C;valueString&#x201D;: &#x201C;Summary generated using validated LLM model v2.3&#x201D; },</p><p>{ &#x201C;url&#x201D;: &#x201C;http://hospital.eu/fhir/StructureDefinition/ai-annexIV&#x201D;, &#x201C;valueUri&#x201D;: &#x201C;https://hospital.eu/annexIV/ips-ai-summary-v2.3&#x201D; }</p><p>]</p><p>}</p></boxed-text></sec><sec id="s6-3"><title>Step 3: Secure Transmission via OpenNCP</title><p>The following describes how data is transmitted securely.</p><list list-type="order"><list-item><p>Service discovery&#x2014;NCPeH-A queries CSP&#x2019;s SMP to locate NCPeH-B</p></list-item><list-item><p>Patient discovery&#x2014;patient identified across member states</p></list-item><list-item><p>Document generation&#x2014;IPS assembled with embedded AI section/extensions</p></list-item><list-item><p>Semantic validation&#x2014;CDA/FHIR validated against EU templates, Schematron rules, and controlled terminologies (Systematized Nomenclature of Medicine, Logical Observation Identifiers Names and Codes)</p></list-item><list-item><p>Security and consent checks&#x2014;eIDAS identity token and XACML consent validated</p></list-item><list-item><p>Audit logging&#x2014;ATNA logs enriched with modelID and inference timestamp</p></list-item><list-item><p>Transmission&#x2014;validated IPS sent via AS4 channel to NCPeH-B</p></list-item></list></sec><sec id="s6-4"><title>Step 4: Clinician View in Member State B</title><p>In member state B, the IPS is displayed in the local EHR. For clinicians using AI-aware interfaces, the &#x201C;AI Compliance Information&#x201D; block appears in a separate panel. For systems not supporting the extensions, the IPS remains schema-compliant and renders as a normal IPS, ensuring backward compatibility.</p></sec></sec><sec id="s7" sec-type="discussion"><title>Discussion</title><sec id="s7-1"><title>Security Risks</title><p>AI-enabled clinical systems introduce unique vulnerabilities that go beyond conventional cybersecurity threats. While the AI Act requires &#x201C;robustness, accuracy, and cybersecurity&#x201D; (Art 15), practical guidance is limited. To operationalize security within the compliance checklist, the OWASP GenAI Security Project risks have been aligned with concrete safeguards and their placement in the proposed phase-oriented framework as presented in <xref ref-type="table" rid="table5">Table 5</xref>.</p><table-wrap id="t5" position="float"><label>Table 5.</label><caption><p>Open Worldwide Application Security Project generative artificial intelligence (AI) security risks position within the proposed checklist.</p></caption><table id="table5" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Risk</td><td align="left" valign="bottom">Description</td><td align="left" valign="bottom">Mitigation strategy</td><td align="left" valign="bottom">Checklist phase</td></tr></thead><tbody><tr><td align="left" valign="top">Prompt injection</td><td align="left" valign="top">Maliciously crafted input manipulates the model to override safety controls or leak sensitive data</td><td align="left" valign="top">Input sanitization and context filtering; restrict model to domain-specific prompts; log all inference inputs in ATNA<sup><xref ref-type="table-fn" rid="table5fn1">a</xref></sup></td><td align="left" valign="top">Phase 1.7 (Robustness &#x0026; Security)</td></tr><tr><td align="left" valign="top">Data poisoning</td><td align="left" valign="top">Training or fine-tuning data manipulated to bias outputs</td><td align="left" valign="top">Dataset provenance documentation; bias checks and representativeness tests; secure training pipelines</td><td align="left" valign="top">Phase 1.2 (Data Governance)</td></tr><tr><td align="left" valign="top">Model inversion/extraction</td><td align="left" valign="top">Attackers query models to reconstruct sensitive training data or extract model parameters</td><td align="left" valign="top">Rate-limiting queries; differential privacy techniques; deploy inference APIs<sup><xref ref-type="table-fn" rid="table5fn2">b</xref></sup> behind NCPeH<sup><xref ref-type="table-fn" rid="table5fn3">c</xref></sup> security gateways</td><td align="left" valign="top">Phase 1.7 (Robustness &#x0026; Security)</td></tr><tr><td align="left" valign="top">Adversarial inputs</td><td align="left" valign="top">Subtle perturbations to inputs mislead the AI (eg, medical image modifications)</td><td align="left" valign="top">Stress testing with adversarial datasets; human-in-the-loop verification for high-impact decisions; archive adversarial test metrics</td><td align="left" valign="top">Phase 1.7 (Robustness &#x0026; Security)</td></tr><tr><td align="left" valign="top">Misuse and abuse</td><td align="left" valign="top">Legitimate model repurposed for unintended or harmful applications.</td><td align="left" valign="top">Annex IV documentation describing intended use; continuous postmarket monitoring of deployment contexts</td><td align="left" valign="top">Phase 1.3 (Technical Documentation) and phase 4.1&#x2010;4.3 (Monitoring)</td></tr></tbody></table><table-wrap-foot><fn id="table5fn1"><p><sup>a</sup>ATNA: Audit Trail and Node Authentication.</p></fn><fn id="table5fn2"><p><sup>b</sup>API: application programming interface. </p></fn><fn id="table5fn3"><p><sup>c</sup>NCPeH: National Contact Point for eHealth.</p></fn></table-wrap-foot></table-wrap></sec><sec id="s7-2"><title>Postmarket Monitoring, Risk Assessment, and Incident Aggregation</title><p>The EU AI Act (Art 72) requires providers of high-risk AI systems to implement continuous postmarket monitoring to detect performance drift, manage incidents, conduct systematic risk assessments, and ensure that deployed models remain compliant throughout their life cycle. In parallel, MyHealth@EU mandates incident reporting and aggregation across member states, ensuring that system-wide risks are captured at the EU level. Integrating these 2 dimensions avoids fragmented monitoring, strengthens ongoing risk management, and builds clinical trust.</p><p>By mapping these dimensions side by side, developers and implementers gain a clear view of where obligations overlap, where they complement each other, and how a single workflow can satisfy both regimes. This mapping also highlights the types of artifacts (metrics, audit logs, JSON reports) that must be collected at each step to ensure traceability and trustworthiness across national borders.</p><p><xref ref-type="table" rid="table6">Table 6</xref> presents these monitoring dimensions, their regulatory anchors, and practical implementation measures. It demonstrates how local monitoring systems can be directly aligned with MyHealth@EU&#x2019;s interoperability and incident aggregation mechanisms. Together, these measures create a unified monitoring pipeline that reduces duplication, enforces consistency, and strengthens clinical confidence in AI-enabled cross-border health data exchange.</p><table-wrap id="t6" position="float"><label>Table 6.</label><caption><p>Practical implementation of monitoring demands.</p></caption><table id="table6" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Dimension</td><td align="left" valign="bottom">AI Act requirement</td><td align="left" valign="bottom">MyHealth@EU<sup><xref ref-type="table-fn" rid="table6fn1">a</xref></sup> alignment</td><td align="left" valign="bottom">Practical implementation</td></tr></thead><tbody><tr><td align="left" valign="top">Performance drift</td><td align="left" valign="top">Continuous evaluation of accuracy, robustness, and bias after deployment</td><td align="left" valign="top">Not directly mandated but affects semantic validity of exchanged data</td><td align="left" valign="top">Deploy drift detection metrics (eg, false positive rate, latency, accuracy vs baseline). Log deviations into Annex IV repository.</td></tr><tr><td align="left" valign="top">User feedback loops</td><td align="left" valign="top">Collect, document, and incorporate clinician/patient feedback</td><td align="left" valign="top">Can be integrated with audit and consent systems</td><td align="left" valign="top">Provide feedback forms linked to IPS<sup><xref ref-type="table-fn" rid="table6fn2">b</xref></sup>/ePrescription viewers; map feedback IDs to ATNA<sup><xref ref-type="table-fn" rid="table6fn3">c</xref></sup> audit entries.</td></tr><tr><td align="left" valign="top">Serious incident detection</td><td align="left" valign="top">Incidents must be reported within 15 days to EU<sup><xref ref-type="table-fn" rid="table6fn4">d</xref></sup> authorities</td><td align="left" valign="top">MyHealth@EU CSP<sup><xref ref-type="table-fn" rid="table6fn5">e</xref></sup> runs an incident aggregation service across NCPeHs<sup><xref ref-type="table-fn" rid="table6fn6">f</xref></sup></td><td align="left" valign="top">Trigger automatic incident JSON payload generation when system detects failures, link to Annex IV URL</td></tr><tr><td align="left" valign="top">Model updates</td><td align="left" valign="top">Providers must log new versions and reconduct conformity checks</td><td align="left" valign="top">Ensures updated versions still pass CSP conformance tests</td><td align="left" valign="top">Refresh Annex IV technical file and rerun conformance tests before redeployment</td></tr><tr><td align="left" valign="top">Security alerts</td><td align="left" valign="top">Adversarial or injection attempts must be documented</td><td align="left" valign="top">CSP incident aggregation accepts security-related events</td><td align="left" valign="top">Configure monitoring dashboards to flag OWASP<sup><xref ref-type="table-fn" rid="table6fn7">g</xref></sup>-related anomalies and escalate them to the CSP</td></tr></tbody></table><table-wrap-foot><fn id="table6fn1"><p><sup>a</sup>MyHealth@EU: European Union Cross-Border eHealth Network.</p></fn><fn id="table6fn2"><p><sup>b</sup>IPS: International Patient Summary.</p></fn><fn id="table6fn3"><p><sup>c</sup>ATNA: Audit Trail and Node Authentication.</p></fn><fn id="table6fn4"><p><sup>d</sup>EU: European Union.</p></fn><fn id="table6fn5"><p><sup>e</sup>CSP: Central Services Platform.</p></fn><fn id="table6fn6"><p><sup>f</sup>NCPeH: National Contact Point for eHealth.</p></fn><fn id="table6fn7"><p><sup>g</sup>OWASP: Open Worldwide Application Security Project. </p></fn></table-wrap-foot></table-wrap></sec><sec id="s7-3"><title>Limitations</title><p>While the tutorial proposes a harmonized pathway for embedding EU AI Act compliance within the MyHealth@EU interoperability framework, several limitations remain:</p><list list-type="order"><list-item><p><italic>Simulation rather than real-world validation</italic>. The CDA/FHIR extensions and compliance checklist are demonstrated through a simulation of IPS transmission. Although this walkthrough shows technical feasibility, no production deployment has yet validated the approach in live NCPeHs. Future work will involve pilot integrations with vendor systems and hospital deployments to confirm interoperability under operational constraints.</p></list-item><list-item><p><italic>Backward compatibility and vendor diversity</italic>. The proposed AI metadata extensions are deliberately lightweight and optional, ensuring that CDA/FHIR payloads remain schema compliant even when AI fields are ignored. However, interoperability across heterogeneous vendor systems may surface edge cases (eg, legacy CDA parsers discarding unknown sections or inconsistent FHIR extension handling). Vendor engagement and conformance testing will be required to confirm seamless adoption.</p></list-item><list-item><p><italic>Performance trade-offs</italic>. Adding AI metadata and monitoring layers introduces overhead. Extended ATNA logging, JSON payload packaging, and continuous drift detection can increase processing latency and storage costs. In high-volume clinical settings, this may affect throughput. While the proposed extensions are minimal, performance benchmarking in operational environments is essential to quantify trade-offs.</p></list-item><list-item><p><italic>Evolving regulatory and semantic landscape</italic>. Both the AI Act and MyHealth@EU are subject to iterative refinement. Some provisions, such as EU database registration for high-risk AI systems, are not yet operational. Similarly, upcoming expansions of MyHealth@EU datasets (eg, imaging, laboratory results) may require additional adaptations. The presented framework should therefore be seen as a blueprint aligned with the current regulatory state, but requiring updates as legal and technical specifications evolve.</p></list-item></list><p>These limitations are not shortcomings of the proposed framework itself but reflect the immaturity of the ecosystem as a whole. Both the EU AI Act and the MyHealth@EU framework are in their earliest implementation stages, with several provisions and datasets still under development. Technically, national infrastructures and vendor systems are not yet fully equipped to conduct real-world validation of AI-augmented interoperability. Dependencies such as the EU AI database, expanded MyHealth@EU dataset services (eg, imaging, laboratory results), and vendor readiness must mature before end-to-end validation is feasible. Until then, the tutorial provides simulated examples that anticipate these developments and prepare the ground for future pilot deployments.</p></sec><sec id="s7-4"><title>Conclusions</title><p>Deploying AI-enabled clinical decision support across Europe requires treating regulatory compliance (AI Act) and technical interoperability (MyHealth@EU) as inseparable design constraints. This tutorial has translated the legal language of the AI Act and the technical specifications of MyHealth@EU into a single, step-by-step blueprint for developers, architects, and policymakers.</p><p>By providing a phase-oriented checklist, lightweight CDA/FHIR extensions, and illustrative examples such as an AI-supported IPS transmission, we have shown how AI systems can be engineered to satisfy high-risk obligations while remaining interoperable with existing OpenNCP workflows. The tutorial also integrates emerging security practices from OWASP GenAI and aligns postmarket monitoring duties with MyHealth@EU&#x2019;s incident aggregation framework.</p><p>For developers, the practical implications are clear:</p><list list-type="bullet"><list-item><p>Reduced duplication of effort&#x2014;one compliance path covers both the AI Act and MyHealth@EU requirements</p></list-item><list-item><p>Smoother conformance testing&#x2014;AI metadata are embedded early, ensuring messages pass CSP validation without repeated rework.</p></list-item><list-item><p>Early compliance assurance&#x2014;Annex IV documentation, audit logging, and risk management are built in &#x201C;from day 0,&#x201D; lowering regulatory delays.</p></list-item><list-item><p>Backward compatibility&#x2014;minimal extensions preserve schema validity, enabling adoption without disrupting existing vendor systems.</p></list-item></list><p>As member states expand their National Contact Points and clinical datasets, this tutorial provides a reusable blueprint for integrating AI capabilities into cross-border health care. While real-world validation remains a next step, the presented framework offers developers an actionable guide to design, implement, and monitor AI-enabled systems that are simultaneously trustworthy, interoperable, and compliant.</p><p>This work is forward-looking, anticipating the convergence of the AI Act and MyHealth@EU frameworks. Although the concept is still in its early phases to be put into practice, it offers a worthwhile blueprint that equips developers to prepare for compliance and ensures that future AI-enabled clinical systems can meet both requirements from day 1.</p></sec></sec></body><back><ack><p/><p>This work was carried out in collaboration with the European Union under Horizon Europe project ChatMED (grant agreement 101159214) and the company Sorsix, whose contributions and support were essential to the project&#x2019;s progress.</p><p>Views and opinions expressed are, however, those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.</p><p>Generative AI (ChatGPT, OpenAI) was used only for language editing and polishing sentences to improve readability. All substantive content was created, reviewed, and approved by the authors, who take full responsibility for the manuscript.</p></ack><notes><sec><title>Data Availability</title><p>Data sharing is not applicable to this article as no datasets were generated or analyzed during this study.</p></sec></notes><fn-group><fn fn-type="conflict"><p>None declared.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">AI</term><def><p>artificial intelligence</p></def></def-item><def-item><term id="abb2">ATNA</term><def><p>Audit Trail and Node Authentication</p></def></def-item><def-item><term id="abb3">CDA</term><def><p>Clinical Document Architecture</p></def></def-item><def-item><term id="abb4">CSP</term><def><p>Central Services Platform</p></def></def-item><def-item><term id="abb5">eIDAS</term><def><p>Electronic Identification, Authentication and Trust Services</p></def></def-item><def-item><term id="abb6">EU</term><def><p>European Union</p></def></def-item><def-item><term id="abb7">FHIR</term><def><p>Fast Healthcare Interoperability Resources</p></def></def-item><def-item><term id="abb8">GenAI</term><def><p>generative artificial intelligence</p></def></def-item><def-item><term id="abb9">HL7</term><def><p>Health Level Seven International</p></def></def-item><def-item><term id="abb10">IHE</term><def><p>Integrating the Healthcare Enterprise</p></def></def-item><def-item><term id="abb11">IPS</term><def><p>International Patient Summary</p></def></def-item><def-item><term id="abb12">ISO</term><def><p>International Organization for Standardization</p></def></def-item><def-item><term id="abb13">MyHealth@EU</term><def><p>European Union Cross-Border eHealth Network</p></def></def-item><def-item><term id="abb14">NCPeH</term><def><p>National Contact Point for eHealth</p></def></def-item><def-item><term id="abb15">OpenNCP</term><def><p>Open National Contact Point</p></def></def-item><def-item><term id="abb16">OWASP</term><def><p>Open Worldwide Application Security Project</p></def></def-item><def-item><term id="abb17">SMP</term><def><p>Service Metadata Publisher</p></def></def-item><def-item><term id="abb18">XACML</term><def><p>eXtensible Access Control Markup Language</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="web"><article-title>Regulation (EU) 2024/1689 of the European Parliament and of the council of 13 June 2024 laying down harmonised rules on artificial intelligence and amending regulations (EC) no 300/2008, (EU) no 167/2013, (EU) no 168/2013, (EU) 2018/858, (EU) 2018/1139 and (EU) 2019/2144 and directives 2014/90/EU, (EU) 2016/797 and (EU) 2020/1828 (Artificial Intelligence Act) (text with EEA relevance)</article-title><source>EUR-Lex</source><year>2024</year><access-date>2025-10-16</access-date><comment><ext-link ext-link-type="uri" xlink:href="http://data.europa.eu/eli/reg/2024/1689/oj">http://data.europa.eu/eli/reg/2024/1689/oj</ext-link></comment></nlm-citation></ref><ref id="ref2"><label>2</label><nlm-citation citation-type="web"><article-title>MyHealth@EU test framework</article-title><source>European Commission</source><year>2023</year><access-date>2025-10-16</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://ec.europa.eu/info/funding-tenders/opportunities/portal/screen/opportunities/tender-details/docs/47bdf856-09d7-4604-b73b-a752baee30de-CN/4.Annex_7_MyHealth%40EU_Test_Framework_V1.pdf">https://ec.europa.eu/info/funding-tenders/opportunities/portal/screen/opportunities/tender-details/docs/47bdf856-09d7-4604-b73b-a752baee30de-CN/4.Annex_7_MyHealth%40EU_Test_Framework_V1.pdf</ext-link></comment></nlm-citation></ref><ref id="ref3"><label>3</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Sovrano</surname><given-names>F</given-names> </name><name name-style="western"><surname>Hine</surname><given-names>E</given-names> </name><name name-style="western"><surname>Anzolut</surname><given-names>S</given-names> </name><name name-style="western"><surname>Bacchelli</surname><given-names>A</given-names> </name></person-group><article-title>Simplifying software compliance: AI technologies in drafting technical documentation for the AI Act</article-title><source>Empir Softw Eng</source><year>2025</year><volume>30</volume><issue>3</issue><fpage>91</fpage><pub-id pub-id-type="doi">10.1007/s10664-025-10645-x</pub-id><pub-id pub-id-type="medline">40191404</pub-id></nlm-citation></ref><ref id="ref4"><label>4</label><nlm-citation citation-type="web"><person-group person-group-type="author"><name name-style="western"><surname>Mondal</surname><given-names>D</given-names> </name></person-group><article-title>Lifecycle management framework for IVDR and EU AI act compliant machine learning enabled medical device software</article-title><source>Theseus</source><year>2025</year><access-date>2025-10-16</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://www.theseus.fi/handle/10024/895081">https://www.theseus.fi/handle/10024/895081</ext-link></comment></nlm-citation></ref><ref id="ref5"><label>5</label><nlm-citation citation-type="web"><article-title>ISO 13485:2016: medical devices &#x2014; quality management systems &#x2014; requirements for regulatory purposes</article-title><source>International Organization for Standardization</source><year>2016</year><access-date>2025-10-16</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://www.iso.org/standard/59752.html">https://www.iso.org/standard/59752.html</ext-link></comment></nlm-citation></ref><ref id="ref6"><label>6</label><nlm-citation citation-type="web"><article-title>ISO 14971:2019: medical devices &#x2013; application of risk management to medical devices</article-title><source>International Organization for Standardization</source><year>2019</year><access-date>2025-10-16</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://www.iso.org/standard/72704.html">https://www.iso.org/standard/72704.html</ext-link></comment></nlm-citation></ref><ref id="ref7"><label>7</label><nlm-citation citation-type="web"><article-title>ISO/IEC 42001:2023: artificial intelligence &#x2013; management system</article-title><source>International Organization for Standardization</source><year>2023</year><access-date>2025-10-16</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://www.iso.org/standard/59752.html">https://www.iso.org/standard/59752.html</ext-link></comment></nlm-citation></ref><ref id="ref8"><label>8</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Golpayegani</surname><given-names>D</given-names> </name><name name-style="western"><surname>Hupont</surname><given-names>I</given-names> </name><name name-style="western"><surname>Panigutti</surname><given-names>C</given-names> </name><etal/></person-group><person-group person-group-type="editor"><name name-style="western"><surname>Jensen</surname><given-names>M</given-names> </name><name name-style="western"><surname>Lauradoux</surname><given-names>C</given-names> </name><name name-style="western"><surname>Rannenberg</surname><given-names>K</given-names> </name></person-group><article-title>AI cards: towards an applied framework for machine-readable AI and risk documentation inspired by the EU AI act</article-title><source>Privacy Technologies and Policy. APF 2024. Lecture Notes in Computer Science, vol 14831</source><year>2024</year><publisher-name>Springer</publisher-name><fpage>48</fpage><lpage>72</lpage><pub-id pub-id-type="doi">10.1007/978-3-031-68024-3_3</pub-id></nlm-citation></ref><ref id="ref9"><label>9</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Myklebust</surname><given-names>T</given-names> </name><name name-style="western"><surname>St&#x00E5;lhane</surname><given-names>T</given-names> </name><name name-style="western"><surname>Vatn</surname><given-names>DMK</given-names> </name></person-group><source>The AI Act and the Agile Safety Plan</source><year>2025</year><publisher-name>Springer</publisher-name><pub-id pub-id-type="doi">10.1007/978-3-031-80504-2</pub-id></nlm-citation></ref><ref id="ref10"><label>10</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Pereira</surname><given-names>JD</given-names> </name><name name-style="western"><surname>Brito</surname><given-names>MA</given-names> </name><name name-style="western"><surname>Machado</surname><given-names>RJ</given-names> </name></person-group><article-title>Development of an interoperability platform for information systems in the e-health domain for the Portuguese health system</article-title><conf-name>IADIS International Conference ICT, Society and Human Beings</conf-name><conf-date>Jul 23-25, 2023</conf-date><pub-id pub-id-type="doi">10.33965/MCCSIS2023</pub-id></nlm-citation></ref><ref id="ref11"><label>11</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Solomou</surname><given-names>T</given-names> </name><name name-style="western"><surname>Schizas</surname><given-names>CN</given-names> </name><name name-style="western"><surname>Pattichis</surname><given-names>CS</given-names> </name></person-group><source>Emerging Mobile Health Systems and Services</source><year>2024</year><publisher-name>IntechOpen</publisher-name><pub-id pub-id-type="doi">10.5772/intechopen.1007846</pub-id></nlm-citation></ref><ref id="ref12"><label>12</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Hussein</surname><given-names>R</given-names> </name><name name-style="western"><surname>Balaur</surname><given-names>I</given-names> </name><name name-style="western"><surname>Burmann</surname><given-names>A</given-names> </name><etal/></person-group><article-title>Getting ready for the European Health Data Space (EHDS): IDERHA&#x2019;s plan to align with the latest EHDS requirements for the secondary use of health data</article-title><source>Open Res Eur</source><year>2024</year><volume>4</volume><fpage>160</fpage><pub-id pub-id-type="doi">10.12688/openreseurope.18179.1</pub-id><pub-id pub-id-type="medline">39185338</pub-id></nlm-citation></ref><ref id="ref13"><label>13</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bruthans</surname><given-names>J</given-names> </name><name name-style="western"><surname>Jir&#x00E1;kov&#x00E1;</surname><given-names>K</given-names> </name></person-group><article-title>The current state and usage of European electronic cross-border health services (eHDSI)</article-title><source>J Med Syst</source><year>2023</year><month>02</month><day>11</day><volume>47</volume><issue>1</issue><fpage>21</fpage><pub-id pub-id-type="doi">10.1007/s10916-023-01920-9</pub-id><pub-id pub-id-type="medline">36773082</pub-id></nlm-citation></ref><ref id="ref14"><label>14</label><nlm-citation citation-type="web"><article-title>AI Act Explorer</article-title><source>EU Artificial Intelligence Act</source><year>2024</year><access-date>2025-10-16</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://artificialintelligenceact.eu/ai-act-explorer/">https://artificialintelligenceact.eu/ai-act-explorer/</ext-link></comment></nlm-citation></ref><ref id="ref15"><label>15</label><nlm-citation citation-type="web"><article-title>Regulation (EU) 2025/327 of the European Parliament and of the Council of 11 February 2025 on the European Health Data Space and amending directive 2011/24/EU and regulation (EU) 2024/2847 (text with EEA relevance)</article-title><source>EUR-Lex</source><year>2025</year><access-date>2025-10-16</access-date><comment><ext-link ext-link-type="uri" xlink:href="http://data.europa.eu/eli/reg/2025/327/oj">http://data.europa.eu/eli/reg/2025/327/oj</ext-link></comment></nlm-citation></ref><ref id="ref16"><label>16</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Fonseca</surname><given-names>M</given-names> </name><name name-style="western"><surname>Karkaletsis</surname><given-names>K</given-names> </name><name name-style="western"><surname>Cruz</surname><given-names>IA</given-names> </name><name name-style="western"><surname>Berler</surname><given-names>A</given-names> </name><name name-style="western"><surname>Oliveira</surname><given-names>IC</given-names> </name></person-group><article-title>OpenNCP: a novel framework to foster cross-border e-Health services</article-title><source>Stud Health Technol Inform</source><year>2015</year><volume>210</volume><fpage>617</fpage><lpage>621</lpage><pub-id pub-id-type="medline">25991222</pub-id></nlm-citation></ref><ref id="ref17"><label>17</label><nlm-citation citation-type="web"><article-title>Introduction and background</article-title><source>OWASP Gen AI Security Project</source><year>2024</year><access-date>2025-10-16</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://genai.owasp.org/introduction-genai-security-project/">https://genai.owasp.org/introduction-genai-security-project/</ext-link></comment></nlm-citation></ref><ref id="ref18"><label>18</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Benraouane</surname><given-names>SA</given-names> </name></person-group><source>AI Management System Certification According to the ISO/IEC 42001 Standard: How to Audit, Certify, and Build Responsible AI Systems</source><year>2024</year><publisher-name>Productivity Press</publisher-name><pub-id pub-id-type="doi">10.4324/9781003463979</pub-id></nlm-citation></ref></ref-list></back></article>