I'm trying to create a database of drug trials that have helped with 
various different symptoms. I want to display these as dynamic tables 
(using Jed Carty's at the moment). 

I want to be able to click on a particular symptom and see the trials that 
have been helpful, not helpful, and harmful for that particular symptom. 

At the moment, the database is organised by having tiddlers with a title 
(corresponding to the trial reference) and each with fields that correspond 
to the various symptoms these trials looked at. Each symptom can have the 
field value: improved, no change, deteriorated, not measured.

I'm trying to create a template tiddler to generate these tables, but I 
don't want to create a template for each symptom. At present, it looks like 
this:

<<ColumnTable """[depression[improved]]""" """duration drug1 dose1 drug2 
dose2 drug3 dose3""" true>>

<<ColumnTable """[depression[no change]]""" """duration drug1 dose1 drug2 
dose2 drug3 dose3""" true>>

<<ColumnTable """[depression[deteriorated]]""" """duration drug1 dose1 
drug2 dose2 drug3 dose3""" true>>

This works, but I would like to change the symptom (depression) to 
something dynamic. I thought of using the title of the tiddler, but

<<ColumnTable """[<currentTiddler>[no change]]""" """duration drug1 dose1 
drug2 dose2 drug3 dose3""" true>>

doesn't work. I've tried various different syntax variations without 
success. 

Any help would be much appreciated. The resulting website will be free and 
hopefully of use for people with mental health problems. Many thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/908eff40-e687-48e4-8cf4-bd7acf02f7cdn%40googlegroups.com.

Reply via email to