Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make 'PatientHeader' container customizable and reusable without moving it from 'contrib/fhir-emr' to project #335

Open
alexlipovka opened this issue Oct 13, 2024 · 0 comments

Comments

@alexlipovka
Copy link
Collaborator

alexlipovka commented Oct 13, 2024

PatientHeader is widely used in new projects to reflect customized navigation. We copy the whole src/containers/PatientDetails/PatientHeader/index.tsx only to change menuItems inside PatientHeader()

src/containers/PatientDetails/PatientHeader/index.tsx - decided to update PatientHeaderContext in fhir-emr and pass menuItems trough context and use fhir-emr PatientHeader component insead of breeoot version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant