Template:Data Integrity Check: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
 
(55 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This template manages information related to [[Data Integrity Checks]].  
This template manages information related to [[Data Integrity Checks]]. the template call is usually managed by [[Form:Data Integrity Check]].  


To use:  
To use:  
<pre>{{Data Integrity Check}}</pre>
<pre>{{Data Integrity Check}}
</pre>
'''and then use form'''
 
* if ready to implement, the template should also put the check on the [[Requested Changes]] Page. Now there is a tricky thing! Means we actually need to template requested changes in the first place. And if we go there, should a requested change turn into a log entry? It all becomes really disjointed but also powerful.
 
===Cargo declaration===
{{#cargo_declare:
_table = DataIntegrityChecks
|Summary=Wikitext
|Status=text
|App=page
|Timing=text
|ImplementationDate=date
|Coding=text
|Firmness=text
|L_Problem=boolean
|Backlogged=boolean
}}


== Notes for what needs to go in here... ==
Parameters / properties for:
* what is the check (one-liner)
* list of related pages (probably the one it's on, but there might be others...)
* which of the following are checking this: CCMDB, CFE, SAS (new template call for each)
* how to find this in containing program, eg. SAS file, function name, query name...
* implementation date
* is this a "hard check" or a "soft check"
* implementation or analysis status of the check (implemented, needs review, ready to implement, what other options ?)


[[Category:Data Integrity Check wiki infrastructure]]
[[Category:Data Integrity Check wiki infrastructure]]
Line 19: Line 28:




</noinclude>[[Category:Data Integrity Checks]]
 
 
 
 
===actual template code===
</noinclude>
{| class="wikitable" border="1" style="width: 100%"
| style="text-align: center; background-color:#99c2ff;" colspan="2" | [[Data Integrity Checks]]
|-
| style="background:silver; color:arsenic" align="right"| '''Summary: '''
| {{{DIC_summary|not entered}}}
|-
| style="background:silver; color:arsenic" align="right"| '''Related: '''
| {{#if:{{{DIC_related_concepts|}}}|{{#arraymap:{{{DIC_related_concepts}}}|;|x|[[x]]}} }}
|-
| style="background:silver; color:arsenic" align="right"| '''Firmness: '''
| {{{DIC_firmness |not entered}}}
|-
| style="background:silver; color:arsenic" align="right"| '''Timing: '''
| {{{DIC_timing | always}}}
|-
| style="background:silver; color:arsenic" align="right"| '''App: '''
| {{{DIC_app |not entered}}}
|-
| style="background:silver; color:arsenic" align="right"| '''Coding: '''
| {{{DIC_coding |not entered}}}
|-
| style="background:silver; color:arsenic" align="right"| '''Uses [[L Problem table]]: '''
| {{#ifeq:{{{DIC_app}}}|Centralized data front end.accdb|{{{DIC_LProblem|not entered}}}|not relevant for this app}}
|-
| style="background:silver; color:arsenic" align="right"| '''Status: '''
| {{{DIC_status |not entered}}}
|-
| style="background:silver; color:arsenic" align="right"| '''Implementation Date: '''
| {{{DIC_implementation_date |not entered}}}
|-
| style="background:silver; color:arsenic" align="right"| '''Backlogged: '''
| {{{DIC_backlogged|true}}} <!-- default to true if not entered -->
|} <includeonly><div style="display: none;">
 
* Cargo
{{#cargo_store:
_table = DataIntegrityChecks
|Summary={{{DIC_summary|not entered}}}
|Status={{{DIC_status|needs review}}}
|App={{{DIC_app|not entered}}}
|Timing= {{{DIC_timing |always}}}
|ImplementationDate={{{DIC_implementation_date|}}}
|Coding={{{DIC_coding |not entered}}}
|Firmness={{{DIC_firmness |not entered}}}
|L_Problem={{{DIC_LProblem|false}}}
|Backlogged={{{DIC_backlogged|true}}}
}}
 
* SMW
{{#set: DICLProblem={{{DIC_LProblem|false}}} }}{{
#set: DICStatus={{{DIC_status|needs review}}} }} {{
#set: DICApp={{{DIC_app|not entered}}} }} {{
#set: DICSummary={{{DIC_summary|not entered}}} }}{{
#if:{{{DIC_related_concepts|}}}|{{#arraymap:{{{DIC_related_concepts}}}|;|x|{{#set:DICRelatedConcepts=x}} }}|}}
 
* Categories:
[[Category:Data Integrity Checks]]
{{#if:{{{DIC_app}}}|[[Category:{{{DIC_app}}}]]|}}&nbsp;
 
* form:
{{#default_form:Data Integrity Check}}
</div></includeonly>

Latest revision as of 09:37, 2022 January 12

This template manages information related to Data Integrity Checks. the template call is usually managed by Form:Data Integrity Check.

To use:

{{Data Integrity Check}}

and then use form

  • if ready to implement, the template should also put the check on the Requested Changes Page. Now there is a tricky thing! Means we actually need to template requested changes in the first place. And if we go there, should a requested change turn into a log entry? It all becomes really disjointed but also powerful.

Cargo declaration

This template defines the table "DataIntegrityChecks". View table.





actual template code

Data Integrity Checks
Summary: not entered
Related:
Firmness: not entered
Timing: always
App: not entered
Coding: not entered
Uses L Problem table: not relevant for this app
Status: not entered
Implementation Date: not entered
Backlogged: true