User:Ttenbergen: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
 
(151 intermediate revisions by 2 users not shown)
Line 1: Line 1:
*Also see: [[Tina Tenbergen]]
*Also see: [[p:Tina Tenbergen]]


== quick edit test ==
== changing mediawiki appearance ==
test Ttenbergen 09:22, 2015 June 22 (CDT)
* See where all the mediawiki pages are editable: http://ccmdb.kuality.ca/index.php?uselang=qqx
* to edit them: go to the Mediawiki:<name listed above> page on this wiki
== Questions for Tina ==
see [[User:Ttenbergen/questions for tina]]


== transcluding category... ==
== SMW stuff ==
<!-- {{:Category:Health Sciences Center Office}}-->
full text search link
Doesn't work.
https://ccmdb.kuality.ca/index.php?title=Special%3AAsk&q=%5B%5BCategory%3AICD10+Diagnosis%5D%5D%0D%0A%5B%5B%7E%7Epneumothorax%5D%5D&po=&eq=yes&p%5Bformat%5D=broadtable&sort_num=&order_num=ASC&p%5Blimit%5D=500&p%5Boffset%5D=&p%5Blink%5D=all&p%5Bsort%5D=&p%5Bheaders%5D=show&p%5Bmainlabel%5D=&p%5Bintro%5D=&p%5Boutro%5D=&p%5Bsearchlabel%5D=...+further+results&p%5Bdefault%5D=&p%5Bclass%5D=sortable+wikitable+smwtable&p%5Bsep%5D=&eq=yes
 
== table side by side vs right justified ==
{| class="wikitable" border="1" align="right" width="30%"
|| title 1
|-
|  | line | 1
|}
{| class="wikitable" border="1" align="right" width="30%"
|| title 2
|-
|  | line | 2
|}
 
== ReplaceText ==
[[Special:ReplaceText]]
Can use [https://en.wikipedia.org/wiki/Regular_expression regExps] if you check '''use regular expressions''' such as <nowiki>[[Category: ?TISS76 ?]]</nowiki> to allow spaces or not.
 
== job queue ==
http://ccmdb.kuality.ca/api.php?action=query&meta=siteinfo&siprop=statistics&format=jsonfm
 
== Magic words ==
e.g. <nowiki>{{CURRENTYEAR}}</nowiki> to get : {{CURRENTYEAR}}
see https://www.mediawiki.org/wiki/Help:Magic_words
 
== transcluding subheadings... ==
<!-- {{:Requested_CCMDB_changes_for_the_next_version#Bug_Fixes}}-->
 
Doesn't work, sucks in whole article


== wiki testing, syntax and tricks ==
== wiki testing, syntax and tricks ==
* Transclusion of an article: <nowiki>{{:articlename}}</nowiki>
* Transclusion of an article: <nowiki>{{:articlename}}</nowiki>
* emailing lists: [mailto:dccc@hsc.mb.ca email the CC data collectors] (see also [[:Category:Critical Care Data Collectors]])
* emailing lists: [mailto:dccc@hsc.mb.ca email the CC data collectors] (see also [[p:Category:Critical Care Data Collectors]])
* sorted table: see [[Drugs Collected]]
* sorted table: see [[Drugs Collected]]
* file/UNC linking doesn't work because browsers disallow it as unsafe
* file/UNC linking doesn't work because browsers disallow it as unsafe
Line 20: Line 51:
lowercase works so hopefully so do the others...
lowercase works so hopefully so do the others...
http://en.wikipedia.org/wiki/Help:Parser_function  
http://en.wikipedia.org/wiki/Help:Parser_function  
{{lc: TrY ThIs }}
*{{lc: TrY ThIs }}
{{#if: | yes | no}}
*{{#if: | yes | no}}
{{#expr: 1 and -1 }}
*{{#expr: 1 and -1 }}
{{#if: string | yes | no}}
*{{#if: string | yes | no}}


=== Transclusion vs Substitution ===
=== Transclusion vs Substitution ===
Line 30: Line 61:
* http://www.mediawiki.org/wiki/Manual:Substitution - e.g. <nowiki>{{subst:templatename}}</nowiki>
* http://www.mediawiki.org/wiki/Manual:Substitution - e.g. <nowiki>{{subst:templatename}}</nowiki>


== tree ==
== Testing collapsing ==
Something to do with the wiki:
<div class="toccolours mw-collapsible mw-collapsed" style="width:40em">
{{#tree:
  ...test content...
*cpd_testing
</div>
**include
***neuro_lib.php
***neuroQueries.sql
***neuroQueries_010.sql
**output
***<empty:  csv files written here>
**styles
***neurohsc.css
*getcpdoutput.php
*index.php
*reset_neurohsc_ls1.php
}}
 
==Non-Image file links to the wiki==
* <nowiki>[[</nowiki> '''Media''':Transition coordinator.gif | this link<nowiki>]]</nowiki>
becomes
* [[Media:Transition coordinator.gif | this link]]
 
Advantage of linking this way is that the page
* [[Image:Transition coordinator.gif]]
will list the linking page, whereas a full external linking (e.g. [http://ltc.umanitoba.ca/wikis/ccmdb/images/c/c1/Greensheet_FORM.pdf '''Green Sheet''']) is not tracked. This allows tracking, version control, maintenance and clean-up of uploaded files.
 
File:Transition coordinator.gif
 
== location table ==
Trish, you had asked for a [[Site and Location table]]... how about this:
 
 
{| class="wikitable sortable"
|-
!| program
!| site
!| ward
!| designation
!| Service Type
!| start date (includes all patients in the unit on this date)
!| note
!| end date
 
 


|-
== Testing colours ==
||Med||HSC||A4||HSC_A4|| [[CTU]] ||2003-Oct-01 || ||
https://en.wikipedia.org/wiki/List_of_colors:_A%E2%80%93F
|-
* [[ICD10|<span style="color:#8806CE">foo</span>]] "french violet" for followed links
||Med||HSC||H4||HSC_H4|| [[CTU]] ||2004-Apr-01 ||  ||
* [[ICD10|<span style="color:#00BFFF">foo</span>]] "capri" for unlikely contrast
|-
||Med||HSC||D4||HSC_D4|| [[CTU]] ||2004-Mar-01 ||  ||
|-
||Med||HSC||D5||HSC_D5|| [[NTU]] ||2004-Mar-01 ||  ||
|-
||Med||HSC||B3||HSC_B3|| [[NTU]] || 2005-Feb-01 || ||
|-
||Med||HSC||H4H||HSC_[[H4H]]|| [[CTU]] || 2005-May-01 ||  ||
|-
||Med||HSC||H4H||HSC_H4H_a|| [[CTU]] || 2014-Dec-02 || See HSC H4H start date||
|-
||Med||HSC||H4H||HSC_H4H_b|| [[CTU]]  || 2014-Dec-05 || See HSC H4H start date ||
|-
||Med||HSC||H4H||HSC_H4H_d|| [[CTU]]  || 2014-Dec-02 || See HSC H4H start date ||
|-
||Med||HSC||H4H||HSC_H4H_h|| [[CTU]]  || 2014-Nov-25 || See HSC H4H start date ||
|-
||Med||HSC||H7||HSC_H7||[[CTU]] ||  || Not used.  Collector entere location A4, D4, H4 which is based on Physician service patient admitted under while in this overflow area||
|-
||CC||HSC||IICU||HSC_IICU|| ICU || 1997-May-13 ||  ||
|-
||CC||HSC||MICU||HSC_MICU|| ICU || 1988-Jul-11 || ||
|-
||CC||HSC||MICU||HSC_MICa|| ICU || 2015-May-01 || See HSC MICU start date ||
|-
||CC||HSC||SICU||HSC_SICU|| ICU || 1988-Jul-11 ||  ||
|-
||CC||HSC||SICU||HSC_SICa|| ICU || || See HSC SICU start date ||
|-
||CC||HSC||IICU||HSC_IICa|| ICU ||  || See HSC IICU start date ||
|-
||CC||HSC||CCU||HSC_CCU || ICU || 1999-May-01  ||  ||
|-
||CC||HSC||CCU||HSC_CCUa|| ICU || 2015-May-02 || See HSC CCU start date ||
|-
||CC||HSC||MICU||HSC_MICb|| ICU || || See HSC MICU start date ||
|-
||CC||HSC||SICb||HSC_SICb|| ICU || 2015-May-01 || See HSC SICU start date ||
|-
||CC||HSC||IICU||HSC_IICb|| ICU || 2015-May-01  || HSC IICU start date ||
|-
||CC||HSC||CCUb||HSC_CCUb|| ICU ||  || See HSC CCU start date  ||
|-
||CC||HSC||MICU||HSC_MICd|| ICU || 2015-May-22  || See HSC MICU start date ||
|-
||CC||HSC||SICU||HSC_SICd|| ICU ||  ||  See HSC SICU start date || 
|-
||CC||HSC||IICU||HSC_IICd|| ICU ||  || See HSC IICU start date ||
|-
||CC||HSC||CCU||HSC_CCUd|| ICU || 2015-May-24 || See HSC CCU start date ||
|-
||Med||HSC||OVER||HSC_[[OVER]]||[[NTU]] ||  || Not used. Pts that overflow into Rehab center area, the location is entered A4, D4, H4 and this depends on the physician service they are admitted under.  HSC. SEE:[[HSC Med nonteaching contingency beds]] ||
|-
||CC||HSC||SICU||HSC_SICU|| ICU || 1988-Jul-01 ||  ||
|-
||Med||HSC||TEST||HSC_TEST|| x || ||  ||
|-
||CC||OAK||MICU||OAK_MICU|| ICU || 1999-Jun-01 ||  ||
|-
||Med||STB||5B||STB_5B|| [[NTU]] || 2009-Nov-18 || See STB B4 start date. (STB B4+STB 5B+STB 5b_x)=STB 5B. (same service, ward change)
|-
||Med||STB||5B||STB_5B_x|| [[NTU]] || 2015-Jan-30 || See STB B4 start date ||
|-
||Med||STB||B4||STB_B4|| [[NTU]] || 2004_Nov-01 || (STB B4+STB 5B+STB 5B_x)=STB 5B || 2009-Nov-17
|-
||Med||STB||B5||STB_B5|| [[CTU]] || 2004-Aug-01 || (STB B5+STB E6)=E6 || 2004-Oct-13
|-
||CC||STB||CCU||STB_CCU|| ICU || 1999-May-24 ||  ||
|-
||CC||STB||CICU||STB_CICU|| ICU || 2007-Jan-15 ||  ||
|-
||Med||STB||E5||STB_E5|| [[CTU]] || 2004-Dec-01 ||  ||
|-
||Med||STB||E6||STB_E6|| [[CTU]] || 2019-Oct-14 || ||
|-
||CC||STB||MICU||STB_MICU|| ICU || 1999-May-24 || SICU, MICU combined 2007-Jan-15 ||
|-
||CC||STB||SICU||STB_SICU|| ICU || 1999-May-24 ||  ||
|-
||Med||VIC||[[EMIP]]||VIC_[[EMIP]]|| [[CTU]] or [[NTU]] || 2007-Feb-01 || Pt's entire LOS is in ER while under the care of a Medicine service physician.  Doc's at Vic don't cooperated to label if VMU or CTU so collector's judgement call ||
|-
||CC||VIC||MICU||VIC_MICU||ICU || 1999-Jun-01 || ||
|-
||Med||VIC||N3F||VIC_N3F|| Family Med || 2005-Jul-01 || 1 year project || 2006-Jun-30
|-
||Med||VIC||N5||VIC_N5|| [[CTU]] || 2005-Aug-01 ||  ||
|-
||Med||VIC||[[OVER]]||VIC_[[OVER]]|| [[CTU]] or [[NTU]] || 2007-May-09 || Not used. The collector review charts and put in S4 if under CTU service physician or N5,S5 or S3 if admitted under a VMU service physician. ||
|-
||Med||VIC||S3||VIC_S3|| [[NTU]]  || 2005-Oct-01 ||  ||
|-
||Med||VIC||S4||VIC_S4|| [[CTU]] || 2009-Aug-01 ||  ||
|-
||Med||VIC||S4||VIC_S4||[[NTU]]|| 2005-Oct-01 ||  || 2009-Jul-31
|-
||Med||VIC||N4/S3||VIC_N4/S3||[[NTU]]|| 2005-Oct-01 ||[[Site and Location#Details for Vic N4/S3 |'''N4''']] || 2009-Jul-31
|-
||Med||VIC||S5||VIC_S5|| [[CTU]] || 2005-Sep-01 ||  ||
|-
||Med||GRA|| N3||GRA_N3|| [[CTU]] || 2005-Jan-01 ||  ||
|-
||Med||GRA|| N5||GRA_N5|| [[NTU]] || 2005-Jan-01 ||  ||
|-
||Med||GRA|| [[Site and Location#Details for Grace W3 / E3 / S3 | '''W3''']]||GRA_W3|| [[NTU]] || 2005-Jan-01 || [[METU]].  We call it [[Site and Location#Details for Grace W3 / E3 / S3 | '''W3''']].  W3 & E3 are referred to as: 3 South (S3) at Grace. Includes the east and west corridors on the south side of 3rd floor ||
|-
||Med||GRA|| [[EMIP]]||GRA_[[EMIP|| [[CTU]] || 2010-Nov-01 || This location is not used. The collector reviews charts and put in location either N5 or N3 ||
|-
||Med||GRA|| [[OVER]]||GRA_[[OVER]]|| [[CTU]] || 2007-May-09 || this location is not used.  The collector reviews charts and put admit location as either N5 or N3.  This depends on the Physician the patient is admitted under while overflowing onto a non med service bed. || 
|-
||CC||GRA|| MICU||GRA_MICU|| ICU || 1998-Sep-14 ||  ||
|}

Latest revision as of 18:06, 2022 January 6

changing mediawiki appearance

Questions for Tina

see User:Ttenbergen/questions for tina

SMW stuff

full text search link https://ccmdb.kuality.ca/index.php?title=Special%3AAsk&q=%5B%5BCategory%3AICD10+Diagnosis%5D%5D%0D%0A%5B%5B%7E%7Epneumothorax%5D%5D&po=&eq=yes&p%5Bformat%5D=broadtable&sort_num=&order_num=ASC&p%5Blimit%5D=500&p%5Boffset%5D=&p%5Blink%5D=all&p%5Bsort%5D=&p%5Bheaders%5D=show&p%5Bmainlabel%5D=&p%5Bintro%5D=&p%5Boutro%5D=&p%5Bsearchlabel%5D=...+further+results&p%5Bdefault%5D=&p%5Bclass%5D=sortable+wikitable+smwtable&p%5Bsep%5D=&eq=yes

table side by side vs right justified

title 1
line | 1
title 2
line | 2

ReplaceText

Special:ReplaceText Can use regExps if you check use regular expressions such as [[Category: ?TISS76 ?]] to allow spaces or not.

job queue

http://ccmdb.kuality.ca/api.php?action=query&meta=siteinfo&siprop=statistics&format=jsonfm

Magic words

e.g. {{CURRENTYEAR}} to get : 2024 see https://www.mediawiki.org/wiki/Help:Magic_words

transcluding subheadings...

Doesn't work, sucks in whole article

wiki testing, syntax and tricks

Parser Functions

lowercase works so hopefully so do the others... http://en.wikipedia.org/wiki/Help:Parser_function

  • try this
  • no
  • 1
  • yes

Transclusion vs Substitution

Transclusion is calling content from a page or template, substitution is copying it.

Testing collapsing

...test content...

Testing colours

https://en.wikipedia.org/wiki/List_of_colors:_A%E2%80%93F

  • foo "french violet" for followed links
  • foo "capri" for unlikely contrast