Template:Report: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 9: Line 9:
| EndDtTm = <eg 2018-01-01>
| EndDtTm = <eg 2018-01-01>
| Frequency = <eg monthly, quarterly, annually, as requested>
| 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 23: Line 24:
| EndDtTm = Date  
| EndDtTm = Date  
| Frequency = String
| Frequency = String
| ContactPerson = String
| 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 39: 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 50: 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: '''
Line 60: 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 70: 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|}}}
| 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: