<?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.8.2</fmfv>
    <cdate>2011-11-10</cdate>
    <lmdate>2013-02-05</lmdate>
    <icon>generalpractitioner.png</icon>
    <weblink></weblink>
    <bibliography/>

    <!-- Translatable values -->
    <license>GPLv3</license>
    <description lang="xx">Generic ultra-simplified patient file</description>
    <description lang="fr">Dossier médical ultra-simplifié</description>
    <description lang="de">Allgemeine, stark vereinfachte Krankenakte</description>
    <category lang="xx">General practice</category>
    <category lang="fr">Médecine générale</category>
    <specialties lang="de">Allgemeinmedizin</specialties>
    <specialties lang="xx">General practice</specialties>
    <specialties lang="fr">Médecine générale</specialties>
    <specialties lang="de">Allgemeinmedizin</specialties>
    <updateinfo>
      <updateversion from="0.8.2" to="0.8.4">
        <text lang="fr">
        Ajout des masques d'impression et d'exportation.
        Ajout d'un bouton de navigation dans les fichiers pour les inclure rapidement dans l'éditeur de texte.
        </text>
        <text lang="en">
        Adding print and export masks.
        Adding a button to easily navigate through the local files and to quickly include them in a text editor.
        </text>
      </updateversion>
      <updateversion from="0.8.0" to="0.8.2">
        <text lang="fr">Définition du jeux de documents utilisateur pour l'impression des prescriptions textuelles.</text>
        <text lang="en">Defining user documents to use for the print process of the textual prescription text editor.</text>
      </updateversion>
      <updateversion from="0.7.2" to="0.8.0">
        <text lang="xx">Updating form to FreeMedForms 0.8.0.</text>
        <text lang="fr">Mise à jour de compatibilité à FreeMedForms 0.8.0.</text>
      </updateversion>
      <updateversion from="0.7.0" to="0.7.2">
        <text lang="xx">Typo in PHMx categories&lt;br />Adding uuid to PMHx categories.</text>
        <text lang="fr">Faute de frappe dans les catégories des antécédents&lt;br />Ajout des identifiants aux catégories des antécédents.</text>
      </updateversion>
    </updateinfo>

  </formdescription>

  <fieldequivalence>
    <equivalent old="GP::Basic::IdentityForm" new="Subs::Tools::Identity" setInVersion=""/>
    <equivalent old="GP::Basic::IdentityItem" new="Subs::Tools::Identity::IdentityWidget" setInVersion=""/>
    <equivalent old="GP::Basic::Identity::ExtraFrench" new="Subs::Tools::Identity::FrGroup" setInVersion=""/>
    <equivalent old="GP::Basic::Identity::NSS" new="Subs::Tools::Identity::FrGroup::NSS" setInVersion=""/>
    <equivalent old="GP::Basic::Identity::IsNSSOwner" new="Subs::Tools::Identity::FrGroup::IsNSSOwner" setInVersion=""/>
    <equivalent old="GP::Basic::Identity::ContactGroup" new="Subs::Tools::Identity::ContactGroup" setInVersion=""/>
    <equivalent old="GP::Basic::Identity::ContactGroup::Tels" new="Subs::Tools::Identity::ContactGroup::Tels" setInVersion=""/>
    <equivalent old="GP::Basic::Identity::ContactGroup::Fax" new="Subs::Tools::Identity::ContactGroup::Fax" setInVersion=""/>
    <equivalent old="GP::Basic::Identity::ContactGroup::Mail" new="Subs::Tools::Identity::ContactGroup::Mail" setInVersion=""/>
  </fieldequivalence>

  <file>__subForms__/generic/fullidentity/central.xml</file>

  <MedForm name="GP::Basic::Drugs">
    <label lang="xx">Drugs</label>
    <label lang="fr">Traitements</label>
    <label lang="de">Medikamente</label>
    <icon>__theme__/drugs.png</icon>
    <options>DontPrintEmptyValues</options>

    <MedForm name="GP::Basic::Drugs::Chronic">
      <label lang="xx">Long-term medication</label>
      <label lang="fr">Traitement chronique</label>
      <label lang="de">Dauermedikation</label>
      <icon>__theme__/drugs.png</icon>
      <options>DontPrintEmptyValues</options>
      <file type="htmlprintmask">./html/xx/padtools_drugs_chronic_mask.html</file>
      <file type="htmlexportmask">./html/xx/padtools_drugs_chronic_mask.html</file>

      <Item name="GP::Basic::Drugs::Chronic::Content" type="prescriptor">
        <label lang="xx">Long-term medication</label>
        <label lang="fr">Traitement chronique</label>
        <label lang="de">Dauermedikation</label>
        <options>DontPrintEmptyValues</options>
        <patientdata>DrugsChronicTherapeutics</patientdata>
      </Item>
      <Item name="GP::Basic::Drugs::Chronic::Comment" type="texteditor">
        <label lang="xx">Comments</label>
        <label lang="fr">Remarques</label>
        <label lang="de">Kommentare</label>
        <options>DontPrintEmptyValues</options>
      </Item>
    </MedForm>

    <MedForm name="GP::Basic::Drugs::Allergies">
      <label lang="xx">Allergies</label>
      <icon>__theme__/drugs.png</icon>
      <options>DontPrintEmptyValues</options>
      <file type="htmlprintmask">./html/xx/padtools_drugs_allergies_mask.html</file>
      <file type="htmlexportmask">./html/xx/padtools_drugs_allergies_mask.html</file>

      <Item name="GP::Basic::Drugs::Allergies::Content" type="drugselector">
        <label lang="xx">Known drug allergies</label>
        <label lang="fr">Allergies médicamenteuses connues</label>
        <label lang="de">Bekannte Medikamentenallergien</label>
        <options>hideselector;nointeractionchecking;DontPrintEmptyValues</options>
        <patientdata>DrugsAtcAllergies</patientdata>
      </Item>
      <Item name="GP::Basic::Drugs::Allergies::Comment" type="texteditor">
        <label lang="xx">Comments</label>
        <label lang="fr">Remarques</label>
        <label lang="de">Kommentare</label>
        <options>DontPrintEmptyValues</options>
      </Item>
    </MedForm>

  </MedForm>

  <MedForm name="GP::Basic::Central">
    <label lang="xx">Central file</label>
    <label lang="fr">Dossier central</label>
    <label lang="de">Zentrale Akte</label>
    <icon>__theme__/edit.png</icon>
    <options>DontPrintEmptyValues</options>

    <MedForm name="GP::Basic::Central::Observation">
      <label lang="xx">Examination</label>
      <label lang="fr">Observation</label>
      <label lang="de">Untersuchung</label>
      <icon>__theme__/edit.png</icon>
      <file type="htmlprintmask">./html/xx/padtools_central_obs.html</file>
      <file type="htmlexportmask">./html/xx/padtools_central_obs.html</file>

      <Item name="GP::Basic::Central::Observation::Text" type="texteditor">
        <label lang="xx">Examination</label>
        <label lang="fr">Observation</label>
        <label lang="de">Untersuchung</label>
        <options>FullEditor;DontPrintEmptyValues;expanded</options>
      </Item>
    </MedForm>

    <MedForm name="GP::Basic::Central::Correspondance">
      <label lang="xx">Correspondance</label>
      <label lang="fr">Correspondance</label>
      <label lang="de">Korrespondenz</label>
      <icon>__theme__/edit.png</icon>
      <options>DontPrintEmptyValues</options>
      <file type="htmlprintmask">./html/xx/padtools_central_corresp.html</file>
      <file type="htmlexportmask">./html/xx/padtools_central_corresp.html</file>

      <Item name="GP::Basic::Central::Correspondance::Text" type="texteditor">
        <label lang="xx">Correspondance</label>
        <label lang="fr">Correspondance</label>
        <label lang="de">Korrespondenz</label>
        <options>FullEditor;DontPrintEmptyValues;expanded</options>
      </Item>
    </MedForm>

  </MedForm>

  <MedForm name="GP::Basic::Prescr">
    <label>Prescriptions</label>
    <icon>__theme__/edit.png</icon>
    <options>noepisode;DontPrintEmptyValues</options>

    <MedForm name="GP::Basic::Prescr::Text">
      <label lang="xx">Textual prescriptions</label>
      <label lang="fr">Prescriptions textuelles</label>
      <label lang="de">Verschreibungen</label>
      <icon>__theme__/edit.png</icon>
      <options>DontPrintEmptyValues</options>
      <file type="htmlprintmask">./html/xx/padtools_textual_prescription_mask.html</file>
      <file type="htmlexportmask">./html/xx/padtools_textual_prescription_mask.html</file>

      <Item name="FileNavigationButton" type="buttonmenupath">
        <label lang="xx">Select a file (replacement with confirmation)</label>
        <label lang="fr">Sélectionnez un fichier (replacement avec confirmation)</label>
        <tooltip lang="xx">Select a file and the its content will be included in the text editor</tooltip>
        <tooltip lang="fr">Sélectionnez un fichier et son contenu sera insérer dans l'éditeur de texte</tooltip>
        <icon>__theme__/fileopen.png</icon>
        <path>__userDocuments__</path>
        <filter>*.htm;*.html;*.txt;*.rtf</filter>
        <populate>GP::Basic::Prescr::Text::Content</populate>
      </Item>

      <Item type="texteditor" name="GP::Basic::Prescr::Text::Content">
        <label lang="xx">Textual prescription</label>
        <label lang="fr">Prescription textuelle</label>
        <label lang="de">Verschreibung</label>
        <options>FullEditor;DontPrintEmptyValues;PrintDuplicata;expanded</options>
        <papers>Prescription</papers>
      </Item>
    </MedForm>


    <MedForm name="GP::Basic::Prescr::Drugs">
      <label lang="xx">Drugs prescriptions</label>
      <label lang="fr">Prescriptions médicamenteuses</label>
      <label lang="de">Medikamentöse Verschreibungen</label>
      <icon>__theme__/drugs.png</icon>
      <options>DontPrintEmptyValues</options>
      <file type="htmlprintmask">./html/xx/padtools_prescription_drugs_mask.html</file>
      <file type="htmlexportmask">./html/xx/padtools_prescription_drugs_mask.html</file>

      <Item type="prescriptor" name="GP::Basic::Prescr::Drugs::Content">
        <label lang="xx">Therapeutic prescription</label>
        <label lang="fr">Prescription médicamenteuse</label>
        <label lang="de">Medikamentöse Verschreibung</label>
        <options>AddChronicTherapyButton;DontPrintEmptyValues</options>
      </Item>
    </MedForm>

  </MedForm>

</FreeMedForms>
