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

BB2-1728: Proof of concept for C4DIC implementation #90

Draft
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

jimmyfagan
Copy link
Contributor

@jimmyfagan jimmyfagan commented Jan 27, 2025

JIRA Ticket:
BB2-1728

What Does This PR Do?

This PR provides a proof of concept for a front-end application that could make use of C4DIC implementation in BB2. Many of the changes here include reading from C4DIC resources, and populating a new tab on the sample client for the Digital Insurance Card rendering. There are various style and typescript changes to go along with that. Much of this was work was done by primarily backend engineers, so there is likely much room for refactoring.

Additionally, some sample data for c4dic was added to allow for this to be tested with default data without a functioning BB2 server running.

Future work would include:

  • Creating a better default view in the insurance card tab when no data is loaded.

Corresponding changes to the web server can be viewed at this draft PR.

What Should Reviewers Watch For?

If you're reviewing this PR, please check for these things in particular:
Are there any changes here that were helpful for the prototyping, but which aren't useful in the long term?

Validation

I would recommend setting useDefaultDataButton in patientData.tsx to true, running docker-compose up -d --build, and then going to http://localhost:3000/, clicking Load default data, and navigating to the insurance card tab.

loganbertram and others added 21 commits July 3, 2024 10:53
…fd.cms.gov, hack client config ENV=LOCAL: replace localhost with host IP e.g. 192.168.0.104 to workround a connect issue...
…ntained C4DIC Org, render coverage info using C4DIC Color Palette extension etc.
…feature-branch

jimfuqian/BB2-3280 Update POC frontend for C4DIC according to designs from FIGMA
* First pass of edits

* Render logo and bcg

* Fix layout, add contact, addl info, etc

* Remove some unneeded data fields

* Adjustments from self-review
* First pass of edits

* Render logo and bcg

* Fix layout, add contact, addl info, etc

* Remove some unneeded data fields

* Adjustments from self-review

* Updates to C4DIC
* Upgrade ds library, adjust contract id for part c/d, minor formatting adjustments

* Revert ds update
* Upgrade ds library, adjust contract id for part c/d, minor formatting adjustments

* Revert ds update

* Adjustments to C4DIC POC

* Add default data and adjust spacing for vertical alignment

* Changes from self-review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants