1
0
Files
md-dump/fhir-date-sonderfaelle.svg
T
2026-08-12 11:00:46 +00:00

58 lines
6.0 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="860" viewBox="0 0 1000 860" font-family="Segoe UI, Arial, sans-serif">
<rect width="1000" height="860" fill="#ffffff"/>
<text x="500.0" y="30" font-size="22" font-weight="700" fill="#1a1a2e" text-anchor="middle">FHIR date: Sonderfaelle bei Parameter-Kombinationen</text>
<text x="500.0" y="52" font-size="14" fill="#555" text-anchor="middle">Redundante, widerspruechliche und ungewoehnliche, aber spec-konforme Kombinationen</text>
<rect x="60" y="56" width="150" height="20" rx="4" fill="#f9a825" opacity="0.15"/>
<text x="135" y="70" font-size="11" font-weight="700" fill="#f9a825" text-anchor="middle">REDUNDANT</text>
<text x="60" y="92" font-size="15" font-weight="700" fill="#111">Redundant: eq + Grenzwert</text>
<text x="960" y="92" font-size="12.5" fill="#6a1b9a" text-anchor="end" font-family="Consolas, Menlo, monospace">date=eq2023-06-15&amp;date=ge2020-01-01</text>
<line x1="60" y1="125" x2="960" y2="125" stroke="#333" stroke-width="2"/>
<polygon points="960,125 952,120 952,130" fill="#333"/>
<rect x="410.0" y="115" width="200" height="20" fill="#f9a825" opacity="0.25"/>
<line x1="610.0" y1="109" x2="610.0" y2="141" stroke="#f9a825" stroke-width="3"/>
<text x="60" y="176" font-size="12.5" fill="#444" font-style="italic">eq2023-06-15 deckt bereits ein volles Intervall ab; die zusaetzliche ge-Bedingung aendert nichts, da 2023 &gt; 2020 ohnehin erfuellt ist.</text>
<rect x="60" y="186" width="150" height="20" rx="4" fill="#c62828" opacity="0.15"/>
<text x="135" y="200" font-size="11" font-weight="700" fill="#c62828" text-anchor="middle">LEERES ERGEBNIS</text>
<text x="60" y="222" font-size="15" font-weight="700" fill="#111">Widerspruch: eq + ne auf denselben Wert</text>
<text x="960" y="222" font-size="12.5" fill="#6a1b9a" text-anchor="end" font-family="Consolas, Menlo, monospace">date=eq2023-06-15&amp;date=ne2023-06-15</text>
<line x1="60" y1="255" x2="960" y2="255" stroke="#333" stroke-width="2"/>
<polygon points="960,255 952,250 952,260" fill="#333"/>
<line x1="495.0" y1="240" x2="525.0" y2="270" stroke="#c62828" stroke-width="4"/>
<line x1="495.0" y1="270" x2="525.0" y2="240" stroke="#c62828" stroke-width="4"/>
<text x="60" y="306" font-size="12.5" fill="#444" font-style="italic">eq verlangt Enthaltensein, ne verlangt Nicht-Enthaltensein im selben Intervall -&gt; IMMER leeres Ergebnis.</text>
<rect x="60" y="316" width="150" height="20" rx="4" fill="#c62828" opacity="0.15"/>
<text x="135" y="330" font-size="11" font-weight="700" fill="#c62828" text-anchor="middle">LEERES ERGEBNIS</text>
<text x="60" y="352" font-size="15" font-weight="700" fill="#111">Widerspruch: sich ausschliessende Grenzen</text>
<text x="960" y="352" font-size="12.5" fill="#6a1b9a" text-anchor="end" font-family="Consolas, Menlo, monospace">date=ge2023-06-01&amp;date=le2023-01-01</text>
<line x1="60" y1="385" x2="960" y2="385" stroke="#333" stroke-width="2"/>
<polygon points="960,385 952,380 952,390" fill="#333"/>
<line x1="495.0" y1="370" x2="525.0" y2="400" stroke="#c62828" stroke-width="4"/>
<line x1="495.0" y1="400" x2="525.0" y2="370" stroke="#c62828" stroke-width="4"/>
<text x="60" y="436" font-size="12.5" fill="#444" font-style="italic">Untergrenze liegt NACH der Obergrenze -&gt; kein Datum kann beide Bedingungen erfuellen -&gt; leeres Ergebnis.</text>
<rect x="60" y="446" width="150" height="20" rx="4" fill="#f9a825" opacity="0.15"/>
<text x="135" y="460" font-size="11" font-weight="700" fill="#f9a825" text-anchor="middle">REDUNDANT</text>
<text x="60" y="482" font-size="15" font-weight="700" fill="#111">Redundant: gleicher Praefix doppelt</text>
<text x="960" y="482" font-size="12.5" fill="#6a1b9a" text-anchor="end" font-family="Consolas, Menlo, monospace">date=ge2020-01-01&amp;date=ge2023-01-01</text>
<line x1="60" y1="515" x2="960" y2="515" stroke="#333" stroke-width="2"/>
<polygon points="960,515 952,510 952,520" fill="#333"/>
<rect x="410.0" y="505" width="200" height="20" fill="#f9a825" opacity="0.25"/>
<line x1="610.0" y1="499" x2="610.0" y2="531" stroke="#f9a825" stroke-width="3"/>
<text x="60" y="566" font-size="12.5" fill="#444" font-style="italic">Beide Bedingungen sind vom Typ ge; nur die strengere (spaetere) Untergrenze 2023 ist effektiv wirksam.</text>
<rect x="60" y="576" width="150" height="20" rx="4" fill="#6a1b9a" opacity="0.15"/>
<text x="135" y="590" font-size="11" font-weight="700" fill="#6a1b9a" text-anchor="middle">SONDERFALL</text>
<text x="60" y="612" font-size="15" font-weight="700" fill="#111">Sonderfall: drei Parameter (Ausschluss einer Teilspanne)</text>
<text x="960" y="612" font-size="12.5" fill="#6a1b9a" text-anchor="end" font-family="Consolas, Menlo, monospace">date=ge2023-01-01&amp;date=le2023-12-31&amp;date=ne2023-06-15</text>
<line x1="60" y1="645" x2="960" y2="645" stroke="#333" stroke-width="2"/>
<polygon points="960,645 952,640 952,650" fill="#333"/>
<rect x="390.0" y="635" width="240" height="20" fill="#6a1b9a" opacity="0.2"/>
<rect x="502.0" y="635" width="16" height="20" fill="#ffffff"/>
<text x="60" y="696" font-size="12.5" fill="#444" font-style="italic">Spec-konform: Jahresbereich, aus dem zusaetzlich ein einzelner Tag per ne ausgeschlossen wird.</text>
<rect x="60" y="706" width="150" height="20" rx="4" fill="#6a1b9a" opacity="0.15"/>
<text x="135" y="720" font-size="11" font-weight="700" fill="#6a1b9a" text-anchor="middle">SONDERFALL</text>
<text x="60" y="742" font-size="15" font-weight="700" fill="#111">Sonderfall: ap kombiniert mit Grenze</text>
<text x="960" y="742" font-size="12.5" fill="#6a1b9a" text-anchor="end" font-family="Consolas, Menlo, monospace">date=ap2023-06-15&amp;date=ge2023-01-01</text>
<line x1="60" y1="775" x2="960" y2="775" stroke="#333" stroke-width="2"/>
<polygon points="960,775 952,770 952,780" fill="#333"/>
<rect x="390.0" y="765" width="240" height="20" fill="#6a1b9a" opacity="0.2"/>
<text x="60" y="826" font-size="12.5" fill="#444" font-style="italic">Selten verwendet: unscharfe Naeherung zusaetzlich auf einen Mindestwert eingeschraenkt (Toleranz ist serverabhaengig).</text>
</svg>