Uitwisselprofiel ActiZ Belangenbehartiging
Over Uitwisselprofiel ActiZ Belangenbehartiging
- Publicatiedatum:
- 08-04-2026
- Inwerkingtreding:
- 08-04-2026
1.4. Wat is het aantal cliënten met eerste grondslag psychogeriatrie of somatiek met leveringsvorm VPT, MPT, DTV en PGB?
Concepten
Relaties
- deel van
- formeel gedefinieerd door
- gedefinieerd door
- geïdentificeerd door
- heeft deel
- heeft deelnemer
- heeft lokaliseerbaar gebied
- heeft perdurantlocatie
- vestiging van
Eigenschappen
Instanties
- Modulair pakket thuis
- Volledig pakket thuis
- psychogeriatrische aandoening of beperking
- somatische aandoening of beperking
SPARQL query
Code gekopieerd
...Kopieer naar klembord
1# Indicator: ActiZ 1.4 2# Parameters: ?jaar, ?kwartaal 3# Ontologie: versie 3.0 of nieuwer 4 5PREFIX onz-g: <http://purl.org/ozo/onz-g#> 6PREFIX onz-zorg:<http://purl.org/ozo/onz-zorg#> 7PREFIX onz-org: <http://purl.org/ozo/onz-org#> 8PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 9PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 10PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 11 12SELECT 13 (?vestiging AS ?Indeling) 14 (?zk_regio_code AS ?Zorgkantoorregio_code) 15 (COUNT(DISTINCT IF(?is_pg, ?client, ?__dummy)) AS ?Aantal_met_eerste_grondslag_PG) 16 (COUNT(DISTINCT IF(?is_som, ?client, ?__dummy2)) AS ?Aantal_met_eerste_grondslag_somatiek) 17(COUNT(DISTINCT ?client) AS ?Totaal_aantal_clienten) 18WHERE { 19# BIND(2024 AS ?jaar) 20# BIND("Q1" AS ?kwartaal) 21 22 23BIND( xsd:date(CONCAT(STR(?jaar), "-", 24 IF(?kwartaal="Q1","01-01", IF(?kwartaal="Q2","04-01", IF(?kwartaal="Q3","07-01", IF(?kwartaal="Q4","10-01", "01-01")))) 25 )) AS ?p_start ) 26 BIND( xsd:date(CONCAT(STR(?jaar), "-", 27 IF(?kwartaal="Q1","03-31", IF(?kwartaal="Q2","06-30", IF(?kwartaal="Q3","09-30","12-31"))) 28 )) AS ?p_eind ) 29 30 ?zorgproces a onz-g:CureAndCareProcess ; 31 onz-g:definedBy ?indicatie ; 32 onz-g:hasParticipant ?client ; 33 onz-g:hasPerdurantLocation/onz-g:partOf* ?locatie ; 34 onz-g:startDatum ?start_zorgproces . 35 OPTIONAL { ?zorgproces onz-g:eindDatum ?eind_zorgproces } 36 37# Filter zorgprocessen binnen de meetperiode 38FILTER ( ?start_zorgproces <= ?p_eind && 39 ( !BOUND(?eind_zorgproces) || ?eind_zorgproces >= ?p_start )) 40 ?client a onz-g:Human . 41 42 # leveringsvormen VPT, MPT, PGB of DTV (deeltijdverblijf), DTV is verblijf icm mpt en/of pgb dus die wordt al meegeteld bij mpt en pgb 43 VALUES (?vpt ?mpt ?pgb) { 44 (onz-zorg:vpt onz-zorg:mpt onz-zorg:pgb) 45 } 46 47# Indicaties 48 ?indicatie a onz-zorg:WlzIndicatie ; 49 onz-g:hasPart ?lv ; 50 onz-g:formallyDefinedBy ?eerste_grondslag ; 51 onz-g:definedBy ?grondslag ; 52 onz-g:startDatum ?start_ind . 53 OPTIONAL { ?indicatie onz-g:eindDatum ?eind_ind } 54 55 # Filter indicaties binnen de meetperiode 56 FILTER ( ?start_ind <= ?p_eind && 57 ( !BOUND(?eind_ind) || ?eind_ind >= ?p_start )) 58 59 VALUES (?pg ?som) { 60 (onz-zorg:GrondslagPG onz-zorg:GrondslagSOM) 61 } 62 # Filter op clienten met een grondslag pg of somatiek 63 FILTER(?grondslag IN (?pg, ?som)) 64 ?lv a onz-zorg:Leveringsvorm . 65 FILTER (?lv IN (?vpt, ?mpt, ?pgb)) 66 67 # Selecteer clienten met EERSTE grondslag pg of somatiek 68 BIND(?eerste_grondslag = onz-zorg:GrondslagPG AS ?is_pg) 69 BIND(?eerste_grondslag = onz-zorg:GrondslagSOM AS ?is_som) 70 71 # Locatie structuur 72 { 73 # Vestigingsregel 74 ?locatie onz-g:partOf* ?vestiging_uri . 75 ?vestiging_uri a onz-org:Vestiging ; 76 onz-g:identifiedBy ?vest_nr ; 77 onz-g:hasLocalizableArea/onz-g:identifiedBy/onz-g:hasPart/onz-g:hasPart ?postcode_6 . 78 ?vest_nr a onz-org:Vestigingsnummer ; onz-g:hasDataValue ?vestiging . 79 80 BIND(IRI(SUBSTR(STR(?postcode_6), 1, STRLEN(STR(?postcode_6)) - 2)) AS ?postcode) 81 ?pc_gebied onz-g:identifiedBy ?postcode ; onz-g:partOf+ ?zk_regio . 82 ?zk_regio a onz-org:ZorgkantoorRegio . 83 } 84 UNION 85 { 86 # Totaal organisatie 87 ?locatie onz-g:partOf* ?vestiging_uri . 88 ?vestiging_uri onz-org:vestigingVan ?organisatie_uri . 89 BIND("Totaal organisatie" AS ?vestiging) 90 } 91 92 BIND(IF(BOUND(?zk_regio), STRAFTER(STR(?zk_regio), "/onz-org/"), ?unbound) AS ?zk_regio_code) 93 94 95} 96GROUP BY ?vestiging ?zk_regio_code 97ORDER BY ?Indeling