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

Clinic card screens #13

Open
wants to merge 159 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
c06768e
Merge pull request #15 from palladiumkenya/new_UI
NewtonMutugi Jul 16, 2024
9463919
Started the Period Tracker feature
Eugene600 Jul 23, 2024
1f9ad70
Added a Get Started Page for stating the features of the Period Plann…
Eugene600 Jul 23, 2024
d7cf627
added a menu for Period Planner
Eugene600 Jul 23, 2024
04eea22
added calendar on period planner screen and calendar as well
Eugene600 Jul 24, 2024
571ddd9
Added Carousel Slider but needs more improvement though
Eugene600 Jul 24, 2024
fc5ab7f
added showModalBottomSheet widget for logging mood, symptoms and disc…
Eugene600 Jul 25, 2024
39266d4
Added highlighting on ovulation, period and fertile days in the cale…
Eugene600 Jul 26, 2024
bc966e9
added another calendar to allow new users to log their previous period.
Eugene600 Jul 26, 2024
2edf0b2
Developed Algorithm for predicting various events in the menstrual cycle
Eugene600 Jul 31, 2024
5808f63
Ensuring the various events are being displayed in the calendar
Eugene600 Aug 1, 2024
6c764b1
Ensuring State of Track Period Screen responds to when user logs peri…
Eugene600 Aug 1, 2024
392b6c2
Managing state when user logs end of period
Eugene600 Aug 2, 2024
ffbf229
Enabling updating of period days for First Time users in Log Periods …
Eugene600 Aug 5, 2024
12c0a29
Handling Overdue Period Days
Eugene600 Aug 5, 2024
3b5ef8b
Added event utils to handle generating of new events
Eugene600 Aug 6, 2024
132a68d
Debugging
Eugene600 Aug 8, 2024
cb2433f
debugging2
Eugene600 Aug 9, 2024
ceda6b1
Handled Routing, needs more work though
Eugene600 Aug 9, 2024
1989a70
Allowing users to add next period days manually
Eugene600 Aug 9, 2024
d0fe060
Handling overlapping of previous cycles' predicted days and current c…
Eugene600 Aug 9, 2024
68520d9
Handling Selection of Multiple days by adding a Toggle Button
Eugene600 Aug 13, 2024
e9b12a0
Allowing autofilling of the next six period days if a user selects on…
Eugene600 Aug 13, 2024
3994e96
Removed selection of Multiple days.
Eugene600 Aug 15, 2024
9e75651
Preventing user from logging already selected period date from previo…
Eugene600 Aug 15, 2024
2d6858d
Restricting Users from selecting more than 7 period days.
Eugene600 Aug 15, 2024
0f59a2c
Adding an edit Periods screen but still needs a lot of work though.
Eugene600 Aug 16, 2024
7a7d4a0
Calendar Showing Events to be displayed in a Modal Bottom Sheet
Eugene600 Aug 19, 2024
d9ad57f
Preparing to merge with dev branch
Eugene600 Aug 20, 2024
15a590b
:ambulance: user provider refresh on login
Ogollah Aug 20, 2024
58f5e2c
Merge branch 'menstrual_calendar' into new_UI
Eugene600 Aug 20, 2024
0a9e5b9
Merge pull request #5 from Eugene600/new_UI
Eugene600 Aug 20, 2024
1dce2b9
:ambulance: user provider refresh on login
Ogollah Aug 20, 2024
ae2f6dd
Worked on making Algorithm more flexible.
Eugene600 Aug 21, 2024
f2e8a2d
:construction: Add chat hcw
Ogollah Aug 22, 2024
c135a4f
:ambulance: Fix VL lable
Ogollah Aug 22, 2024
fe69d97
Merge branch 'cho_rename_vl_lable' into nishauri_chat
Ogollah Aug 22, 2024
c014855
Merge pull request #24 from NewtonMutugi/new_UI
NewtonMutugi Aug 22, 2024
8a99b6a
Add chat user list
Ogollah Aug 22, 2024
2674fb1
Refactor BMICalculatorScreen to calculate user's age dynamically
NewtonMutugi Aug 22, 2024
c03c41f
Adjust Algorithm by adding a cap on the average cycle and period length
Eugene600 Aug 22, 2024
0f3dc36
Add age fetching functionality to BMICalculatorScreen
NewtonMutugi Aug 23, 2024
80d0f21
Add hcw user list
Ogollah Aug 23, 2024
d3d1f2c
Handled cases where user period days collides with fertile and ovulat…
Eugene600 Aug 23, 2024
409b9c6
Testing
Eugene600 Aug 23, 2024
a3c2afb
Adjusting a few Terminologies used in the Application
Eugene600 Aug 23, 2024
a5382b2
Updated user age module
NewtonMutugi Aug 26, 2024
db20661
Changed the routing for the application, made some few changes on the…
Eugene600 Aug 27, 2024
045ef9b
Handling cases whereby new users and regular users interact with the …
Eugene600 Aug 28, 2024
a605852
Merge pull request #6 from palladiumkenya/new_UI
Eugene600 Aug 28, 2024
9a44e83
Added Period History in the Menstrual Calendar Feature
Eugene600 Aug 29, 2024
8407c0f
Grouping the cycles by their years and making sure the latest cycle i…
Eugene600 Aug 29, 2024
7f17019
Started working on allowing editing of period days from history altho…
Eugene600 Aug 30, 2024
a881f2b
Ensuring every entry in the period history has its own card and makin…
Eugene600 Sep 2, 2024
5fc7f9f
Allowing users to edit their periods however there are some issues to…
Eugene600 Sep 2, 2024
3491056
Fix BMI fetch age, update program, reschedule appointment
Ogollah Sep 3, 2024
42aa01e
Merge branch 'menstrual_calendar' into version2_0_1
Ogollah Sep 3, 2024
931da26
Merge branch 'nishauri_chat' into version2_0_1
Ogollah Sep 3, 2024
72e9ab7
Merge branch 'bmi_fix' into version2_0_1
Ogollah Sep 3, 2024
ea8707d
redesign update program dialogue
Ogollah Sep 4, 2024
3df3ca6
Merge branch 'bmi_fix' into version2_0_1
Ogollah Sep 4, 2024
a9a998a
:construction: insight info on self screening
Ogollah Sep 4, 2024
53a1708
Fix overflow
Ogollah Sep 4, 2024
e9ffe0e
Merge branch 'bmi_fix' into version2_0_1
Ogollah Sep 4, 2024
64ca705
Worked on making Algorithm more flexible.
Eugene600 Aug 21, 2024
51bc26b
Adjust Algorithm by adding a cap on the average cycle and period length
Eugene600 Aug 22, 2024
02b1fbe
Handled cases where user period days collides with fertile and ovulat…
Eugene600 Aug 23, 2024
5c4250b
Testing
Eugene600 Aug 23, 2024
47809b9
Adjusting a few Terminologies used in the Application
Eugene600 Aug 23, 2024
baf77b6
Changed the routing for the application, made some few changes on the…
Eugene600 Aug 27, 2024
2f2f338
Handling cases whereby new users and regular users interact with the …
Eugene600 Aug 28, 2024
fe519f1
Added Period History in the Menstrual Calendar Feature
Eugene600 Aug 29, 2024
626d619
Grouping the cycles by their years and making sure the latest cycle i…
Eugene600 Aug 29, 2024
28bca99
Started working on allowing editing of period days from history altho…
Eugene600 Aug 30, 2024
b57cf68
Ensuring every entry in the period history has its own card and makin…
Eugene600 Sep 2, 2024
29c6b3c
Allowing users to edit their periods however there are some issues to…
Eugene600 Sep 2, 2024
0dd4e17
Merge branch 'palladiumkenya-version2_0_1' into menstrual_calendar
Eugene600 Sep 5, 2024
6ba97de
:construction: Add insight
Ogollah Sep 6, 2024
a2b68bb
Ensured the state updates in all the screens in use when user edits p…
Eugene600 Sep 6, 2024
38aaaf2
program update
Ogollah Sep 9, 2024
3f61bf2
Merge branch 'bmi_fix' into version2_0_1
Ogollah Sep 9, 2024
818e26d
Added a validation of ensuring a user cannot select future dates and …
Eugene600 Sep 9, 2024
c29fdd0
Add pop up dialogue on first installation
Ogollah Sep 10, 2024
12809de
Merge branch 'bmi_fix' into version2_0_1
Ogollah Sep 10, 2024
bdcdffd
Worked on making Algorithm more flexible.
Eugene600 Aug 21, 2024
a19e39e
Adjust Algorithm by adding a cap on the average cycle and period length
Eugene600 Aug 22, 2024
e65610c
Handled cases where user period days collides with fertile and ovulat…
Eugene600 Aug 23, 2024
287810b
Testing
Eugene600 Aug 23, 2024
ed411a6
Adjusting a few Terminologies used in the Application
Eugene600 Aug 23, 2024
37665f8
Changed the routing for the application, made some few changes on the…
Eugene600 Aug 27, 2024
f012502
Handling cases whereby new users and regular users interact with the …
Eugene600 Aug 28, 2024
d83118d
Added Period History in the Menstrual Calendar Feature
Eugene600 Aug 29, 2024
56e7f35
Grouping the cycles by their years and making sure the latest cycle i…
Eugene600 Aug 29, 2024
1542427
Started working on allowing editing of period days from history altho…
Eugene600 Aug 30, 2024
f6303ea
Ensuring every entry in the period history has its own card and makin…
Eugene600 Sep 2, 2024
1e5482c
Allowing users to edit their periods however there are some issues to…
Eugene600 Sep 2, 2024
cb0ecd6
Added a validation of ensuring a user cannot select future dates and …
Eugene600 Sep 10, 2024
22bd933
Added conditiion for period planner in self screening menu whereby it…
Eugene600 Sep 10, 2024
d4e35b7
:construction: insight
Ogollah Sep 11, 2024
c80ac32
Handled the calculation of cycle length and period length together wi…
Eugene600 Sep 11, 2024
64a5fae
Ensuring the latest cycle event is display in the history only if use…
Eugene600 Sep 12, 2024
736bee2
Handling period overdue days by using shared preferences needs more w…
Eugene600 Sep 12, 2024
0a5c009
settings
Ogollah Sep 13, 2024
6b76154
fix chat bot
Ogollah Sep 16, 2024
1ab55e9
:construction: provider facing
Ogollah Sep 17, 2024
4cc263e
Adjusting the menstrual calendar feature to get, post and edit cycles…
Eugene600 Sep 24, 2024
4ab071b
:construction: add app request confirmation dialog
Ogollah Sep 26, 2024
4848b6c
Added a new user screen to handle new users using application and sce…
Eugene600 Sep 30, 2024
3308206
Removed new user screen and instaed added a condition for displaying …
Eugene600 Sep 30, 2024
f29b2b8
Merge pull request #9 from palladiumkenya/version2_0_1
Eugene600 Sep 30, 2024
4191b77
:construction: add dawa drop request management
Ogollah Sep 30, 2024
bbbb01d
:construction: add dawa drop request management
Ogollah Sep 30, 2024
1a45849
custom count budge
Ogollah Sep 30, 2024
46a651f
custom count budge
Ogollah Sep 30, 2024
0608bb2
:construction: shr
Ogollah Oct 11, 2024
2589211
:construction: Add provider location selectoin
Ogollah Oct 14, 2024
c1881a0
Add provider details
Ogollah Oct 15, 2024
0d35940
:construction: Design screening main menu
Ogollah Oct 18, 2024
3d9cd43
move blood sugar to screen
Ogollah Oct 18, 2024
87ff193
refactor bs
Ogollah Oct 22, 2024
563bdda
move bp to self screening module
Ogollah Oct 22, 2024
6960bcf
:construction: ref blood pressure
Ogollah Oct 23, 2024
12d01db
:construction: refactor custom App Bar
Ogollah Oct 23, 2024
451c215
refacor blood pressure records
Ogollah Oct 23, 2024
55bb941
:construction: add blood sugar records
Ogollah Oct 23, 2024
b48a5e2
:constaruction: Add bp input form
Ogollah Oct 24, 2024
b5e87ce
add notes controller
Ogollah Oct 24, 2024
f12b6b3
:construction: add input form for blood sugar
Ogollah Oct 24, 2024
4cac28a
Add condition to check current entries in bp and bs
Ogollah Oct 25, 2024
5b3b4cd
add advice for blood pressure satus.
Ogollah Oct 25, 2024
69e7378
:construction: conditional advice ps
Ogollah Oct 28, 2024
23d69d6
:construction: Start my clinic card ref
Ogollah Oct 28, 2024
a9a8469
Add health record screen
Ogollah Oct 28, 2024
e12882b
Add validations BS
Ogollah Oct 29, 2024
7566d2c
Move BMI to Self screening module
Ogollah Oct 31, 2024
0e257b5
Move BMI to Self screening module
Ogollah Oct 31, 2024
cb6fb34
Add BMI card on self screening screen
Ogollah Oct 31, 2024
062c13d
Refactor BMI
Ogollah Nov 4, 2024
06c487c
Add divider on health cards
Ogollah Nov 5, 2024
a54d0fa
Merge pull request #9 from palladiumkenya/self_screen_ref
Ogollah Nov 5, 2024
c31b1a0
:construction: Clinic card
Ogollah Nov 5, 2024
0407443
:construction: Add date filter
Ogollah Nov 7, 2024
3534595
:construction: (feat) add dependant
Ogollah Nov 11, 2024
556216f
dependant
Ogollah Nov 12, 2024
f28a7be
font-size
vicky-ogutu Nov 12, 2024
74041ca
(fix) fix nav bar widget
Ogollah Nov 12, 2024
93e0ae2
(feat) Add vitals records screen
Ogollah Nov 12, 2024
cff5b81
Immunization
vicky-ogutu Nov 12, 2024
efbf4c4
paths-range
vicky-ogutu Nov 12, 2024
73a4fb8
(cho) Refactor selected date range function
Ogollah Nov 13, 2024
6296c7d
medication
vicky-ogutu Nov 13, 2024
926d909
(feat) add allergy screen
Ogollah Nov 13, 2024
88f7919
(feat) Add lab results screen
Ogollah Nov 13, 2024
08bf755
(cho) Add icons on item filter
Ogollah Nov 13, 2024
7b45b3f
(cho) Add values to constants
Ogollah Nov 15, 2024
ffb2e5a
(feat) Add BMI graphs
Ogollah Nov 15, 2024
8326560
:construction: consume bmi filter end point
Ogollah Nov 26, 2024
7d68eda
Merge pull request #10 from palladiumkenya/clinic_card_fer
Ogollah Nov 26, 2024
3e39b2b
dependent-screens
vicky-ogutu Dec 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion assets/data/appointments.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"appointment_date": "Tuesday, April 30 2024",
"date_attended": null,
"appt_status": "Reschedule Pending Approval",
"r_status": "0",
"": "0",
"appointment": "05-04-2024"
}
]
Expand Down
40 changes: 40 additions & 0 deletions assets/data/blood_pressure_advice.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"bloodPressureCategories": [
{
"status": "Optimal",
"systolic": "<120",
"diastolic": "<80",
"advice": "Maintain a healthy lifestyle with regular exercise, a balanced diet rich in fruits and vegetables, and limit salt intake."
},
{
"status": "Normal",
"systolic": "120-129",
"diastolic": "<80",
"advice": "Continue healthy habits; monitor your blood pressure regularly. Aim for physical activity most days of the week."
},
{
"status": "Elevated",
"systolic": "130-139",
"diastolic": "<80",
"advice": "Adopt a heart-healthy diet, reduce sodium intake, and increase physical activity. Consider stress management techniques."
},
{
"status": "Hypertension Grade 1",
"systolic": "140-159",
"diastolic": "80-89",
"advice": "Consult a healthcare provider for lifestyle changes, such as weight management, and possible medication. Regular monitoring is crucial."
},
{
"status": "Hypertension Grade 2",
"systolic": "160-179",
"diastolic": "90-109",
"advice": "Seek medical advice for more intensive management and treatment options. Focus on a low-sodium diet and consistent exercise."
},
{
"status": "Hypertension Grade 3",
"systolic": "≥180",
"diastolic": "≥110",
"advice": "Immediate medical attention is necessary. Follow a strict treatment plan, including medication adherence and regular follow-ups with your healthcare provider."
}
]
}
24 changes: 24 additions & 0 deletions assets/data/blood_sugar_advice.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"status": [
{
"label": "Normal",
"description": "Blood sugar levels are within the normal range.",
"advice": "Maintain a balanced diet and regular exercise to keep your blood sugar stable."
},
{
"label": "Impaired Fasting",
"description": "Blood sugar levels are elevated after fasting.",
"advice": "Consider lifestyle changes such as a healthier diet, regular physical activity, and monitoring your blood sugar levels."
},
{
"label": "Impaired Glucose Tolerance",
"description": "Blood sugar levels are elevated after meals.",
"advice": "Implement dietary changes, increase physical activity, and consult a healthcare professional for a personalized plan."
},
{
"label": "Diabetes",
"description": "Blood sugar levels indicate diabetes.",
"advice": "Seek medical advice for a comprehensive management plan, including medication, diet, and exercise."
}
]
}
65 changes: 0 additions & 65 deletions assets/data/previous.json

This file was deleted.

20 changes: 20 additions & 0 deletions assets/data/provider.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"success": false,
"message": "Provider already exist locally",
"provider": {
"id": 1,
"family_name": "MAKORI",
"given_name": "DENNIS ONDENYO",
"salutation": "Dr.",
"national_id": 32923183,
"license_number": "K-ANN-2024-002180",
"board_number": "PUID-002179",
"cadre": "Optometrist",
"gender": "UNSPECIFIED",
"facility_code": null,
"user_id": 53,
"createdAt": "2024-10-09T07:10:06.000Z",
"updatedAt": "2024-10-09T07:10:06.000Z",
"deletedAt": null
}
}
36 changes: 36 additions & 0 deletions assets/data/reschedule.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[
{
"id": "3123045",
"ccc_no": "1234500002",
"appointment_type": "Re-Fill",
"appointment_date": "Thursday, August 10 2023",
"reschedule_date": "Tuesday, January 9 2024",
"facility_name": "Milimani Dispensary",
"appt_status": "Reschedule Pending Approval",
"reschedule_reason": "I will be a way this week",
"reschedule_status": "0"
},
{
"id": "3123046",
"ccc_no": "12345000023",
"appointment_type": "Re-Fill",
"appointment_date": "Tuesday, August 8 2023",
"reschedule_date": "Tuesday, January 9 2024",
"facility_name": "Milimani Dispensary",
"appt_status": "Reschedule Pending Approval",
"reschedule_reason": "I will be a way this week",
"reschedule_status": "0"
}
,
{
"id": "3123047",
"ccc_no": "1234500001",
"appointment_type": "Re-Fill",
"appointment_date": "Tuesday, August 8 2023",
"reschedule_date": "Tuesday, January 9 2024",
"facility_name": "Milimani Dispensary",
"appt_status": "Reschedule Pending Approval",
"reschedule_reason": "I will be a way this week",
"reschedule_status": "0"
}
]
50 changes: 50 additions & 0 deletions assets/data/self_screening_bs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[
{
"id": "1",
"image": "assets/images/doctors.svg",
"source": "assets/images/doctors.svg",
"header": "Insight Blood Sugar",
"title": "What is blood sugar",
"description": "According to the World Health Organization (WHO), blood sugar is defined as the amount of glucose present in the blood. Blood sugar is usually expressed in terms of two measurements: **fasting blood sugar** (the level of glucose in the blood after an overnight fast) and **postprandial blood sugar** (the level of glucose in the blood after a meal).\n\n **Blood Sugar Classification (WHO, 2018)**\n- **Normal blood sugar:** Less than 100 mg/dL (fasting) and less than 140 mg/dL (postprandial).\n- **Impaired fasting glucose:** 100-125 mg/dL (fasting).\n- **Impaired glucose tolerance:** 140-199 mg/dL (postprandial).\n- **Diabetes:** 126 mg/dL or higher (fasting) and 200 mg/dL or higher (postprandial).\n\n **Source:**\n- *World Health Organization. (2018). WHO Guidelines for the Management of Diabetes.*"
},
{
"id": "2",
"image": "assets/images/heart.svg",
"source": "assets/images/heart.svg",
"header": "Insight Blood Sugar",
"title": "Details of blood sugar level",
"description": "According to the World Health Organization (WHO), the following are the details of blood sugar levels:\n\n **Blood Sugar Classification (WHO, 2018)**\n- **Normal blood sugar:**\n- *Fasting blood sugar: Less than 100 mg/dL*\n- *Postprandial blood sugar: Less than 140 mg/dL*\n- **Impaired fasting glucose:**\n- *Fasting blood sugar: 100-125 mg/dL*\n- **Impaired glucose tolerance:**\n- *Postprandial blood sugar: 140-199 mg/dL*\n- **Diabetes:**\n- *Fasting blood sugar: 126 mg/dL or higher*\n- *Postprandial blood sugar: 200 mg/dL or higher*\n\n **Additional definitions:** \n- **Glycemic control:** The ability to maintain blood sugar levels within a target range.\n- **Hypoglycemia:** Blood sugar levels below 70 mg/dL.\n- **Hyperglycemia:** Blood sugar levels above 180 mg/dL.\n\n **WHO Guidelines for Blood Sugar Measurement**\n- Blood sugar should be measured in a fasting state, at least 8 hours after the last meal.\n- The measurement should be taken using a glucometer or a laboratory test.\n- Two or more readings should be taken, with the average value used for classification.\n\n **Interpretation of Blood Sugar Readings**\n- **Single reading:** A single blood sugar reading is not sufficient to diagnose diabetes. Multiple readings should be taken over time to confirm the diagnosis.\n- **Variability:** Blood sugar can vary throughout the day. A single reading may not accurately reflect an individual's usual blood sugar.\n- **Trend:** A trend of increasing blood sugar over time is more important than a single reading.\n\n**Note:** \n- It's essential to note that these values are general guidelines, and individual cases may vary. It's always best to consult with a healthcare professional for a proper diagnosis and management of blood sugar levels.\n- These reference values are for adults aged 18 years and older.\n\n\n **Source:**\n- *World Health Organization. (2018). WHO Guidelines for the Management of Diabetes.*"
},
{
"id": "3",
"image": "assets/images/insight_board.svg",
"source": "assets/images/insight_board.svg",
"header": "Module Disclaimer",
"title": "Disclaimer",
"description": "Self-screening is intended for monitoring and tracking your health, not for diagnosing medical conditions.\n\n\nUsers can input their daily measurement readings into the app, which then generates charts and graphs to help monitor their health based on the data provided. Please note that the app does not measure the readings itself but only records and tracks the user-entered data.\n\nThe app currently draws information from reputable sources such as the CDC and WHO. However, please be aware that the data provided may not always reflect real-life situations accurately.\n\nThe app is intended for informational purposes only and is not a medical device. Users experiencing health issues should consult with doctors or healthcare professionals for appropriate advice and treatment."
},
{
"id": "4",
"image": "assets/images/Medical prescription-bro.svg",
"source": "assets/images/Medical prescription-bro.svg",
"header": "Insight Blood Sugar",
"title": "How to prevent and manage high and low blood sugar",
"description": "According to the World Health Organization (WHO), preventing and managing high and low blood sugar requires a combination of lifestyle changes, dietary modifications, and medical treatment. Here are the WHO-recommended guidelines for preventing and managing high and low blood sugar:\n\n **Prevention:**\n- **Maintain a healthy lifestyle:** Engage in regular physical activity, eat a balanced diet, and avoid smoking and excessive alcohol consumption.\n- **Monitor blood sugar:** Regularly monitor blood sugar to detect any changes or abnormalities.\n- **Get enough sleep:** Aim for 7-8 hours of sleep per night to help regulate blood sugar.\n **Dietary Recommendations:**\n- **Eat a balanced diet:** Focus on whole, unprocessed foods like vegetables, fruits, whole grains, lean proteins, and healthy fats.\n- **Choose low-carb foods:** Limit foods high in carbohydrates, added sugars, and saturated fats.\n- **Stay hydrated:** Drink plenty of water and other fluids to help regulate blood sugar.\n- **Limit caffeine and nicotine:** Both caffeine and nicotine can cause blood sugar to rise.\n\n **Management:**\n- **Medications:** If you have diabetes, your doctor may prescribe medications to help manage blood sugar. These medications may include:\n- *Metformin (Glucophage) to decrease glucose production in the liver*\n- *Sulfonylureas (Glyburide) to stimulate insulin release*\n- *Pioglitazone (Actos) to increase insulin sensitivity*\n- **Insulin therapy:** If you have type 1 diabetes or insulin-dependent type 2 diabetes, you may need insulin therapy to manage blood sugar.\n- **Monitoring:** Regularly monitor blood sugar to adjust treatment as needed.\n\n**Managing High Blood Sugar Episodes:**\n- **Drink water:** Drink water or other fluids to help lower blood sugar.\n- **Take medication:** Take medication as prescribed by your doctor to help lower blood sugar.\n- **Eat a snack:** Eat a snack rich in carbohydrates and protein to help lower blood sugar.\n- **Avoid strenuous activity:** Avoid strenuous activity until blood sugar returns to normal.\n\n**Managing Low Blood Sugar Episodes:**\n- **Eat a snack:** Eat a snack rich in carbohydrates and protein to help raise blood sugar.\n- **Drink juice or soda:** Drink juice or soda to help raise blood sugar.\n- **Take glucose tablets:** Take glucose tablets as prescribed by your doctor to help raise blood sugar.\n- **Seek medical attention:** Seek medical attention if symptoms persist or worsen.\n\n**WHO Guidelines for Blood Sugar Management:**\n- **Definition:** High blood sugar is defined as a fasting blood sugar ≥ 126 mg/dL or a postprandial blood sugar ≥ 200 mg/dL.\n- **Classification:** High blood sugar can be classified into three categories:\n- **Mild:** fasting blood sugar 126-140 mg/dL or postprandial blood sugar 200-240 mg/dL\n- **Moderate:** fasting blood sugar 141-160 mg/dL or postprandial blood sugar 241-280 mg/dL\n- **Severe:** fasting blood sugar ≥ 161 mg/dL or postprandial blood sugar ≥ 281 mg/dL\n- **Treatment goals:** The treatment goal for high blood sugar is to achieve a fasting blood sugar < 100 mg/dL and a postprandial blood sugar < 140 mg/dL.\n\n**Source:**\n- *World Health Organization. (2018). Diabetes*\n- *World Health Organization. (2019). Blood Sugar*\n- *World Health Organization. (2018). Guidelines for the Management of Diabetes*"
},
{
"id": "5",
"image": "assets/images/pills.svg",
"source": "assets/images/pills.svg",
"header": "Insight Blood Sugar",
"title": "Knowledge of blood sugar drugs",
"description": "According to the World Health Organization (WHO), the following are some common blood sugar drugs, their mechanisms of action, and potential side effects:\n\n**Metformin:**\n- **Mechanism of action:** Decreases glucose production in the liver and increases insulin sensitivity.\n- *Side effects: Gastrointestinal upset, diarrhea, abdominal pain.*\n\n**Sulfonylureas:**\n- **Mechanism of action:** Stimulates insulin release from the pancreas.\n- *Side effects: Hypoglycemia, weight gain, skin rash.*\n\n**Pioglitazone:**\n- **Mechanism of action:** Increases insulin sensitivity and decreases glucose production in the liver.\n- *Side effects: Edema, weight gain, increased risk of bladder cancer.*\n\n**Insulin:**\n- **Mechanism of action:** Lowers blood sugar by facilitating glucose uptake in cells.\n- *Side effects: Hypoglycemia, weight gain, injection site reactions.*\n\n**GLP-1 Receptor Agonists:**\n- **Mechanism of action:** Increases insulin release and decreases glucagon release.\n- *Side effects: Nausea, vomiting, diarrhea, increased risk of pancreatitis.*\n\n**SGLT-2 Inhibitors:**\n- **Mechanism of action:** Increases glucose excretion in the urine.\n- *Side effects: Genital mycotic infections, urinary tract infections, increased risk of kidney damage.*\n\n**WHO Guidelines for Blood Sugar Management:**\n- 1. **Lifestyle modifications**: Encourage lifestyle modifications, such as regular physical activity, a balanced diet, and stress reduction.\n- 2. **Pharmacological treatment**: Use pharmacological treatment to achieve a fasting blood sugar < 100 mg/dL and a postprandial blood sugar < 140 mg/dL.\n- 3. **Combination therapy**: Use combination therapy to achieve blood sugar targets, especially in patients with multiple risk factors.\n- 4. **Monitoring**: Regularly monitor blood sugar and adjust treatment as needed.\n\n**Sources:**\n- *World Health Organization. (2018).*\n- World Health Organization. (2019). Blood Sugar.*\n- World Health Organization. (2018). Guidelines for the Management of Diabetes.*"
},
{
"id": "6",
"image": "assets/images/food.svg",
"source": "assets/images/food.svg",
"header": "Insight Blood Sugar",
"title": "Foods to help manage high and low blood sugar",
"description": "According to the World Health Organization (WHO), the following foods can help manage high and low blood sugar:\n\n**Foods to Help Manage High Blood Sugar:**\n- **Leafy Greens:** Spinach, kale, and collard greens are rich in fiber, vitamins, and minerals that can help lower blood sugar.\n- **Berries:** Berries such as blueberries, strawberries, and raspberries are rich in antioxidants and fiber that can help lower blood sugar.\n- **Fatty Fish:** Fatty fish such as salmon, tuna, and mackerel are rich in omega-3 fatty acids that can help lower inflammation and improve insulin sensitivity.\n- **Whole Grains:** Whole grains such as brown rice, quinoa, and whole wheat bread can help lower blood sugar by reducing carbohydrate intake and increasing fiber intake.\n- **Legumes:** Legumes such as lentils, chickpeas, and black beans are rich in protein, fiber, and complex carbohydrates that can help lower blood sugar.\n- **Nuts and Seeds:** Nuts and seeds such as almonds, sunflower seeds, and pumpkin seeds are rich in healthy fats, protein, and fiber that can help lower blood sugar.\n- **Herbs and Spices:** Herbs and spices such as cinnamon, turmeric, and ginger have anti-inflammatory properties that can help lower blood sugar.\n- **Low-Fat Dairy:** Low-fat dairy products such as milk, cheese, and yogurt are rich in protein, calcium, and vitamins that can help lower blood sugar.\n\n**Foods to Help Manage Low Blood Sugar:**\n- **Fast-Acting Carbohydrates:** Foods high in fast-acting carbohydrates such as white bread, sugary snacks, and sweetened beverages can help raise blood sugar quickly.\n- **Fruits:** Fruits such as bananas, apples, and oranges are rich in natural sugars that can help raise blood sugar.\n- **Dried Fruits:** Dried fruits such as dates, apricots, and prunes are rich in natural sugars that can help raise blood sugar.\n- **Honey and Maple Syrup:** Honey and maple syrup are natural sweeteners that can help raise blood sugar.\n- **Candy and Chocolate:** Candy and chocolate are high in sugar and can help raise blood sugar quickly.\n\n**WHO Guidelines for Blood Sugar Management:**\n- **Dietary Recommendations:** Encourage a balanced diet that is low in added sugars, saturated fats, and refined carbohydrates, and high in whole, unprocessed foods.\n- **Carbohydrate Intake:** Limit carbohydrate intake to 45-65% of total daily calories.\n- **Fiber Intake:** Increase fiber intake to at least 25 grams per day.\n- **Protein Intake:** Increase protein intake to at least 0.8 grams per kilogram of body weight per day.\n\n**Sources:**\n- *World Health Organization. (2018).*\n- World Health Organization. (2019). Blood Sugar.*\n- World Health Organization. (2018). Guidelines for the Management of Diabetes.*"
}
]
Loading