# ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi architecture

> Architecture diagram of the GitHub repository ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi
- Repository: https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi

## Overview

This appears to be an Android medicine-management app. Its activity and resource names indicate user registration and role selection, medicine entry and barcode scanning, patient prescriptions, and pharmacy lookup. The tree also shows local database, medicine-model, list-adapter, and pharmacy-service components. No README content or application-source excerpts were supplied, so the workflow connections and service behavior cannot be verified; the graph shows the identifiable components without speculative edges.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Account and Roles"]
  node_login["Login<br/>[LoginActivity.java]"]
  node_register["Registration"]
  node_roles["Role Selection"]
  node_main["Main Screen<br/>[MainActivity.java]"]
  node_profile["Profile"]
end

subgraph group_medicines["Medicine Management"]
  node_addmedicine["Add Medicine"]
  node_barcode["Barcode Scan"]
  node_medlist["Medicine List"]
  node_adapter["Medicine Adapter"]
  node_medicine["Medicine Model<br/>[Medicine.java]"]
  node_database[("Local Database")]
end

subgraph group_patient["Patient Features"]
  node_dashboard["Patient Dashboard"]
  node_prescription["Prescriptions"]
  node_scanadapter["Scan History Adapter"]
end

subgraph group_pharmacy["Pharmacy Lookup"]
  node_locator["Pharmacy Locator"]
  node_apiservice["Pharmacy API Service"]
  node_apiresponse["Pharmacy Response"]
end

node_user(("App User"))

click node_login "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/LoginActivity.java"
click node_register "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/RegisterActivity.java"
click node_roles "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/RoleSelectionActivity.java"
click node_main "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/MainActivity.java"
click node_profile "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/ProfileActivity.java"
click node_addmedicine "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/AddMedicineActivity.java"
click node_barcode "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/BarcodeActivity.java"
click node_medlist "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/MedicineListActivity.java"
click node_adapter "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/MedicineAdapter.java"
click node_medicine "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/Medicine.java"
click node_database "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/DatabaseHelper.java"
click node_dashboard "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/PatientDashboardActivity.java"
click node_prescription "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/PatientPrescriptionActivity.java"
click node_scanadapter "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/ScanHistoryAdapter.java"
click node_locator "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/PharmacyLocatorActivity.java"
click node_apiservice "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/PharmacyApiService.java"
click node_apiresponse "https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/PharmacyResponse.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_login,node_register,node_roles,node_main,node_profile,node_user toneBlue
class node_addmedicine,node_barcode,node_medlist,node_adapter,node_medicine,node_database toneAmber
class node_dashboard,node_prescription,node_scanadapter toneMint
class node_locator,node_apiservice,node_apiresponse toneRose
```

## Components

### Account and Roles

- [Login](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/LoginActivity.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/LoginActivity.java`
- [Registration](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/RegisterActivity.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/RegisterActivity.java`
- [Role Selection](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/RoleSelectionActivity.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/RoleSelectionActivity.java`
- [Main Screen](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/MainActivity.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/MainActivity.java`
- [Profile](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/ProfileActivity.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/ProfileActivity.java`

### Medicine Management

- [Add Medicine](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/AddMedicineActivity.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/AddMedicineActivity.java`
- [Barcode Scan](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/BarcodeActivity.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/BarcodeActivity.java`
- [Medicine List](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/MedicineListActivity.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/MedicineListActivity.java`
- [Medicine Adapter](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/MedicineAdapter.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/MedicineAdapter.java`
- [Medicine Model](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/Medicine.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/Medicine.java`
- [Local Database](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/DatabaseHelper.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/DatabaseHelper.java`

### Patient Features

- [Patient Dashboard](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/PatientDashboardActivity.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/PatientDashboardActivity.java`
- [Prescriptions](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/PatientPrescriptionActivity.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/PatientPrescriptionActivity.java`
- [Scan History Adapter](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/ScanHistoryAdapter.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/ScanHistoryAdapter.java`

### Pharmacy Lookup

- [Pharmacy Locator](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/PharmacyLocatorActivity.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/PharmacyLocatorActivity.java`
- [Pharmacy API Service](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/PharmacyApiService.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/PharmacyApiService.java`
- [Pharmacy Response](https://github.com/ahmetyasinertug/eczane-ilac-kayit-ve-bilgilendirme-uygulamasi/blob/main/app/src/main/java/com/example/ahmetyasinertug_171422015_proje/PharmacyResponse.java): `app/src/main/java/com/example/ahmetyasinertug_171422015_proje/PharmacyResponse.java`

### Other components

- **App User**
