Data Sharing Agreement Processes

This page is implementation guidance for data sharing agreements (DSAs). It describes the technical processes that carry out a DSA between two organisations. It covers only the trust-network processes. Other processes are planned in other guides (see Where the other processes are).

Draft. This page is in the litlfred fork. It is not WHO guidance. The process list (P1 to P15) is our own structure; no standard defines “the DSA processes”. Items marked unverified were not checked against the source specification.

Key points

Roles

These are roles, not organisations. One organisation can play several.

Role Maps to
Data provider ODRL assigner (ODRL 2.2 §2.1.3, §2.3)
Data recipient ODRL assignee (ODRL 2.2 §2.1.3)
Trust anchor Trust Network Anchor; or an X.509 root CA (RFC 5280 §6)
Party with keys Trust Network Participant, Issuer
Verifier Receiver; any system that checks a party’s signature or TLS certificate

“Data provider” and “data recipient” are our words. No actor in this guide has those names.

Trust anchor choices

A DSA, or the policy of the system that enforces it, says which anchors it accepts. The accepted list is either a DID document or a set of X.509 roots. No new format is needed.

Anchor What it is Standard Paperwork to join
GDHCN WHO’s trust list, published as did:web DID documents and fed by the Trust Network Gateway DID Core 1.0, did:web, JsonWebSignature2020 proof (DID Trustlist v2) Onboarding Process
National PKI A country’s X.509 root CA RFC 5280 path validation (§6) and CRLs (§5) National rules
Own did:web A ministry or institute publishes its own DID document DID Core 1.0, did:web None. Trust comes from the domain and its TLS certificate
Local list The deploying system’s own list of accepted keys or roots A DID document, or PEM roots checked by RFC 5280 Whatever the system owner decides

Two more options exist and are not recommended here:

RFC 5914 (Trust Anchor Format) states “this root is trusted” in ASN.1 only. It has no JSON form. A local list of X.509 roots is therefore kept as PEM files plus RFC 5280 checks.

P3. Register parties and keys with a trust anchor

DSA P3: Register Parties and Keys with a Trust Anchor..system-actors.html.trust-network-participant Party.n.data provider or recipient.....system-actors.html.trust-network-participant Party.n.data provider or recipient.....system-actors.html.trust-network-anchor Accepted.nTrust Anchor....system-actors.html.trust-network-anchor Accepted.nTrust Anchor..VerifierVerifierParty(data provider or recipient)AcceptedTrust AnchorVerifier(the other party)Party(data provider or recipient)AcceptedTrust AnchorVerifier(the other party)01:choose the anchor(s)the DSA acceptsalt[GDHCN]02:Letter of Application,Terms of Participation, onboarding03:generate keys(SCA, DSC, UP, TLS, ...)04:Publish Keys05:validate keys; sign trust list(JsonWebSignature2020)[National PKI (X.509)]06:national rules07:generate key pair08:issue X.509 certificate[Own did:web]09:generate key pair10:publish verificationMethodin own DID document[Local list]11:key or root, by a channelthe instance owner choosestime passes12:fetch the list, DID documentor certificate chain13:check its signature(proof, or RFC 5280 path validation)
If the anchor is GDHCN

This note applies only when the parties choose GDHCN.

P15. Dispute and breach handling

DSA P15: Dispute and Breach HandlingSuspected breach reported(use beyond purpose, missed duty, leak)Contain: suspend grants, clients and keys(P13, process H in smart-trust-phw)Gather evidence: audit records (P12),the log's hash chain,the hash of the signed agreement version (P2)Follow the dispute clausein the legal textNotify those the law requiresreinstateOutcome?Lift the suspensionamendterminateNew agreement version (P14)Terminate (P14); revoke (P13);start end-of-agreement duties

When the agreement is only a signed PDF

A worked example. The names are fictional. Ministry M shares a dataset with Institute I under a signed PDF. There is no ODRL.

DSA When the Agreement Is Only a Signed PDFProvider staffPublisher siteProvider adminAuthorisation serverRecipient serverProvider staffPublisher siteand catalogueProvider adminAuthorisation serverRecipient serverProvider staffPublisher siteand catalogueProvider adminAuthorisation serverRecipient server01:signed PDF, SHA-256,DCAT record (P2)02:configure the agreementversion (URL + hash)03:register client; set scopes from the PDF;change record cites URL + hash (P4)04:client credentials over mTLS (P5)05:access token (static scopes)review the log against the PDF;expiry reminder;disable the client on breach
Step What happens Process Done by a program
1 M and I negotiate and sign a PDF. An annex with security controls stays private P1 nothing
2 M publishes the PDF at an immutable URL (for example /dsa/42/v3), its SHA-256, and a DCAT 3 record with the checksum (§6.8.20). If the PDF is confidential, M publishes only the hash P2 hash, catalogue
3 I’s server certificate is issued by the national PKI, or I publishes a did:web P3 key publication
4 M’s admin registers I’s client by hand: client id, mutual TLS certificate, and scopes that match the PDF. The admin’s change record cites the PDF URL and hash P4 registration
5 I’s server gets tokens by client credentials over mutual TLS (RFC 8705) and calls the API P5 all transport
6 Where consent is needed, consents are paper forms, scanned into FHIR Consent.source[x], with Consent.policy.uri set to the PDF URL (FHIR R4 Consent) P9 storage, lookup
7 M’s server allows or refuses each call from its configuration P11 the check (the rule is set by hand)
8 Every call is logged with the PDF URL and hash. A person reviews the log against the PDF’s clauses. At the end, I sends a signed deletion letter; M keeps it with its hash P12 records
9 If I breaches the PDF, M’s admin disables the client and revokes the certificate P13, P15 mechanism
10 On expiry a reminder fires. The admin disables the client. I returns or deletes the data P14 mechanism

What a person does by hand here, that a computable DSA would check: turning clauses into scopes (step 4); checking the purpose of each request (possible only if the client states it); expiry (step 10); duty checks (step 8).

What is the same in both kinds of DSA: keys, transport, tokens, logs and revocation. That is why these processes are worth documenting for every DSA.

FHIR R4 Consent is shown because IHE PCF uses it. This guide is FHIR R4 4.0.1, as smart-base and smart-trust-phw are (owner, 2026-11-07), so the Consent is the guide’s own version. smart-trust-phw’s Consent page describes explicit and implied consent.

Where the other processes are

The DSA processes are split by layer. Only P3 and P15 are on this page.

# Process Where Status
P1 Draft and negotiate the agreement folio-assistant-core (document life cycle) planned
P2 Publish: version, hash, catalogue folio-assistant-core (document life cycle) planned
P3 Register parties and keys with a trust anchor this page draft
P4 Register a server client smart-trust-phw, process D draft
P5 Server-to-server access smart-trust-phw, process E draft
P6 Wallet issuance smart-trust-phw planned
P7 Wallet presentation smart-trust-phw planned
P8 QR and paper smart-trust-phw planned
P9 Individual consent, linked to the agreement smart-trust-phw planned
P10 Agent delegation smart-trust-phw planned
P11 Access decision smart-trust-phw, process F draft
P12 Audit, provenance and duty checks smart-trust-phw, process G draft
P13 Revocation and suspension smart-trust-phw, process H draft
P14 Amendment, renewal, termination, expiry folio-assistant-core (document life cycle) planned
P15 Dispute and breach handling this page draft

The server-to-server processes (P4, P5, P11, P12, P13) are BPMN processes D to H in smart-trust-phw. Tracked in litlfred/folio-assistant#2702.

Not verified

Edit this page on GitHub