Тема «частичного решения» — ссылка.
Плагин pot производит вычисления на PHP, поэтому экспортировать страницу с помощью dw2pdf возможно.
Движок форума в блоках кода неверно выводит эмоджи: для static
вместо x
и v
должны быть ❌ и ✅ соответственно; для hidden
и yesno
вместо v
должно быть ✔
Форма Bureaucracy
Вики-разметка страницы с формой:
====== UIATS ======
<form>
action template playground:uiats-table playground:uiats:@@title@@
hidden "title" "=u-%F_%H-%M-%S"
hidden "pot-rr" "=<pot @rr | ~v >"
hidden "pot-cm" "=<pot @cm | ~v >"
hidden "pot-end" "=</pot>"
fieldset "1"
wiki "<wrap em>**P A T I E N T**</wrap>"
fieldset "1.1 - Age"
select "Please select the corresponding age" "|‹ 40 years|40-60 years|61-70 years|71-80 years|› 80 years"
hidden "pot-11" "=<pot @rr11 | ~v >"
fieldset "1.1 - Age - control" "Please select the corresponding age" ""
static "x"
fieldset "1.1 - Age - score: 4" "Please select the corresponding age" "‹ 40 years"
static "v"
hidden "ch_age4" "=v"
hidden "age4" "=4"
fieldset "1.1 - Age - score: 3" "Please select the corresponding age" "40-60 years"
static "v"
hidden "ch_age3" "=v"
hidden "age3" "=3"
fieldset "1.1 - Age - score: 2" "Please select the corresponding age" "61-70 years"
static "v"
hidden "ch_age2" "=v"
hidden "age2" "=2"
fieldset "1.1 - Age - score: 1" "Please select the corresponding age" "71-80 years"
static "v"
hidden "ch_age1" "=v"
hidden "age1" "=1"
fieldset "1.1 - Age - score: 0" "Please select the corresponding age" "› 80 years"
static "v"
hidden "ch_age0" "=v"
hidden "age0" "=0"
fieldset "1.2 - Risk factor incidence (multiple, please select all that apply)"
yesno "Previous SAH from a different aneurysm" "=<pot @f12_1 | display=none | ~v > 4 </pot>v" "!<pot @f12_1 | display=none | ~v > 0 </pot>"
yesno "Familial intracranial aneurysms or SAH" "=<pot @f12_2 | display=none | ~v > 3 </pot>v" "!<pot @f12_2 | display=none | ~v > 0 </pot>"
yesno "Japanese, Finnish, Inuit ethnicity" "=<pot @f12_3 | display=none | ~v > 2 </pot>v" "!<pot @f12_3 | display=none | ~v > 0 </pot>"
yesno "Current cigarette smoking" "=<pot @f12_4 | display=none | ~v > 3 </pot>v" "!<pot @f12_4 | display=none | ~v > 0 </pot>"
yesno "Hypertension (systolic BP › 140 mmHg)" "=<pot @f12_5 | display=none | ~v > 2 </pot>v" "!<pot @f12_5 | display=none | ~v > 0 </pot>"
yesno "Autosomal-polycystic kidney disease" "=<pot @f12_6 | display=none | ~v > 2 </pot>v" "!<pot @f12_6 | display=none | ~v > 0 </pot>"
yesno "Current drug abuse (cocain, amphetamine)" "=<pot @f12_7 | display=none | ~v > 2 </pot>v" "!<pot @f12_7 | display=none | ~v > 0 </pot>"
yesno "Current alcohol abuse" "=<pot @f12_8 | display=none | ~v > 1 </pot>v" "!<pot @f12_8 | display=none | ~v > 0 </pot>"
hidden "pot-12" "=<pot @rr12 | ~v >"
fieldset "1.3 - Clinical symptoms related to UAI (multiple, please select all that apply)"
yesno "Cranial nerve deficit" "=<pot @f13_1 | display=none | ~v > 4 </pot>v" "!<pot @f13_1 | display=none | ~v > 0 </pot>"
yesno "Clinical or radiological mass effect" "=<pot @f13_2 | display=none | ~v > 4 </pot>v" "!<pot @f13_2 | display=none | ~v > 0 </pot>"
yesno "Thromboembolic events from the aneurysm" "=<pot @f13_3 | display=none | ~v > 3 </pot>v" "!<pot @f13_3 | display=none | ~v > 0 </pot>"
yesno "Epilepsy" "=<pot @f13_4 | display=none | ~v > 1 </pot>v" "!<pot @f13_4 | display=none | ~v > 0 </pot>"
hidden "pot-13" "=<pot @rr13 | ~v >"
fieldset "1.4 - Other (multiple, please select all that apply)"
yesno "Reduced quality of life due to fear of rupture" "=<pot @f14_1 | display=none | ~v > 2 </pot>v" "!<pot @f14_1 | display=none | ~v > 0 </pot>"
yesno "Aneurysm multiplicity" "=<pot @f14_2 | display=none | ~v > 1 </pot>v" "!<pot @f14_2 | display=none | ~v > 0 </pot>"
hidden "pot-14" "=<pot @rr14 | ~v >"
fieldset "1.5 - Life expectancy due to chronic and/or malignant diseases (single, please select one option)"
select "(1.5) Please select:" "|‹ 5 years|5-10 years|› 10 years"
hidden "pot-15" "=<pot @cm15 | ~v >"
fieldset "1.5 - Life expectancy - control" "(1.5) Please select:" ""
static "x"
fieldset "1.5 - Life expectancy - score: 4" "(1.5) Please select:" "‹ 5 years"
static "v"
hidden "ch_lifeexp4" "=v"
hidden "lifeexp4" "=4"
fieldset "1.5 - Life expectancy - score: 3" "(1.5) Please select:" "5-10 years"
static "v"
hidden "ch_lifeexp3" "=v"
hidden "lifeexp3" "=3"
fieldset "1.5 - Life expectancy - score: 1" "(1.5) Please select:" "› 10 years"
static "v"
hidden "ch_lifeexp1" "=v"
hidden "lifeexp1" "=1"
fieldset "1.6 - Comorbid diseases (multiple, please select all that apply)"
yesno "Neurocognitive disorder" "=<pot @f16_1 | display=none | ~v > 3 </pot>v" "!<pot @f16_1 | display=none | ~v > 0 </pot>"
yesno "Coagulopathies, thrombophilic diseases" "=<pot @f16_2 | display=none | ~v > 2 </pot>v" "!<pot @f16_2 | display=none | ~v > 0 </pot>"
yesno "Psychiatric disorder" "=<pot @f16_3 | display=none | ~v > 2 </pot>v" "!<pot @f16_3 | display=none | ~v > 0 </pot>"
hidden "pot-16" "=<pot @cm16 | ~v >"
fieldset "2"
wiki "<wrap em>**A N E U R Y S M**</wrap>"
fieldset "2.1 - Maximum diameter of the Aneurysm"
select "(2.1) Please select:" "|≤ 3.9 mm|4.0-6.9 mm|7.0-12.9 mm|13.0-24.9 mm|≥ 25 mm"
hidden "pot-21" "=<pot @rr11 | ~v >"
fieldset "2.1 - Maximum diameter of the Aneurysm - control" "(2.1) Please select:" ""
static "x"
fieldset "2.1 - Maximum diameter of the Aneurysm - score: 0" "(2.1) Please select:" "≤ 3.9 mm"
static "v"
hidden "ch_maxdiam0" "=v"
hidden "maxdiam0" "=0"
fieldset "2.1 - Maximum diameter of the Aneurysm - score: 1" "(2.1) Please select:" "4.0-6.9 mm"
static "v"
hidden "ch_maxdiam1" "=v"
hidden "maxdiam1" "=1"
fieldset "2.1 - Maximum diameter of the Aneurysm - score: 2" "(2.1) Please select:" "7.0-12.9 mm"
static "v"
hidden "ch_maxdiam2" "=v"
hidden "maxdiam2" "=2"
fieldset "2.1 - Maximum diameter of the Aneurysm - score: 3" "(2.1) Please select:" "13.0-24.9 mm"
static "v"
hidden "ch_maxdiam3" "=v"
hidden "maxdiam3" "=3"
fieldset "2.1 - Maximum diameter of the Aneurysm - score: 4" "(2.1) Please select:" "≥ 25 mm"
static "v"
hidden "ch_maxdiam4" "=v"
hidden "maxdiam4" "=4"
fieldset "2.2 - Aneurysm Morphology"
yesno "Irregularity or lobulation" "=<pot @f22_1 | display=none | ~v > 3 </pot>v" "!<pot @f22_1 | display=none | ~v > 0 </pot>"
yesno "Size ration › 3 or aspect ration › 1.6" "=<pot @f22_2 | display=none | ~v > 1 </pot>v" "!<pot @f22_2 | display=none | ~v > 0 </pot>"
hidden "pot-22" "=<pot @rr22 | ~v >"
fieldset "2.3 - Location of the aneurysm"
select "(2.3) Please select:" "|BasA bifurcation|Vertrebral/basilar artery|AcomA or PcomA"
hidden "pot-23" "=<pot @rr23 | ~v >"
fieldset "2.3 - Location of the aneurysm - control" "(2.3) Please select:" ""
static "x"
fieldset "2.3 - Location of the aneurysm - score: 5" "(2.3) Please select:" "BasA bifurcation"
static "v"
hidden "ch_ln5" "=v"
hidden "ln5" "=5"
fieldset "2.3 - Location of the aneurysm - score: 4" "(2.3) Please select:" "Vertrebral/basilar artery"
static "v"
hidden "ch_ln4" "=v"
hidden "ln4" "=4"
fieldset "2.3 - Location of the aneurysm - score: 2" "(2.3) Please select:" "AcomA or PcomA"
static "v"
hidden "ch_ln2" "=v"
hidden "ln2" "=2"
fieldset "2.4 - Other (multiple, please select all that apply)"
yesno "Aneurysm growth on serial imaging" "=<pot @f24_1 | display=none | ~v > 4 </pot>v" "!<pot @f24_1 | display=none | ~v > 0 </pot>"
yesno "Aneurysm de novo formation on serial imaging" "=<pot @f24_2 | display=none | ~v > 3 </pot>v" "!<pot @f24_2 | display=none | ~v > 0 </pot>"
yesno "Contralateral stenoocclusive vessel disease" "=<pot @f24_3 | display=none | ~v > 1 </pot>v" "!<pot @f24_3 | display=none | ~v > 0 </pot>"
hidden "pot-24" "=<pot @rr24 | ~v >"
fieldset "3"
wiki "<wrap em>**T R E A T M E N T**</wrap>"
fieldset "3.1 - Age-related risk"
select "(3.1) Please select:" "|‹ 40 years|41-60 years|61-70 years|71-80 years|› 80 years"
hidden "pot-31" "=<pot @cm31 | ~v >"
fieldset "3.1 - Age-related risk - control" "(3.1) Please select:" ""
static "x"
fieldset "3.1 - Age-related risk - score: 0" "(3.1) Please select:" "‹ 40 years"
static "v"
hidden "ch_agerr0" "=v"
hidden "agerr0" "=0"
fieldset "3.1 - Age-related risk - score: 1" "(3.1) Please select:" "41-60 years"
static "v"
hidden "ch_agerr1" "=v"
hidden "agerr1" "=1"
fieldset "3.1 - Age-related risk - score: 3" "(3.1) Please select:" "61-70 years"
static "v"
hidden "ch_agerr3" "=v"
hidden "agerr3" "=3"
fieldset "3.1 - Age-related risk - score: 4" "(3.1) Please select:" "71-80 years"
static "v"
hidden "ch_agerr4" "=v"
hidden "agerr4" "=4"
fieldset "3.1 - Age-related risk - score: 5" "(3.1) Please select:" "› 80 years"
static "v"
hidden "ch_agerr5" "=v"
hidden "agerr5" "=5"
fieldset "3.2 - Aneurysm size-related risk"
select "(3.2) Please select:" "|‹ 6.0 mm|6.0-10.0 mm|10.1-20.0 mm|› 20 mm"
hidden "pot-32" "=<pot @cm32 | ~v >"
fieldset "3.2 - Aneurysm size-related risk - control" "(3.2) Please select:" ""
static "x"
fieldset "3.2 - Aneurysm size-related risk - score: 0" "(3.2) Please select:" "‹ 6.0 mm"
static "v"
hidden "ch_asrr0" "=v"
hidden "asrr0" "=0"
fieldset "3.2 - Aneurysm size-related risk - score: 1" "(3.2) Please select:" "6.0-10.0 mm"
static "v"
hidden "ch_asrr1" "=v"
hidden "asrr1" "=1"
fieldset "3.2 - Aneurysm size-related risk - score: 3" "(3.2) Please select:" "10.1-20.0 mm"
static "v"
hidden "ch_asrr3" "=v"
hidden "asrr3" "=3"
fieldset "3.2 - Aneurysm size-related risk - score: 5" "(3.2) Please select:" "› 20 mm"
static "v"
hidden "ch_asrr5" "=v"
hidden "asrr5" "=5"
fieldset "3.3 - Aneurysm complexity-related risk"
select "(3.3) Please select:" "|High|Low"
hidden "pot-33" "=<pot @cm33 | ~v >"
fieldset "3.3 - Aneurysm complexity-related risk - control" "(3.3) Please select:" ""
static "x"
fieldset "3.3 - Aneurysm complexity-related risk - score: 3" "(3.3) Please select:" "High"
static "v"
hidden "ch_acrr3" "=v"
hidden "acrr3" "=3"
fieldset "3.3 - Aneurysm complexity-related risk - score: 0" "(3.3) Please select:" "Low"
static "v"
hidden "ch_acrr0" "=v"
hidden "acrr0" "=0"
fieldset "4 - Submit data"
submit "Submit"
</form>
Шаблонная страница
Вики-разметка страницы:
====== UIATS: @@title@@ ======
<pot set=v | decimals=0 | currency= | display=none > 0 </pot>
|<100% 60% 10% 15% 15%>|
| @darkgrey: **P A T I E N T** ||||
| **Age** (single) || | |
| @@Please select the corresponding age@@ | @@ch_age4|@@@@ch_age3|@@@@ch_age2|@@@@ch_age1|@@@@ch_age0|@@ | @#CCCCFF: **##pot-11## @@age4|@@@@age3|@@@@age2|@@@@age1|@@@@age0@|@ ##pot-end##** | |
^ ||||
| **Risk factor incidence** (multiple) || | |
| Previous SAH from a different aneurysm | @@Previous SAH from a different aneurysm|@@ | | |
| Familial intracranial aneurysms or SAH | @@Familial intracranial aneurysms or SAH|@@ | | |
| Japanese, Finnish, Inuit ethnicity | @@Japanese, Finnish, Inuit ethnicity|@@ | | |
| Current cigarette smoking | @@Current cigarette smoking|@@ | | |
| Hypertension (systolic BP › 140 mmHg)| @@Hypertension (systolic BP › 140 mmHg)|@@ | | |
| Autosomal-polycystic kidney disease | @@Autosomal-polycystic kidney disease|@@ | | |
| Current drug abuse (cocain, amphetamine)| @@Current drug abuse (cocain, amphetamine)|@@ | | |
| Current alcohol abuse | @@Current alcohol abuse|@@ | @#CCCCFF: **##pot-12## {#f12} ##pot-end##** | |
^ ||||
| **Clinical symptoms related to UAI** (multiple) || | |
| Cranial nerve deficit | @@Cranial nerve deficit|@@ | | |
| Clinical or radiological mass effect | @@Clinical or radiological mass effect|@@ | | |
| Thromboembolic events from the aneurysm | @@Thromboembolic events from the aneurysm|@@ | | |
| Epilepsy | @@Epilepsy|@@ | @#CCCCFF: **##pot-13## {#f13} ##pot-end##** | |
^ ||||
| **Other** (multiple) || | |
| Reduced quality of life due to fear of rupture | @@Reduced quality of life due to fear of rupture|@@ | | |
| Aneurysm multiplicity | @@Aneurysm multiplicity|@@ | @#CCCCFF: **##pot-14## {#f14} ##pot-end##** | |
^ ||||
| **Life expectancy due to chronic and/or malignant diseases** (single) || | |
| @@(1.5) Please select:@@ | @@ch_lifeexp4|@@@@ch_lifeexp3|@@@@ch_lifeexp1|@@ | | @#9999CC: **##pot-15## @@lifeexp4|@@@@lifeexp3|@@@@lifeexp1|@@ ##pot-end##** |
^ ||||
| **Comorbid diseases** (multiple) || | |
| Neurocognitive disorder | @@Neurocognitive disorder|@@ | | |
| Coagulopathies, thrombophilic diseases | @@Coagulopathies, thrombophilic diseases|@@ | | |
| Psychiatric disorder | @@Psychiatric disorder|@@ | | @#9999CC: **##pot-16## {#f16} ##pot-end##** |
^ ||||
| @darkgrey: **A N E U R Y S M** ||||
| **Maximum diameter** (single) || | |
| @@(2.1) Please select:@@ | @@ch_maxdiam0|@@@@ch_maxdiam1|@@@@ch_maxdiam2|@@@@ch_maxdiam3|@@@@ch_maxdiam4|@@ | @#CCCCFF: **##pot-21## @@maxdiam0|@@@@maxdiam1|@@@@maxdiam2|@@@@maxdiam3|@@@@maxdiam4|@@ ##pot-end##** | |
^ ||||
| **Morphology** (multiple) || | |
| Irregularity or lobulation | @@Irregularity or lobulation|@@ | | |
| Size ration › 3 or aspect ration › 1.6 | @@Size ration › 3 or aspect ration › 1.6|@@ | @#CCCCFF: **##pot-22## {#f22} ##pot-end##** | |
^ ||||
| **Location** (single) || | |
| @@(2.3) Please select:@@ | @@ch_ln5|@@@@ch_ln4|@@@@ch_ln2|@@ | @#CCCCFF: **##pot-23## @@ln5|@@@@ln4|@@@@ln2|@@ ##pot-end##** | |
^ ||||
| **Other** (multiple) || | |
| Aneurysm growth on serial imaging | @@Aneurysm growth on serial imaging|@@ | | |
| Aneurysm de novo formation on serial imaging | @@Aneurysm de novo formation on serial imaging|@@ | | |
| Contralateral stenoocclusive vessel disease | @@Contralateral stenoocclusive vessel disease|@@ | @#CCCCFF: **##pot-24## {#f24} ##pot-end##** | |
^ ||||
| @darkgrey: **T R E A T M E N T** ||||
| **Age-related risk** (single) || | |
| @@(3.1) Please select:@@ | @@ch_agerr0|@@@@ch_agerr1|@@@@ch_agerr3|@@@@ch_agerr4|@@@@ch_agerr5|@@ | | @#9999CC: **##pot-31## @@agerr0|@@@@agerr1|@@@@agerr3|@@@@agerr4|@@@@agerr5|@@ ##pot-end##** |
^ ||||
| **Aneurysm size-related risk** (single) || | |
| @@(3.2) Please select:@@ | @@ch_asrr0|@@@@ch_asrr1|@@@@ch_asrr3|@@@@ch_asrr5|@@ | | @#9999CC: **##pot-32## @@asrr0|@@@@asrr1|@@@@asrr3|@@@@asrr5|@@ ##pot-end##** |
^ ||||
| **Aneurysm complexity-related risk** (single) || | |
| @@(3.3) Please select:@@ | @@ch_acrr3|@@@@ch_acrr0|@@ | | @#9999CC: **##pot-33## @@acrr3|@@@@acrr0|@@ ##pot-end##** |
^ ||||
| **Intervention-related risk** | | | @#9999CC: **<pot @cm34 | ~v > 5 </pot>** |
^ ||||
| **Favors UIA repair:** || @#CCCCFF: **##pot-rr## {#rr} ##pot-end##** | |
| **Favors of UIA conservative management:** ||| @#9999CC: **##pot-cm## {#cm} ##pot-end##** |