Uitwisselprofiel NZa Structurele Informatieverstrekking Bedrijfsvoering Wmg
2.1 Aantal cliënten per wet
Concepten
Relaties
Eigenschappen
SPARQL query
Code gekopieerd
...Kopieer naar klembord
1# Indicator: NZA WMG 2.1 2# Parameters: ?start_periode, ?eind_periode 3# Ontologie: versie 3.0 4 5PREFIX onz-zorg: <http://purl.org/ozo/onz-zorg#> 6PREFIX onz-org: <http://purl.org/ozo/onz-org#> 7PREFIX onz-g: <http://purl.org/ozo/onz-g#> 8PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 9PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 10 11SELECT 12(SUM(?Zvw) as ?aantal_Zvw) 13(SUM(?Wlz) as ?aantal_Wlz) 14(SUM(?Oz) as ?aantal_Overige_zorg) 15 16WHERE { 17 BIND("2024-01-01"^^xsd:date AS ?start_periode) 18 BIND("2024-12-31"^^xsd:date AS ?eind_periode) 19 20 ?client a onz-g:Human . 21 22 #selecteer de bijbehorende indicatie, om unieke clienten te kunnen bepalen 23 ?indicatie 24 a ?type_indicatie ; 25 onz-g:isAbout ?client . 26 27 #selecteer de zorgprocessen die voldoen aan de inclusiecriteria 28 ?zorgproces 29 a onz-zorg:ZorgProces ; 30 onz-g:definedBy ?indicatie ; 31 onz-g:startDatum ?start_zorgproces . 32 OPTIONAL {?zorgproces onz-g:eindDatum ?eind_zorgproces} 33 FILTER (?start_zorgproces <= ?eind_periode && ((?eind_zorgproces >= ?start_periode)||(!BOUND(?eind_zorgproces)))) 34 35 #Per financieringsstroom 36 BIND(IF(?type_indicatie = onz-zorg:ZvwIndicatie, 1, 0) AS ?Zvw) 37 BIND(IF(?type_indicatie = onz-zorg:WlzIndicatie, 1, 0) AS ?Wlz) 38 BIND(IF(?type_indicatie = onz-zorg:WmoIndicatie, 1, 0) AS ?Oz) 39}
Heb je feedback?
Loopt u tegen een issue of vraag aan bij het KIK-V product? Neem dan contact met ons op!