# informatici/openhospital architecture

> Architecture diagram of the GitHub repository informatici/openhospital, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/informatici/openhospital
- Repository: https://github.com/informatici/openhospital

## Overview

This repository packages Open Hospital’s portable distributions; it is not the source for the HIMS application itself. The documented workflow uses the packaging entry point to compile components hosted in separate repositories and assemble distributions. The tree also identifies a bundle README and MySQL configuration, plus platform changelogs and an API note. The README does not specify which components are included in each package or how bundle resources are wired, so those relationships are left out.

Main entry points: [`Makefile`](https://github.com/informatici/openhospital/blob/master/Makefile) (Package build)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_packaging["Package assembly"]
  node_makefile["Package build"]
  node_distribution["Portable distributions"]
end

subgraph group_bundle["Bundle resources"]
  node_bundle_readme["Bundle guidance<br/>[OH-README.md]"]
  node_mysql_config["MySQL config<br/>[my.cnf.dist]"]
end

subgraph group_release["Release information"]
  node_linux_notes["Linux changelog"]
  node_windows_notes["Windows changelog"]
  node_api_notes["API notes<br/>[oh-api-readme.txt]"]
end

node_maintainer(("Package maintainer"))
node_core["OH Core"]
node_gui["OH GUI"]
node_docs["OH Docs"]
node_api["OH API"]
node_ui["OH UI"]

node_maintainer -->|"runs"| node_makefile
node_makefile -->|"compiles"| node_core
node_makefile -->|"compiles"| node_gui
node_makefile -->|"compiles"| node_docs
node_makefile -->|"assembles"| node_distribution

click node_makefile "https://github.com/informatici/openhospital/blob/master/Makefile"
click node_bundle_readme "https://github.com/informatici/openhospital/blob/master/oh-bundle/OH-README.md"
click node_mysql_config "https://github.com/informatici/openhospital/blob/master/oh-bundle/data/conf/my.cnf.dist"
click node_linux_notes "https://github.com/informatici/openhospital/blob/master/oh-extra/OH-linux-changelog.md"
click node_windows_notes "https://github.com/informatici/openhospital/blob/master/oh-extra/OH-win-changelog.md"
click node_api_notes "https://github.com/informatici/openhospital/blob/master/oh-extra/oh-api-readme.txt"

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_makefile,node_distribution,node_gui,node_ui toneBlue
class node_bundle_readme,node_mysql_config toneAmber
class node_linux_notes,node_windows_notes,node_api_notes,node_api toneMint
class node_maintainer,node_core,node_docs toneIndigo
```

## Components

### Package assembly

- [Package build](https://github.com/informatici/openhospital/blob/master/Makefile): `Makefile`
- **Portable distributions**

### Bundle resources

- [Bundle guidance](https://github.com/informatici/openhospital/blob/master/oh-bundle/OH-README.md): `oh-bundle/OH-README.md`
- [MySQL config](https://github.com/informatici/openhospital/blob/master/oh-bundle/data/conf/my.cnf.dist): `oh-bundle/data/conf/my.cnf.dist`

### Release information

- [Linux changelog](https://github.com/informatici/openhospital/blob/master/oh-extra/OH-linux-changelog.md): `oh-extra/OH-linux-changelog.md`
- [Windows changelog](https://github.com/informatici/openhospital/blob/master/oh-extra/OH-win-changelog.md): `oh-extra/OH-win-changelog.md`
- [API notes](https://github.com/informatici/openhospital/blob/master/oh-extra/oh-api-readme.txt): `oh-extra/oh-api-readme.txt`

### Other components

- **Package maintainer**
- **OH Core**
- **OH GUI**
- **OH Docs**
- **OH API**
- **OH UI**

## Connections

- Package maintainer → Package build: runs
- Package build → OH Core: compiles
- Package build → OH GUI: compiles
- Package build → OH Docs: compiles
- Package build → Portable distributions: assembles
