Template:Report: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 12: Line 12:
| Recipients = <names>
| Recipients = <names>
| MailingList = <Outlook list if applicable>
| MailingList = <Outlook list if applicable>
| Indicators = <list of [[Indicators]] separated by semicolons>
| DataDependencies = <list of [[Indicators]] and/or [[Data Element]] separated by semicolons>
| SASFiles = <path for SAS files>
| SASFiles = <path(s) for SAS files>
}}
}}
</pre>
</pre>
Line 27: Line 27:
| Recipients = String
| Recipients = String
| MailingList = String
| MailingList = String
| Indicators = List (,) of Page
| SASFiles = Wikitext
| SASFiles = String
}}
}}
used to include
| DataDependencies = List (;) of Page
but that is now handled by [[Template:Data Dependencies]]




[[Category:Quality wiki infrastructure]]
[[Category:Quality wiki infrastructure]]
[[Category:Data Dependencies wiki infrastructure]]
[[Category:Reports]]
[[Category:Reports]]
----
----
Line 41: Line 44:


</noinclude><div style="clear:right;">
</noinclude><div style="clear:right;">
{| class="wikitable" border="1" style="float:right; width:100%"
{| class="wikitable" border="1" style="float:right; width:30%"
| style="text-align: center; background-color:#99c2ff;" colspan="2" | <span style="font-size: larger;">[[Reports]]</span>
| style="text-align: center; background-color:#99c2ff;" colspan="2" | <span style="font-size: larger;">[[Reports]]</span>
|-
|-
Line 65: Line 68:
| {{{MailingList}}}
| {{{MailingList}}}
|-
|-
| style="background:silver; color:arsenic" align="right"| '''Indicators: '''
| style="background:silver; color:arsenic" align="right"| {{Data Dependencies infobox label}}
| {{{Indicators}}}
| <!-- if we list the parameter here directly it will not display as page links, it needs to be processed by Cargo as a list to work right, so needs to be done as query.
-->{{#cargo_query:
tables=Data_Dependencies
|fields=Components
|where=_pageName = "{{PAGENAME}}"
|format=list
|default= No reports on this wiki list this as an indicator.
}}
|-
|-
| style="background:silver; color:arsenic" align="right"| '''SASFiles: '''
| style="background:silver; color:arsenic" align="right"| '''SASFiles: '''
| {{{SASFiles}}}
|  
{{{SASFiles|}}}
|-
|-
|} &nbsp;<!-- without this nbsp the template misbehaves! --> <includeonly><div style="display: none;">
|} &nbsp;<!-- without this nbsp the template misbehaves! --> <includeonly><div style="display: none;">
Line 83: Line 94:
| Recipients  =  {{{Recipients|}}}
| Recipients  =  {{{Recipients|}}}
| MailingList = {{{MailingList|}}}
| MailingList = {{{MailingList|}}}
| Indicators = {{{Indicators|}}}
| SASFiles  = {{{SASFiles|}}}
| SASFiles  = {{{SASFiles|}}}
}}
used to include
| DataDependencies = {{{DataDependencies|}}}
but that is now handled by [[Template:Data Dependencies]]
* Helper template:
{{Data Dependencies
| Derived={{PAGENAME}}
| Components={{{DataDependencies|}}}
| Derived_Type=R
}}
}}



Latest revision as of 13:35, 12 June 2025

Template Use

This tempalte is to be used in articles about reports to make sure they are consistent and listed in Reports and Indicators and that the relevant Indicators' pages list the report.


{{Report
| Program = < one of Critical Care, Medicine, Critical Care and Medicine >
| StartDtTm = <eg 2018-01-01>
| EndDtTm = <eg 2018-01-01>
| Frequency = <eg monthly, quarterly, annually, as requested>
| ContactPerson= <names, organization if outside of Shared Health>
| Recipients = <names>
| MailingList = <Outlook list if applicable>
| DataDependencies = <list of [[Indicators]] and/or [[Data Element]] separated by semicolons>
| SASFiles = <path(s) for SAS files>
}}

Cargo declaration

This template defines the table "Reports". View table. used to include

| DataDependencies = List (;) of Page

but that is now handled by Template:Data Dependencies




Reports
Report: Report
StartDtTm:
EndDtTm:
Contact Person : {{{ContactPerson }}}
Recipients: {{{Recipients}}}
Frequency: {{{Frequency}}}
MailingList: {{{MailingList}}}
Data Dependencies(Reports/Indicators/Data Elements): No reports on this wiki list this as an indicator.
SASFiles: