/app-flutter-openemr

app-flutter-openemr

Primary LanguageDartGNU General Public License v3.0GPL-3.0

OpenEMRv2.2

OpenEMR is the most popular open source electronic health records and medical practice management solution.

What's New?

  • Warnings has been removed
  • Deprecated has been fixed
  • Api has been improved
  • Databse has been added to medical recognition

Future Work

-> Error message based on API response (In Progress)

For Developers

If using OpenEMR directly from the code repository, then the following commands will build OpenEMR apk :

flutter pub get
flutter build apk|appbundle|ios|ios-framework

To run openemr in a device

flutter pub get
flutter run

How to use calling feature

  1. Run the app-golang-openemr
  2. Enter the server ip address in the prompt

How to Setup Firebase

Project Creation

  1. Go to Firebase console
  2. Login and click on Add Project card
  3. Enter desired project name and click on Continue button
  4. Disable Google Analytics if you want but we suggest you to keep it as it is and click on Continue button
  5. Select default or desired account and click on Continue. (will not appear if you have disabled Google Analytics in previous step)

Android - Connection

  1. Select Android on home-page of your project
  2. Enter a com.example.openemr as package name. You can checkout this post if you want to use custom package name
  3. Enter the SHA-1 hash. You can get the SHA-1 using this link
  4. Click on register app button
  5. Click on Download google-services.json. A json file will be downloaded to your desktop.
  6. Click on next button then again click on next button followed by skip this step button.
  7. Place the google-services.json in android/app directory.
  8. Go to android/build.gradle and uncomment line 12
  9. Go to android/app/build.gradle and uncomment line 26 & 65

IOS - Connection

Coming soon

Enable Firebase services

  1. Authentication(Used for login/register)
    • Enable Email / Password
    • Enable Google
  2. Database(Used to store messages)
  3. Firestore(Used to store images shared in chat)

Final step - turn firebase flag on

Go to lib/screens/home.dart and change firebaseFlag to true from false

- final firebaseFlag = false;
+ final firebaseFlag = true;

License

GNU GPL