Template:Report: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 8: Line 8:
| StartDtTm = <eg 2018-01-01>
| StartDtTm = <eg 2018-01-01>
| EndDtTm = <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>
| 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 21: Line 23:
| StartDtTm = Date  
| StartDtTm = Date  
| EndDtTm = Date  
| EndDtTm = Date  
| Recipients = String
| Frequency = String
| MailingList = String
| ContactPerson = String
| Indicators = String
| Recipients = String
| SASFiles = String
| MailingList = String
| SASFiles = Wikitext
}}
}}
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 37: 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 48: Line 55:
| style="background:silver; color:arsenic" align="right"| '''EndDtTm: '''
| style="background:silver; color:arsenic" align="right"| '''EndDtTm: '''
| {{{EndDtTm|}}}
| {{{EndDtTm|}}}
|-
| style="background:silver; color:arsenic" align="right"| '''Contact Person : '''
| {{{ContactPerson }}}
|-
|-
| style="background:silver; color:arsenic" align="right"| '''Recipients: '''
| style="background:silver; color:arsenic" align="right"| '''Recipients: '''
| {{{Recipients}}}
| {{{Recipients}}}
|-
| style="background:silver; color:arsenic" align="right"| '''Frequency: '''
| {{{Frequency}}}
|-
|-
| style="background:silver; color:arsenic" align="right"| '''MailingList: '''
| style="background:silver; color:arsenic" align="right"| '''MailingList: '''
| {{{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 65: Line 86:
* Cargo
* Cargo
{{#cargo_store:
{{#cargo_store:
_table = Publications
_table = Reports
| Program = {{{Program|}}}
| Program = {{{Program|}}}
| StartDtTm = {{{StartDtTm|}}}
| StartDtTm = {{{StartDtTm|}}}
| EndDtTm = {{{EndDtTm|}}}
| EndDtTm = {{{EndDtTm|}}}
| Frequency = {{{Frequency|}}}
| ContactPerson = {{{ContactPerson |}}}
| 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
}}
}}


* Categories
* Categories
[[Category:Report]]
[[Category:Reports]]


* Default form: {{#default_form:Report}}
* Default form: {{#default_form:Report}}


</div></includeonly>
</div></includeonly>

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: