This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
forked from onc-healthit/inferno-community
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
156 lines (142 loc) · 8.69 KB
/
config.yml
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# Base path of application. Inferno will serve pages at HOST/base_path
# There are a few exceptions, such as "/" and "/landing".
base_path: "inferno"
# Useful during development to purge the database on each reload.
purge_database_on_reload: false
# Disable peer SSL verification for environments that use SSL inspection.
disable_verify_peer: false
# When running in a docker container, Inferno must listen to other than just
# 'localhost' which is the default.
bind: '0.0.0.0'
# Omit TLS tests. Used for local development without TLS.
disable_tls_tests: false
# Default SMART scopes used when they are not defined by the testing module.
default_scopes: launch launch/patient offline_access openid profile user/*.* patient/*.*
# Logging enabled?
logging_enabled: true
# Log to file. Logs are written to `logs.log` if true.
log_to_file: false
# Log Level: unkown, fatal, error, warn, info, debug
log_level: info
# This text appears in a badge next to "Inferno" in the header of each page
badge_text: Community
# Resource validator options:
# - "internal" uses the ruby validator from the fhir_models gem
# https://github.com/fhir-crucible/fhir_models
# - "external" uses the a web interface for the L7 FHIR validator.
# https://github.com/inferno-community/fhir-validator-wrapper
resource_validator: external
# The url where the external validator can be reached. Ignored when using the
# internal validator.
external_resource_validator_url: http://validator_service:4567
# The list of testing modules which will be made available. These entries must
# match the "name" field in the .yml files in lib/modules.
modules:
- smart
- bdt
- argonaut
- uscore_v3.1.0
- uscore_v3.1.1
# FHIRPath evaluator options: must be one of "internal" or "external".
# external_fhirpath_evaluator_url is only used if fhirpath_evaluator is set to
# external.
fhirpath_evaluator: external
external_fhirpath_evaluator_url: http://validator_service:4567
# Optional preset server testing configurations.
#
# Universal Settings:
# - name: REQUIRED. Name to be displayed in the preset selection menu.
# - uri: REQUIRED. FHIR server base uri.
# - module: REQUIRED. Name of testing module for this server.
# - inferno_uri: OPTIONAL When this value is present, the preset will only be
# listed when inferno is being served from this uri. This allows separate
# SMART credentials to be used depending on where inferno is hosted. Omit this
# value to always display this preset.
#
# Single Patient API Settings (OPTIONAL):
# - confidential_client: "true" for confidential clients, "false" for public
# clients. Used for SMART tests
# - client_id: SMART client ID.
# - client_secret: SMART client secret. Only used for confidential clients.
# - instructions: Link to instructions for using this server.
#
# Multi Patient API Settings (OPTIONAL):
# - bulk_url: Multi patient FHIR server base url.
# - bulk_requires_auth: Whether the server requires SMART backend servics
# authorization. "true" or "false"
# - bulk_token_endpoint: Token endpoint for SMART backend services
# authorization.
# - bulk_client_id: Client ID for SMART backend services authorization.
# - bulk_public_key: Public key for SMART backend services authorization.
# - bulk_private_key: Private key for SMART backend services authorization.
# - bulk_fastest_resource: A FHIR resource type accessible through the patient
# and group level exports that the server can export quickly.
# - bulk_system_export_endpoint: Relative path to system export endpoint from
# 'bulk_url'.
# - bulk_patient_export_endpoint: Relative path to patient export endpoint from
# 'bulk_url'.
# - bulk_group_export_endpoint: Relative path to group export endpoint from
# 'bulk_url'.
presets:
site_healthit_gov:
name: SITE DSTU2 FHIR Sandbox
uri: https://fhir.sitenv.org/secure/fhir
module: onc
inferno_uri: https://inferno.healthit.gov
client_id: vkPKDPcTIEMaw5Uf-DdUUtNMFMZaX0
confidential_client: true
client_secret: LS1nY3JFU3FDeEs0cWoxQWF6TVJFNU05RmZZNGZhZ2Vwb2JYWjdSWWJGakwwNTZ2Vng=
instructions: https://github.com/onc-healthit/inferno/wiki/SITE-Preset-Instructions
site_test_healthit_gov:
name: SITE DSTU2 FHIR Sandbox
uri: https://fhir.sitenv.org/secure/fhir
module: onc
inferno_uri: https://infernotest.healthit.gov
client_id: TrToU5piE-dJ1g6PBG1elFV4r9KLmH
confidential_client: true
client_secret: ckFqb1ZhbmFMQS13WDE0c1dTLWxSdGRLSE8yUXpWNS1vSnd6azNrMmU3Y0JPdDRja3U=
instructions: https://github.com/onc-healthit/inferno/wiki/SITE-Preset-Instructions
site_local:
name: SITE DSTU2 FHIR Sandbox
uri: https://fhir.sitenv.org/secure/fhir
module: onc
inferno_uri: http://localhost:4567
client_id: Yg0o6sJ8I8CfVVyHz1eA0m8jv6sXwe
confidential_client: true
client_secret: UDVrTXlna0NvcGRQZ1VhMkZaZzQ0R1FxVGdtTWxFMXVoT3pPd1VRMUN4MFVkV25Gejk=
instructions: https://github.com/onc-healthit/inferno/wiki/SITE-Preset-Instructions
standalone_bulk_server_local:
name: SMART Bulk Server Tests
module: bdt
uri: https://bulk-data.smarthealthit.org/eyJlcnIiOiIiLCJwYWdlIjoxMDAwLCJkdXIiOjEwLCJ0bHQiOjE1LCJtIjoxLCJzdHUiOjR9/fhir
inferno_uri: http://localhost:4567
bulk_url: https://bulk-data.smarthealthit.org/eyJlcnIiOiIiLCJwYWdlIjoxMDAwLCJkdXIiOjEwLCJ0bHQiOjE1LCJtIjoxLCJzdHUiOjR9/fhir
bulk_token_endpoint: https://bulk-data.smarthealthit.org/auth/token
bulk_requires_auth: true
bulk_client_id: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InJlZ2lzdHJhdGlvbi10b2tlbiJ9.eyJqd2tzIjp7ImtleXMiOlt7Imt0eSI6IkVDIiwiY3J2IjoiUC0zODQiLCJ4IjoidFZ6RFdRNXFNMWVrUmtPOWFjVjJPckRXX0p5ZVM2YmFEclhQczl2UE9HT3hhNXo1NUNXdHB3Z19CRHlPWXQ4biIsInkiOiJocFhJQ1pNTmV6RDFvTU5ha09xbEdOaDNXUWdDZEtmUVVwRE5saHhfZEtRbzB5bU1QZVhLeGlzTW1WcVdPay1MIiwia2V5X29wcyI6WyJ2ZXJpZnkiXSwiZXh0Ijp0cnVlLCJraWQiOiJjOTUyOWEwYWFlZmE1ZWE2NTlkNjVjNDkzOWVjYTk3NiIsImFsZyI6IkVTMzg0In0seyJrdHkiOiJFQyIsImNydiI6IlAtMzg0IiwiZCI6Im05Z0pxR2FoOEM4LXZtb3M1LTZicDkwMlRQRkdIdmN0VUl6R2QyMkxQeUU2bzVEMldFVTFtV0VtNzRsRWV5YlAiLCJ4IjoidFZ6RFdRNXFNMWVrUmtPOWFjVjJPckRXX0p5ZVM2YmFEclhQczl2UE9HT3hhNXo1NUNXdHB3Z19CRHlPWXQ4biIsInkiOiJocFhJQ1pNTmV6RDFvTU5ha09xbEdOaDNXUWdDZEtmUVVwRE5saHhfZEtRbzB5bU1QZVhLeGlzTW1WcVdPay1MIiwia2V5X29wcyI6WyJzaWduIl0sImV4dCI6dHJ1ZSwia2lkIjoiYzk1MjlhMGFhZWZhNWVhNjU5ZDY1YzQ5MzllY2E5NzYiLCJhbGciOiJFUzM4NCJ9XX0sImFjY2Vzc1Rva2Vuc0V4cGlyZUluIjoxNSwiaWF0IjoxNTc0MDQ0MjIyfQ.dkqFAJreUXIfBTESdygmiOBhtepzgcDNJWqI2662m4Q
bulk_public_key: "{'kty':'EC','crv':'P-384','x':'tVzDWQ5qM1ekRkO9acV2OrDW_JyeS6baDrXPs9vPOGOxa5z55CWtpwg_BDyOYt8n','y':'hpXICZMNezD1oMNakOqlGNh3WQgCdKfQUpDNlhx_dKQo0ymMPeXKxisMmVqWOk-L','key_ops':['verify'],'ext':true,'kid':'c9529a0aaefa5ea659d65c4939eca976','alg':'ES384'}"
bulk_private_key: "{'kty':'EC','crv':'P-384','d':'m9gJqGah8C8-vmos5-6bp902TPFGHvctUIzGd22LPyE6o5D2WEU1mWEm74lEeybP','x':'tVzDWQ5qM1ekRkO9acV2OrDW_JyeS6baDrXPs9vPOGOxa5z55CWtpwg_BDyOYt8n','y':'hpXICZMNezD1oMNakOqlGNh3WQgCdKfQUpDNlhx_dKQo0ymMPeXKxisMmVqWOk-L','key_ops':['sign'],'ext':true,'kid':'c9529a0aaefa5ea659d65c4939eca976','alg':'ES384'}"
bulk_fastest_resource: Patient
bulk_system_export_endpoint: /$export
bulk_patient_export_endpoint: /Patient/$export
bulk_group_export_endpoint: /Group/5/$export
# A UI for this launch configuration can be accessed at:
# https://bulk-data.smarthealthit.org/?auth_type=jwks&jwks=eyJrZXlzIjpbeyJrdHkiOiJFQyIsImNydiI6IlAtMzg0IiwieCI6InRWekRXUTVxTTFla1JrTzlhY1YyT3JEV19KeWVTNmJhRHJYUHM5dlBPR094YTV6NTVDV3Rwd2dfQkR5T1l0OG4iLCJ5IjoiaHBYSUNaTU5lekQxb01OYWtPcWxHTmgzV1FnQ2RLZlFVcERObGh4X2RLUW8weW1NUGVYS3hpc01tVnFXT2stTCIsImtleV9vcHMiOlsidmVyaWZ5Il0sImV4dCI6dHJ1ZSwia2lkIjoiYzk1MjlhMGFhZWZhNWVhNjU5ZDY1YzQ5MzllY2E5NzYiLCJhbGciOiJFUzM4NCJ9LHsia3R5IjoiRUMiLCJjcnYiOiJQLTM4NCIsImQiOiJtOWdKcUdhaDhDOC12bW9zNS02YnA5MDJUUEZHSHZjdFVJekdkMjJMUHlFNm81RDJXRVUxbVdFbTc0bEVleWJQIiwieCI6InRWekRXUTVxTTFla1JrTzlhY1YyT3JEV19KeWVTNmJhRHJYUHM5dlBPR094YTV6NTVDV3Rwd2dfQkR5T1l0OG4iLCJ5IjoiaHBYSUNaTU5lekQxb01OYWtPcWxHTmgzV1FnQ2RLZlFVcERObGh4X2RLUW8weW1NUGVYS3hpc01tVnFXT2stTCIsImtleV9vcHMiOlsic2lnbiJdLCJleHQiOnRydWUsImtpZCI6ImM5NTI5YTBhYWVmYTVlYTY1OWQ2NWM0OTM5ZWNhOTc2IiwiYWxnIjoiRVMzODQifV19&page=1000&stu=4
localhost_reference_server:
inferno_uri: http://localhost:4567
name: Inferno Reference Server
uri: https://inferno.healthit.gov/reference-server/r4
module: uscore_v3.1.0
client_id: SAMPLE_CONFIDENTIAL_CLIENT_ID
confidential_client: true
client_secret: SAMPLE_CONFIDENTIAL_CLIENT_SECRET
patient_ids: "76,185"
localhost_311_reference_server:
inferno_uri: http://localhost:4567
name: Inferno Reference Server (USCore v3.1.1)
uri: https://inferno.healthit.gov/reference-server/r4
module: uscore_v3.1.1
client_id: SAMPLE_CONFIDENTIAL_CLIENT_ID
confidential_client: true
client_secret: SAMPLE_CONFIDENTIAL_CLIENT_SECRET
patient_ids: "76,185"