Table des matières
, ,

Les antécédents

Nature et emplacement du fichier XML

Créer les catégories

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE FreeMedForms>
<FreeMedForms>
  <PMHx>
    <Category icon="riskfactor.png">
      <label lang="xx">Risk factors</label>
      <label lang="fr">Facteurs de risque</label>
      <label lang="de">Risikofaktoren</label>
    </Category>
    <Category icon="pmh_personnal.png">
      <label lang="xx">Personnal</label>
      <label lang="fr">Personnel</label>
      <label lang="de">Personal</label>
      <Category icon="pmh_medical.png">
        <label lang="xx">Medical</label>
        <label lang="fr">Médicaux</label>
        <label lang="de">Medizinische</label>
      </Category>
      <Category icon="pmh_surgical.png">
        <label lang="xx">Surgical</label>
        <label lang="fr">Chirurgicaux</label>
        <label lang="de">Chirurgische</label>
      </Category>
      <Category icon="pmh_obstetric">
        <label lang="xx">Obstetric</label>
        <label lang="fr">Obstétricaux</label>
        <label lang="de">Geburtshilfe</label>
      </Category>
    </Category>
    <Category icon="pmh_family.png">
      <label lang="xx">Family</label>
      <label lang="fr">Familaux</label>
      <label lang="de">Familale</label>
    </Category>
  </PMHx>
</FreeMedForms>

Les catégories peuvent utiliser un formulaire XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE FreeMedForms>
<FreeMedForms>
  <PMHx>
    <Category icon="riskfactor.png">
      <label lang="xx">Risk factors</label>
      <label lang="fr">Facteurs de risque</label>
      <label lang="de">Risikofaktoren</label>
      <extra>
        <file>__subForms__/cardiology/riskfactors/central.xml</file>
      </extra>
    </Category>
  </PMHx>
</FreeMedForms>

Utiliser des sous-formulaires au sein de catégories