Files
haemka.de/content/images/fhir-date-combinations_en.svg
T
haemka 1f58649b3d New article "fhir date parameters", config changes for multilanguage
support, tarnslations for existing pages and articles
2026-08-14 16:54:32 +00:00

56 lines
5.1 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="586" viewBox="0 0 1000 586" font-family="Latin Modern Roman, CMU Serif, Computer Modern Serif, Georgia, Times New Roman, serif">
<style>
@media (prefers-color-scheme: dark) {
[fill="#111"] { fill: #f2f2f2; }
[fill="#333"] { fill: #d6d6d6; }
[stroke="#333"] { stroke: #d6d6d6; }
[fill="#444"] { fill: #cfcfcf; }
[fill="#555"] { fill: #c2c2c2; }
[fill="#2e7d32"] { fill: #66bb6a; }
[stroke="#2e7d32"] { stroke: #66bb6a; }
[fill="#c62828"] { fill: #ff6659; }
[fill="#6a1b9a"] { fill: #ba68c8; }
}
</style>
<text x="500.0" y="24" font-size="15" fill="#555" text-anchor="middle">Multiple date parameters in the same query are combined with AND and define a range</text>
<text x="60" y="56" font-size="15" font-weight="700" fill="#111">Closed interval (inclusive)</text>
<text x="940" y="56" font-size="13" fill="#6a1b9a" text-anchor="end" font-family="Latin Modern Mono, CMU Typewriter Text, Computer Modern Typewriter, Consolas, Menlo, monospace">date=ge2023-01-01&amp;date=le2023-12-31</text>
<rect x="340.0" y="91" width="320.0" height="20" fill="#2e7d32" opacity="0.22"/>
<line x1="60" y1="101" x2="940" y2="101" stroke="#333" stroke-width="2"/>
<polygon points="940,101 932,96 932,106" fill="#333"/>
<line x1="340.0" y1="85" x2="340.0" y2="117" stroke="#2e7d32" stroke-width="3" />
<line x1="660.0" y1="85" x2="660.0" y2="117" stroke="#2e7d32" stroke-width="3" />
<text x="340.0" y="77" font-size="12" fill="#c62828" text-anchor="middle" font-weight="600">ge (closed)</text>
<text x="660.0" y="77" font-size="12" fill="#c62828" text-anchor="middle" font-weight="600">le (closed)</text>
<text x="60" y="141" font-size="12" fill="#444" font-style="italic">Both boundaries are inclusively part of the result -- the classic 'year range'.</text>
<text x="60" y="186" font-size="15" font-weight="700" fill="#111">Open interval (exclusive)</text>
<text x="940" y="186" font-size="13" fill="#6a1b9a" text-anchor="end" font-family="Latin Modern Mono, CMU Typewriter Text, Computer Modern Typewriter, Consolas, Menlo, monospace">date=gt2023-01-01&amp;date=lt2023-12-31</text>
<rect x="340.0" y="221" width="320.0" height="20" fill="#2e7d32" opacity="0.22"/>
<line x1="60" y1="231" x2="940" y2="231" stroke="#333" stroke-width="2"/>
<polygon points="940,231 932,226 932,236" fill="#333"/>
<line x1="340.0" y1="215" x2="340.0" y2="247" stroke="#2e7d32" stroke-width="3" stroke-dasharray="4,4"/>
<line x1="660.0" y1="215" x2="660.0" y2="247" stroke="#2e7d32" stroke-width="3" stroke-dasharray="4,4"/>
<text x="340.0" y="207" font-size="12" fill="#c62828" text-anchor="middle" font-weight="600">gt (open)</text>
<text x="660.0" y="207" font-size="12" fill="#c62828" text-anchor="middle" font-weight="600">lt (open)</text>
<text x="60" y="271" font-size="12" fill="#444" font-style="italic">The boundary values themselves are excluded -- narrower than ge/le.</text>
<text x="60" y="316" font-size="15" font-weight="700" fill="#111">Strictly separated range (sa + eb)</text>
<text x="940" y="316" font-size="13" fill="#6a1b9a" text-anchor="end" font-family="Latin Modern Mono, CMU Typewriter Text, Computer Modern Typewriter, Consolas, Menlo, monospace">date=sa2023-01-01&amp;date=eb2023-12-31</text>
<rect x="340.0" y="351" width="320.0" height="20" fill="#2e7d32" opacity="0.22"/>
<line x1="60" y1="361" x2="940" y2="361" stroke="#333" stroke-width="2"/>
<polygon points="940,361 932,356 932,366" fill="#333"/>
<line x1="340.0" y1="345" x2="340.0" y2="377" stroke="#2e7d32" stroke-width="3" stroke-dasharray="4,4"/>
<line x1="660.0" y1="345" x2="660.0" y2="377" stroke="#2e7d32" stroke-width="3" stroke-dasharray="4,4"/>
<text x="340.0" y="337" font-size="12" fill="#c62828" text-anchor="middle" font-weight="600">sa (open)</text>
<text x="660.0" y="337" font-size="12" fill="#c62828" text-anchor="middle" font-weight="600">eb (open)</text>
<text x="60" y="401" font-size="12" fill="#444" font-style="italic">Only relevant for Period/Range values: the resource range must lie entirely AFTER the 1st and entirely BEFORE the 2nd value.</text>
<text x="60" y="446" font-size="15" font-weight="700" fill="#111">Lower bound + upper exclusion</text>
<text x="940" y="446" font-size="13" fill="#6a1b9a" text-anchor="end" font-family="Latin Modern Mono, CMU Typewriter Text, Computer Modern Typewriter, Consolas, Menlo, monospace">date=ge2023-06-01&amp;date=lt2023-07-01</text>
<rect x="340.0" y="481" width="320.0" height="20" fill="#2e7d32" opacity="0.22"/>
<line x1="60" y1="491" x2="940" y2="491" stroke="#333" stroke-width="2"/>
<polygon points="940,491 932,486 932,496" fill="#333"/>
<line x1="340.0" y1="475" x2="340.0" y2="507" stroke="#2e7d32" stroke-width="3" />
<line x1="660.0" y1="475" x2="660.0" y2="507" stroke="#2e7d32" stroke-width="3" stroke-dasharray="4,4"/>
<text x="340.0" y="467" font-size="12" fill="#c62828" text-anchor="middle" font-weight="600">ge (closed)</text>
<text x="660.0" y="467" font-size="12" fill="#c62828" text-anchor="middle" font-weight="600">lt (open)</text>
<text x="60" y="531" font-size="12" fill="#444" font-style="italic">Typical pattern for 'exactly one month' on timestamp fields: [start, end).</text>
</svg>