<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE FreeMedForms>

<FreeMedForms>
  <formdescription>
    <!-- Non translatable values -->
    <authors>Eric Maeker, MD; Fredman, MD</authors>
    <version>0.7.1</version>
    <fmfv>0.7.0</fmfv>
    <cdate>2012-01-10</cdate>
    <lmdate>2012-02-26</lmdate>
    <icon>cardiology.png</icon>
    <weblink>http://en.wikipedia.org/wiki/Framingham_Risk_Score#cite_note-9</weblink>
    <bibliography pmid=" 12485966">National Cholesterol Education Program (NCEP) Expert Panel on Detection, Evaluation, and Treatment of High Blood Cholesterol in Adults (Adult Treatment Panel III). Third Report of the National Cholesterol Education Program (NCEP) Expert Panel on Detection, Evaluation, and Treatment of High Blood Cholesterol in Adults (Adult Treatment Panel III) final report. Circulation. 2002 Dec 17;106(25):3143-421.</bibliography>

    <!-- Translatable values -->
    <license>GPLv3</license>
    <description lang="fr">Score de risque cardio-vasculaire de Framingham</description>
    <description lang="xx">Framingham Cardiovascular risk score</description>
    <category lang="xx">Cardiology</category>
    <category lang="fr">Cardiologie</category>
    <specialties lang="fr">Cardiologie</specialties>
    <specialties lang="xx">Cardiology</specialties>
    <tooltip lang="fr"></tooltip>
    <tooltip lang="xx"></tooltip>
    <htmldescription lang="fr">
        Ce score évalue le risque à 10 ans de maladie coronarienne basé sur le score de Framingham.
        Le score est basé sur des données obtenues à partir des études de Framingham Heart Study,
        et peut prédire le risque d'une personne d'avoir une crise cardiaque en les 10 prochaines
        années. Le score est conçu pour les adultes, indemnes de pathologie cardiaque et de diabète,
        âgés de 20 ans à 75 ans.
    </htmldescription>
    <htmldescription lang="xx">
        The 10-years coronary heart disease Framingham risk score can estimate the 10-year
        cardiovascular risk of an individual. The score is based on data obtained from the
        Framingham Heart Study, and can predict a person's risk of having a heart attack in
        the next 10 years. The score is designed for adults aged 20 and older who do not have
        heart disease or diabetes.
    </htmldescription>

    <updateinfo>
      <updateversion from="0.7.0" to="0.7.1">
        <text lang="fr">Amélioration du script de calcul du score</text>
        <text lang="xx">Updating the score script</text>
      </updateversion>
    </updateinfo>

 </formdescription>

  <file type="script" name="onload">./scripts/xx/script.js</file> 
  
  <MedForm name="Subs::Cardiology::Scores::Framingham" uifilename="./ui/xx/framingham.ui">
    <label lang="fr">Score de risque cardio-vasculaire de Framingham</label>
    <label lang="xx">Framingham Cardiovascular risk score</label>
    <column>1</column>
    <options>DontPrintEmptyValues;UseFormNameAsNameSpace</options>
	
<!--    <Item type="group" name="PatientGroup">
        <uilink widget="patientGroup"/>
        <label lang="xx">Patient profile</label>
        <label lang="fr">Profile du patient</label>

        <Item type="helptext" name="PatientAge">
            <uilink widget="patientAge"/>
        </Item>
        <Item type="helptext" name="PatientGender">
            <uilink widget="patientGender"/>
        </Item>
    </Item>-->

    <Item type="group" name="CholGroup">
        <uilink widget="cholGroup"/>
        <label lang="xx">Cholesterol</label>
        <label lang="fr">Cholestérol</label>
        <Item type="combo" name="CholGroup::TotalChol">
            <uilink label="cholTotalLabel" widget="cholTotalCombo"/>
            <label lang="xx">Total cholesterol (in mg/dL)</label>
            <label lang="fr">Cholestérol total (en mg/dL)</label>
            <options>DontPrintEmptyValues</options>
            <value>
               <uuid id="0">chol0</uuid>
               <uuid id="1">chol1</uuid>
               <uuid id="2">chol2</uuid>
               <uuid id="3">chol3</uuid>
               <uuid id="4">chol4</uuid>
            </value>
        </Item>

        <Item type="combo" name="CholGroup::HDLChol">
            <uilink label="cholHDLLabel" widget="cholHDLCombo"/>
            <label lang="xx">HDL cholesterol (in mg/dL)</label>
            <label lang="fr">HDL cholestérol (en mg/dL)</label>
            <options>DontPrintEmptyValues</options>
            <value>
               <uuid id="0">hdl0</uuid>
               <uuid id="1">hdl1</uuid>
               <uuid id="2">hdl2</uuid>
               <uuid id="3">hdl3</uuid>
            </value>
        </Item>
    </Item>

    <Item type="group" name="TobaccoGroup">
        <uilink widget="tobaccoGroup"/>
        <label lang="xx">Tobacco</label>
        <label lang="fr">Tabagisme</label>
        <options>DontPrintEmptyValues</options>
        <Item type="check" name="TaboccoUsage">
            <uilink widget="currentlySmoking"/>
            <label lang="xx">Tobacco use ?</label>
            <label lang="fr">Tabagisme ?</label>
        </Item>
    </Item>

    <Item  type="group" name="BloodPresGroup">
        <uilink widget="bpGroup"/>
        <label lang="fr">Tension artérielle</label>
        <label lang="xx">Blood pressure</label>
        <Item type="combo" name="BloodPresGroup::Systolic">
            <uilink label="bpSystLabel" widget="bpSystCombo"/>
            <label lang="xx">Systolic blood pressure (in mmHg)</label>
            <label lang="fr">Pression artérielle systolique (en mmHg)</label>
            <options>DontPrintEmptyValues</options>
            <value>
               <uuid id="0">syst0</uuid>
               <uuid id="1">syst1</uuid>
               <uuid id="2">syst2</uuid>
               <uuid id="3">syst3</uuid>
               <uuid id="4">syst4</uuid>
               <uuid id="5">syst5</uuid>
            </value>
        </Item>

        <Item type="check" name="BloodPresGroup::Treated">
            <uilink widget="bpSystTreated"/>
            <label lang="xx">Current treatment for hypertension ?</label>
            <label lang="fr">Traitement en cours pour hypertension ?</label>
            <options>DontPrintEmptyValues</options>
        </Item>

    </Item>

    <Item type="group" name="ResultGroup">
        <uilink widget="resultGroup"/>
        <label lang="xx">Score</label>
        <label lang="fr">Score</label>

        <Item name="ResultGroup::Result" type="scriptcalculation">
            <uilink label="resultLabel" widget="result"/>
            <label lang="xx">The Framingham Risk Score estimating the 10-year cardiovascular risk is : </label>
            <label lang="fr">Le score de Framingham évaluant le risque cardio-vasculaire à 10 ans est de : </label>
            <options>DontPrintEmptyValues</options>
            <connect_regexp>Subs::Cardiology::Scores::Framingham::*</connect_regexp>
            <calcScript>namespace.com.freemedforms.cardiology.framingham.score.computeScore();</calcScript>
        </Item>
    </Item>
  </MedForm>
</FreeMedForms>
