Skip to content

Commit

Permalink
Move feature flag definition to routes
Browse files Browse the repository at this point in the history
  • Loading branch information
reagan-meant committed Oct 24, 2024
1 parent 03e3a4d commit 937d9b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/esm-patient-search-app/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ export const patientSearchBar = getSyncLifecycle(patientSearchBarComponent, opti
export function startupApp() {
defineConfigSchema(moduleName, configSchema);

registerFeatureFlag('mpiFlag', 'MPI Service', 'Enables the Master Patient Index workflows');

setupDynamicOfflineDataHandler({
id: 'esm-patient-search-app:patient',
type: 'patient',
Expand Down
7 changes: 7 additions & 0 deletions packages/esm-patient-search-app/src/routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,12 @@
"slot": "patient-search-bar-slot",
"offline": true
}
],
"featureFlags": [
{
"flagName": "mpiFlag",
"label": "MPI Service",
"description": "Enables the Master Patient Index workflows."
}
]
}

0 comments on commit 937d9b8

Please sign in to comment.