Skip to content

CS342/2024-Intake

Repository files navigation

CS342 2024 Intake

Build and Test codecov DOI

This repository contains the CS342 2024 Intake application. The CS342 2024 Intake application is using the Spezi ecosystem and builds on top of the Stanford Spezi Template Application. This app allows the user to manually fill out the form from scratch or connect their health records using HealthKit, in which case the form will be autofilled based on their health records.

Note

Do you want to try out the CS342 2024 Intake application? You can download it to your iOS device using TestFlight!

CS342 2024 Intake Features

There are 8 main features in this app: Chief Complaint, Medical history, Surgical History, Medications, Allergiers, Menstrual History, Smoking History and Scrollable Summary. The chief complaint is described in greater detail below. The medical history feature autofills the users past and present conditions, denoting which of them are still active. The surgical history feature autofills the users past surgeries, with the corresponding date of the surgery. The medication feature is described in greater detail below. The allergies feature autofills the users allergies, along witht he reactions for each allergy. The menstrual history feature only displays if the user is a women and shows the start and end date of the users last period. The smoking history feature provides information about the users smoking habits. Finally, the scrollable summary is described in greater detail below.

The medical history, allergies, and surgeries all use SpeziLLM to filter the data to only include the relevant information from the health records.

The medical history, surgery, and allergy views all use SpeziLLM to allow the user to click the chat button in the to and ask questions about that corresponding section, with an added ability to add entries to your form through the LLM chat.

Screenshot displaying the chief complaint view. Screenshot displaying the chief complaint view. Screenshot displaying the medication view.Screenshot displaying the medication view. Screenshot displaying the summary view.Screenshot displaying the summary view.

The image on the left is the chief complaint feature which uses SpeziLLM to chat with the user about the reason for their visit. It asks specifically tailored questions based on the users response, and then forumalizes a chief complaint for the user once it has enough information to do so.

The image in the middle is the medication feature which uses SpeziMedication to gather all the necessary information about the medications the user is taking. It includes information about name of medication, dosgage, frequency, and schedule of taking the medicine. If you click the the + button in the top right, it will allow you to add a new medication. For this app, we have only allowed the user to choose between 10 medications, so that it can work with SpeziMedication, but the other features allow you enter any entry.

The image on the right is the summary page, which gives the user a summary for all the information it has gathered in the form. Any of the edit buttons will take the user back to that feature, so they can edit their information. This particular user did not have any surgeries, so it is left blank. The share button at the bottom allows the user to export this information into a pdf format that they can then send to their doctor. Additionally, once you share the form, it gets stored on the users phone, so the next time the user open the app, they have the ability to automatically load their most recent form and come straight to this page without having to go through the form again if nothing has changed.

Contributing

Contributions to this project are welcome. Please make sure to read the contribution guidelines and the contributor covenant code of conduct first. You can find a list of contributors in the Contributors.md file

License

This project is licensed under the MIT License. See Licenses for more information.

Spezi Footer Spezi Footer

About

CS342 Intake project

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published