Cross-Border Data Sharing For Dosing Algorithms

1. Introduction

Cross-border data sharing for dosing algorithms refers to the international transfer, exchange, storage, processing and analysis of medical and pharmaceutical data used by computer-based systems to calculate or recommend medication doses.

Dosing algorithms are increasingly used in precision medicine, pharmacogenomics, artificial intelligence (AI)-based healthcare, clinical trials and digital therapeutics. These systems may analyse:

Patient age, weight, height and body composition.

Kidney and liver function.

Genetic variations affecting drug metabolism.

Blood-test results and biomarkers.

Previous medication responses and adverse reactions.

Drug interactions and treatment histories.

Real-time physiological monitoring data.

For example, a pharmaceutical research organisation in Russia may share anonymised clinical-trial information with an AI development centre in another country to improve an algorithm that calculates insulin, anticoagulant or chemotherapy doses.

Such sharing creates important legal questions concerning patient consent, medical confidentiality, international data transfers, cybersecurity, algorithmic accountability, intellectual property, medical-device regulation and liability for incorrect dosage recommendations.

The central legal challenge is to ensure that international scientific cooperation does not compromise patient privacy, data security or medication safety.

Jurisdictional assumption: The discussion below uses Russia as the principal jurisdiction, with comparative references to European Union and international law.

2. Legal Nature of Dosing Algorithm Data

Dosing algorithm data can contain several categories of legally protected information.

A. Personal medical data

Information identifying a patient together with their medical condition, treatment history or medication response is personal data relating to health.

Under Russian Federal Law No. 152-FZ on Personal Data (2006), health information receives special protection as a special category of personal data.

B. Genetic and pharmacogenomic information

Pharmacogenomic data identifies genetic characteristics that may influence how a patient absorbs, metabolises or responds to medication.

For example, genetic variations affecting drug-metabolising enzymes may influence the appropriate dosage of certain medicines.

Such information can create additional privacy and discrimination risks.

C. Clinical-trial data

Clinical-trial datasets may include:

Dosage information.

Treatment outcomes.

Adverse drug reactions.

Laboratory measurements.

Patient characteristics.

Drug efficacy observations.

D. Algorithmic and derived data

An algorithm may generate new information from existing medical datasets, including predicted dosage requirements, toxicity risks and treatment-response probabilities.

Even when names are removed, derived information may remain identifiable if it can be linked with other datasets.

Consequently, removing direct identifiers does not automatically make every dosing dataset legally anonymous.

3. Russian Legal Framework

A. Federal Law No. 152-FZ on Personal Data, 2006

This is the principal legislation governing the processing and international transfer of personal data in Russia.

Its important provisions include:

Article 5 – Principles of personal data processing

Processing must be lawful, fair and limited to specified purposes. Data collected for developing a dosing algorithm should not automatically be reused for unrelated commercial profiling or pharmaceutical marketing.

Article 6 – Conditions for processing

The processing of personal data must have a legally recognised basis. Depending on the circumstances, this may include consent, statutory authority or another applicable legal ground.

Article 9 – Consent

Where consent is the legal basis, it must meet the statutory requirements. Consent for medical research and international data sharing should clearly explain the relevant purposes and recipients.

Article 10 – Special categories of personal data

Health-related information is subject to enhanced protection. Genetic and medical information must be assessed according to the applicable statutory categories and exceptions.

Article 12 – Cross-border transfer

This provision governs the transfer of personal data to foreign countries. The data operator must assess the receiving country's level of protection, comply with applicable notification requirements and consider whether the transfer requires a separate legal basis.

The law also permits restrictions or prohibitions on particular international transfers by the competent authority.

Article 18(5) – Data localisation

Russian citizens' personal data collected through applicable processing operations must be recorded, systematised, accumulated, stored, updated and retrieved using databases located in Russia, subject to statutory exceptions.

This is particularly important when a Russian hospital uses a foreign cloud platform to train or operate a dosing algorithm.

ГАРАНТ+2

B. Federal Law No. 323-FZ on the Fundamentals of Health Protection

Federal Law No. 323-FZ of 21 November 2011 establishes the principal framework for healthcare activities in Russia.

Its relevance includes:

Protection of medical confidentiality.

Patient rights and informed consent.

Medical intervention and clinical decision-making.

Medical research and clinical testing.

Responsibilities of healthcare organisations and medical professionals.

Article 13 is particularly important because it protects information constituting medical confidentiality.

A foreign pharmaceutical company receiving identifiable patient dosing histories may therefore face legal issues involving both personal-data protection and medical confidentiality.

C. Federal Law No. 61-FZ on Circulation of Medicines

Federal Law No. 61-FZ of 12 April 2010 regulates the circulation of medicinal products.

It is relevant where dosing algorithms are developed to determine or recommend:

Medication dosage.

Treatment schedules.

Drug combinations.

Therapeutic adjustments.

Safety and efficacy parameters.

An algorithm used to support medicinal-product development must not be confused with an independently authorised medicinal product or a clinically validated prescribing method.

D. Federal Law No. 180-FZ on Biomedical Cell Products

This legislation is relevant where dosing research intersects with biomedical cell products, specialised treatment methods or related clinical research.

Its applicability depends on the actual product and research activity. It should not be treated as the general legal basis for all pharmaceutical dosing algorithms.

E. Medical-device regulation

Article 38 of Federal Law No. 323-FZ regulates medical devices, including qualifying medical software.

A software system that calculates or recommends patient-specific medication doses for medical purposes may fall within the medical-device framework, depending on its intended purpose and functionality.

Where registration is required, an overseas developer cannot avoid Russian medical-device requirements simply by hosting its software outside Russia.

Library of Congress Tile+1

4. International Legal Framework

A. General Data Protection Regulation (GDPR)

The European Union's GDPR is relevant when a European organisation participates in the processing or transfer of patient data.

Important provisions include:

GDPR provisionLegal significance
Article 5Data minimisation, purpose limitation and accuracy
Article 6Lawful basis for processing
Article 9Processing of health and genetic data
Article 25Data protection by design and default
Article 32Security of processing
Article 35Data protection impact assessment
Article 44General principle governing international transfers
Article 46Appropriate safeguards for international transfers
Article 49Specific derogations for certain transfers

For example, a European clinical research institution sharing patient dosing data with a Russian pharmaceutical research organisation must assess GDPR applicability, the legal basis for processing and the applicable international transfer restrictions.

Consent to participate in a clinical trial does not automatically establish a valid basis for every subsequent transfer or commercial reuse of the data.

B. Convention 108 and Convention 108+

The Council of Europe's data-protection framework provides important principles concerning automated processing and personal-data protection.

These principles are relevant to the handling of medical datasets and international scientific cooperation, subject to the applicable treaty status and domestic implementation.

C. International ethical standards

The following instruments provide additional standards:

Declaration of Helsinki – ethical principles for medical research involving human participants.

CIOMS International Ethical Guidelines – ethical standards for health-related research involving humans.

ICH Good Clinical Practice – standards for clinical-trial design, conduct, documentation and reporting.

WHO guidance on artificial intelligence in health – principles concerning transparency, accountability, safety and human oversight.

These standards can influence institutional research policies, clinical-trial obligations and contractual arrangements.

5. Legal Requirements for Cross-Border Sharing

Cross-border sharing of dosing data requires a structured compliance process.

A. Identification of the data controller

The first issue is determining which organisation controls the data.

For example:

A Russian hospital collects patient information.

A pharmaceutical company determines the research purpose.

A foreign AI developer processes the information.

An international research institution validates the algorithm.

Each party's legal role must be determined according to its actual activities rather than merely its contractual description.

B. Establishment of a lawful purpose

The parties must identify the specific purpose for sharing information.

Legitimate research purposes may include:

Improving dosage accuracy.

Studying drug metabolism.

Comparing treatment outcomes.

Identifying adverse reactions.

Developing pharmacogenomic dosing models.

Validating AI-based treatment recommendations.

Data collected for one purpose should not automatically be reused for another incompatible purpose.

C. Consent and patient autonomy

Patients should receive understandable information about the processing of their medical information.

Where consent is relied upon, the documentation should address:

Categories of medical data collected.

Countries receiving the information.

Organisations accessing the data.

Research purposes.

Duration of retention.

Possibility of further sharing.

Withdrawal procedures, where applicable.

Risks of identification and misuse.

Consent must not be treated as a universal exemption from data-localisation, security or medical-device requirements.

D. Data localisation

Russian localisation requirements are particularly important for international dosing platforms.

A Russian healthcare organisation should examine whether the initial collection and subsequent operations involving Russian citizens' personal data comply with Article 18(5) of Law No. 152-FZ.

A foreign server cannot automatically replace the legally required Russian database.

E. International transfer notification

Article 12 of Law No. 152-FZ establishes requirements relating to notification of Roskomnadzor before relevant cross-border transfers.

The operator must assess the receiving jurisdiction and the applicable statutory conditions.

A transfer agreement alone does not eliminate these obligations.

F. Data minimisation and anonymisation

The receiving organisation should obtain only information necessary for the research purpose.

For example, an algorithm studying the relationship between body weight and medication response may not require the patient's name, home address or passport details.

Pseudonymisation, encryption and controlled access can reduce risk, although pseudonymised information generally remains personal data where re-identification remains possible.

6. Major Legal Issues in Dosing Algorithm Data Sharing

A. Incorrect dosage recommendations

An international dosing algorithm may produce incorrect recommendations because of differences in:

Patient populations.

Genetic characteristics.

Laboratory measurement systems.

Clinical protocols.

Drug formulations.

Medical standards.

Data quality.

An algorithm trained on one country's population may not perform equally well when applied to another country's patients.

This raises questions of medical negligence, product liability and professional responsibility.

B. Algorithmic bias

If training datasets disproportionately represent a particular population, the algorithm may produce less reliable dosage recommendations for underrepresented groups.

For example, an algorithm trained predominantly on European clinical data may not be sufficiently validated for every Russian patient population.

The legal concern is that inaccurate recommendations can result in unequal treatment and preventable medical harm.

C. Intellectual property ownership

Cross-border dosing research may generate valuable intellectual property.

The parties must determine ownership and permitted use of:

Original clinical datasets.

Pharmacogenomic databases.

Software source code.

Algorithmic models.

Training parameters.

Research publications.

Patents relating to technical inventions.

Patient consent to data processing does not itself transfer ownership of an algorithm or grant unrestricted commercial rights over patient information.

D. Cybersecurity and data breaches

Dosing databases may be attractive targets because they contain medical histories and treatment information.

A security breach could result in:

Disclosure of patient identities.

Manipulation of dosing records.

Unauthorised modification of algorithmic models.

Theft of pharmaceutical research.

Disruption of clinical services.

Unsafe treatment recommendations.

Organisations must establish appropriate technical and organisational safeguards.

E. Regulatory fragmentation

A single dosing algorithm may be subject to several legal systems simultaneously.

For example, a Russian hospital, European software developer and international pharmaceutical company may each have different obligations concerning medical-device registration, privacy, clinical research and liability.

The parties must therefore conduct a jurisdiction-by-jurisdiction compliance assessment.

7. Important Case Laws

There is no established body of reported Russian case law specifically addressing international transfers of AI dosing-algorithm training datasets. However, several judgments concerning medical confidentiality, international transfers and personal-data protection provide important legal principles.

Case 1: Y.G. v. Russia (2022)

Application No. 8647/12, European Court of Human Rights, 30 August 2022.

Relevant principle: Confidentiality of medical information and the state's positive obligations.

Facts: The applicant complained that a database containing his health information had been made available for sale. He challenged the unlawful handling of his medical information and the authorities' failure to investigate its disclosure effectively.

Judgment: The European Court of Human Rights found a violation of Article 8 of the European Convention on Human Rights, concerning respect for private life.

Legal significance: The judgment emphasises that states must provide effective protection against unauthorised disclosure of medical information.

Application to dosing algorithms: A pharmaceutical research organisation cannot treat patient medical datasets as ordinary commercial information. Medical information used for international algorithm development requires appropriate confidentiality safeguards.

hudoc.echr.coe.int+1

Case 2: Data Protection Commissioner v. Facebook Ireland Ltd and Schrems (Schrems II), 2020

Case C-311/18, Court of Justice of the European Union, 16 July 2020.

Relevant principle: International transfers and adequate protection of personal data.

Facts: The case concerned the transfer of personal information from Facebook Ireland to Facebook Inc. in the United States.

Judgment: The CJEU upheld the validity of standard contractual clauses as a transfer mechanism, subject to an assessment of whether effective protection could be ensured in practice. It invalidated the EU-US Privacy Shield adequacy decision.

Legal significance: Contractual safeguards alone may not be sufficient if the legal environment of the receiving country undermines the protection of transferred data.

Application to dosing algorithms: A European pharmaceutical company sharing patient datasets with an overseas AI developer must assess the receiving country's legal protections and whether additional technical and organisational safeguards are necessary.

EUR-Lex+1

Case 3: Z v. Finland (1997)

Application No. 22009/93, European Court of Human Rights, 25 February 1997.

Relevant principle: Medical confidentiality as an essential component of private life.

Facts: The case concerned the disclosure and use of confidential medical information, including the applicant's HIV status, in criminal proceedings involving her husband.

Judgment: The Court found that aspects of the disclosure and publication of the applicant's identity and medical information violated Article 8.

Legal significance: Medical confidentiality is fundamental to the protection of private life. Disclosure requires adequate legal safeguards.

Application to dosing algorithms: Genetic profiles, drug-response histories and treatment records should not be disclosed to foreign research institutions without a valid legal basis and appropriate safeguards.

hudoc.echr.coe.int

Case 4: I v. Finland (2008)

Application No. 20511/03, European Court of Human Rights, 17 July 2008.

Relevant principle: Effective security and access controls for electronic medical records.

Facts: The applicant alleged that colleagues at the hospital where she worked had accessed her medical records without authorisation.

Judgment: The Court found a violation of Article 8 because the domestic system had failed to provide sufficient practical safeguards against unauthorised access.

Legal significance: The mere existence of privacy legislation is insufficient. Organisations must implement effective access-control arrangements.

Application to dosing algorithms: International dosing platforms should implement role-based access, authentication, audit logs and restrictions on unnecessary access to patient records.

BAILII

Case 5: Facebook Ireland Ltd v. Data Protection Commission (2021)

Irish High Court, 14 May 2021, following Schrems II.

Facts: The proceedings concerned the Irish Data Protection Commission's investigation into Facebook's international data transfers.

Legal significance: The litigation illustrates the importance of examining the actual effectiveness of international transfer safeguards rather than relying solely on contractual language.

Application to dosing algorithms: Pharmaceutical organisations should verify whether their contractual and technical safeguards genuinely protect medical datasets after transfer.

Homepage | Data Protection Commission+1

Case-law comparison

CaseMain legal principleRelevance
Y.G. v. Russia (2022)Medical confidentialityProtection of patient datasets
Schrems II (2020)International transfer safeguardsForeign AI processing
Z v. Finland (1997)Medical privacyGenetic and clinical information
I v. Finland (2008)Effective security controlsAccess to dosing databases
Facebook Ireland (2021)Practical transfer complianceInternational research contracts

These judgments establish relevant legal principles, but none directly decides whether a particular dosing algorithm is accurate, clinically safe or legally authorised.

8. Liability for Incorrect Algorithmic Dosage Recommendations

Incorrect algorithmic dosage recommendations may result in serious medical injury.

Liability can arise at different levels.

A. Hospital liability

A hospital may face liability where it:

Uses an unsuitable algorithm.

Fails to verify dosage recommendations.

Ignores relevant patient information.

Uses inadequately validated software.

Fails to supervise clinical decision-making.

Discloses confidential medical information unlawfully.

B. Pharmaceutical company liability

A pharmaceutical company may face liability where it supplies inaccurate dosing information, fails to investigate known safety risks or improperly uses clinical datasets.

C. Software developer liability

A developer may face liability under applicable law where defective software, negligent development or inadequate security causes legally recognised harm.

D. Medical professional liability

A physician cannot necessarily avoid responsibility merely by stating that a computer system generated the dosage recommendation.

The relevant questions include whether the recommendation was clinically reasonable, whether the physician exercised appropriate professional judgment and whether the applicable standard of care was breached.

E. Contractual liability

International research agreements should specify:

Responsibility for data accuracy.

Permitted algorithmic uses.

Validation obligations.

Security requirements.

Incident notification.

Indemnification arrangements.

Audit rights.

Dispute resolution.

Applicable law and jurisdiction.

9. Ethical Issues

Cross-border dosing algorithms raise several important ethical concerns.

Patient autonomy: Patients should understand how their medical information may be used in international research.

Non-discrimination: Algorithms should be evaluated for unequal performance across different patient populations.

Transparency: Healthcare professionals should be able to understand the clinical basis and limitations of dosage recommendations.

Human oversight: Automated recommendations should not eliminate appropriate medical supervision.

Scientific integrity: Researchers should disclose limitations in training datasets and validation methods.

Beneficence and non-maleficence: International research should promote patient welfare and avoid preventable harm.

10. Compliance Mechanisms for International Pharmaceutical Research

Organisations sharing dosing-algorithm datasets should establish a comprehensive compliance framework.

Compliance mechanismLegal objective
Data-sharing agreementDefine rights and responsibilities
Patient consent documentationProtect patient autonomy
Data protection impact assessmentIdentify privacy risks
Data localisationComply with Russian requirements
EncryptionPrevent unauthorised disclosure
PseudonymisationReduce identification risks
Algorithm validationImprove dosage reliability
Clinical oversightPrevent unsafe automated decisions
Audit mechanismsEstablish accountability
Data retention policyPrevent unnecessary storage
Breach response planManage security incidents
International transfer assessmentVerify transfer legality

Recommended contractual provisions

An international data-sharing agreement should contain the following clauses:

Purpose limitation clause: Medical data may only be used for expressly authorised research purposes.

Confidentiality clause: Receiving institutions must protect patient information.

Data localisation clause: Russian localisation requirements must be respected.

Security clause: Parties must maintain appropriate cybersecurity measures.

Algorithm validation clause: The developer must document testing and validation.

Human supervision clause: Clinically significant dosing decisions must receive appropriate professional oversight.

Subcontracting clause: Further international transfers must be controlled.

Liability clause: Responsibility for data breaches and defective algorithmic outputs must be allocated.

Retention clause: Data must not be retained indefinitely without a lawful justification.

Termination clause: Unauthorised processing and transfers must cease when legally required.

11. Practical Example: Russian Hospital Sharing Dosing Data With a Foreign AI Company

Consider the following hypothetical situation.

A Russian hospital develops an AI-based chemotherapy dosing algorithm. It collects patient information, including weight, age, genetic characteristics, liver function and previous treatment outcomes.

The hospital enters into an agreement with a foreign AI company to improve the algorithm using international clinical datasets.

Several legal questions arise.

First: Is the information personal data?

Yes, if the information identifies or can reasonably be linked to individual patients.

Second: Is patient consent necessary?

The parties must establish a valid legal basis under Russian law and any other applicable legal framework. Where consent is relied upon, it must satisfy the relevant requirements.

Third: Can the data be transferred abroad?

Potentially, but the hospital must comply with Article 12 of Law No. 152-FZ, including applicable notification and receiving-country protection requirements.

Fourth: Can the foreign company store the original patient database abroad?

Not automatically. Applicable Russian data-localisation obligations must be observed.

Fifth: Can the foreign company independently change the dosing algorithm?

It may perform authorised development and validation activities, but clinical deployment must comply with applicable medical-device, clinical and professional requirements.

Sixth: Who is responsible if the algorithm recommends an unsafe dosage?

Responsibility depends on the facts, including the developer's obligations, the hospital's validation and supervision, the physician's conduct and the applicable product and civil-liability rules.

This example demonstrates that international data-sharing permission and permission to deploy a medical dosing algorithm are separate legal questions.

12. Challenges in the Russian Legal System

Several unresolved or developing issues deserve particular attention.

International regulatory differences: Russian and foreign privacy requirements may impose different conditions on the same dataset.

Genetic data protection: Pharmacogenomic information creates risks of re-identification and discriminatory use.

Algorithmic explainability: Healthcare professionals may struggle to evaluate proprietary dosing models.

Cloud infrastructure: Foreign hosting arrangements may conflict with localisation requirements.

Research ownership: The ownership and commercial exploitation of jointly developed algorithms may be disputed.

Cross-border enforcement: Obtaining remedies against foreign developers can be difficult.

Clinical accountability: It may be difficult to distinguish errors caused by software, inaccurate data and clinical decisions.

Regulatory uncertainty: The classification of increasingly sophisticated AI-based medical software requires careful examination of its intended medical purpose.

An additional issue is the interaction between Russian transfer restrictions and foreign sanctions or restrictions affecting pharmaceutical research cooperation.

13. Conclusion

Cross-border data sharing for dosing algorithms represents an important intersection of biotechnology law, pharmaceutical regulation, medical confidentiality, artificial intelligence and international data protection.

In Russia, Federal Law No. 152-FZ provides the principal framework for personal-data processing, localisation and international transfers. Federal Law No. 323-FZ protects medical confidentiality and establishes patient rights, while Federal Law No. 61-FZ governs medicinal-product circulation.

International case law, particularly Y.G. v. Russia, Schrems II, Z v. Finland and I v. Finland, provides important principles concerning medical confidentiality, international data transfers and effective security safeguards.

The essential legal position is that permission to share medical data internationally does not automatically authorise unrestricted algorithm development, commercial exploitation or clinical deployment.

A legally compliant system must combine lawful data processing, adequate transfer safeguards, clinical validation, cybersecurity, patient protection and meaningful professional supervision.

Ultimately, the objective is to facilitate international pharmaceutical innovation without sacrificing patient privacy, medical safety or accountability.

14. Important Legislation and Authorities for Further Research

Legislation / authoritySubject
Russian Federal Law No. 152-FZ (2006)Personal data
Russian Federal Law No. 323-FZ (2011)Healthcare and medical confidentiality
Russian Federal Law No. 61-FZ (2010)Circulation of medicines
Russian Federal Law No. 180-FZ (2016)Biomedical cell products
EU Regulation 2016/679GDPR
Convention 108Personal-data protection
Declaration of HelsinkiMedical research ethics
ICH Good Clinical PracticeClinical-trial standards

Useful primary and research sources:

Russian Federal Law No. 152-FZ – Personal Data

Article 12 – Cross-border transfer of personal data

Library of Congress – Regulation of Digital Health Services in Russia

CJEU – Schrems II, Case C-311/18

ECtHR – Y.G. v. Russia

ECtHR – Z v. Finland

Legal research note: Russian personal-data legislation has undergone amendments, including changes effective in 2025 and 2026. The applicable version of the legislation must be checked against the actual date of processing and transfer. The case laws discussed above are relevant legal authorities, not direct precedents on AI dosing algorithms.

LawGratis provides pro bono legal aid and resources to empower communities. Join us in making justice reachable for everyone! Follow our community on Instagram, YouTube, Facebook, and LinkedIn.

LEAVE A COMMENT