Uitwisselprofiel IGJ Contextinformatie t.b.v. inspectiebezoek (wordt eind september 2025 vervangen door aangekondigd en onaangekondigd inspectiebezoek)

Over Uitwisselprofiel IGJ Contextinformatie t.b.v. inspectiebezoek (wordt eind september 2025 vervangen door aangekondigd en onaangekondigd inspectiebezoek)


Publicatiedatum:
02-10-2023

Inwerkingtreding:
02-10-2023

1.1.2. Aantal cliënten per leveringsvorm

Concepten

Relaties

Eigenschappen

Instanties

SPARQL query

Code gekopieerd

...

Kopieer naar klembord

1# Indicator: IGJ 1.1.2
2# Parameters: $(peildatum)
3# Ontologie: versie 2.0.0 of nieuwer
4
5PREFIX onz-g: <http://purl.org/ozo/onz-g#>
6PREFIX onz-org: <http://purl.org/ozo/onz-org#>
7PREFIX onz-zorg: <http://purl.org/ozo/onz-zorg#>
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	?leveringsvorm
14    (COUNT (DISTINCT(?client)) AS ?indicator)
15WHERE
16{ 
17    BIND ($(peildatum) AS ?peildatum)
18    VALUES ?zorgprofiel { onz-zorg:4VV onz-zorg:5VV onz-zorg:6VV onz-zorg:7VV onz-zorg:8VV onz-zorg:9BVV onz-zorg:10VV }
19 	
20    #selecteer de zorgprocessen op de vestiging die voldoen aan de inclusiecriteria
21    ?zorgproces
22        a onz-zorg:NursingProcess ;
23        onz-g:definedBy ?indicatie ;
24        onz-g:startDatum ?start_zorgproces .
25    	OPTIONAL {?zorgproces onz-g:eindDatum ?eind_zorgproces}
26    	FILTER (?start_zorgproces <= ?peildatum && ((?eind_zorgproces >= ?peildatum)||(!BOUND(?eind_zorgproces))))
27    #selecteer de bijbehordene indicatie, om unieke clienten te kunnen bepalen
28    ?indicatie 
29        onz-g:hasPart ?zorgprofiel ;
30        onz-g:hasPart ?lv ;
31        onz-g:isAbout ?client .
32  		OPTIONAL {?indicatie onz-zorg:heeftIndicatieBehandeling ?behandeling}
33        BIND(IF(BOUND(?behandeling), ?behandeling, "false"^^xsd:boolean) AS ?incl_behandeling)
34    ?client a onz-g:Human .
35    ?lv
36    	a onz-zorg:Leveringsvorm ;
37        rdfs:label ?leveringsvorm_label ;
38        BIND(IF(?lv != onz-zorg:instelling, ?leveringsvorm_label, 
39      		IF(?incl_behandeling, "Verblijf met behandeling", "Verblijf zonder behandeling"))
40      		AS ?leveringsvorm)		
41} 
42GROUP BY ?leveringsvorm
43ORDER BY ?leveringsvorm