Template:Reporting Indicators: Difference between revisions

mNo edit summary
m Text replacement - "[[Category: " to "[[Category:"
 
(24 intermediate revisions by the same user not shown)
Line 3: Line 3:
  <nowiki>{{</nowiki>{{PAGENAME}}
  <nowiki>{{</nowiki>{{PAGENAME}}
  | description = (one sentence description of indicator)  
  | description = (one sentence description of indicator)  
  | indicator_name = {{PAGENAME}}
  | indicator_name = <nowiki>{{</nowiki>PAGENAME}}
  | created_raw = (Created / Raw)  
  | created_raw = (Created / Raw)  
  | program = (Critical Care / Medicine)  
  | program = (Critical Care / Medicine / Critical Care and Medicine)  
  | indicator_start_date = (date from which data is available to generate)
  | indicator_start_date = (date from which data is available to generate)
  | indicator_end_date = (date until which data is available to generate)
  | indicator_end_date = (date until which data is available to generate)
| DataDependencies = <list of [[Indicators]] and/or [[Auto_Data_Dictionary|Data Element]]s separated by semicolons>
  <nowiki>}</nowiki>}
  <nowiki>}</nowiki>}
   
   
Line 41: Line 42:
{{Related Articles}}
{{Related Articles}}
   
   
===Cargo declaration===
{{#cargo_declare:
_table = Indicators
| Description = Wikitext
| CreatedRaw = Wikitext string
| Program = Wikitext string
| StartDtTm = Date
| EndDtTm = Date
}}
 
[[Category:Indicators | *]]
[[Category:Indicators | *]]
[[Category:Quality wiki infrastructure]]
[[Category:Quality wiki infrastructure]]
[[Category:Data Dependencies wiki infrastructure]]
[[Category:Reports | *]]
[[Category:Reports | *]]
----
----


</noinclude><onlyinclude>[[IndicatorDescription::{{{description|no description given}}}]]</onlyinclude>
</noinclude><includeonly>[[IndicatorDescription::{{{description|no description given}}}]]</includeonly>


{| class="wikitable" border="1" style="float:right; width:30%"
{| class="wikitable" border="1" style="float:right; width:30%"
| style="text-align: center; background-color:#99c2ff;" colspan="2" | <span style="font-size: larger;">[[Indicators]]</span>
|-
|-
| style="background:silver; color:arsenic" align="right"| '''Indicator: '''
| style="background:silver; color:arsenic" align="right"| '''Indicator: '''
Line 63: Line 75:
|{{{indicator_start_date|}}}
|{{{indicator_start_date|}}}
|-
|-
| style="background:silver; color:arsenic" align="right"| '''End Date '''
| style="background:silver; color:arsenic" align="right"| '''End Date:'''
|{{{indicator_end_date|}}}
|{{{indicator_end_date|}}}
|-
| style="background:silver; color:arsenic" align="right"| '''Reports:'''
| <includeonly>{{#cargo_query:
tables=Data_Dependencies
|fields=Derived
|where=Components HOLDS '{{PAGENAME}}'
|format=list
|default= No reports on this wiki list this as an indicator.
}}</includeonly>
|-
| style="background:silver; color:arsenic" align="right"| {{Data Dependencies infobox label}}
| <includeonly>{{#cargo_query:
tables=Data_Dependencies
|fields=Components
|where=Derived = '{{PAGENAME}}'
|format=list
|default= No reports on this wiki list this as an indicator.
}}</includeonly>
|}
|}
=== Reports using this ===
 
{{#cargo_query:
<includeonly>
tables=Reports
<div style="display: none;">
|fields=_pageName
 
|where=Indicators HOLDS '{{PAGENAME}}'
* Cargo
|format=list
{{#cargo_store:
|default=  
_table = Indicators
| Description = {{{description|no description given}}}
| CreatedRaw = {{{created_raw|}}}
| Program = {{{program|not stated}}}
| StartDtTm = {{{indicator_start_date|}}}
| EndDtTm = {{{indicator_end_date|}}}
}}
 
* Helper template:
{{Data Dependencies
| Derived={{PAGENAME}}
| Components={{{DataDependencies|}}}
| Derived_Type=I
}}
}}
<includeonly>
 
[[IndicatorName::{{{indicator_name|not stated}}}| ]]
* SMW:
[[IndicatorCreatedRaw::{{{created_raw|not stated}}}| ]]
** [[IndicatorName::{{{indicator_name|not stated}}}| ]]
[[IndicatorProgram::{{{program|not stated}}}| ]]
** [[IndicatorCreatedRaw::{{{created_raw|not stated}}}| ]]
[[IndicatorStartDate::{{{indicator_start_date|1900-01-01}}}|]]
** [[IndicatorProgram::{{{program|not stated}}}| ]]
[[IndicatorEndDate::{{{indicator_end_date|2100-01-01}}}|]]
** [[IndicatorStartDate::{{{indicator_start_date|1900-01-01}}}|]]
[[Category:Indicators]][[Category: Reporting]][[Category: Statistical Analysis]]</includeonly>
** [[IndicatorEndDate::{{{indicator_end_date|2100-01-01}}}|]]
 
* Categories
[[Category:Reports]][[Category:Indicators]][[Category:Reporting]]
 
* Default form: {{#default_form:Reporting Indicators}}
 
</div></includeonly>