Normalement, vous utilisez le SPLG-Grouper via une interface graphique. Toutefois, pour certains cas d'utilisation, une version en ligne de commande du SPLG-Grouper est également disponible. Typiquement, vous utilisez cette version lorsque vous souhaitez intégrer le SPLG-Grouper dans des processus à l'aide de scripts, ou lorsque vous avez besoin d'un meilleur contrôle sur les réglages précis. Si vous utilisez Linux au lieu de Windows comme système d'exploitation, vous devez utiliser cette version, car aucune version avec interface graphique n'est disponible pour Linux.
La version en ligne de commande du SPLG-Grouper est disponible via le fichier splg-grp-cli.exe. Vous la trouverez dans le sous-répertoire app du répertoire d'installation. Le répertoire d'installation varie selon le type d'installation:
• Si vous avez installé le SPLG-Grouper avec le programme d'installation pour un utilisateur unique, le chemin est %LOCALAPPDATA%\splg-grouper\app\splg-grp-cli.exe.
• Si vous avez installé le SPLG-Grouper avec le programme d'installation pour tous les utilisateurs, le chemin est %PROGRAMFILES%\splg-grouper\app\splg-grp-cli.exe.
• Si vous avez téléchargé le SPLG-Grouper sous forme de fichier ZIP, le chemin est relatif à l'endroit où vous avez extrait le fichier ZIP: app\splg-grp-cli.exe.
Vous obtenez un aperçu des options possibles en appelant splg-grp-cli.exe avec l'option --help:
$ app/splg-grp-cli --help
--input <path>
--output-dir <dir>
--release <release>
--spitalliste <file>
--fmt <fmt>
set general output format, one of:
excel,csv,json,xml,scm, default excel
--fmt-splg <fmt>
set splg output format, one of:
excel,csv,json,xml,scm, default excel
--fmt-gaf <fmt>
set gaf output format, one of:
excel,csv,json,xml,scm, default excel
--fmt-summary <fmt>
set summary output format, one of:
excel,csv,json,xml,scm, default excel
--gaf
enable standard gaf generation
--gaf standard
enable standard gaf generation
--gaf verbose
enable verbose gaf generation
--split
set general split, one of:
no burnr burnr-plz kanton kanton-burnr kanton-burnr-plz
kanton-plz kanton-skz kanton-sn plz skz sn
wohnkanton burnr-wohnkanton sn-wohnkanton skz-wohnkanton
--split-gaf
set gaf split, one of:
no burnr burnr-plz kanton kanton-burnr kanton-burnr-plz
kanton-plz kanton-skz kanton-sn plz skz sn
wohnkanton burnr-wohnkanton sn-wohnkanton skz-wohnkanton
--split-splg
set splg split, one of:
no burnr burnr-plz kanton kanton-burnr kanton-burnr-plz
kanton-plz kanton-skz kanton-sn plz skz sn
wohnkanton burnr-wohnkanton sn-wohnkanton skz-wohnkanton
--cfg-dir <path>
--max-cases <n>
--parallel <n>
--batch-size <n>
--tech-output
--version
--help
Une utilisation simple du SPLG-Grouper se présente comme suit:
splg-grp-cli.exe --release A_2026 --input C:\Temp\inputdata
Cela permet de regrouper tous les fichiers d'entrée détectés dans C:\Temp\inputdata selon la définition SPLG A_2026 et la liste hospitalière par défaut. Les fichiers de sortie sont enregistrés dans le dossier C:\Temp\inputdata\output.