# benjaminl11-au/amedtec-ecg-gp-customisation-tool architecture

> Architecture diagram of the GitHub repository benjaminl11-au/amedtec-ecg-gp-customisation-tool, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/benjaminl11-au/amedtec-ecg-gp-customisation-tool
- Repository: https://github.com/benjaminl11-au/amedtec-ecg-gp-customisation-tool

## Overview

This small Windows batch utility guides an operator through clinic-detail and filter choices, builds an ECGpro configuration from shared and option-specific template files, then asks ECGpro to import it. The README documents the workflow and file roles, but no source excerpts were available, so the graph does not infer script-level calls or template assembly details.

Main entry points: [`Install.bat`](https://github.com/benjaminl11-au/amedtec-ecg-gp-customisation-tool/blob/main/Install.bat) (Settings builder), [`mainstrue_muscletrue.txt`](https://github.com/benjaminl11-au/amedtec-ecg-gp-customisation-tool/blob/main/mainstrue_muscletrue.txt) (Power on, EMG on), [`mainsfalse_muscletrue.txt`](https://github.com/benjaminl11-au/amedtec-ecg-gp-customisation-tool/blob/main/mainsfalse_muscletrue.txt) (Power off, EMG on), [`mainstrue_musclefalse.txt`](https://github.com/benjaminl11-au/amedtec-ecg-gp-customisation-tool/blob/main/mainstrue_musclefalse.txt) (Power on, EMG off)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Interactive utility"]
  node_installer["Settings builder<br/>[Install.bat]"]
  node_generated_config["Generated configuration"]
end

subgraph group_templates["Configuration templates"]
  node_shared_templates["Shared segments"]
  node_power_on_emg_on["Power on, EMG on"]
  node_power_off_emg_on["Power off, EMG on"]
  node_power_on_emg_off["Power on, EMG off"]
  node_power_off_emg_off["Power off, EMG off"]
end

node_operator(("Operator"))
node_ecgpro["AMEDTEC ECGpro"]

node_operator -->|"runs"| node_installer
node_installer -->|"uses segments"| node_shared_templates
node_installer -->|"selects template"| node_power_on_emg_on
node_installer -->|"selects template"| node_power_off_emg_on
node_installer -->|"selects template"| node_power_on_emg_off
node_installer -->|"selects template"| node_power_off_emg_off
node_installer -->|"builds"| node_generated_config
node_installer -->|"imports settings"| node_ecgpro

click node_installer "https://github.com/benjaminl11-au/amedtec-ecg-gp-customisation-tool/blob/main/Install.bat"
click node_power_on_emg_on "https://github.com/benjaminl11-au/amedtec-ecg-gp-customisation-tool/blob/main/mainstrue_muscletrue.txt"
click node_power_off_emg_on "https://github.com/benjaminl11-au/amedtec-ecg-gp-customisation-tool/blob/main/mainsfalse_muscletrue.txt"
click node_power_on_emg_off "https://github.com/benjaminl11-au/amedtec-ecg-gp-customisation-tool/blob/main/mainstrue_musclefalse.txt"
click node_power_off_emg_off "https://github.com/benjaminl11-au/amedtec-ecg-gp-customisation-tool/blob/main/mainsfalse_musclefalse.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_installer,node_generated_config toneBlue
class node_shared_templates,node_power_on_emg_on,node_power_off_emg_on,node_power_on_emg_off,node_power_off_emg_off toneAmber
class node_operator,node_ecgpro toneIndigo
```

## Components

### Interactive utility

- [Settings builder](https://github.com/benjaminl11-au/amedtec-ecg-gp-customisation-tool/blob/main/Install.bat): `Install.bat`
- **Generated configuration**

### Configuration templates

- **Shared segments**
- [Power on, EMG on](https://github.com/benjaminl11-au/amedtec-ecg-gp-customisation-tool/blob/main/mainstrue_muscletrue.txt): `mainstrue_muscletrue.txt`
- [Power off, EMG on](https://github.com/benjaminl11-au/amedtec-ecg-gp-customisation-tool/blob/main/mainsfalse_muscletrue.txt): `mainsfalse_muscletrue.txt`
- [Power on, EMG off](https://github.com/benjaminl11-au/amedtec-ecg-gp-customisation-tool/blob/main/mainstrue_musclefalse.txt): `mainstrue_musclefalse.txt`
- [Power off, EMG off](https://github.com/benjaminl11-au/amedtec-ecg-gp-customisation-tool/blob/main/mainsfalse_musclefalse.txt): `mainsfalse_musclefalse.txt`

### Other components

- **Operator**
- **AMEDTEC ECGpro**

## Connections

- Operator → Settings builder: runs (evidence: `README.md`)
- Settings builder → Shared segments: uses segments (evidence: `README.md`)
- Settings builder → Power on, EMG on: selects template (evidence: `README.md`)
- Settings builder → Power off, EMG on: selects template (evidence: `README.md`)
- Settings builder → Power on, EMG off: selects template (evidence: `README.md`)
- Settings builder → Power off, EMG off: selects template (evidence: `README.md`)
- Settings builder → Generated configuration: builds (evidence: `README.md`)
- Settings builder → AMEDTEC ECGpro: imports settings (evidence: `README.md`)
