Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
170 changes: 170 additions & 0 deletions gf-test-2026/test/eOverdracht-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,25 @@
"id": "pd_any_care_organization",
"name": "Care organization",
"purpose": "Finding a care organization",
"submission_requirements": [
{
"name": "Required credentials",
"rule": "all",
"from": "required"
},
{
"name": "Optional credentials",
"rule": "pick",
"min": 0,
"from": "optional"
}
],
"input_descriptors": [
{
"id": "id_uzicert_uracredential",
"name": "Care organization identity from fake UZI-server certificate",
"purpose": "Finding a care organization for authorizing access to medical metadata.",
"group": ["required"],
"constraints": {
"fields": [
{
Expand Down Expand Up @@ -66,6 +80,77 @@
}
]
}
},
{
"id": "id_dezicredential",
"group": ["optional"],
"constraints": {
"fields": [
{
"path": [
"$.type"
],
"filter": {
"type": "string",
"const": "DeziUserCredential"
}
},
{
"id": "organization_ura_dezi",
"path": [
"$.credentialSubject.identifier"
],
"filter": {
"type": "string"
}
},
{
"id": "user_id",
"path": [
"$.credentialSubject.employee.identifier"
],
"filter": {
"type": "string"
}
},
{
"id": "user_initials",
"path": [
"$.credentialSubject.employee.initials"
],
"filter": {
"type": "string"
}
},
{
"id": "user_surname",
"path": [
"$.credentialSubject.employee.surname"
],
"filter": {
"type": "string"
}
},
{
"id": "user_surname_prefix",
"path": [
"$.credentialSubject.employee.surnamePrefix"
],
"filter": {
"type": "string"
}
},
{
"id": "user_role",
"path": [
"$.credentialSubject.employee.role"
],
"filter": {
"type": "string"
}
}
]
}
}
]
}
Expand All @@ -92,11 +177,25 @@
"id": "pd_any_care_organization",
"name": "Care organization",
"purpose": "Finding a care organization",
"submission_requirements": [
{
"name": "Required credentials",
"rule": "all",
"from": "required"
},
{
"name": "User identity",
"rule": "pick",
"min": 0,
"from": "user-identity"
}
],
"input_descriptors": [
{
"id": "id_uzicert_uracredential",
"name": "Care organization identity from fake UZI-server certificate",
"purpose": "Finding a care organization for authorizing access to medical metadata.",
"group": ["required"],
"constraints": {
"fields": [
{
Expand Down Expand Up @@ -137,6 +236,77 @@
}
]
}
},
{
"id": "id_dezicredential",
"group": ["user-identity"],
"constraints": {
"fields": [
{
"path": [
"$.type"
],
"filter": {
"type": "string",
"const": "DeziUserCredential"
}
},
{
"id": "organization_ura_dezi",
"path": [
"$.credentialSubject.identifier"
],
"filter": {
"type": "string"
}
},
{
"id": "user_id",
"path": [
"$.credentialSubject.employee.identifier"
],
"filter": {
"type": "string"
}
},
{
"id": "user_initials",
"path": [
"$.credentialSubject.employee.initials"
],
"filter": {
"type": "string"
}
},
{
"id": "user_surname",
"path": [
"$.credentialSubject.employee.surname"
],
"filter": {
"type": "string"
}
},
{
"id": "user_surname_prefix",
"path": [
"$.credentialSubject.employee.surnamePrefix"
],
"filter": {
"type": "string"
}
},
{
"id": "user_role",
"path": [
"$.credentialSubject.employee.role"
],
"filter": {
"type": "string"
}
}
]
}
}
]
}
Expand Down
22 changes: 19 additions & 3 deletions gf-test-2026/test/medicatieoverdracht-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,25 @@
"id": "pd_any_care_organization",
"name": "Care organization",
"purpose": "Finding a care organization and practitioner",
"submission_requirements": [
{
"name": "Required credentials",
"rule": "all",
"from": "required"
},
{
"name": "User identity",
"rule": "pick",
"min": 0,
"from": "user-identity"
}
],
"input_descriptors": [
{
"id": "id_uzicert_uracredential",
"name": "Care organization identity from fake UZI-server certificate",
"purpose": "Finding a care organization for authorizing access to medical metadata.",
"group": ["required"],
"constraints": {
"fields": [
{
Expand Down Expand Up @@ -76,6 +90,7 @@
{
"id": "id_patient_enrollment",
"name": "The patient enrollment credential",
"group": ["required"],
"constraints": {
"fields": [
{
Expand Down Expand Up @@ -123,6 +138,7 @@
{
"id": "id_healthcare_professional_delegation",
"name": "The healthcare professional delegation credential",
"group": ["required"],
"constraints": {
"fields": [
{
Expand Down Expand Up @@ -169,6 +185,7 @@
},
{
"id": "id_dezicredential",
"group": ["user-identity"],
"constraints": {
"fields": [
{
Expand All @@ -177,7 +194,7 @@
],
"filter": {
"type": "string",
"const": "DeziIDTokenCredential"
"const": "DeziUserCredential"
}
},
{
Expand Down Expand Up @@ -228,8 +245,7 @@
{
"id": "user_role",
"path": [
"$.credentialSubject.employee.roles[0]",
"$.credentialSubject.employee.roles"
"$.credentialSubject.employee.role"
],
"filter": {
"type": "string"
Expand Down