We would like dedupliFHIR to use USWDS. Additionally, users need to upload their patient data records (in the form of FHIR + CSV) in order to use this tool so a Upload File Screen is needed.
Uses USWDS components. Specifically used the USWDS file input component to obtain file information and data. Removed previous system file input code as a result.
Error Alert displays if no file has been selected/uploaded during submission.
USWDS file input throws its own error if incorrect file type has been selected. This component also limits to only 1 file to be uploaded.
Note: Will create a separate PR to set up and use electron-vite
Result
Users can select and upload a FHIR (json) or CSV file.
Created Upload File Screen + Usage of USWDS
Problem
We would like dedupliFHIR to use USWDS. Additionally, users need to upload their patient data records (in the form of FHIR + CSV) in order to use this tool so a Upload File Screen is needed.
Solution
Created the Upload File Screen (Figma):
Note: Will create a separate PR to set up and use electron-vite
Result
Users can select and upload a FHIR (json) or CSV file.