Skip to content

Describe a data access request

A repository lists a cystic fibrosis dataset with AccessRights.RESTRICTED. Its DUO permission is DS for cystic fibrosis (MONDO:0009061), and its IRB modifier requires documentation of local ethics approval. A requester supplies HL7 purpose DSRCH and the same disease identifier. The reviewer can compare the disease identifiers and check the ethics documentation before granting access. A request for asthma would carry the same DSRCH code and would fall outside this disease restriction. DUO recommends MONDO for specifying the disease. Cystic fibrosis in MONDO

Choose a code

What the code describes LinkML enum Example
Who can access the resource AccessRights RESTRICTED
Uses the data provider permits DataUsePermissionEnum DS
Additional conditions on use DataUseModifierEnum IRB
Kind of investigation proposed DuoResearchPurposeEnum DISEASE_CATEGORY_RESEARCH
Purpose of an operation on information Hl7ResearchPurposeEnum DSRCH

The HL7 snapshot has three curated close mappings to DUO investigations. BIORCH maps to biomedical research, DSRCH to disease category research, and POARCH to ancestry research. These mappings support finding related research purposes. Authorization still requires the provider's permission, the specific scope of the request, and any conditions on use.

Migrate older records

Legacy values remain readable in their original slots. When writing or migrating data, apply these changes.

Old slot and value Canonical slot and value
data_use_permission: NO_RESTRICTION data_use_permission: NRES
data_use_modifier: NPO data_use_modifier: NPU
data_use_modifier: NRES Move to data_use_permission: NRES if the permission is empty. If the permission is already NRES, drop the duplicate modifier. If a different permission is present, keep the original record for review before migration.

Apply the permission spelling change first and preserve other modifiers. To enumerate official shorthands, select permissible values without a LinkML deprecated field. This yields five permissions and eighteen modifiers.

Verify the source releases

The tagged DUO CSV supplies consent-code shorthands. The OWL supplies class IRIs, English labels, hierarchy and editorial notes. Its ten investigation definitions carry an ICBO 2018 placeholder note. For NPOA, the OWL class IRI and OLS end in DUO_00000044, while the CSV and OWL ID annotation give DUO:0000044. The schema meaning resolves to the OWL class. DUO release · OLS class

The FHIR ValueSet selects concept is-a HRESCH. Its codes and definitions come from version 3.1.0 of the ActReason code system. HL7 published that system alongside PurposeOfUse in version 7.0.0 of the THO package. A FHIR Coding for biomedical research carries the code system's version.

{"system":"http://terminology.hl7.org/CodeSystem/v3-ActReason","version":"3.1.0","code":"BIORCH"}

The LinkML Python generator skips dynamic enums, so the schema includes a verified nine-code snapshot. The following check compares all codes, labels and hierarchies against the tagged and versioned publications, including the nested clinical-trial codes. FHIR value set · HL7 PurposeOfUse

sources=$(mktemp -d)
for file in duo.csv duo.owl; do
  curl -fsSL "https://raw.githubusercontent.com/EBISPOT/DUO/v2021-02-23/$file" -o "$sources/$file"
done
for resource in ValueSet-v3-PurposeOfUse CodeSystem-v3-ActReason; do
  curl -fsSL "https://terminology.hl7.org/7.0.0/$resource.json" -o "$sources/$resource.json"
done
VALUESETS_RELEASE_DIR="$sources" uv run pytest -q tests/test_data_use.py