Skip to content

Commit

Permalink
TC 3.0.1 (#102)
Browse files Browse the repository at this point in the history
* further description User Stories and Use Cases

* update sentence on ISIKBasis Ressource usage (#103)

* update sentence on ISIKBasis Ressource usage

---------

Co-authored-by: f-peverali <[email protected]>

* update dependency Basis

* update relwase notes

---------

Co-authored-by: Yannick Börner <[email protected]>
Co-authored-by: ylboerner <[email protected]>
Co-authored-by: Alexander Zautke <[email protected]>
Co-authored-by: MaxMTheilig <[email protected]>

* Feature/devops automation (#107)

Update TC 3.0.1 with dev ops improvements from main

---------
  • Loading branch information
f-peverali authored and MaxMTheilig committed Jan 12, 2024
1 parent 2859404 commit 2ca7c22
Show file tree
Hide file tree
Showing 33 changed files with 245 additions and 170 deletions.
45 changes: 25 additions & 20 deletions .github/workflows/RenderAllDiagrams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Render All Diagrams
on:
push:
paths:
- '**/Material/imgsrc/**/*.puml'
- '**/Material/imgsrc/**/*.drawio'
- '**/Material/images/src/**/*.puml'
- '**/Material/images/src/**/*.drawio'
branches-ignore:
- 'main**'

Expand Down Expand Up @@ -41,40 +41,45 @@ jobs:
# Clean Folder
- name: Ensure and clean folder
run: |
img_dir=ImplementationGuide/images/diagrams
img_dir=Material/images/diagrams
mkdir -p $img_dir
rm -rf ImplementationGuide/images/diagrams/*.svg
rm -rf Material/images/diagrams/*.png
# Generate the SVGs from PUML
- name: Render PUML to SVG and Move files
# Generate the PNGs from PUML
- name: Render PUML to PNG and Move files
run: |
FileNamePaths=$(find . -path "*/imgsrc/*/*.puml" -exec dirname {} \; | sort -u)
FileNamePaths=$(find . -path "*/images/src/*/*.puml" -exec dirname {} \; | sort -u)
for dir in $FileNamePaths
do
# Render SVGs from PUMLs
find $dir -name "*.puml" -exec java -jar plantuml.jar -tsvg {} \;
# Render PNGs from PUMLs
find $dir -name "*.puml" -exec java -jar plantuml.jar -png {} \;
done
# Remove plantUML jar
- name: remove plantuml file
run: |
rm -f plantuml.jar
# Generate the SVGs from DrawIO
- name: Render DrawIO to SVG with predefined action
# Generate the PNGs from DrawIO
- name: Render DrawIO to PNG with predefined action
uses: rlespinasse/drawio-export-action@v2
with:
path: ./Material/imgsrc/drawio/
path: ./Material/images/src/drawio/
remove-page-suffix: true
output: .
format: svg
format: png
action-mode: all

# copies the created png & svg files to the images/diagrams folder and deletes the drawio files
- name: Move SVGs to target image folder
# copies the created png files to the images/diagrams folder and deletes the drawio files
- name: Move PNGs to target image folder
run: |
img_dir=ImplementationGuide/images/diagrams
# Find all unique directories containing *.svg files under any /imgsrc/ folder
FileNamePaths=$(find . -path "*/imgsrc/*/*.svg" -exec dirname {} \; | sort -u)
img_dir=Material/images/diagrams
# Find all unique directories containing *.PNGs files under any /imgsrc/ folder
FileNamePaths=$(find . -path "*/images/src/*/*.png" -exec dirname {} \; | sort -u)
for dir in $FileNamePaths
do
# Move SVGs to out directory
find $dir -name "*.svg" -exec mv {} $img_dir \;
# Move PNGs to out directory
find $dir -name "*.png" -exec mv {} $img_dir \;
done
## add and commit the new generated files
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode/*
Binary file removed ImplementationGuide/images/Interaktionen.png
Binary file not shown.
Binary file removed ImplementationGuide/images/Klassendiagramm.png
Binary file not shown.
3 changes: 1 addition & 2 deletions ImplementationGuide/markdown/AkteureUndInteraktionen.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ Für jeden dieser Bereiche wurden jeweils drei Akteure identifiziert, die in ein
* **Consumer:** Liest die Informationen aus dem Repository, beispielsweise um sie dem Benutzer anzuzeigen oder anderweitig zu verarbeiten.

Die Interaktionen sind somit in allen drei Bereichen äquivalent:

{{render:implementationguide-images-interaktionen}}
<img src="https://github.com/gematik/spec-ISiK-Medikation/blob/main-stufe-3/Material/images/diagrams/Interaktionen.png" alt="Interkationen" width="90%"/>
9 changes: 6 additions & 3 deletions ImplementationGuide/markdown/Datenobjekte.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# Datenobjekte

Folgende Datenobjekte und Interaktionen aus dem Modul [ISiK Basis Stufe 3](https://simplifier.net/guide/Implementierungsleitfaden-ISiK-Basismodul-Stufe-3/ImplementationGuide-markdown-Einfuehrung?version=current) sind in diesem Modul bestätigungsrelevant:
Folgende Datenobjekte aus dem Modul [ISiK Basis Stufe 3](https://simplifier.net/guide/implementierungsleitfaden-isik-basismodul-stufe-3?version=current) werden in diesem Modul verwendet:
* [Patient](https://simplifier.net/guide/Implementierungsleitfaden-ISiK-Basismodul-Stufe-3/ImplementationGuide-markdown-Datenobjekte-Datenobjekte-Patient?version=current)
* [Kontakt/Fall (Encounter)](https://simplifier.net/guide/Implementierungsleitfaden-ISiK-Basismodul-Stufe-3/ImplementationGuide-markdown-Datenobjekte-Datenobjekte-Kontakt?version=current)
* [Person im Gesundheitsberuf](https://simplifier.net/guide/Implementierungsleitfaden-ISiK-Basismodul-Stufe-3/markdown-Datenobjekte-Datenobjekte-PersonImGesundheitsberuf?version=current)

Die Verwendung in diesem Modul bedeutet:
Wenn dieses Modul auf Datenobjekte aus dem Basismodul referenziert, dann MÜSSEN die referenzierten FHIR-Ressourcen konform zu den Vorgaben aus dem Basismodul sein.
Die Referenzierung von im Basismodul spezifizierten Datenobjekten, bedeutet nicht, dass die Interaktionen für die entsprechenden Datenobjekte aus dem Basismodul auch im Modul Medikation bestätigungsrelevant sind.

Darüber hinaus gelten in diesem Modul folgende Datenobjekt-spezifische Festlegungen:

{{index:current}}

Die Kern-Zusammenhänge der Datenobjekte zeigt das (stark vereinfacht dargestellte) Diagramm:

{{render:implementationguide-images-klassendiagramm}}
<img src="https://github.com/gematik/spec-ISiK-Medikation/blob/main-stufe-3/Material/images/diagrams/Klassendiagramm.png" alt="Klassendiagramm" width="90%"/>
Binary file not shown.
6 changes: 3 additions & 3 deletions ImplementationGuide/markdown/Einfuehrung.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<img src="https://raw.githubusercontent.com/gematik/spec-ISiK-Basismodul/master-isik-stufe-2/Material/Gematik_Logo_Flag.png" alt="gematik logo" width="400"/>
<img src="https://github.com/gematik/spec-ISiK-Medikation/blob/main-stufe-3/Material/images/Gematik_Logo_Flag.png" alt="gematik logo" width="400"/>

----
Version: 3.0.0
Version: 3.0.1

Datum: 1.7.2023
Datum: 12.01.2024

Status: Aktiv

Expand Down
7 changes: 7 additions & 0 deletions ImplementationGuide/markdown/ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ Im Rahmen der ISiK-Veröffentlichungen wird das [Semantic Versioning](https://se

Die erste Ziffer X bezeichnet ein Major-Release und regelt die Gültigkeit von Releases. Die dritte Ziffer Y (Release x.0.y) bezeichnet eine technische Korrektur und versioniert kleinere Änderungen (Packages) während eines Jahres, z. B. 1.0.1.

Version: 3.0.1

Datum: 08.01.2024

* workflow improvement regarding image rendering and display
* Update dependency with Basis: https://github.com/gematik/spec-ISiK-Medikation/pull/102/commits/039654b03d5b159ed258c35b48c37cd2db3e4a81
* update sentence on ISIKBasis Ressource usage by @f-peverali in https://github.com/gematik/spec-ISiK-Medikation/pull/103
----
Version: 3.0.0

Expand Down
Binary file not shown.
Binary file added Material/images/Gematik_Logo_Flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions Material/images/diagrams/Interaktionen.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions Material/images/diagrams/Klassendiagramm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions Material/images/src/drawio/Interaktionen.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<mxfile host="65bd71144e">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="965" dy="594" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" background="#ffffff" math="0" shadow="0">
<root>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0"/>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0"/>
<mxCell id="5" value="X Repository" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontFamily=Helvetica;fontColor=#000000;fillColor=none;strokeColor=#000000;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="240" y="180" width="100" height="40" as="geometry"/>
</mxCell>
<mxCell id="9" style="edgeStyle=none;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;fontSize=12;fontColor=#000000;entryX=0;entryY=0.5;entryDx=0;entryDy=0;strokeColor=#000000;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="6" target="5">
<mxGeometry relative="1" as="geometry">
<mxPoint x="190" y="180" as="targetPoint"/>
<Array as="points">
<mxPoint x="190" y="200"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6" value="X Provider" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontFamily=Helvetica;fontColor=#000000;fillColor=none;strokeColor=#000000;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="140" y="240" width="100" height="40" as="geometry"/>
</mxCell>
<mxCell id="7" value="X Consumer" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontFamily=Helvetica;fontColor=#000000;fillColor=none;strokeColor=#000000;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="340" y="240" width="100" height="40" as="geometry"/>
</mxCell>
<mxCell id="8" value="&lt;span style=&quot;text-indent: 0in; background-color: initial; font-family: &amp;quot;Liberation Sans&amp;quot;; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;X &lt;/span&gt;&lt;span style=&quot;text-indent: 0in; background-color: initial; font-family: &amp;quot;Liberation Sans&amp;quot;; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;∈&lt;/span&gt;&lt;br&gt;&lt;p style=&quot;line-height: normal; margin-top: 0pt; margin-bottom: 0pt; margin-right: 0in; text-indent: 0in; unicode-bidi: embed; word-break: normal; font-size: 12px;&quot;&gt;&lt;span style=&quot;font-size: 12px; font-family: &amp;quot;Liberation Sans&amp;quot;; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;{&quot;&lt;/span&gt;&lt;span style=&quot;font-size: 12px; font-family: &amp;quot;Liberation Sans&amp;quot;; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;Medication&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 12px; font-family: &amp;quot;Liberation Sans&amp;quot;; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;Summary&quot;, &quot;&lt;/span&gt;&lt;span style=&quot;font-size: 12px; font-family: &amp;quot;Liberation Sans&amp;quot;; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;Medication&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 12px; font-family: &amp;quot;Liberation Sans&amp;quot;; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;Order&quot;, &quot;&lt;/span&gt;&lt;span style=&quot;font-size: 12px; font-family: &amp;quot;Liberation Sans&amp;quot;; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;Administered&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 12px; font-family: &amp;quot;Liberation Sans&amp;quot;; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;Medication&lt;/span&gt;&lt;span style=&quot;font-size: 12px; font-family: &amp;quot;Liberation Sans&amp;quot;; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&quot;}&lt;/span&gt;&lt;/p&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#000000;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="100" y="289" width="400" height="40" as="geometry"/>
</mxCell>
<mxCell id="10" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;fontSize=12;fontColor=#000000;entryX=0.5;entryY=0;entryDx=0;entryDy=0;strokeColor=#000000;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="5" target="7">
<mxGeometry relative="1" as="geometry">
<mxPoint x="250" y="195" as="targetPoint"/>
<mxPoint x="200" y="250" as="sourcePoint"/>
<Array as="points">
<mxPoint x="390" y="200"/>
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# ISiK-Medikation
# Feature AMTS von ISiK-Medikation Stufe 4

Siehe [Simplifier Projekt-Seite zu Medikation Stufe 3](https://simplifier.net/isik-medikation-v3)
Dies ist ein Branch rund um das Thema Arzneimitteltherapiesicherheit (AMTS).

Ein Konzept zur Definition des Problems, der Use Cases und des Lösungsraums
(WIP) wird unter [AMTS](ImplementationGuide/markdown/UebergreifendeFestlegungen/AMTS.md) veröffentlicht und weiterentwickelt.
Loading

0 comments on commit 2ca7c22

Please sign in to comment.