Skip to content

Commit

Permalink
(fix) Fix feature flag for the patient flags app (#1947)
Browse files Browse the repository at this point in the history
(fix) Patient flags app to register flags in routes.json
  • Loading branch information
ibacher authored Aug 7, 2024
1 parent 01e4c39 commit 6596450
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 0 additions & 6 deletions packages/esm-patient-flags-app/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ export const importTranslation = require.context('../translations', false, /.jso

export function startupApp() {
defineConfigSchema(moduleName, configSchema);

registerFeatureFlag(
'patientFlags',
'Patient Flags',
'Visual components that enable healthcare providers to see relevant patient information with a glance in the Patient chart. Flags are displayed in the Patient Summary, just below the patient banner, and can link users to other areas of the chart to perform relevant actions during a visit.',
);
}

export const flagTags = getSyncLifecycle(flagTagsComponent, {
Expand Down
10 changes: 8 additions & 2 deletions packages/esm-patient-flags-app/src/routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"meta": {
"title": {
"key": "editPatientFlags",
"default":"Edit patient flags"
"default": "Edit patient flags"
}
},
"featureFlag": "patientFlags"
Expand All @@ -33,5 +33,11 @@
}
}
],
"pages": []
"featureFlags": [
{
"flagName": "patientFlags",
"label": "Patient Flags",
"description": "Visual components that enable healthcare providers to see relevant patient information with a glance in the Patient chart. Flags are displayed in the Patient Summary, just below the patient banner, and can link users to other areas of the chart to perform relevant actions during a visit."
}
]
}

0 comments on commit 6596450

Please sign in to comment.