/usr/share/freemedforms/forms/subforms/fortestonly/CheckBox Sample.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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE FreeMedForms>
<MedForm>
<name>formSample</name>
<label>Check Box sample</label>
<type>form</type>
<version>0.2</version>
<creationdate>27-08-2009</creationdate>
<categorie>samples</categorie>
<authors>Eric Maeker, MD</authors>
<description>Small description here</description>
<bibliography>Small bibliography</bibliography>
<license>License terms here</license>
<column>1</column>
<option>compact</option>
<Item>
<name>sampleCheck</name>
<label>This is a simple scripted checkbox sample</label>
<type>check</type>
<value>
<numerical id="0">1</numerical>
<numerical id="1">2</numerical>
<script id="0">The box is NOT checked</script>
<script id="1">The box is checked</script>
</value>
<script>
<onload>{onload script}</onload>
<postload>{post load}</postload>
<ondemand>{ondemand}</ondemand>
<onvaluechanged>{onvaluechanged}</onvaluechanged>
<onvaluerequiered>{onvaluerequiered}</onvaluerequiered>
<ondependencieschanged>{ondependencieschanged}</ondependencieschanged>
</script>
</Item>
</MedForm>
|