jorritspee / openEHRxNuts

A specification for a distributed openEHR data federation using Nuts v6
0 stars 1 forks source link

AQL format voor authorisaties specificeren #12

Open joostholslag opened 6 months ago

joostholslag commented 6 months ago

NUTS service devs in did:web:

Context selection

The context data populated by the Platform is returned in the token response along with the id_token and access_token. The following additional parameters (besides those described by FHIR) are added to the token response:

Scopes for openEHR REST API The scopes are based on 3 different compartments:

For the openEHR REST APIs the following resource expressions are supported:

The in the above definition follows the blob pattern matching delimited by a . period. For example:

The in the above definition follows the blob pattern matching delimited by . a period. For example:

The following permission expressions are supported:

The following table is a maximal representation of the scopes made possible in different compartment, resource and permission combinations:

Example ACP use case: Scope: patient/aql-ACP%20DUTCH.rs : Permission to read and execute AQL with on EHR ID of the patient in context

patient AQL query name dan kun je in de query meerdere templates opnemen

Scope: patient/composition-ACP-DUTCH.crud

TemplateID dan beperkt je het tot alleen de ACP template en bijhorende archetypes

Source: https://specifications.openehr.org/releases/ITS-REST/latest/smart_app_launch.html

Composition, template, archetype. voorkeur

FHIR scopes: https://build.fhir.org/ig/HL7/smart-app-launch/scopes-and-launch-context.html