summaryrefslogtreecommitdiff
path: root/src/main/resources/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates')
-rw-r--r--src/main/resources/templates/configs.html (renamed from src/main/resources/templates/transformations.html)35
-rw-r--r--src/main/resources/templates/fragments.html2
2 files changed, 33 insertions, 4 deletions
diff --git a/src/main/resources/templates/transformations.html b/src/main/resources/templates/configs.html
index b8e2f37..1d76063 100644
--- a/src/main/resources/templates/transformations.html
+++ b/src/main/resources/templates/configs.html
@@ -8,16 +8,45 @@
<body>
<div th:replace="~{fragments.html :: nav}"></div>
<main>
- <h1>Transformationen</h1>
+ <h1>Konfiguration</h1>
- <h2>Syntax</h2>
+ <h2>Allgemeine Konfiguration</h2>
+ <table>
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Wert</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Pseudonym erzeugt über</td>
+ <td>[[ ${pseudonymGenerator} ]]</td>
+ </tr>
+ <tr>
+ <td>MTBFile-Sender</td>
+ <td>[[ ${mtbFileSender} ]]</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h2><span th:if="${connectionAvailable}">✅</span><span th:if="${not(connectionAvailable)}">⚡</span> Verbindung zum bwHC-Backend</h2>
+ <p>
+ Verbindung über <code>[[ ${mtbFileSender} ]]</code>. Die Verbindung ist aktuell
+ <strong th:if="${connectionAvailable}" style="color: green">verfügbar.</strong>
+ <strong th:if="${not(connectionAvailable)}" style="color: red">nicht verfügbar!</strong>
+ </p>
+
+ <h2>Transformationen</h2>
+
+ <h3>Syntax</h3>
Hier einige Beispiele zum Syntax des JSON-Path
<ul>
<li style="padding: 0.6rem 0;"><span class="bg-path">diagnoses[*].icdO3T.version</span>: Ersetze die ICD-O3T-Version in allen Diagnosen, z.B. zur Version der deutschen Übersetzung</li>
<li style="padding: 0.6rem 0;"><span class="bg-path">patient.gender</span>: Ersetze das Geschlecht des Patienten, z.B. in das von bwHC verlangte Format</li>
</ul>
- <h2>Konfigurierte Transformationen</h2>
+ <h3>Konfigurierte Transformationen</h3>
<p>
Hier sehen Sie eine Übersicht der konfigurierten Transformationen.
</p>
diff --git a/src/main/resources/templates/fragments.html b/src/main/resources/templates/fragments.html
index ea0fe1d..fbbe47d 100644
--- a/src/main/resources/templates/fragments.html
+++ b/src/main/resources/templates/fragments.html
@@ -10,7 +10,7 @@
<ul>
<li><a th:href="@{/}">Übersicht</a></li>
<li><a th:href="@{/statistics}">Statistiken</a></li>
- <li><a th:href="@{/transformations}">Transformationen</a></li>
+ <li><a th:href="@{/configs}">Konfiguration</a></li>
</ul>
</nav>
</div>