File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ cd user-managed-access/
1616
1717### Setting up the Authorization Server
1818
19- Before starting, make sure you are on the correct branch (pacsoi-poc1 ).
19+ Before starting, make sure you are on the correct branch (feat/contracts ).
2020See the above command to clone only the relevant branch for the demonstrator.
2121
2222In order to run the demonstrator you need to perform the following steps.
Original file line number Diff line number Diff line change 1+ @prefix dcterms: <http://purl.org/dc/terms/> .
2+ @prefix eu-gdpr: <https://w3id.org/dpv/legal/eu/gdpr#> .
3+ @prefix oac: <https://w3id.org/oac#> .
4+ @prefix odrl: <http://www.w3.org/ns/odrl/2/> .
5+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6+ @prefix ex: <http://example.org/> .
7+
8+ <http://example.org/HCPX-request> a odrl:Request ;
9+ odrl:uid ex:HCPX-request ;
10+ odrl:profile oac: ;
11+ dcterms:description " HCP X requests to read Alice's health data for bariatric care." ;
12+ odrl:permission <http://example.org/HCPX-request-permission> .
13+ <http://example.org/HCPX-request-permission> a odrl:Permission ;
14+ odrl:action odrl:read ;
15+ odrl:target <http://localhost:5656/smartdevice.txt> ;
16+ odrl:assigner <http://localhost:3000/ruben/profile/card#me> ;
17+ odrl:assignee <http://localhost:3000/alice/profile/card#me> ;
18+ odrl:constraint <http://example.org/HCPX-request-permission-purpose> .
19+ <http://example.org/HCPX-request-permission-purpose> a odrl:Constraint ;
20+ odrl:leftOperand odrl:purpose ; # can also be oac:Purpose, to conform with OAC profile
21+ odrl:operator odrl:eq ;
22+ odrl:rightOperand ex:bariatric-care.
You can’t perform that action at this time.
0 commit comments