forked from chronic-care/mycareplanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
133 lines (104 loc) · 8.05 KB
/
.env
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
# .env.local overrides values here
PORT=8000
GENERATE_SOURCEMAP=false
#
# Shared Data Repository
#
# SHARED_DATA_AUTH_ENDPOINT is a different FHIR endpoint that is used to authorize the user for shared data.
#
# REACT_APP_SHARED_DATA_ENDPOINT=
# REACT_APP_SHARED_DATA_AUTH_ENDPOINT=
# REACT_APP_SHARED_DATA_SCOPE="launch/patient openid fhirUser patient/*.read patient/*.write"
# These 2 parameters are only used when Shared Data is a separate FHIR server with its own SMART launch flow.
REACT_APP_SHARED_DATA_CLIENT_ID=
REACT_APP_SHARED_DATA_REDIRECT_URI="./index.html"
# MELD Sandbox
REACT_APP_CLIENT_ID_meld_mcc=2dbe1620-7232-4ab7-a5e5-4ee85112a74e
REACT_APP_CLIENT_ID_meld_qa=0e440b74-e49d-4975-9da7-a6afdea9e426
REACT_APP_CLIENT_ID_meld_synthea=2ce6fc18-6f3f-4e8a-b50f-540634aaf26b
REACT_APP_CLIENT_ID_meld_chc=95567dcb-87e3-438f-b77c-d806070a4bf5
# REACT_APP_CLIENT_ID_meld_sds=
REACT_APP_MELD_SANDBOX_NAME=MCCDevelopment
REACT_APP_MELD_SANDBOX_CLIENT_ID=<...>
# Logica sandbox
REACT_APP_CLIENT_ID_logica=<...>
# Athena Practice Sandbox for USCDI app
REACT_APP_CLIENT_ID_athena_practice_sandbox=<...>
# Athena Practice production client config
REACT_APP_CLIENT_ID_athena_practice=<...>
# NextGen client config
REACT_APP_CLIENT_ID_nextgen=<...>
# Epic Sandbox for USCDI app
REACT_APP_CLIENT_ID_epic_sandbox=<...>
# Epic production client config
REACT_APP_CLIENT_ID_epic=<...>
# Cerner Sandbox for USCDI app
REACT_APP_CLIENT_ID_cerner_sandbox=<...>
# Cerner production client config
REACT_APP_CLIENT_ID_cerner=<...>
# Allscripts Sandbox for USCDI app
REACT_APP_CLIENT_ID_allscripts_sandbox=<...>
# Allscripts production client config
REACT_APP_CLIENT_ID_allscripts=<...>
# VA
REACT_APP_CLIENT_ID_va=<...>
# OHSU Epic client config
REACT_APP_CLIENT_ID_ohsu_fhirprd=<...>
REACT_APP_CLIENT_ID_ohsu_fhirdev=<...>
# Sandbox Scope, ISS, and launcher URLs
## Not intended to be overridden, but instead, permanently changed here if needed:
REACT_APP_MELD_SANDBOX_SCOPE="patient/Goal.write patient/Practitioner.read patient/CareTeam.read launch/patient patient/Questionnaire.read openid patient/Goal.read patient/Immunization.read launch patient/ServiceRequest.read patient/Procedure.read fhirUser patient/RelatedPerson.read patient/Provenance.read patient/MedicationRequest.read patient/Task.read patient/Patient.read patient/DiagnosticReport.read patient/Condition.write patient/Condition.read patient/QuestionnaireResponse.write patient/MedicationRequest.write patient/Observation.read patient/CarePlan.read"
REACT_APP_MELD_SANDBOX_ENDPOINT_ISS="https://gw.interop.community/MCCDevelopment/data"
REACT_APP_MELD_SANDBOX_ENDPOINT_LAUNCHER=http://localhost:8000/mycareplanner/launch.html?iss=$REACT_APP_MELD_SANDBOX_ENDPOINT_ISS
REACT_APP_EPIC_SANDBOX_ENDPOINT_SCOPE="launch launch/patient openid fhirUser patient/Patient.read patient/Practitioner.read patient/RelatedPerson.read patient/Condition.read patient/DiagnosticReport.read patient/Observation.read patient/Procedure.read patient/CarePlan.read patient/CareTeam.read patient/Goal.read patient/Immunization.read patient/MedicationRequest.read patient/Medication.read patient/Provenance.read patient/Organization.read"
REACT_APP_EPIC_SANDBOX_ENDPOINT_ISS="https://fhir.epic.com/interconnect-fhir-oauth/api/FHIR/R4"
REACT_APP_EPIC_SANDBOX_ENDPOINT_LAUNCHER=http://localhost:8000/mycareplanner/launch.html?iss=$REACT_APP_EPIC_SANDBOX_ENDPOINT_ISS
REACT_APP_CERNER_SANDBOX_ENDPOINT_SCOPE="launch/patient openid fhirUser offline_access patient/Patient.read user/Practitioner.read user/Location.read user/Organization.read patient/CarePlan.read patient/CareTeam.read patient/Condition.read patient/Goal.read patient/Immunization.read patient/Observation.read patient/Procedure.read patient/MedicationRequest.read patient/RelatedPerson.read patient/ServiceRequest.read patient/Provenance.read"
REACT_APP_CERNER_SANDBOX_ENDPOINT_ISS="https://fhir-myrecord.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d"
REACT_APP_CERNER_SANDBOX_ENDPOINT_LAUNCHER=http://localhost:8000/mycareplanner/launch.html?iss=$REACT_APP_CERNER_SANDBOX_ENDPOINT_ISS
REACT_APP_VA_SANDBOX_ENDPOINT_SCOPE="launch/patient openid profile offline_access patient/Patient.read patient/Practitioner.read patient/Condition.read patient/Observation.read patient/Immunization.read patient/MedicationRequest.read patient/Medication.read"
REACT_APP_VA_SANDBOX_ENDPOINT_ISS="https://sandbox-api.va.gov/services/fhir/v0/r4"
REACT_APP_VA_SANDBOX_ENDPOINT_LAUNCHER=https://chronic-care.github.io/mycareplanner/launch.html?iss=$REACT_APP_VA_SANDBOX_ENDPOINT_ISS
REACT_APP_NEXTGEN_SANDBOX_ENDPOINT_SCOPE="launch launch/patient openid fhirUser offline_access patient/Patient.read patient/Practitioner.read patient/RelatedPerson.read patient/Condition.read patient/DiagnosticReport.read patient/Observation.read patient/Procedure.read patient/CarePlan.read patient/CareTeam.read patient/Goal.read patient/Immunization.read patient/MedicationRequest.read patient/Medication.read patient/Provenance.read patient/Organization.read"
REACT_APP_NEXTGEN_SANDBOX_ENDPOINT_ISS="https://fhir.nextgen.com/nge/prod/fhir-api-r4/fhir/r4"
REACT_APP_NEXTGEN_SANDBOX_ENDPOINT_LAUNCHER=https://chronic-care.github.io/mycareplanner/launch.html?iss=$REACT_APP_NEXTGEN_SANDBOX_ENDPOINT_ISS
# REACT_APP_SDS_SANDBOX_SCOPE="launch launch/patient openid fhirUser patient/Patient.read patient/Practitioner.read patient/RelatedPerson.read patient/Condition.read patient/DiagnosticReport.read patient/Observation.read patient/Procedure.read patient/CarePlan.read patient/CareTeam.read patient/Goal.read patient/Immunization.read patient/MedicationRequest.read patient/ServiceRequest.read patient/Task.read patient/Questionnaire.read patient/QuestionnaireResponse.write patient/Goal.write patient/MedicationRequest.write patient/Condition.write"
# REACT_APP_SDS_SANDBOX_ENDPOINT_ISS="https://gw.interop.community/eCareSharedData/data"
# REACT_APP_SDS_SANDBOX_ENDPOINT_LAUNCHER=http://localhost:8000/mycareplanner/launch.html?iss=$REACT_APP_SDS_SANDBOX_ENDPOINT_ISS
# Support
REACT_APP_SUPPORT_EMAIL="[email protected]"
REACT_APP_SUPPORT_EMAIL_MESSAGE=If needed, please provide the full details of the error, along with the process taken to encounter it, and contact support at $REACT_APP_SUPPORT_EMAIL.
# Terminating User Error Messages
REACT_APP_USER_ERROR_MESSAGE_FAILED_TO_CONNECT="Failed to connect and load patient data. No further attempt will be made. Please try a different launcher or select a different provider."
REACT_APP_USER_ERROR_MESSAGE_SESSION_EXPIRED="Your session has expired. Please enter a launcher URL into the browser or select a provider via the given link."
# Non-Terminating User Error Messages
REACT_APP_NT_USER_ERROR_MESSAGE_FAILED_RESOURCE="Failed to retrieve <RESOURCE_NAME> data. The application will continue loading but data related to the resource will not be displayed."
# Debug and development options
## Intended to be overridden in .env.local if needed:
# Various dev options
REACT_APP_READY_FHIR_ON_APP_MOUNT=true
REACT_APP_GET_FHIR_QUERIES=true
REACT_APP_LOAD_MELD_ON_STARTUP=false
REACT_APP_SHOW_LINK_TO_PROVIDER_LOGIN_ON_LAUNCH=false
REACT_APP_TEST_PERSISTENCE=false
REACT_APP_DEBUG_LOG=false
# Provider login options for test data
REACT_APP_ADD_MELD_SANDBOX_TO_PROVIDER_LOGIN_DROPDOWN=true
# Session Timeout
REACT_APP_LOG_EVENTS=true
# 5 Minute time out in milliseconds
REACT_APP_CLIENT_IDLE_TIMEOUT=300000
# 1 Minute count down in milliseconds
REACT_APP_CLIENT_IDLE_TIMEOUT_COUNTDOWN=60000
# Logging
# https://github.com/chronic-care/log-service
REACT_APP_LOG_ENABLED=false
REACT_APP_LOG_API_KEY=<...>
REACT_APP_LOG_ENDPOINT_URI="http://localhost:8085"
REACT_APP_ADD_MELD_TO_PROVIDER_LOGIN_DROPDOWN=true
REACT_APP_MELD_SANDBOX_TESTING_ENDPOINT_ISS=https://gw.interop.community/MCCTesting/data
REACT_APP_MELD_SANDBOX_STAGING_ENDPOINT_ISS=https://gw.interop.community/MCCStaging/data
REACT_APP_MELD_SANDBOX_DEVELOP_ENDPOINT_ISS=https://gw.interop.community/MCCDevelopment/data
REACT_APP_CLIENT_ID_MELD_MCCTESTING=5fa54c47-ed80-405b-a0b7-611eee5d0159
REACT_APP_CLIENT_ID_MELD_MCCSTAGING=5fa54c47-ed80-405b-a0b7-611eee5d0159
REACT_APP_CLIENT_ID_MELD_MCCDEVELOP=5fa54c47-ed80-405b-a0b7-611eee5d0159