---
title: "Connect to PegaMed"
summary: "Your PegaMed partner unlocks the GDT interface, and PegaMed support adds an ini for MediSync. After that, each note goes as an entry under your Sparte."
url: "https://help.medisynchealth.ai/en/connect/pegamed"
product: "MediSync Connect"
platforms: ["web","windows"]
features: ["connect.send_receive"]
access: "public"
updated: "2026-11-26"
version: "MediSync Connect 0.1.4"
---

# Connect to PegaMed

Your PegaMed partner unlocks the GDT interface, and PegaMed support adds an ini for MediSync. After that, each note goes as an entry under your Sparte.

MediSync switches PegaMed on in Connect for your practice. To ask for it, write to support@medisynchealth.ai. Connect then offers PegaMed in the setup. Before you start, set up Connect on a Windows PC of the practice. See [Set up Connect](https://help.medisynchealth.ai/en/connect/what-is-connect). For PegaMed, MediSync is a GDT device with an ini file of its own and a button in the Karteikarte (patient record).

## Set up PegaMed

1. Order the GDT-Schnittstelle (GDT interface) from your PegaMed partner. The partner unlocks it in PegaMed under **Hilfe › Freischaltungen**. The partner tells you the price.
2. Choose the Sparte (entry category) the notes go under, for example `MS`.
3. Ask PegaMed support to add an ini for MediSync with a button in the Karteikarte. It goes into the PegaMed program folder on the server, for example `J:\PegaMed\MediSync.ini`. Connect shows the text of the ini in the preparation under **Text for PegaMed support**. Support sets the character set to ANSI (Windows-1252).
4. Then restart PegaMed once at each workstation.
5. Open the Karteikarte of a test patient, for example Hans Muster, and press the MediSync button. Connect then shows this patient.

With the Sparte `MS`, the ini looks like this:

```
[MediSync]
Caption=MediSync
Button=MS
Write=C:\GDT\MediSync\Out\msncpega.gdt
Overwrite=1
Read=C:\GDT\MediSync\In\*.gdt
ReadWildcard=1
ReadFields=6220
Sparte=MS
Diagnosen=0
```

Connect creates the folders `C:\GDT\MediSync\In` and `C:\GDT\MediSync\Out` itself. If they are on a network drive, each workstation needs read and write rights. If your practice picks a Sparte other than `MS`, enter it in Connect under **Systems** > **Change** at **Sparte of the MediSync ini**.

## One entry per Sparte

Should each section go under its own Sparte, for example the Anamnese under `AN` and the Befund under `BE`? Then enter your Sparten in the preparation with **Add a Sparte**. Connect then sets the **Entry mode (one_entry or sparte_per_section)** to `sparte_per_section`. PegaMed support adds one more ini per Sparte. Each reads its own subfolder, named like the Sparte:

```
[MediSyncAN]
Read=C:\GDT\MediSync\In\AN\*.gdt
ReadWildcard=1
ReadFields=6220
Sparte=AN

[MediSyncBE]
Read=C:\GDT\MediSync\In\BE\*.gdt
ReadWildcard=1
ReadFields=6220
Sparte=BE
```

These ini files need no button. PegaMed support knows whether PegaMed accepts an ini without a button. Connect then gives each section a Sparte. You check this under **Where does each section go?**. In the last step, Connect also checks the folder of each Sparte.

## Every day

Open the patient's Karteikarte and press the MediSync button. For the next 10 minutes, Connect treats this patient as the open patient. A released note goes as an entry under your Sparte, or with Sparten of their own, each section under its Sparte. If the entry does not show at once, reload the Karteikarte. Reviewed ICD codes are text in the entry. Connect does not send letters as PDF to PegaMed. To learn how to send notes, see [Send notes to the PVS](https://help.medisynchealth.ai/en/connect/send-documentation).

## What the first test at your practice shows

So far MediSync has tested PegaMed against a simulator, not against PegaMed itself. So Connect shows **Not yet tested in a practice** at the setup. The values of the ini come from the guides of other devices, not from PegaMed. Send the first note for the test patient. Check the umlauts, the Sparte and the diagnoses. If an entry is missing with Sparten of their own, the ini of that Sparte is missing. Only this test shows:

- whether PegaMed accepts several ini files for one program, each with its own Sparte,
- which value of `Ascii=` means ANSI. PegaMed support knows this,
- how long a line in the entry may be. Connect writes at most 60 characters per line,
- whether PegaMed deletes a file after reading it.

Send a screenshot of the test patient's Karteikarte to support@medisynchealth.ai.

## Official guides

PegaMed publishes no guide for the GDT interface. This guide from another vendor shows an ini file for a GDT device, in German:

- [PegaMed GDT](https://docs.labgate.net/installationshandbuch/labgate_connect/leitfaden_f%C3%BCr_ais_konfiguration/pegamed/pegamed_gdt/), guide by labGate, with the licence under Hilfe > Freischaltungen and a sample ini

The values in these guides belong to that program. For MediSync, enter the values from this article.

## If something does not work

PegaMed is +49 711 76 71 86 and info@pegamed.de, Monday to Friday from 8:00 to 18:00, see [Über uns](https://pegamed.de/ueber-uns/) at PegaMed.

For questions about MediSync and Connect, write to MediSync support at support@medisynchealth.ai.
