diff --git a/.env b/.env
index a9d6e8e91b6..55743104f8f 100644
--- a/.env
+++ b/.env
@@ -15,5 +15,3 @@ CARE_CDN_URL="https://egov-s3-facility-10bedicu.s3.amazonaws.com https://egov-s3
REACT_ALLOWED_LOCALES="en,hi,ta,ml,mr,kn"
REACT_ENABLED_APPS=""
-
-REACT_KERALA_GEO_ID=b04b9efa-5972-419a-892d-26169c1eac8a
\ No newline at end of file
diff --git a/.example.env b/.example.env
index ff2dde1edc5..5466250e094 100644
--- a/.example.env
+++ b/.example.env
@@ -10,12 +10,6 @@ REACT_GITHUB_URL=
# OHCN URL (default: https://ohc.network?ref=care)
REACT_OHCN_URL=
-# Plausible site domain (default: care.ohc.network)
-REACT_PLAUSIBLE_SITE_DOMAIN=
-
-# Plausible server URL (default: https://plausible.ohc.network)
-REACT_PLAUSIBLE_SERVER_URL=
-
# Care Apps. repo@branch seperated by commas
REACT_ENABLED_APPS="ohcnetwork/care_livekit_fe@main,ohcnetwork/care_scribe"
@@ -73,5 +67,8 @@ REACT_JWT_TOKEN_REFRESH_INTERVAL=
# Minimum encounter date (default: 2020-01-01)
REACT_MIN_ENCOUNTER_DATE=
+# Default Encounter Type (default: "hh" - Home Health)
+REACT_DEFAULT_ENCOUNTER_TYPE=
+
# Available languages to switch between (2 Digit language code seperated by comas. See src->Locale->config.ts for available codes)
REACT_ALLOWED_LOCALES="en,hi,ta,ml,mr,kn"
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index 4d8ac14635a..79e4d357951 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -61,7 +61,7 @@ jobs:
build:
needs: test
- if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/staging' || startsWith(github.event.ref, 'refs/tags/v')
+ if: github.ref == 'refs/heads/develop' || startsWith(github.event.ref, 'refs/tags/v')
name: Build & Push to container registries
runs-on: ubuntu-latest
steps:
@@ -139,18 +139,3 @@ jobs:
run: |
echo "Release ${{ github.sha }} is ready to be deployed to production"
- deploy-staging-gcp:
- needs: build
- if: github.ref == 'refs/heads/staging'
- name: Deploy to staging GCP cluster
- runs-on: ubuntu-latest
- environment:
- name: Staging-GCP
- url: https://care-staging.ohc.network/
- steps:
- - name: Trigger deploy
- run: |
- COMMIT_SHA=${{ github.sha }}
- JSON='{ "substitutions": { "care_be_tag":"", "care_fe_tag": "'"$COMMIT_SHA"'", "metabase_tag": "" } }'
- curl --location "${{ secrets.STAGING_GCP_DEPLOY_URL }}" \
- --header 'Content-Type: application/json' --data "$JSON"
diff --git a/care.config.ts b/care.config.ts
index 1498de9bb18..f48d842d262 100644
--- a/care.config.ts
+++ b/care.config.ts
@@ -1,3 +1,5 @@
+import { EncounterClass } from "@/types/emr/encounter";
+
const env = import.meta.env;
interface ILogo {
@@ -48,6 +50,9 @@ const careConfig = {
.split(",")
.map((l) => l.trim()),
+ defaultEncounterType: (env.REACT_DEFAULT_ENCOUNTER_TYPE ||
+ "hh") as EncounterClass,
+
gmapsApiKey:
env.REACT_GMAPS_API_KEY || "AIzaSyDsBAc3y7deI5ZO3NtK5GuzKwtUzQNJNUk",
@@ -82,12 +87,6 @@ const careConfig = {
minEncounterDate: new Date(env.REACT_MIN_ENCOUNTER_DATE || "2020-01-01"),
// Plugins related configs...
-
- plausible: {
- server: env.REACT_PLAUSIBLE_SERVER_URL || "https://plausible.ohc.network",
- domain: env.REACT_PLAUSIBLE_SITE_DOMAIN || "care.ohc.network",
- },
-
sentry: {
dsn:
env.REACT_SENTRY_DSN ||
@@ -120,7 +119,6 @@ const careConfig = {
plotsConfigUrl:
env.REACT_OBSERVATION_PLOTS_CONFIG_URL || "/config/plots.json",
- keralaGeoId: env.REACT_KERALA_GEO_ID || "",
} as const;
export default careConfig;
diff --git a/index.html b/index.html
index 0e302341c85..166c2d3bda7 100644
--- a/index.html
+++ b/index.html
@@ -76,12 +76,5 @@
-