Skip to main content

Abu Dhabi health data sharing: control it at the API layer

Abu Dhabi health data sharing now runs on DoH's interoperability standard. What it asks of the APIs your hospital, lab or insurer exposes, and how to prove it.

  • healthcare
  • compliance
  • data-residency
  • gcc
  • audit
  • api-gateway
Zerq team

Abu Dhabi health data sharing is now governed by a written standard. The Department of Health (DoH) Data Sharing, Integration and Interoperability Standard, in effect since April 2026, applies to every hospital, clinic, lab, insurer and service provider in the emirate. It asks for secured and monitored APIs, data kept inside the UAE, anonymization by default and audit trails. For most providers, the practical answer is one controlled API layer that enforces each data sharing agreement on every call and keeps the evidence.

What does the DoH data sharing standard ask of your APIs?

DoH published the standard in December 2025, effective April 2026. It covers sharing between DoH and other government entities, between healthcare entities, and from entities to Malaffi, the Abu Dhabi Health Information Exchange. The ecosystem it defines includes facilities, insurers, pharmaceutical companies, labs, research centers and service providers.

Most of the standard is governance: data owners, sharing requests and agreements. These clauses land directly on the systems that move the data:

  • Data stays in the UAE (2.1.6) unless DoH grants a specific exemption.
  • Approval by classification (2.1.4). Open, Confidential, Sensitive and Secret data need different approvals; Sensitive data goes to third parties only with DoH authorization.
  • Anonymized by default (2.1.11), identifiable only when essential, and then protected by encryption, access restrictions and defined retention.
  • Purpose limitation (2.1.13) to what the data sharing agreement (DSA) or consent allows.
  • Named controls (2.2.4): approval workflows, access control, data minimization, anonymization and audit trails.
  • Validate before sharing (2.4.2, 2.5.6), with real-time error detection during integration.
  • API security and monitoring (2.4.4, 2.5.5). Real-time APIs must enforce security protocols and be monitored for unauthorized access; integration APIs must be secure and documented.
  • Audits (2.5.4, section 5) of integration points, periodic compliance reporting, and DoH technical assessments. Section 6 allows sanctions.

Why this matters now for Abu Dhabi providers

On 10 November 2026, DoH and Abu Dhabi Health Data Services (ADHDS), part of M42, announced an AI physician assistant inside Malaffi. Doctors can pull details from a patient's record and get a summary of their health history. The announcement stresses that access follows approved access permissions and data protection requirements, and that physicians stay responsible for clinical decisions.

Every provider is heading the same way: hospital AI assistants, automated prior authorization, labs moving from file drops to APIs. Each new consumer is another data sharing relationship to approve, restrict, monitor and audit.

DoH's Responsible AI Standard (October 2025) adds requirements for AI systems specifically. Clause 3.1.4.2.1 requires role-based access control and least privilege across AI components, "including data, models, and APIs." Clause 3.1.4.2.3 requires that "all activity" be logged for audit, and 3.1.6.2.3 asks for end-to-end traceability logs of inputs and outputs. An AI assistant that reads patient records through your APIs inherits all of that.

Where health data sharing breaks today

A typical Abu Dhabi hospital group shares data with Malaffi, several insurers, reference labs, a teleconsultation platform and now an internal AI assistant. Each connection was built by a different project team, and the same problems repeat:

  • The DSA lives in a PDF, not in the system. The insurer's agreement says "claims-relevant data only," but the integration returns the full encounter because that is what the electronic health record (EHR) API returns.
  • Credentials are shared. One API key serves several partners, so the logs cannot say who asked for what.
  • Logs are scattered across the EHR, vendor consoles and nowhere. "Who accessed this patient's lab results in October" takes a week.
  • AI access bypasses the controls. The pilot assistant got a broad service account because it was quickest.
  • Bad data travels to partners and is rejected downstream.

The cost is findings or sanctions after a DoH assessment, slower partner onboarding because every DSA means new code, and real privacy exposure when an integration leaks fields nobody approved.

In plain terms

Abu Dhabi now has a written rulebook for sharing health data, and DoH can audit you against it. Every partner, app and AI assistant that reads patient data needs its own identity, limits that match the agreement you signed, and a record of what it received, all kept in the UAE. If you cannot answer "who saw this patient's data last month, and were they allowed to," fix that before the next partner or AI pilot goes live.

How Zerq supports Abu Dhabi health data sharing at the API layer

Zerq is an API gateway, developer portal and workflow builder that runs entirely in your own infrastructure. Here is how its capabilities map to the clauses above.

Standard clauseWhat you need at the API layerZerq capability
2.1.6 data in the UAEGateway, configuration and logs hosted in the UAESelf-hosted on-premises, in a UAE cloud region or air-gapped, with no external control plane (architecture)
2.1.4, 2.1.13 approval and purposeEach consumer sees only what its DSA allowsOne client per partner or app, collections for each DSA scope, allowed methods and IP allowlists per profile (security)
2.1.11, 2.2.4 minimizationDirect identifiers removed unless the purpose needs themWorkflow builder: a code_node builds an allowlisted response before it leaves
2.4.2, 2.5.6 quality checksMalformed data rejected before it is sharedvalidate_node checks payloads against a JSON Schema
2.4.4, 2.5.4 monitoring and auditsEvery call recorded and searchable, alerts on misuseRequest logs in your own MongoDB, metrics, traces and log streaming to your SIEM (observability)
Responsible AI 3.1.4.2AI assistants under least privilege with full loggingGateway MCP: agents use the same clients, profiles and logs as apps (MCP)
Section 5 compliance reportingProof of who changed access and whenHash-chained audit log of configuration changes, with verify and export for the auditor role

The healthcare interoperability use case shows the same building blocks for payer and provider APIs. To map them to your own DSAs, talk to our team.

Technical deep dive: one gateway for every data sharing agreement

This section is for the architects and platform engineers who will build it. Every field and endpoint below exists in the current Zerq code.

1. Deploy inside the UAE

Zerq's backend, management UI, MongoDB (configuration and logs) and Redis or KeyDB all run where you put them: your Abu Dhabi data center, a UAE sovereign cloud region or an isolated network. Logs go to your MongoDB, and upstream credentials such as the EHR service account are encrypted at rest with AES-256-GCM under your ENCRYPTION_KEY.

2. Turn each DSA into a client, a profile and a collection

  • Collections group APIs by DSA scope, for example claims-encounter-summary, lab-orders-results and ai-summary-read.
  • Clients represent each consumer (insurer, lab, platform, AI assistant) and are assigned only the collections their DSA covers; anything else returns 404.
  • Access profiles set authentication (mtls, oidc, jwt or token), allowedMethods (only GET for a read-only DSA, otherwise 405) and allowedIPs (otherwise 403).
  • Rate limit policies cap each client, so a faulty integration cannot pull the patient index overnight.

Setting a client's active flag to false stops its traffic at the next cache refresh, which is your revocation path when a DSA ends.

3. Validate before you share

Clauses 2.4.2 and 2.5.6 ask for quality checks before data leaves. A validate_node at the start of a workflow rejects malformed requests, and another one can check a response before it goes to the partner:

{
  "id": "validate_lab_result",
  "type": "validate_node",
  "data": {
    "inputs": { "value": "{{ $json['ehr_call'].body }}" },
    "config": {
      "schema": {
        "type": "object",
        "required": ["order_ref", "test_code", "result_value", "unit", "resulted_at"],
        "properties": {
          "test_code": { "type": "string", "minLength": 1 },
          "unit": { "type": "string", "minLength": 1 },
          "resulted_at": { "type": "string", "minLength": 1 }
        }
      }
    }
  }
}

The node's invalid branch returns an error and stops, so incomplete results never reach the partner, and the errors are visible to your data stewards in the request log.

4. Minimize by default

Clause 2.1.11 says anonymized by default, identifiable only when essential. In practice, many sharing purposes need fewer identifiers than the source system returns. A code_node builds the outbound payload from an allowlist:

{
  "id": "insurer_view",
  "type": "code_node",
  "data": {
    "config": {
      "timeout_ms": 500,
      "code": "const e = $json['ehr_call'].body || {}; return { claim_ref: e.claim_ref, encounter_date: e.encounter_date, diagnosis_codes: e.diagnosis_codes, procedure_codes: e.procedure_codes, facility_code: e.facility_code };"
    }
  }
}

A response_node returns {{ $json['insurer_view'].result }}. Emirates ID, phone number, address and clinical notes cannot leave through this path, even if the EHR adds fields later. Every workflow save is recorded in the audit log, so the allowlist has its own change history.

5. Monitor and keep the evidence

Request logs answer "who accessed what." They also contain patient data, so set their scope per proxy with log_level (full, headers, metadata or none) and set retention from your legal requirement:

# backend environment (excerpt)
REQUEST_LOG_LEVEL=metadata          # default for proxies without their own level
REQUEST_LOG_RETENTION_DAYS=730      # delete entries older than this (0 keeps everything)
AUDIT_CHAIN_KEY=<from your secret store>   # HMAC chain over configuration audit entries
LOG_STREAM_SPLUNK_HEC_URL=https://siem.auh.example.internal:8088
LOG_STREAM_INCLUDE_BODIES=false     # stream metadata only; bodies stay in your MongoDB

Credential headers and secret fields are masked at every level. When an assessment asks what an insurer received in October, a user with the viewer role can query:

curl -s -H "Authorization: Bearer $TOKEN" \
  "https://zerq.internal.example.ae/api/v1/logs?client_id=$INSURER_CLIENT_ID&start_date=2026-10-01T00:00:00Z&end_date=2026-10-31T23:59:59Z&limit=100"

Add collection, path, status or payload (a search across stored bodies) to narrow it. Prometheus metrics and OpenTelemetry traces cover the "regular monitoring" side: zerq_gateway_requests_total carries the response status (and, when enabled, the client ID), so you can alert when 401, 403 or 429 responses jump.

6. Put AI assistants behind the same controls

The Gateway MCP server lets AI assistants call your APIs through the Model Context Protocol (MCP) with four tools: list_collections, list_endpoints, endpoint_details and execute_endpoint. The assistant authenticates as its own client and profile and sees only its assigned collections. Each execute_endpoint call goes back through the gateway, so it is authenticated, rate limited and logged like any other request, marked X-Gateway-Source: mcp. A read-only profile keeps a summarization assistant from writing anything.

If the assistant calls a model through Zerq's AI Gateway, a guardrail connector can send prompts to a Presidio service you host with action mask, so identifiers are masked before they reach the model.

7. Prove who changed access

Users with the auditor role call GET /api/v1/audit/verify to check the hash chain over configuration changes, then GET /api/v1/audit/export?format=ndjson (or csv) to hand over who assigned a collection, widened an IP allowlist or edited a workflow. The actor comes from the OpenID Connect (OIDC) token.

Illustrative scenario: a hospital group's insurer and AI integrations

Illustrative scenario, not a specific customer deployment.

Before. A private hospital group in Abu Dhabi exposes its EHR integration engine to two insurers and a reference lab with shared API keys. Its discharge-summary assistant reads every patient through a service account. One insurer receives full encounter records although its DSA covers claims data only.

What they set up in Zerq. Zerq runs on the group's Kubernetes cluster in Abu Dhabi. Three collections match the DSA scopes, with one client per insurer, lab and assistant. Insurers use mTLS from fixed IPs behind a code_node allowlist. The lab can GET orders and POST results checked by a validate_node. The assistant has a read-only profile through the Gateway MCP. Request logs keep two years.

After. Each DSA has a configuration the data governance office can review. A contract change is one allowlist edit with an audit entry. A DoH question about lab result access becomes a filtered log export, and the AI pilot reaches production with the same evidence as any other integration.

Checklist: is your API layer ready for the DoH standard?

  1. Does every partner, internal app and AI assistant that reads health data have its own credential?
  2. Does each consumer's access match its data sharing agreement, enforced in the gateway rather than by convention?
  3. Are direct identifiers removed by default from responses that do not need them?
  4. Are payloads validated before data is shared, with errors visible to data stewards?
  5. Are your API gateway, its configuration and its logs hosted inside the UAE?
  6. Could you list everything a given insurer received in a month within one working day?
  7. Is there a defined retention period on API logs that contain patient data?
  8. Can you show who changed a partner's access, when, and what it was before?
  9. Do AI assistants use least-privilege, read-only access with every call logged?
  10. Can you revoke a partner's access in minutes when a DSA ends?

Where this approach has limits

A gateway controls data that moves over the HTTP APIs it fronts. It does not see database replication, file transfers or HL7 version 2 feeds sent over a direct interface connection, and those need their own controls. It does not classify your data or decide whether a share is lawful; that stays with your data governance office, legal team and DoH. Removing fields is minimization, not anonymization: re-identification risk in research datasets needs a separate privacy review. And if your only integration is Malaffi through a certified EHR interface, the EHR vendor's controls may cover most of what you need.

Summary

DoH's standard makes Abu Dhabi health data sharing auditable: approvals by classification, data kept in the UAE, anonymization by default, validated payloads, monitored APIs and audit trails. AI assistants in Malaffi and in hospitals add consumers that follow the same rules. A gateway in your own UAE infrastructure that maps each DSA to a client, a profile and a collection, with logs in your database, gives you the controls and the evidence in one place.

For related reading, see healthcare API compliance with data residency, audit logs and RBAC, data minimization for AI agent API responses, and how UAE government services can control agentic AI at the API layer. For pricing that does not scale with patient volume or log size, see pricing.

Sources


Zerq is an enterprise API gateway built for regulated industries — one platform for API management, AI agent access, compliance audit, and developer portal, running entirely in your own infrastructure. See how it works or request a demo to walk through your specific requirements.