Social Work: Add ability for documenting family information for a patient

Author: blestabCreated Dec 5, 2020Updated Feb 7, 2022
Labels🚀enhancementin progresspatientsLOE - medium

Feature Proposal

There should be the ability to document a Social Work information for a patient. This issue MUST be completed before #2488

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 Family Information section

Family Information

When the Social Work tab is active, there should be a button labelled "Add Family Member", that allows a user to add a new family member. The Social Work tab should also display a table of information showing the already entered family members.

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. image

When the user clicks on the Add Family Member button, they should be prompted to enter the following information:

image

name: string
age: number
civilStatus: string
relationship: string              NOTE: labelled as "Relationship to Patient"
education: string
occupation: string
income: number
insurance: string

This should create a family object entry under the patient

A family entry should also contain the following information that is auto generated by the system:

id: string
createdAt: string
updatedAt: string
  • The table of family members should show the name, age, relationship to patient, occupation, income and insurance.
  • 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

Source: HospitalRun/hospitalrun-frontend