From 6acd505f62640752a14924d3deaa80be78476d33 Mon Sep 17 00:00:00 2001 From: Sean <> Date: Tue, 16 Apr 2024 12:36:49 -0400 Subject: [PATCH] Updates to HHS logic Maded default false --- .env | 47 +++-------------------------------------------- src/Home.tsx | 2 +- 2 files changed, 4 insertions(+), 45 deletions(-) diff --git a/.env b/.env index b175c9b..3e23442 100644 --- a/.env +++ b/.env @@ -15,12 +15,6 @@ GENERATE_SOURCEMAP=false 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=<...> @@ -62,31 +56,6 @@ REACT_APP_CLIENT_ID_va=<...> 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="support.email@organization.tld" @@ -106,8 +75,6 @@ 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 @@ -122,14 +89,6 @@ 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 - -REACT_APP_VERSION="version - 2.1.1" -REACT_APP_HHS_BANNER=false \ No newline at end of file +REACT_APP_VERSION="version - 2.1.2" +# Set to have HHS Banner +# REACT_APP_HHS_BANNER=true \ No newline at end of file diff --git a/src/Home.tsx b/src/Home.tsx index 57f3e8c..cc7cd33 100644 --- a/src/Home.tsx +++ b/src/Home.tsx @@ -60,7 +60,7 @@ export default class Home extends React.Component { let screenings = this.props.screenings?.filter(s => s.notifyPatient); // let tasks = this.props.tasks; - const hhsBanner = process.env.REACT_APP_HHS_BANNER === 'true'; + const hhsBanner = process.env.REACT_APP_HHS_BANNER === 'false'; return (