Closed pete-gov closed 3 years ago
Depends on #90 and associated implementation tickets. Related to #46 as these two tickets will likely use the same dispatch code.
Prioritize for AFTER the backend is built to figure out the best approach for this
Did this a different way, patient upload implemented in api
In #54 we created basic functionality to screen and process a patient CSV file. This is loaded into an object and displayed for review. One the upload is confirmed, this data needs to be loaded into the data store for the application (which is currently incomplete).
Reference:
https://github.com/CDCgov/prime-data-input-client/blob/main/frontend/src/app/patients/ManagePatients.jsx
jsonImport.data
objectCSVModalForm.jsx
in theCSVModalForm
function via thedata
objecthttps://github.com/CDCgov/prime-data-input-client/blob/main/frontend/src/app/patients/CSVModalForm.jsx
data.data
objectConfirm Import
buttons currently have empty on-click functions, this is where the function needs to be built to add data into the data store