There should be the ability to document Social Work information for a patient.
This MUST be done after #2487
Social Work tab
There should be a new tab called Social Work on the patient profile screen. Under this tab there will be two sections, one titled Family Information and the other titled Expenses. This issue deals with the Expenses section.
The Expenses section must be displayed below the Family Information section
Expenses
When the Social Work tab is active, there should be a button labelled "Add Expense", that allows a user to add a new expense for this patient.
The Social Work tab should also display a table of information showing the already entered expenses.
IMPORTANT NOTE: The images below is just for illustration purposes only. Styling must be as per the existing styles for forms, tables and buttons in other parts of the application.
When the user clicks on the Add Expense button, they should be prompted to enter the following information:
category: clothing|education|electricity|food|fuel|other|rent|transportation|water
sources: string
cost: number
This should create a expenses object entry under the patient
A expenses entry should also contain the following information that is auto generated by the system:
id: string
createdAt: string
updatedAt: string
The table of expenses should show the category, sources and cost.
The user must be able to edit or delete each entry listed in the table.
Technical Notes
The routing should work similarly to the care plan routing
Motivation
Social Determinants of Health (SDOH) are important to capture as they help give the healthcare workers a better idea of factors that could potentially affect the patient's well being
🚀 Feature Proposal
There should be the ability to document Social Work information for a patient. This MUST be done after #2487
Social Work tab
There should be a new tab called Social Work on the patient profile screen. Under this tab there will be two sections, one titled Family Information and the other titled Expenses. This issue deals with the Expenses section. The Expenses section must be displayed below the Family Information section
Expenses
When the Social Work tab is active, there should be a button labelled "Add Expense", that allows a user to add a new expense for this patient.
The Social Work tab should also display a table of information showing the already entered expenses.
IMPORTANT NOTE: The images below is just for illustration purposes only. Styling must be as per the existing styles for forms, tables and buttons in other parts of the application.
This should create a expenses object entry under the patient
A expenses entry should also contain the following information that is auto generated by the system:
The table of expenses should show the category, sources and cost.
The user must be able to edit or delete each entry listed in the table.
Technical Notes
Motivation
Social Determinants of Health (SDOH) are important to capture as they help give the healthcare workers a better idea of factors that could potentially affect the patient's well being