Skip to content

gematik/E-Rezept-App-Android

Repository files navigation

E-Rezept App

Introduction

Prescriptions for medicines that are only available in pharmacies can be issued as electronic prescriptions (e-prescriptions resp. E-Rezepte) for people with public health insurance from 1 July 2021. The official gematik E-Rezept App (electronic prescription app) is available to receive and redeem prescriptions digitally. Anyone can download the app for free:

Download E-Rezept on the App StoreDownload E-Rezept on the PlayStoreDownload E-Rezept on the App Gallery

and login with the health card of the public health insurance. In July 2021, the e-prescription started with a test phase, initially in the focus region Berlin-Brandenburg. The nationwide rollout started three month later in September 2022.

The e-prescriptions are stored in the telematics infrastructure, for which gematik is responsible.

Visit our FAQ page for more information about the e-prescription.

Support & Feedback

For endusers and insurant:

E-Rezept Webseite eMail E-Rezept E-Rezept Support Telephone

Members of the health-industry with functional questions

eMail E-Rezept Team

IT specialists

eMail E-Rezept Fachportal eMail E-Rezept Team

Data Privacy

You can find the privacy policy for the app at: https://www.das-e-rezept-fuer-deutschland.de/app/datenschutz

Contributors

We plan to enable contribution to the E-Rezept App in the near future.

Licensing

The E-Rezept App is licensed under the European Union Public Licence (EUPL); every use of the E-Rezept App Sourcecode must be in compliance with the EUPL.

You will find more details about the EUPL here: https://joinup.ec.europa.eu/collection/eupl

Unless required by applicable law or agreed to in writing, software distributed under the EUPL is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the EUPL for the specific language governing permissions and limitations under the License.

Development

Getting started

To get started, build one of the *Pu* variants. Currently, the Google and Huawei variants differ only in configuration. The code is identical. This is likely to change soon.

This repository is an Kotlin Multiplatform Project unifying the upcoming E-Rezept App for desktop and the Android App.

Structure

|-- app
|   `-- android
|       `-- src
|           |-- androidTest
|           |-- main
|           `-- test
|   `-- android-mock
|       `-- src
|           |-- androidTest
|           |-- main
|           `-- test
|   `-- demo-mode
|       `-- src
|           |-- main
|   `-- features
|       `-- src
|           |-- debug
|           |-- release
|           |-- androidTest
|           |-- main
|           `-- test
|   `-- shared-test
|       `-- src
|           |-- main  
|-- common
|   `-- src
|       |-- androidMain
|       |-- androidTest
|       |-- commonMain
|       |-- commonTest
|       |-- desktopMain
|       `-- desktopTest
|-- desktop
|   `-- src
|       |-- jvmMain
|       `-- jvmTest
`-- plugins
    `-- dependencies

plugins/dependencies is a composed build required by any of the other modules (android, common and desktop) managing the dependencies in one place.

The gradle.properties file contains all pre-defined properties required to communicate with the FD (FachDienst), IDP (IDentity Provider) and the pharmacy lookup service. Unfortunately the actual values are not meant to be public.

Android

To build the Android App choose one variant (e.g. gradle :android:assembleGooglePuExternalDebug -Pbuildkonfig.flavor=googlePuExternal):

gradle :android:assemble(Google|Huawei)Pu(External|Internal)(Debug|Release) -Pbuildkonfig.flavor=(google|huawei)Pu(External|Internal)

Note: Currently the android build variant is derived from the buildkonfig.flavor property.

APK

The resulting .apk can be found in e.g. app/android/build/outputs/apk/googlePuExternal/debug/.

Additionally, you can find the latest apk here

Visualize Test Tags

See Visualize Test Tags

Links Sourcecode