Template:Subventions: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
|<h1>Stretcher usage</h1> | |<h1>Stretcher usage</h1> | ||
<div class="hidden"> | <div class="hidden"> | ||
{{ #vardefine: as|{{ #expr: {{ #ask: [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]|?Functional stretchers|format=sum}} / {{ #ask: [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]|? | {{ #vardefine: recs|{{ #ask: [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]|format=count}} }} | ||
|? | |||
<!-- average stretchers -->{{ #vardefine: as|{{ #expr: {{ #ask: [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]|?Functional stretchers|format=sum}} / {{ #var: recs }} }} }} | |||
<!-- average occupied -->{{ #vardefine: avocc|{{ #expr: ({{ #ask: [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]|?Medical stretchers used|format=sum}} + {{ #ask: [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]|?Psychiatric stretchers used|format=sum}}) / {{ #var: recs }} }} }} | |||
<!-- average occupied 48h -->{{ #vardefine: avocc4|{{ #expr: ({{ #ask: [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]|?More than 48H Medical stretchers used|format=sum}} + {{ #ask: [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]|?More than 48H Psychiatric stretchers used|format=sum}}) / {{ #var: recs }} }} }} | |||
<!-- latest occupied -->{{ #vardefine: latocc|{{ #expr: {{ #ask: [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]] | |||
|?Medical stretchers used= | |||
|sort=date | |||
|order=desc | |||
|limit=1 | |||
|mainlabel=- | |||
|searchlabel= | |||
|intro=}} + {{ #ask: [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]] | |||
|?Psychiatric stretchers used= | |||
|sort=date | |||
|order=desc | |||
|limit=1 | |||
|mainlabel=- | |||
|searchlabel= | |||
|intro=}} }} }}<!-- latest overcapacity 48h -->{{ #vardefine: latocc4|{{ #expr: {{ #ask: [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]] | |||
|?More than 48H Medical stretchers used= | |||
|sort=date | |sort=date | ||
|order=desc | |order=desc | ||
Line 27: | Line 49: | ||
|mainlabel=- | |mainlabel=- | ||
|searchlabel= | |searchlabel= | ||
|intro=}} | |intro=}} + {{ #ask: [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]] | ||
|? | |?More than 48H Psychiatric stretchers used= | ||
|sort=date | |sort=date | ||
|order=desc | |order=desc | ||
Line 34: | Line 56: | ||
|mainlabel=- | |mainlabel=- | ||
|searchlabel= | |searchlabel= | ||
|intro=}} }} | |intro=}} }} }} | ||
</div> | </div> | ||
Average stretchers: {{ #set: Average stretchers={{ #var: as }} }}{{ #var: as}}<br /> | Average stretchers: {{ #set: Average stretchers={{ #var: as }} }}{{ #var: as}}<br /> | ||
Average overcapacity: {{ #set: Average overcapacity={{ #var: | Average overcapacity: {{ #set: Average overcapacity={{ #var: avocc }} }}<span class="posneg">{{ #var: avocc}}</span><br /> | ||
Average overcapacity more than 48H: {{ #set: Average overcapacity more than 48H={{ #var: | Average overcapacity more than 48H: {{ #set: Average overcapacity more than 48H={{ #var: avocc4 }} }}<span class="posneg">{{ #var: avocc4}}</span><br /> | ||
Latest overcapacity: {{ #set: Latest overcapacity={{#var: | Latest overcapacity: {{ #set: Latest overcapacity={{#var: latocc }} }}<span class="posneg">{{ #var: latocc}}</span><br /> | ||
Latest overcapacity more than 48H: {{ #set: Latest overcapacity more than 48H={{ #var: | Latest overcapacity more than 48H: {{ #set: Latest overcapacity more than 48H={{ #var: latocc4 }} }}<span class="posneg">{{ #var: latocc4 }}</span><br /> | ||
{{ #ask: [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]] | {{ #ask: [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]] |