Skip to content

volkerdoerr/gmd

Repository files navigation

CC BY 4.0

gMD

gemaTIk Markdown Prototype

Dieses Repository dient der Entwicklung der initialen Syntaxdefinition (siehe: gmd-syntax.md) für den Prototyp eines freien menschen- und maschinenlesbaren Formats für die zulassungsrelevanten Dokumente der gematik. gMD basiert auf CommonMark¹ und wird durch die Definitionen in input/gmd-definitions.yml erweitert. /// This repository is for development of the initial syntax definition (see: gmd-syntax.md)for certification-relevant gematik documents. gMD is based on CommonMark¹ and is extended by the definitions found in input/gmd-definitions.yml.

Aktuelle Testbeispiele ٭ current test examples:

output/gemKPT_Betr_V3.21.0.gmd.txt
output/gemSpec_CM_KOMLE_V1.16.0.gmd.txt
output/gemSpec_ePA_FdV_V1.51.0.gmd.txt

¹) Es gibt leider keinen (modernen) Markdown-Standard; CommonMark ist aber ein allgemein anerkannter Dialekt mit Unterstützung durch GitHub, GitLab, Reddit, Qt, Stack Overflow und anderen. /// Unfortunately there is no (modern) markdown standard; but CommonMark is a widely accepted dialect, supported by GitHub, GitLab, Reddit, Qt, Stack Overflow and others.


Continous-Integration (ci.yml)

Das gematik Polarion Converter Tool (GPC, siehe weiter unten) wird vom Continuous-Integration Script ci.yml aufgerufen,
welches sowohl manuell gestartet wird, als auch automatisch, wenn Änderungen im Eingabeverzeichnis input vorgenommen wurde. /// The gematik polarion converter tool (GPC, see below) is called by the continous integration script ci.yml, which is either manually started or automatically, whenever changes are made in the input directory.

convert-test-files (job)

Die resultierenden Dateien werden automatisch in das Ausgabeverzeichnis output gepusht. Das Log für den letzten Lauf findet sich in output/log.txt. /// The resulting files are pushed automatically in the output directory, the log of the most recent run can be found in output/log.txt.

convert-production-files (job)

Alle resultierenden Dateien werden automatisch nach gemspec.online gepusht. Das Log für den letzten Lauf findet sich in gemspec.online/log.txt. /// The resulting files are pushed automatically to gemspec.online, the log of the most recent run can be found in gemspec.online/log.txt.

Type Directory Link
Anbietertypsteckbriefe gemspec.online/gemAnbT
Anwendungssteckbriefe gemspec.online/gemAnw
Featuredokumente gemspec.online/gemF
Implementierungsleitfäden gemspec.online/gemILF
übergreifende Konzepte gemspec.online/gemKPT
Produkttypsteckbriefe gemspec.online/gemProdT
Richtlinien gemspec.online/gemRL
S/MIME-Profile gemspec.online/gemSMIME
PS-Schnittstellen gemspec.online/gemSST
Spezifikationen gemspec.online/gemSpec
Verzeichnisse gemspec.online/gemVZ
Wartungsthemen gemspec.online/maintenance
TI 2.0 gemspec.online/TI2.0

gematik Polarion Converter (GPC)

Donwload: releases/download/wip/gpc

$ gpc
GEMATIK POLARION CONVERTER 0.8.0
  converts Polarion exported (*.html) files
  into clean *.gmd, *.html, *.xml, *.xlsx files
  and generates a consolidated gematik.database.sql file.
  ATTENTION: This is a prototype as proof of concept
             with only a subset of features implemented!
Copyright (c) 2023
  Volker Dörr (volker.doerr@cascade.de).
  All rights reserved.
Current path:
  /home/vol/GIT/volkerdoerr/xml2gmd/build-src-Desktop_Qt_Clang_64bit-Debug
ERROR: commandline parameter(s) missing!
  Usage: gpc source target
    source -- path or URL of filelist.txt
    target -- destination path (root of generated files)
  Examples:
    gpc ./input/filelist.txt ./output
    gpc ../../gmd/input/filelist.txt ../../gmd/output
    gpc https://gemspec.dev.ccs.gematik.solutions/docs/filelist.txt /tmp/gpc_test
PROCESS FAILED

This work is licensed under a Creative Commons Attribution 4.0 International License.