/usr/share/freemedforms/forms/subforms/fortestonly/script_onvaluechanged/central.xml is in freemedforms-emr-resources 0.9.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE FreeMedForms>
<FreeMedForms>
<formdescription>
<!-- Non translatable values -->
<authors>Eric Maeker, MD</authors>
<version>0.9.4</version>
<fmfv>0.7.0</fmfv>
<cdate>2011-12-21</cdate>
<lmdate>2011-12-21</lmdate>
<icon>geriatrics.png</icon>
<weblink></weblink>
<bibliography pmid=""></bibliography>
<!-- Translatable values -->
<license>GPLv3</license>
<description lang="xx">Test script: onValueChanged</description>
<category lang="xx">Test</category>
<category lang="fr">Test</category>
<specialties lang="fr">Test</specialties>
<specialties lang="xx">Test</specialties>
</formdescription>
<file type="script" name="onload">./scripts/xx/frenchscript.js</file>
<MedForm name="Test::Script::OnValueChanged">
<label lang="xx">Test Scripting engine (interactions between items)</label>
<column>1</column>
<options>DontPrintEmptyValues;UseFormNameAsNameSpace</options>
<Item name="FirstGroup" type="group">
<column>1</column>
<Item name="FirstGroup::TestingCombo" type="combo">
<label lang="xx">Test me</label>
<options>notprintable;vertical;labelontop;DontPrintEmptyValues</options>
<value>
<uuid id="0">P0</uuid>
<uuid id="1">P1</uuid>
<uuid id="2">P2</uuid>
<uuid id="3">P3</uuid>
<possible id="0" lang="xx">Show: gla-gla</possible>
<possible id="1" lang="xx">Show: bli-bli</possible>
<possible id="2" lang="xx">Show: Wahouh</possible>
<possible id="3" lang="xx">Show: glou-glou</possible>
<numerical id="0">1</numerical>
<numerical id="1">1</numerical>
<numerical id="2">1</numerical>
<numerical id="3">0</numerical>
</value>
<script>
<onvaluechanged>onFirstGroupComboValueChanged();</onvaluechanged>
</script>
</Item>
<Item name="FirstGroup::Result" type="shorttext">
<label lang="xx">Result</label>
<options>vertical;labelontop;DontPrintEmptyValues</options>
</Item>
</Item>
<Item name="SecondGroup" type="group">
<column>1</column>
<Item name="SecondGroup::TestingCombo" type="combo">
<label lang="xx">Test me in html</label>
<options>notprintable;vertical;labelontop;DontPrintEmptyValues</options>
<value>
<uuid id="0">P0</uuid>
<uuid id="1">P1</uuid>
<uuid id="2">P2</uuid>
<uuid id="3">P3</uuid>
<possible id="0" lang="xx">Show: gla-gla</possible>
<possible id="1" lang="xx">Show: bli-bli</possible>
<possible id="2" lang="xx">Show: Wahouh</possible>
<possible id="3" lang="xx">Show: glou-glou</possible>
<numerical id="0">1</numerical>
<numerical id="1">1</numerical>
<numerical id="2">1</numerical>
<numerical id="3">0</numerical>
</value>
<script>
<onvaluechanged>onSecondGroupComboValueChanged();</onvaluechanged>
</script>
</Item>
<Item name="SecondGroup::Result" type="texteditor">
<label lang="xx">Result</label>
<options>vertical;labelontop;DontPrintEmptyValues;fulleditor</options>
</Item>
</Item>
</MedForm>
</FreeMedForms>
|