-
Notifications
You must be signed in to change notification settings - Fork 248
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
(feat) Revitalized Immunization Support #1572
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @samuelmale! This mostly looks very good, but a few things should be adjusted.
packages/esm-patient-immunizations-app/src/hooks/useImmunizationsConceptSet.tsx
Outdated
Show resolved
Hide resolved
packages/esm-patient-immunizations-app/src/hooks/useImmunizations.tsx
Outdated
Show resolved
Hide resolved
packages/esm-patient-immunizations-app/src/hooks/useImmunizations.tsx
Outdated
Show resolved
Hide resolved
packages/esm-patient-immunizations-app/src/hooks/useImmunizationsConceptSet.tsx
Outdated
Show resolved
Hide resolved
packages/esm-patient-immunizations-app/src/immunizations/immunizations-form.component.tsx
Outdated
Show resolved
Hide resolved
packages/esm-patient-immunizations-app/src/immunizations/immunizations-form.component.tsx
Outdated
Show resolved
Hide resolved
packages/esm-patient-immunizations-app/src/immunizations/immunizations-form.component.tsx
Outdated
Show resolved
Hide resolved
packages/esm-patient-immunizations-app/src/immunizations/immunizations-form.component.tsx
Show resolved
Hide resolved
packages/esm-patient-immunizations-app/src/hooks/useImmunizations.tsx
Outdated
Show resolved
Hide resolved
packages/esm-patient-immunizations-app/src/hooks/useImmunizationsConceptSet.tsx
Outdated
Show resolved
Hide resolved
packages/esm-patient-immunizations-app/src/hooks/useImmunizations.tsx
Outdated
Show resolved
Hide resolved
...esm-patient-immunizations-app/src/immunizations/immunizations-detailed-summary.component.tsx
Outdated
Show resolved
Hide resolved
81f3ee8
to
f09707a
Compare
@ibacher @denniskigen updated |
packages/esm-patient-immunizations-app/src/hooks/useImmunizations.ts
Outdated
Show resolved
Hide resolved
Also, might it make for a better UX to disambiguate between create and edit mode when using the Immunizations form in the workspace? Here I'm editing an existing immunization, yet the workspace title is the same that you'd see when creating an immunization: edit-mode-for-an-existing-vaccination.mp4 |
@denniskigen That is an implementation detail; for the RefApp we may have to fix this in CIEL: https://app.openconceptlab.org/#/orgs/CIEL/sources/CIEL/concepts/984/ |
aed7af5
to
968a8b0
Compare
I'm terrible at CSS; but hopefully, this passes the bar:
@denniskigen Do we have a standard way of going about this? The form title is defined at workspace registration; Qn: Is it possible to change the workspace title during the workspace launch? If not do we want to register two workspaces? |
Yeah, that'd require more than one workspace registration, which is probably not what you want to do. Also, CSS is fine. |
The title is also overrideable in the call to Speaking of which, we prefer to use |
@ibacher I knew it was possible to override the workspace title (I've done it in the past); Revisiting the workspace API as a refresher I got confused whether it was still supported. I feel like the API isn't explicit enough on the support of overriding the title. export function launchPatientWorkspace(name: string, additionalProps?: object) {
//
} In the doc, it implies that |
Separate from the form title discussion, I've taken the liberty to push a couple of commits on top of your work which fix various issues with styling, @samuelmale. |
Well, that's because to the API at that point,
Kind of works, but is annoying... |
@samuelmale, have you been able to attempt Ian's suggestion? And, @ibacher, have all the changes you requested been addressed? |
Requirements
Summary
This pull request addresses and resolves issues related to the Immunization package, which was previously broken and non-functional.
Key Changes
Screenshots
Demo:
https://www.loom.com/share/ddcf5b602d5244fbbf86ba2739c9bb37?sid=f1294f54-d6ff-4ee5-a7c6-d473168752df
Related Issue