1
0

Update fhir-date-period-range-matching.svg

This commit is contained in:
hmk
2026-08-12 12:19:13 +00:00
parent 5aeac8b807
commit ca300d50df
+61 -61
View File
@@ -1,70 +1,70 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1100" height="810" viewBox="0 0 1100 810" font-family="Segoe UI, Arial, sans-serif">
<rect width="1100" height="810" fill="#ffffff"/>
<svg xmlns="http://www.w3.org/2000/svg" width="1100" height="830" viewBox="0 0 1100 830" font-family="Segoe UI, Arial, sans-serif">
<rect width="1100" height="830" fill="#ffffff"/>
<text x="550.0" y="30" font-size="22" font-weight="700" fill="#1a1a2e" text-anchor="middle">FHIR date: Matching gegen Period/Range (Containment vs. Overlap)</text>
<text x="550.0" y="52" font-size="14" fill="#555" text-anchor="middle">Suchwert: date=&lt;praefix&gt;2023-06-15 | Graue Balken = Beispiel-Period der Ressource</text>
<text x="550.0" y="52" font-size="14" fill="#555" text-anchor="middle">Suchwert: date=&lt;praefix&gt;2023-06-15 | Gruen = Treffer, Rot = kein Treffer</text>
<text x="30" y="100" font-size="20" font-weight="700" fill="#111">gt</text>
<text x="30" y="120" font-size="12.5" fill="#555">Overlap genuegt: Period muss nur ueber die Grenze hinausragen.</text>
<rect x="671.0" y="128" width="369.0" height="16" fill="#1565c0" opacity="0.12"/>
<line x1="220" y1="136" x2="1040" y2="136" stroke="#333" stroke-width="1.5"/>
<polygon points="1040,136 1033,132 1033,140" fill="#333"/>
<line x1="671.0" y1="116" x2="671.0" y2="156" stroke="#c62828" stroke-width="2.5" />
<text x="671.0" y="110" font-size="11.5" fill="#c62828" text-anchor="middle" font-weight="600">Suchgrenze (2023-06-15)</text>
<rect x="260" y="157" width="321.0" height="18" rx="4" fill="#546e7a" opacity="0.75"/>
<text x="420.5" y="198" font-size="11" fill="#444" text-anchor="middle">Period A: komplett davor</text>
<line x1="411.5" y1="135" x2="429.5" y2="153" stroke="#c62828" stroke-width="3.5" stroke-linecap="round"/><line x1="411.5" y1="153" x2="429.5" y2="135" stroke="#c62828" stroke-width="3.5" stroke-linecap="round"/>
<rect x="581.0" y="157" width="160.0" height="18" rx="4" fill="#546e7a" opacity="0.75"/>
<text x="661.0" y="198" font-size="11" fill="#444" text-anchor="middle">Period B: ueberlappt Grenze</text>
<path d="M 652.0 144 l 6 6 l 12 -13" stroke="#2e7d32" stroke-width="3.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<rect x="741.0" y="157" width="259.0" height="18" rx="4" fill="#546e7a" opacity="0.75"/>
<text x="870.5" y="198" font-size="11" fill="#444" text-anchor="middle">Period C: komplett danach</text>
<path d="M 861.5 144 l 6 6 l 12 -13" stroke="#2e7d32" stroke-width="3.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<rect x="682.0" y="128" width="378.0" height="16" fill="#1565c0" opacity="0.10"/>
<line x1="220" y1="136" x2="1060" y2="136" stroke="#333" stroke-width="1.5"/>
<polygon points="1060,136 1053,132 1053,140" fill="#333"/>
<line x1="682.0" y1="116" x2="682.0" y2="156" stroke="#333" stroke-width="2" />
<text x="682.0" y="110" font-size="11.5" fill="#333" text-anchor="middle" font-weight="600">Suchgrenze (2023-06-15)</text>
<rect x="260" y="157" width="332.0" height="18" rx="4" fill="#c62828"/>
<line x1="419.0" y1="159" x2="433.0" y2="173" stroke="#ffffff" stroke-width="3" stroke-linecap="round"/><line x1="419.0" y1="173" x2="433.0" y2="159" stroke="#ffffff" stroke-width="3" stroke-linecap="round"/>
<text x="426.0" y="198" font-size="11" fill="#444" text-anchor="middle">Period A: komplett davor</text>
<rect x="592.0" y="157" width="160.0" height="18" rx="4" fill="#2e7d32"/>
<path d="M 664.0 166 l 5 5 l 10 -11" stroke="#ffffff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<text x="672.0" y="198" font-size="11" fill="#444" text-anchor="middle">Period B: ueberlappt Grenze</text>
<rect x="752.0" y="157" width="268.0" height="18" rx="4" fill="#2e7d32"/>
<path d="M 878.0 166 l 5 5 l 10 -11" stroke="#ffffff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<text x="886.0" y="198" font-size="11" fill="#444" text-anchor="middle">Period C: komplett danach</text>
<text x="30" y="270" font-size="20" font-weight="700" fill="#111">sa</text>
<text x="30" y="290" font-size="12.5" fill="#555">Vollstaendige Trennung noetig: Period muss komplett hinter der Grenze liegen.</text>
<rect x="671.0" y="298" width="369.0" height="16" fill="#1565c0" opacity="0.12"/>
<line x1="220" y1="306" x2="1040" y2="306" stroke="#333" stroke-width="1.5"/>
<polygon points="1040,306 1033,302 1033,310" fill="#333"/>
<line x1="671.0" y1="286" x2="671.0" y2="326" stroke="#c62828" stroke-width="2.5" stroke-dasharray="4,4"/>
<text x="671.0" y="280" font-size="11.5" fill="#c62828" text-anchor="middle" font-weight="600">Suchgrenze (2023-06-15)</text>
<rect x="260" y="327" width="321.0" height="18" rx="4" fill="#546e7a" opacity="0.75"/>
<text x="420.5" y="368" font-size="11" fill="#444" text-anchor="middle">Period A: komplett davor</text>
<line x1="411.5" y1="305" x2="429.5" y2="323" stroke="#c62828" stroke-width="3.5" stroke-linecap="round"/><line x1="411.5" y1="323" x2="429.5" y2="305" stroke="#c62828" stroke-width="3.5" stroke-linecap="round"/>
<rect x="581.0" y="327" width="160.0" height="18" rx="4" fill="#546e7a" opacity="0.75"/>
<text x="661.0" y="368" font-size="11" fill="#444" text-anchor="middle">Period B: ueberlappt Grenze</text>
<line x1="652.0" y1="305" x2="670.0" y2="323" stroke="#c62828" stroke-width="3.5" stroke-linecap="round"/><line x1="652.0" y1="323" x2="670.0" y2="305" stroke="#c62828" stroke-width="3.5" stroke-linecap="round"/>
<rect x="741.0" y="327" width="259.0" height="18" rx="4" fill="#546e7a" opacity="0.75"/>
<text x="870.5" y="368" font-size="11" fill="#444" text-anchor="middle">Period C: komplett danach</text>
<path d="M 861.5 314 l 6 6 l 12 -13" stroke="#2e7d32" stroke-width="3.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<line x1="30" y1="405" x2="1040" y2="405" stroke="#ddd" stroke-width="1"/>
<rect x="682.0" y="298" width="378.0" height="16" fill="#1565c0" opacity="0.10"/>
<line x1="220" y1="306" x2="1060" y2="306" stroke="#333" stroke-width="1.5"/>
<polygon points="1060,306 1053,302 1053,310" fill="#333"/>
<line x1="682.0" y1="286" x2="682.0" y2="326" stroke="#333" stroke-width="2" stroke-dasharray="4,4"/>
<text x="682.0" y="280" font-size="11.5" fill="#333" text-anchor="middle" font-weight="600">Suchgrenze (2023-06-15)</text>
<rect x="260" y="327" width="332.0" height="18" rx="4" fill="#c62828"/>
<line x1="419.0" y1="329" x2="433.0" y2="343" stroke="#ffffff" stroke-width="3" stroke-linecap="round"/><line x1="419.0" y1="343" x2="433.0" y2="329" stroke="#ffffff" stroke-width="3" stroke-linecap="round"/>
<text x="426.0" y="368" font-size="11" fill="#444" text-anchor="middle">Period A: komplett davor</text>
<rect x="592.0" y="327" width="160.0" height="18" rx="4" fill="#c62828"/>
<line x1="665.0" y1="329" x2="679.0" y2="343" stroke="#ffffff" stroke-width="3" stroke-linecap="round"/><line x1="665.0" y1="343" x2="679.0" y2="329" stroke="#ffffff" stroke-width="3" stroke-linecap="round"/>
<text x="672.0" y="368" font-size="11" fill="#444" text-anchor="middle">Period B: ueberlappt Grenze</text>
<rect x="752.0" y="327" width="268.0" height="18" rx="4" fill="#2e7d32"/>
<path d="M 878.0 336 l 5 5 l 10 -11" stroke="#ffffff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<text x="886.0" y="368" font-size="11" fill="#444" text-anchor="middle">Period C: komplett danach</text>
<line x1="30" y1="405" x2="1060" y2="405" stroke="#eee" stroke-width="1"/>
<text x="30" y="440" font-size="20" font-weight="700" fill="#111">lt</text>
<text x="30" y="460" font-size="12.5" fill="#555">Overlap genuegt: Period muss nur vor die Grenze hineinragen.</text>
<rect x="220" y="468" width="451.0" height="16" fill="#1565c0" opacity="0.12"/>
<line x1="220" y1="476" x2="1040" y2="476" stroke="#333" stroke-width="1.5"/>
<polygon points="1040,476 1033,472 1033,480" fill="#333"/>
<line x1="671.0" y1="456" x2="671.0" y2="496" stroke="#c62828" stroke-width="2.5" />
<text x="671.0" y="450" font-size="11.5" fill="#c62828" text-anchor="middle" font-weight="600">Suchgrenze (2023-06-15)</text>
<rect x="260" y="497" width="321.0" height="18" rx="4" fill="#546e7a" opacity="0.75"/>
<text x="420.5" y="538" font-size="11" fill="#444" text-anchor="middle">Period A: komplett davor</text>
<path d="M 411.5 484 l 6 6 l 12 -13" stroke="#2e7d32" stroke-width="3.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<rect x="581.0" y="497" width="160.0" height="18" rx="4" fill="#546e7a" opacity="0.75"/>
<text x="661.0" y="538" font-size="11" fill="#444" text-anchor="middle">Period B: ueberlappt Grenze</text>
<path d="M 652.0 484 l 6 6 l 12 -13" stroke="#2e7d32" stroke-width="3.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<rect x="741.0" y="497" width="259.0" height="18" rx="4" fill="#546e7a" opacity="0.75"/>
<text x="870.5" y="538" font-size="11" fill="#444" text-anchor="middle">Period C: komplett danach</text>
<line x1="861.5" y1="475" x2="879.5" y2="493" stroke="#c62828" stroke-width="3.5" stroke-linecap="round"/><line x1="861.5" y1="493" x2="879.5" y2="475" stroke="#c62828" stroke-width="3.5" stroke-linecap="round"/>
<rect x="220" y="468" width="462.0" height="16" fill="#1565c0" opacity="0.10"/>
<line x1="220" y1="476" x2="1060" y2="476" stroke="#333" stroke-width="1.5"/>
<polygon points="1060,476 1053,472 1053,480" fill="#333"/>
<line x1="682.0" y1="456" x2="682.0" y2="496" stroke="#333" stroke-width="2" />
<text x="682.0" y="450" font-size="11.5" fill="#333" text-anchor="middle" font-weight="600">Suchgrenze (2023-06-15)</text>
<rect x="260" y="497" width="332.0" height="18" rx="4" fill="#2e7d32"/>
<path d="M 418.0 506 l 5 5 l 10 -11" stroke="#ffffff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<text x="426.0" y="538" font-size="11" fill="#444" text-anchor="middle">Period A: komplett davor</text>
<rect x="592.0" y="497" width="160.0" height="18" rx="4" fill="#2e7d32"/>
<path d="M 664.0 506 l 5 5 l 10 -11" stroke="#ffffff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<text x="672.0" y="538" font-size="11" fill="#444" text-anchor="middle">Period B: ueberlappt Grenze</text>
<rect x="752.0" y="497" width="268.0" height="18" rx="4" fill="#c62828"/>
<line x1="879.0" y1="499" x2="893.0" y2="513" stroke="#ffffff" stroke-width="3" stroke-linecap="round"/><line x1="879.0" y1="513" x2="893.0" y2="499" stroke="#ffffff" stroke-width="3" stroke-linecap="round"/>
<text x="886.0" y="538" font-size="11" fill="#444" text-anchor="middle">Period C: komplett danach</text>
<text x="30" y="610" font-size="20" font-weight="700" fill="#111">eb</text>
<text x="30" y="630" font-size="12.5" fill="#555">Vollstaendige Trennung noetig: Period muss komplett vor der Grenze liegen.</text>
<rect x="220" y="638" width="451.0" height="16" fill="#1565c0" opacity="0.12"/>
<line x1="220" y1="646" x2="1040" y2="646" stroke="#333" stroke-width="1.5"/>
<polygon points="1040,646 1033,642 1033,650" fill="#333"/>
<line x1="671.0" y1="626" x2="671.0" y2="666" stroke="#c62828" stroke-width="2.5" stroke-dasharray="4,4"/>
<text x="671.0" y="620" font-size="11.5" fill="#c62828" text-anchor="middle" font-weight="600">Suchgrenze (2023-06-15)</text>
<rect x="260" y="667" width="321.0" height="18" rx="4" fill="#546e7a" opacity="0.75"/>
<text x="420.5" y="708" font-size="11" fill="#444" text-anchor="middle">Period A: komplett davor</text>
<path d="M 411.5 654 l 6 6 l 12 -13" stroke="#2e7d32" stroke-width="3.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<rect x="581.0" y="667" width="160.0" height="18" rx="4" fill="#546e7a" opacity="0.75"/>
<text x="661.0" y="708" font-size="11" fill="#444" text-anchor="middle">Period B: ueberlappt Grenze</text>
<line x1="652.0" y1="645" x2="670.0" y2="663" stroke="#c62828" stroke-width="3.5" stroke-linecap="round"/><line x1="652.0" y1="663" x2="670.0" y2="645" stroke="#c62828" stroke-width="3.5" stroke-linecap="round"/>
<rect x="741.0" y="667" width="259.0" height="18" rx="4" fill="#546e7a" opacity="0.75"/>
<text x="870.5" y="708" font-size="11" fill="#444" text-anchor="middle">Period C: komplett danach</text>
<line x1="861.5" y1="645" x2="879.5" y2="663" stroke="#c62828" stroke-width="3.5" stroke-linecap="round"/><line x1="861.5" y1="663" x2="879.5" y2="645" stroke="#c62828" stroke-width="3.5" stroke-linecap="round"/>
</svg>
<rect x="220" y="638" width="462.0" height="16" fill="#1565c0" opacity="0.10"/>
<line x1="220" y1="646" x2="1060" y2="646" stroke="#333" stroke-width="1.5"/>
<polygon points="1060,646 1053,642 1053,650" fill="#333"/>
<line x1="682.0" y1="626" x2="682.0" y2="666" stroke="#333" stroke-width="2" stroke-dasharray="4,4"/>
<text x="682.0" y="620" font-size="11.5" fill="#333" text-anchor="middle" font-weight="600">Suchgrenze (2023-06-15)</text>
<rect x="260" y="667" width="332.0" height="18" rx="4" fill="#2e7d32"/>
<path d="M 418.0 676 l 5 5 l 10 -11" stroke="#ffffff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<text x="426.0" y="708" font-size="11" fill="#444" text-anchor="middle">Period A: komplett davor</text>
<rect x="592.0" y="667" width="160.0" height="18" rx="4" fill="#c62828"/>
<line x1="665.0" y1="669" x2="679.0" y2="683" stroke="#ffffff" stroke-width="3" stroke-linecap="round"/><line x1="665.0" y1="683" x2="679.0" y2="669" stroke="#ffffff" stroke-width="3" stroke-linecap="round"/>
<text x="672.0" y="708" font-size="11" fill="#444" text-anchor="middle">Period B: ueberlappt Grenze</text>
<rect x="752.0" y="667" width="268.0" height="18" rx="4" fill="#c62828"/>
<line x1="879.0" y1="669" x2="893.0" y2="683" stroke="#ffffff" stroke-width="3" stroke-linecap="round"/><line x1="879.0" y1="683" x2="893.0" y2="669" stroke="#ffffff" stroke-width="3" stroke-linecap="round"/>
<text x="886.0" y="708" font-size="11" fill="#444" text-anchor="middle">Period C: komplett danach</text>
<rect x="30" y="788" width="18" height="14" rx="3" fill="#2e7d32"/><text x="54" y="800" font-size="12.5" fill="#333">Treffer</text><rect x="130" y="788" width="18" height="14" rx="3" fill="#c62828"/><text x="154" y="800" font-size="12.5" fill="#333">kein Treffer</text></svg>

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB