-
Notifications
You must be signed in to change notification settings - Fork 1
/
aidbox.json
110 lines (109 loc) · 2.64 KB
/
aidbox.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"type": "batch",
"entry": [
{
"request": {
"method": "PUT",
"url": "/Client/growth_chart"
},
"resource": {
"resourceType": "Client",
"id": "growth_chart",
"auth": {
"authorization_code": {
"redirect_uri": "http://localhost:9000/",
"refresh_token": true,
"token_format": "jwt",
"access_token_expiration": 3600000
}
},
"smart": {
"launch_uri": "http://localhost:9000/launch.html"
},
"type": "smart-app",
"secret": "quOfCRS7ty1RMUQq",
"grant_types": [
"authorization_code"
]
}
},
{
"request": {
"method": "PUT",
"url": "/Client/ehr"
},
"resource": {
"id": "ehr",
"secret": "verysecret",
"grant_types": [
"basic"
],
"resourceType": "Client"
}
},
{
"request": {
"method": "PUT",
"url": "/AccessPolicy/demo-clients-allow"
},
"resource": {
"id": "demo-clients-allow",
"link": [
{
"id": "ehr",
"resourceType": "Client"
},
{
"id": "growth_chart",
"resourceType": "Client"
}
],
"engine": "allow",
"resourceType": "AccessPolicy"
}
},
{
"request": {
"method": "PUT",
"url": "/IdentityProvider/keycloak"
},
"resource": {
"resourceType": "IdentityProvider",
"scopes": [
"profile",
"openid"
],
"system": "keycloak",
"userinfo_endpoint": "http://localhost:8888/realms/patients/protocol/openid-connect/userinfo",
"authorize_endpoint": "http://localhost:8888/realms/patients/protocol/openid-connect/auth",
"client": {
"id": "aidbox",
"secret": "HOuPXmduHfTjhtW0eqAeMsHZJbRNVc8x"
},
"title": "Keycloak",
"active": true,
"id": "keycloak",
"token_endpoint": "http://keycloak:8888/realms/patients/protocol/openid-connect/token",
"userinfo-source": "id-token"
}
},
{
"request": {
"method": "POST",
"url": "/Patient/$load"
},
"resource": {
"source": "https://storage.googleapis.com/aidbox-public/synthea/v2/100/fhir/Patient.ndjson.gz"
}
},
{
"request": {
"method": "POST",
"url": "/Observation/$load"
},
"resource": {
"source": "https://storage.googleapis.com/aidbox-public/synthea/v2/100/fhir/Observation.ndjson.gz"
}
}
]
}