/usr/share/freemedforms/forms/subforms/fortestonly/script_onvaluechanged_with_patient_access/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 | <?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 scripting engine with patient access</description>
<description lang="fr">Test le moteur de script avec accès aux données des patients</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/script.js</file>
<MedForm name="Test::Script::ScriptCalculator::WithPatient">
<label lang="xx">Test scripting engine (patient access)</label>
<column>1</column>
<options>DontPrintEmptyValues;UseFormNameAsNameSpace</options>
<Item name="FakeClCrGroup" type="group">
<column>1</column>
<Item name="FakeClCrGroup::Weight" type="doublespin">
<label lang="xx">Weight</label>
<options>vertical;labelontop;DontPrintEmptyValues</options>
</Item>
<Item name="FakeClCrGroup::WeightUnit" type="combo">
<label lang="xx">Weight unit</label>
<options>notprintable;vertical;labelontop;DontPrintEmptyValues</options>
<value>
<uuid id="0">kg</uuid>
<uuid id="1">lbl</uuid>
<possible id="0" lang="xx">Kg</possible>
<possible id="1" lang="xx">lbl</possible>
</value>
</Item>
<Item name="FakeClCrGroup::Creatinine" type="doublespin">
<label lang="xx">Creatinine</label>
<options>vertical;labelontop;DontPrintEmptyValues</options>
</Item>
<Item name="FakeClCrGroup::CreatinineUnit" type="combo">
<label lang="xx">Creatinine unit</label>
<options>notprintable;vertical;labelontop;DontPrintEmptyValues</options>
<value>
<uuid id="0">mg/L</uuid>
<uuid id="1">µmol/L</uuid>
<possible id="0" lang="xx">mg/L</possible>
<possible id="1" lang="xx">µmol/L</possible>
</value>
</Item>
</Item>
<Item name="ResultGroup" type="group">
<column>1</column>
<Item name="ResultGroup::Result" type="scriptcalculation">
<label lang="xx">Creatinine clearance</label>
<options>vertical;labelontop;DontPrintEmptyValues;showintexteditor</options>
<connect_regexp>Test::Script::ScriptCalculator::WithPatient::FakeClCrGroup::*</connect_regexp>
<calcScript>getClearance();</calcScript>
</Item>
</Item>
</MedForm>
</FreeMedForms>
|