Inspiration

Matri Care AI was born out of the pressing issue of maternal deaths in developing countries and the commitment to achieve Sustainable Development Goal (SDG) number 3, which aims to ensure healthy lives and promote well-being for all at all ages. The alarming rates of maternal mortality, particularly in resource-constrained regions, served as the inspiration to develop a solution that could provide personalized support and guidance to expectant and new mothers.

What it does

Matri Care AI leverages advanced technology to provide personalized analysis and guidance to both expectant and new mothers. By considering key parameters such as the period of pregnancy for expectant mothers and the age and gender of the child for existing mothers, Matri Care AI delivers tailored insights and advice to support maternal health and well-being. This open-source project utilizes AI algorithms and a wealth of data to offer evidence-based recommendations, empowering mothers with the knowledge they need to make informed decisions.

How we built it

The development of Matri Care AI involved a combination of innovative technologies and collaborative efforts. Dolly, an open-source instruction-tuned large language model developed by Databricks, served as the foundation for the project. The model was fine-tuned using Python to train it specifically for maternal health analysis. The code and related resources were stored on GitHub, facilitating seamless collaboration among the development team. To serve the AI model, an HTTP API using Replicate was set up, ensuring easy access and integration into various platforms. Finally, a user-friendly demo was created using PHP, HTML, and Bootstrap to showcase the capabilities of Matri Care AI.

Challenges we ran into

Throughout the development process, several challenges were encountered. Some of these challenges included:

  1. Data availability and quality: Acquiring comprehensive and reliable maternal health data, especially in developing countries, presented difficulties. Efforts were made to ensure data inclusivity and accuracy to deliver meaningful insights.
  2. Algorithm refinement: Fine-tuning the AI model to precisely address the specific parameters of maternal health required extensive experimentation and iterative refinement.
  3. Integration and deployment: Building a seamless and user-friendly interface to access and interact with Matri Care AI, while ensuring robust deployment and scalability, posed technical hurdles that were overcome through collaboration and innovative solutions.

Accomplishments that we're proud of

During the development of Matri Care AI, several accomplishments were achieved:

  1. Personalized maternal health support: Matri Care AI successfully provides personalized analysis and recommendations to expectant and new mothers, catering to their specific needs and circumstances.
  2. Open-source nature: Matri Care AI is an open-source project, ensuring transparency, collaboration, and the potential for further community-driven enhancements.
  3. Utilizing advanced AI technologies: By leveraging the power of AI and machine learning, Matri Care AI delivers cutting-edge solutions to address maternal health challenges.

What we learned

The journey of building Matri Care AI has been a valuable learning experience for the team involved. Key lessons learned include:

  1. Data-driven insights: The significance of comprehensive and high-quality data in generating accurate and meaningful insights for maternal health analysis.
  2. AI model fine-tuning: The iterative process of fine-tuning AI models to align them with specific domains and parameters, in this case, maternal health.
  3. Collaboration and open-source culture: The power of collaborative efforts and open-source development in fostering innovation, knowledge-sharing, and global impact.

What's next for Matri Care AI

Matri Care AI is just the beginning of a transformative journey in improving maternal health. The project has laid a strong foundation, and there are exciting plans for its future:

  1. Enhanced parameter analysis: Expand the range of parameters considered by Matri Care AI to provide even more comprehensive and personalized support to mothers, including factors such as socioeconomic background, geographical location, and cultural preferences.
  2. Integration with wearable devices and health trackers: Seamlessly integrate with wearable devices and health-tracking technologies to gather real-time data and provide continuous monitoring and feedback to mothers.
  3. Localization and multilingual support: Adapt Matri Care AI to different regions and languages, ensuring inclusivity and accessibility for mothers worldwide.
  4. Partnerships and community engagement: Forge partnerships with healthcare organizations, NGOs, and community groups to enhance the impact of Matri Care AI and foster greater awareness and adoption of maternal health best practices.

Matri Care AI is poised to make a significant difference in the lives of mothers and contribute to the global efforts in achieving SDG 3 by ensuring healthier lives and well-being for mothers and their children.

Testing Instructions

To test the Matri Care AI Demo and view personalized tips, follow these step-by-step instructions:

  1. Open a web browser and go to the following URL: https://concepts.mukhwana.guru/matricareai/demo.

  2. On the Matri Care AI Demo page, you will see two options: "Existing Mother Module" and "Expectant Mother Module". Choose the module that is relevant to you based on your current situation:

    • If you are an existing mother, click on the "Existing Mother Module" button.
    • If you are an expectant mother, click on the "Expectant Mother Module" button.
  3. If you selected the "Existing Mother Module," you will need to enter the following parameters:

    • Age of Child: Enter the age of your child in the provided input field.
    • Gender of Child: Enter the gender of your child in the provided input field.

If you selected the "Expectant Mother Module," you will need to enter the following parameters:

  • Period of Pregnancy: Enter the current period of your pregnancy in the provided input field.
  • Mother Health History: Provide details about your health history, including any relevant information, in the provided input field.
  1. After entering the required parameters, click on the "Submit" button to proceed.

  2. Wait for approximately 30 seconds to allow the Matri Care AI system to process the input and generate a personalized tip for you.

  3. Once the processing is complete, the output will be displayed on the screen. You will see a personalized tip or recommendation based on the information you provided.

Take your time to read and understand the tip provided, which will be tailored to your specific situation as an existing or expectant mother.

Note: The actual URL and interface design may vary based on any updates or changes made to the Matri Care AI Demo. Please ensure you have a stable internet connection to access the demo smoothly.

API Testing Instructions

These instructions will guide you on how to test the API of Matri Care AI using the provided information.

Prerequisites

  • Ensure you have obtained a MATRIC_CARE_API_KEY. For demo purposes, you can use the following key: BOt0UBB5mRlDpQA6NZx9wY.
  • You will need a tool capable of making HTTP requests, such as cURL, Postman, or a similar application.

API Endpoint

The API endpoint for Matri Care AI is:

POST https://concepts.mukhwana.guru/matricareai/demo/api.php

Testing Expectant Mothers Module

To test the Expectant Mothers module, follow these steps:

  1. Set the request method to POST.
  2. Set the request URL to the API endpoint mentioned above.
  3. Set the following parameters as x-www-form-urlencoded variables in the request body:

    • module: Set the value to expectant.
    • period: Replace PREGNANCY_PERIOD_HERE with the period of pregnancy.
    • history: Replace HEALTH_HISTORY_HERE with the relevant health history information.
    • apikey: Use the MATRIC_CARE_API_KEY obtained earlier.
  4. Send the HTTP request to the API endpoint.

Testing Existing Mothers Module

To test the Existing Mothers module, follow these steps:

  1. Set the request method to POST.
  2. Set the request URL to the API endpoint mentioned above.
  3. Set the following parameters as x-www-form-urlencoded variables in the request body:

    • module: Set the value to existing.
    • age: Replace AGE_OF_CHILD with the age of the child.
    • gender: Replace GENDER_OF_CHILD with the gender of the child.
    • apikey: Use the MATRIC_CARE_API_KEY obtained earlier.
  4. Send the HTTP request to the API endpoint.

Expected Output

The API will respond with a JSON object in the following format:

{
  "type": "100",
  "message": "Fetched Successful",
  "maternal_tips": "Tips Here"
}

The "maternal_tips" field will contain the relevant tips and recommendations based on the provided parameters.

Please note that the API supports natural language input in English.

These instructions will assist you in testing the Matri Care AI API and retrieving personalized maternal health tips and recommendations.

Matri Care AI API Use Cases

The Matri Care AI API provides developers with the ability to integrate maternal health tips and recommendations into their applications. Below are potential use cases where developers can leverage the Matri Care AI API to enhance their applications.

Use Case 1: Maternal Health Mobile App

Create a mobile application that offers personalized maternal health guidance to expectant and new mothers. By integrating the Matri Care AI API, the app can provide real-time tips and recommendations based on parameters such as pregnancy period, mother health history, age of the child, and gender of the child.

Use Case 2: Health Chatbot

Develop a health chatbot that engages in natural language conversations with users and provides maternal health advice. By leveraging the Matri Care AI API, the chatbot can analyze user input, understand their specific situation, and generate tailored tips and recommendations.

Use Case 3: Wearable Device Integration

Build an application that integrates with wearable devices and tracks maternal health data. By combining the data collected from the wearable device with the Matri Care AI API, the application can provide personalized insights and recommendations to promote the well-being of expectant and new mothers.

Use Case 4: Telemedicine Platform

Enhance a telemedicine platform by integrating the Matri Care AI API to provide comprehensive maternal health support to remote patients. The API can be used to generate personalized tips and recommendations, empowering healthcare professionals to provide informed guidance during virtual consultations.

Use Case 5: Maternal Health Dashboard

Create a web-based dashboard that aggregates and visualizes maternal health data. By incorporating the Matri Care AI API, the dashboard can present personalized tips and recommendations based on the collected data, enabling healthcare providers and researchers to gain valuable insights into maternal health trends.

Use Case 6: Pregnancy Tracking App

Develop a pregnancy tracking application that enables users to monitor their pregnancy progress. By integrating the Matri Care AI API, the app can provide timely and relevant tips and recommendations based on the user's pregnancy period and health history.

Use Case 7: Parenting Community Platform

Build a community platform for expectant and new mothers where they can connect, share experiences, and seek advice. By integrating the Matri Care AI API, the platform can offer personalized maternal health tips to community members, fostering a supportive environment for mothers.

These use cases highlight the versatility and potential of the Matri Care AI API to enhance various applications and platforms in the realm of maternal health. By leveraging the API's personalized analysis and recommendations, developers can provide valuable support and guidance to expectant and new mothers, ultimately contributing to improved maternal and child health outcomes.

Matri Care AI Dataset

The Matri Care AI largely uses the Mother's Significant Feature dataset, consists of 450 records and 130 features. This dataset provides valuable information related to maternal health and is designed to enable researchers to analyze the health of women and their children.

Dataset Overview

  • The dataset is composed of three survey forms filled out for each of the 450 mothers. These forms are named as follows:

    1. 1_Form_Genral_info.pdf
    2. 2_Form_Mother_Features.pdf
    3. 3_Form_Pregnancy_Outcome.pdf
  • The dataset includes a total of 6 Excel sheets, each focusing on specific attributes related to maternal health:

    1. MSF_Dataset_Complete.xlsx: Contains all 130 attributes for 1000 records.
    2. MSF_Physical&health_Fetaures.xlsx: Consists of physical and health-related attributes.
    3. MSF_Mother_lifestyle.xlsx: Includes attributes related to the mother's lifestyle.
    4. MSF_Mother_Social.xlsx: Contains attributes related to the mother's social status.
    5. MSF_Mother_stress.xlsx: Includes attributes related to the mother's stress level.
    6. MSF_HealthOutcome.xlsx: Provides information on pregnancy outcomes and baby health.

Key Information about the Dataset

  • All the Excel sheets have a common primary attribute called "Mother_UID," which is unique for each woman interviewed during the data collection process.
  • Records with the same Mother_UID belong to the same woman across all the Excel sheets.
  • In the MSF dataset, "1" denotes "yes/true," and "0" denotes "no/false."
  • Certain attributes in the dataset have missing values, including:
    1. Mother's Weight before delivery
    2. Miscarriage History
    3. Cravings
    4. Family Support
    5. Women supporting family
    6. Hobbies

Feature Categories

The dataset encompasses various categories of features. Here are some examples from each Excel sheet:

MSF_Physical&health_Fetaures.xlsx

  • Age of Mother
  • Mother's Weight before pregnancy
  • Mother's Weight before Delivery
  • Height
  • BMI
  • Haemoglobin
  • PCOS (Polycystic ovary syndrome)
  • Age of Father
  • Infertility Treatment
  • Miscarriage History
  • Menstrual Cycle (Before Marriage)
  • Menstrual Cycle (After Marriage)
  • Time taken to conceive
  • Thyroid
  • Hypertension
  • Gestational Diabetes
  • Gastric Issue
  • Cold/viral Infection
  • Low amniotic fluid
  • High Amniotic Fluid
  • No Health complication during pregnancy
  • IVF
  • Birth Parity

MSF_Mother_Social.xlsx

  • Years of marriage
  • Does newborn have siblings
  • Number of newborn's siblings
  • Mother Education Status
  • Family income
  • Hobbies (Visiting places)
  • Hobbies (Artistic things(Dance/singing/painting, etc.))
  • Hobbies (Shopping)
  • Hobbies (Cooking/household work)
  • Hobbies (Spending time with people)
  • Hobbies (Eating/Foodie)
  • Hobbies (Sitting alone in peace)
  • Working till which month of pregnancy (During pregnancy)
  • Family support by (in-laws)
  • Family support by (parents)
  • Family support by (husband)
  • You supporting the family (in-laws)
  • You supporting the family (parents)
  • You supporting the family (other family members)

**MSF_Mother_st

ress.xlsx**

  • Travel time (During teenage)
  • Travel time (After marriage)
  • Travel time (During pregnancy)
  • Hours at work (After marriage)
  • Hours at work (During pregnancy)
  • Stress Level at work/home (After marriage)
  • Stress Level at work/home (During pregnancy)
  • Happy about arrival of baby
  • Depression/loneliness (Before pregnancy)
  • Depression/loneliness (During pregnancy)

Mother_Lifestyle.xlsx

  • Exercise (During teenage)
  • Exercise (After marriage)
  • Exercise (During pregnancy)
  • Use of laptop/mobile (During teenage)
  • Use of laptop/mobile (After marriage)
  • Use of laptop/mobile (During pregnancy)
  • Outside food habits (During teenage)
  • Outside food habits (After marriage)
  • Outside food habits (During pregnancy)
  • Tea/Coffee/Caffeine (During teenage)
  • Tea/Coffee/Caffeine (After marriage)
  • Tea/Coffee/Caffeine (During pregnancy)
  • Smoking (During teenage)
  • Smoking (After marriage)
  • Smoking (During pregnancy)
  • Alcohol (During teenage)
  • Alcohol (After marriage)
  • Alcohol (During pregnancy)
  • Noise/Air pollution (During teenage)
  • Noise/Air pollution (After marriage)
  • Noise/Air pollution (During pregnancy)
  • Health Conscious (During teenage)
  • Health Conscious (After marriage)
  • Health Conscious (During pregnancy)
  • Diet consists of grains, vegetables, pulses, rice, salad (During Teenage)
  • Diet consists of more of pulses and rice (During Teenage)
  • Diet consists of more of dairy products (During Teenage)
  • Diet consists of mostly snacks and high carbohydrate (During Teenage)
  • Diet consists of non-vegetarian food (During Teenage)
  • Diet consists of Fruits and salads (During Teenage)
  • Diet consists of grains, vegetables, pulses, rice, salad (After Marriage)
  • Diet consists of more of pulses and rice (After Marriage)
  • Diet consists of more of dairy products (After Marriage)
  • Diet consists of mostly snacks and high carbohydrate (After Marriage)
  • Diet consists of non-vegetarian food (After Marriage)
  • Diet consists of Fruits and salads (After Marriage)
  • Diet consists of grains, vegetables, pulses, rice, salad (During pregnancy)
  • Diet consists of more of pulses and rice (During pregnancy)
  • Diet consists of more of dairy products (During pregnancy)
  • Diet consists of mostly snacks and high carbohydrate (During pregnancy)
  • Diet consists of non-vegetarian food (During pregnancy)
  • Diet consists of Fruits and salads (During pregnancy)
  • Sleep Pattern (During Teenage) (Used to get up early in the morning)
  • Sleep Pattern (During Teenage) (More of a night person, used to be awake till late night)
  • Sleep Pattern (During Teenage) (Sleep more than 8 hours a day)
  • Sleep Pattern (During Teenage) (Sleep less than 7 hours a day)
  • Sleep Pattern (After marriage) (Used to get up early in the morning)
  • Sleep Pattern (After marriage) (More of a night person, used to be awake till late night)
  • Sleep Pattern (After marriage) (Sleep more than 8 hours a day)
  • Sleep Pattern (After marriage) (Sleep less than 7 hours a day)
  • Sleep Pattern (During Pregnancy) (Used to get up early in the morning)
  • Sleep Patter (During Pregnancy) (More of a night person, used to be awake till late night)
  • Sleep Pattern (During Pregnancy) (Sleep more than 8 hours a day)
  • Sleep Pattern (During Pregnancy) (Sleep less than 7 hours a day)
  • Exposure to morning sunlight (During teenage)
  • Exposure to morning sunlight (After marriage)
  • Exposure to

morning sunlight (During pregnancy)

  • Travel Time (During teenage)
  • Travel Time (After marriage)
  • Travel Time (During pregnancy)
  • Mode of commutation (During teenage)
  • Mode of commutation (After marriage)
  • Mode of commutation (During pregnancy)
  • Works as (After marriage)
  • Works as (During pregnancy)
  • Use of Contraceptive (How long)
  • Type of contraceptive used (Before pregnancy)
  • Intercourse frequency
  • Craving
  • Craving
  • Craving

MSF_HealthOutcome.xlsx

  • Preterm birth
  • Full term birth
  • Weight of baby/babies
  • Number of days in the hospital just after childbirth
  • NICU stay requirement
  • Jaundice detected in baby after birth
  • C-section delivery
  • Vaginal Delivery
  • Hours in labor before childbirth
  • Need to induce artificial pain for labor

Feel free to explore and experiment with different combinations of features to analyze women and child health. If you have any questions or need further information, please refer to the provided information or reach out to the creators of the dataset.

Built With

Share this project:

Updates