Petra is a menstrual cycle tracking application that was created by including our iCure MedTech Typescript SDK. Its goal is to give you a concrete example on how to integrate iCure inside your own solution and how to use it to implement your own features.
Petra is a patient-oriented medical App, allowing patients to manage their menstrual cycle tracking data (CRUD operations) and optionally, share them with their doctor(s). Through our dedicated tutorial, you'll learn the most important concepts of iCure MedTech and how to use / implement them for your solution.
This repository contains the code you should have at the end of the tutorial. The initial repository you need to use to start the tutorial can be found here.
Make sure the following tools are installed on your machine:
- Yarn Package manager
- Ruby, same version than referenced in the
.ruby-versionfile at the root of the template. - XCode
- Android Studio
Note: XCode and Android Studio are needed in order to run your app on iPhone & Android emulators
Also, at the root of your project, create a file .env and add the following environment variables inside it:
- EXTERNAL_SERVICES_SPEC_ID,
- EMAIL_AUTHENTICATION_PROCESS_ID and/or SMS_AUTHENTICATION_PROCESS_ID,
- FRIENDLY_CAPTCHA_SITE_KEY,
- PARENT_ORGANISATION_ID
Check out our dedicated tutorial in order to know what are those information and how to get them.
WARNING: Without these information, you won't be able to complete an authentication
Petra is a mobile app implemented using React Native. It includes the following technologies:
- Typescript, as a language
- Redux, as a state container
- MMKV, as a key-value storage
- FriendlyCaptcha, as a CAPTCHA solution
Petra showcases you different features of iCure MedTech SDK including:
- The Sign In / Sign up authentication process
- The creations of data samples, representing the medical data of the patients
- The use of those data samples for a concrete use case (display in a calendar to follow easily the menstruation cycle)
- The classification of medical data using medical terminologies like LOINC, SNOMED-CT, FHIR, ...
- The management of the patient own data
- ...
Go to our tutorial for more information.
Yes, we offer a sample EHR system application called PetraCare designed specifically for doctors. Additionally, you can leverage our React boilerplate app to easily build your own customized application for medical professionals.
Check out our MedTech Documentation and more particularly our Quick Starts, in order to create your own iCure solution in a few minutes!