-<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body style="font-size:10pt;font-family:Sans Serif">
+<html><head><meta http-equiv="Content-Type" content="text/html"; charset="utf-8" /></head><body style="font-size:10pt;font-family:Sans Serif">
<p align="center"><img src=MedinTuxLogoHttp-300-200.png ><br /><br /><span style="font-size:12pt;font-weight:600">Logiciel Open Source libre de gestion du dossier médical <br /></span><a href="DrTuxVueGenerale.html">Vue générale de DrTux</a></p>
<p><span style="text-decoration:underline">Auteur et administrateur principal du projet</span> : </p>
<ul type="disc"><li><span style="font-weight:600">Roland SEVIN </span><a href="mailto:roland-sevin@medintux.org">roland-sevin@medintux.org</a> </li></ul>
<p><span style="font-size:9pt">4 </span><a href="DrTux.html#4 Description des fonctions en relation avec le langage de scrip"><span style="font-size:9pt">Description des fonctions en relation avec le langage de script</span></a></p>
<ul type="disc"><div><span style="font-size:9pt">4.1 </span><a href="DrTux.html#4.1 Exemple avancé d'utilisation du scanner et des menus de MedinTux"><span style="font-size:9pt">Exemple avancé d'utilisation du scanner et des menus de MedinTux</span></a><span style="font-size:9pt"><br />4.2 </span><a href="DrTux.html#4.2 Exemple avancé de menu de retouche d'images avec The Gimp et MedinTux"><span style="font-size:9pt">Exemple avancé d'un menu de retouche d'images avec The Gimp et MedinTux</span></a><span style="font-size:9pt"><br />4.3 </span><a href="DrTux.html#4.3 Exemple avancé de menu d'OCR (reconnaissance de caractères) avec Xsane Tesseract et MedinTux"><span style="font-size:9pt">Exemple avancé de menu d'OCR (reconnaissance de caractères) avec Xsane Tesseract et MedinTux</span></a><span style="font-size:9pt"><br />4.4 </span><a href="DrTux.html#4.4 Les menus utilisateurs"><span style="font-size:9pt">Les menus utilisateurs</span></a><span style="font-size:9pt"><br />4.5 </span><a href="DrTux.html#4.5 Le Langage de Script de MedinTux"><span style="font-size:9pt">Le Langage de Script de MedinTuxI Apports de DrTux au sein d'un service d'urgences</span></a></div>
<ul type="disc"><div><span style="font-size:9pt">4.5.1 </span><a href="DrTux.html#4.5.1 - Définition"><span style="font-size:9pt">Définition</span></a></div>
-<ul type="disc"><div><span style="font-size:9pt">4.5.1.1</span><span style="font-family:Luxi Mono;font-size:9pt"> </span><a href="DrTux.html#4.5.1.1 Affectation directe du résultat d'une macro dans une variable"><span style="font-size:9pt">Affectation directe du résultat d'une macro dans une variable</span></a><span style="font-size:9pt"><br />4.5.1.2 </span><a href="DrTux.html#4.5.1.2 Passage de valeurs aux fonctions par référence à une variable"><span style="font-size:9pt">Passage de valeurs aux fonctions par référence à une variable</span></a></div></ul>
+<ul type="disc"><div><span style="font-size:9pt">4.5.1.1</span><span style="font-family:Luxi Mono;font-size:9pt"> </span><a href="DrTux.html#4.5.1.1 Affectation directe du résultat d'une macro dans une variable"><span style="font-size:9pt">Affectation directe du résultat d'une macro dans une variable</span></a><span style="font-size:9pt"><br />4.5.1.2 </span><a href="DrTux.html#4.5.1.2 Passage de valeurs aux fonctions par référence à une variable"><span style="font-size:9pt">Passage de valeurs aux fonctions par référence à une variable</span></a></div></ul>
<div><span style="font-size:9pt">4.5.2</span><span style="font-size:9pt;font-weight:600"> </span><a href="DrTux.html#4.5.2 Où se situent et se cachent les Scripts MedinTux ? dans"><span style="font-size:9pt">Où se situent et se cachent et sont éxecutés les Scripts MedinTux</span></a></div>
<div><span style="font-size:9pt">4.5.3 </span><a href="DrTux.html#4.5.3 Inventaire des instructions"><span style="font-size:9pt">Inventaire des instructions</span></a></div></ul></ul>
<p><span style="font-size:9pt">5 </span><a href="DrTux.html#5_Un_système_de_classement_intelligent_,_LA_VIGIE_,"><span style="font-size:9pt">Un puissant système de classement intelligent : LA VIGIE</span></a></p>
<p><img src=bulletcyan01.png ><span style="text-decoration:underline">Créer un menu dont le script se lance au démarrage de MedinTux</span> : pour cela placez la valeur -100 (soit 1/10 ème de seconde) comme période. <br /><span style="font-size:9pt;font-weight:600"><property name="</span><span style="font-size:9pt;font-weight:600;color:#0000ff">period</span><span style="font-size:9pt;font-weight:600">"><br /><string></span><span style="font-size:9pt;font-weight:600;color:#aa0000">-100</span><span style="font-size:9pt;font-weight:600"></string><br /></property><br /></span>ce qui lancera le script 1 fois après la période de 1/10 ème de seconde<br /><br /><img src=bulletcyan01.png ><span style="text-decoration:underline">Créer un menu dont le script se lance à la fin de MedinTux</span> : <br />pour cela placez la la mention<span style="font-size:9pt;font-weight:600;color:#aa0000"> {{EXECUTE_ON_EXIT}}</span> en début de script. <br /><br /><img src=bulletcyan01.png ><span style="text-decoration:underline">Désactiver une option de menu</span> :<br />Si un répertoire de définition de menu commence par le signe moins alors il ne sera plus évalué et cela désactivera l'option.</p>
<p><br /><hr><a name="4.5 Le Langage de Script de MedinTux"></a><span style="font-size:12pt;font-weight:600">4.5 </span><span style="font-size:12pt;font-weight:600;text-decoration:underline">Le Langage de Script de MedinTux :</span></p>
<p><img src=zix-arrow-right.png ><a href="index.html#Retour au menu principal">Retour au menu principal</a></p>
-<p><a name="4.5.1 - Définition"></a><span style="font-weight:600">4.5.1 </span><span style="font-weight:600;text-decoration:underline">Définition</span> :<br /><br />Un <span style="font-style:italic">Script MedinTux</span> est un bloc de texte qui comporte des <span style="font-weight:600">instructions</span> situées entre deux doubles crochets, exemple :<span style="font-size:9pt;font-weight:600">{{::Intitule ( Importation Texte OCR ) }}</span><span style="font-size:9pt"> </span>qui seront exécutées ou résolues et remplacées par le texte résultant de leur exécution. Si le texte résultant est vide alors l'instruction sera effacée ne modifiant pas alors le texte où elle est insérée.<br />Ces scripts servent à effectuer toutes sortes d'opérations, comme produire des documents automatisés ou des menus intelligents.<br />Les scripts de MedinTux sont un vrai <span style="font-weight:600">langage de Macros</span>, et permettent à l'utilisateur d'inventer les fonctions dont il a besoin et qui ne sont pas présentes dans le programme.<br />Nous appellerons et désignerons ces blocs de texte par les termes suivants (équivalents) : </p>
+<p><a name="4.5.1 - Définition"></a><span style="font-weight:600">4.5.1 </span><span style="font-weight:600;text-decoration:underline">Définition</span> :<br /><br />Un <span style="font-style:italic">Script MedinTux</span> est un bloc de texte qui comporte des <span style="font-weight:600">instructions</span> situées entre deux doubles crochets, exemple :<span style="font-size:9pt;font-weight:600">{{::Intitule ( Importation Texte OCR ) }}</span><span style="font-size:9pt"> </span>qui seront exécutées ou résolues et remplacées par le texte résultant de leur exécution. Si le texte résultant est vide alors l'instruction sera effacée ne modifiant pas alors le texte où elle est insérée.<br />Ces scripts servent à effectuer toutes sortes d'opérations, comme produire des documents automatisés ou des menus intelligents.<br />Les scripts de MedinTux sont un vrai <span style="font-weight:600">langage de Macros</span>, et permettent à l'utilisateur d'inventer les fonctions dont il a besoin et qui ne sont pas présentes dans le programme.<br />Nous appellerons et désignerons ces blocs de texte par les termes suivants (équivalents) : </p>
<ul type="disc"><div><span style="font-weight:600">instructions</span> ou <br /><span style="font-weight:600">champs de fusion</span> ou <br /><span style="font-weight:600">champs d'extraction</span> ou <br /><span style="font-weight:600">champs d'insertion</span></div></ul>
-<p><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Les </span><span style="font-style:italic;text-decoration:underline">Script MedinTux</span><span style="text-decoration:underline"> sont récursifs,</span> ce qui signifie qu'il est possible d'imbriquer plusieurs <span style="font-weight:600">champs de fusion</span>, les instructions les plus imbriquées seront résolues avant les autres.<br />Dans l'exemple suivant :<br /><br /><span style="font-size:9pt;font-weight:600">$start_title</span><span style="font-size:9pt;font-weight:600;color:#aa0000">Modifier l'image avec The Gimp</span><span style="font-size:9pt;font-weight:600">$end_title\<br />{{SAVE LAST IMAGE NAME=../../tmp/}}\<br />{{:: exe_process (WaitEnd , /usr/bin/gimp ,$ToAbsPath ../../tmp/</span><span style="font-size:9pt;font-weight:600;color:#005500">{{GET LAST IMAGE NAME}}</span><span style="font-size:9pt;font-weight:600">)}}\<br />{{:: replace_image (</span><span style="font-size:9pt;font-weight:600;color:#005500">{{GET LAST IMAGE NAME}}</span><span style="font-size:9pt;font-weight:600">, ../../tmp/</span><span style="font-size:9pt;font-weight:600;color:#005500">{{GET LAST IMAGE NAME}}</span><span style="font-size:9pt;font-weight:600">,-1,-1,keep_src_file_Name remove_src ) }}<br /><br /></span>Le champ de fusion <span style="font-size:9pt;font-weight:600">{{GET LAST IMAGE NAME}}</span><span style="font-size:9pt"> </span>sera résolu avant les autres, et remplacé par le nom de la dernière image enregistrée.<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Les </span><span style="font-style:italic;text-decoration:underline">Script MedinTux</span><span style="text-decoration:underline"> sont orientés texte</span> tout le texte situé en dehors des doubles crochets <span style="font-size:9pt;font-weight:600">{{</span> <span style="font-size:9pt;font-weight:600">}}</span> ou situé en dehors des deux balises <span style="font-size:9pt;font-weight:600">$start_title</span> et <span style="font-size:9pt;font-weight:600">$end_title</span> est conservé et sera ajouté au résultat final y compris les retours à la ligne (la partie située entre <span style="font-size:9pt;font-weight:600">$start_title</span> et <span style="font-size:9pt;font-weight:600">$end_title </span><span style="font-size:9pt">sera affichée comme infobulle)</span>.<br /><span style="text-decoration:underline">Exemple</span> :<br /><span style="font-weight:600">Nom :</span> {{NOM PRENOM PATIENT}} <span style="font-weight:600">Sexe: </span>{{SEXE PATIENT}}<br /><span style="font-weight:600">Né(e) :</span> {{DATE NAISSANCE PATIENT}} <span style="font-weight:600">Age :</span> {{AGE PATIENT ABREGE}} ans<br /><br />pourra ressembler à cela après résolution ou exécution des macros.<br /><br /><span style="font-weight:600">Nom :</span> TARTEMPION MARCEL <span style="font-weight:600">Sexe:</span> Masculin<br /><span style="font-weight:600">Né(e) :</span> 01-01-2001 <span style="font-weight:600">Age :</span> 7 ans<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Invalidation des fins de lignes</span> Si le caractère <span style="font-size:9pt;font-weight:600">\</span><span style="font-weight:600"> est placé en fin de ligne</span>, le retour chariot suivant cette ligne sera ignoré. Cela permet d'écrire sur plusieurs lignes un script long pour lequel l'on ne veut pas insérer de retours à la ligne.<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Caractère d'échappement</span> Si le caractère <span style="font-size:9pt;font-weight:600">\</span><span style="font-weight:600"> est placé avant un caractère</span>, exemple <span style="font-weight:600">\(, </span>le caractère le suivant sera interprété comme un caractère de texte et non comme un caractère de structure d'instruction. Dans notre exemple, la parenthèse ouvrante ne sera pas interprétée comme un début de liste de paramètres de fonction.<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Les </span><span style="font-style:italic;text-decoration:underline">Script MedinTux</span><span style="text-decoration:underline"> peuvent comporter des variables</span> <br />Les instructions de manipulation de variables sont : <br /> - <span style="font-weight:600">Affectation d'une variable</span> : <span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: SET_VAR ( NomDeLaVairiable, ValeurAPlacerDansLaVariable ) }}<br /></span><br /> - <span style="font-weight:600">Lecture d'une variable</span> : la macro suivante <span style="font-size:9pt;font-weight:600;color:#aa0000">{{VAR=NomDeLaVariable}}</span> sera remplacée par le <br /> contenu de la variable dont le nom est situé après le signe <span style="font-weight:600;color:#aa0000">=</span> .<br /> <span style="font-family:Luxi Mono;font-size:8pt"><br /><a name="4.5.1.1 Affectation directe du résultat d'une macro dans une variable"></a></span><span style="font-weight:600">4.5.1.1 </span> <a name="Affectation_directe_du_resultat_d'une_macro_dans_une_variable"></a><span style="font-weight:600;text-decoration:underline">Affectation directe du résultat d'une macro dans une variable</span> :<span style="font-family:Luxi Mono;font-size:8pt"><br /> Cette nouvelle possibilité augmente considérablement la performance du langage de macro.<br /> Pour que le résultat d'une macro soit directement affecté à une variable, il suffit de placer <br /> après la parenthèse fermante de la macro le symbole '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">></span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600">'</span><span style="font-family:Luxi Mono;font-size:8pt"> ou '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">-</span><span style="font-family:Luxi Mono;font-size:8pt">' suivi du nom de la variable devant être<br /> affectée par le résultat. Si cette variable n'existe pas elle sera créée. <br /> Si le symbole '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">-</span><span style="font-family:Luxi Mono;font-size:8pt">' est utilisé, alors les espaces de début et de fin du contenu de la variable seront<br /> nettoyés. <br /> Il ne doit </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;text-decoration:underline">pas y avoir d'espaces</span><span style="font-family:Luxi Mono;font-size:8pt"> entre la parenthèse fermante </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">)</span><span style="font-family:Luxi Mono;font-size:8pt"> le symbole '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">-</span><span style="font-family:Luxi Mono;font-size:8pt">' ou '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">></span><span style="font-family:Luxi Mono;font-size:8pt">' le<br /> nom de la variable et le symbole '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">}</span><span style="font-family:Luxi Mono;font-size:8pt">'<br /> </span><span style="font-family:Luxi Mono;font-style:italic;font-size:8pt;text-decoration:underline">Exemple</span><span style="font-family:Luxi Mono;font-size:8pt"> : <br /> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">{{:: DATE_TONUM ( 12-12-1990 08:30:45 , S , 12-12-1990 08:30:00 )>MaVariable}} </span><span style="font-family:Luxi Mono;font-size:8pt"><br /> Le résultat (45) de la macro </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">DATE_TONUM (...)</span><span style="font-family:Luxi Mono;font-size:8pt"> sera directement placé dans la variable </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt">.<br /><br /> Ancienne façon beaucoup moins concise et moins performante d'arriver au même résultat :<br /> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">{{:: SET_VAR ( MaVariable, {{:: DATE_TONUM ( 12-12-1990 08:30:45 , S , 12-12-1990 08:30:00 )}} )}}<br /></span><br /><a name="4.5.1.2 Passage de valeurs aux fonctions par référence à une variable"></a><span style="font-weight:600">4.5.1.2 </span> <span style="font-weight:600;text-decoration:underline">Passage de valeurs aux fonctions par référence à une variable</span> :<span style="font-family:Luxi Mono;font-size:8pt"><br /> Si le paramètre d'une macro commençe par le </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$</span><span style="font-family:Luxi Mono;font-size:8pt"> exemple </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt"> c'est alors<br /> </span><span style="font-family:Luxi Mono;font-size:8pt;text-decoration:underline">le contenu de la variable</span><span style="font-family:Luxi Mono;font-size:8pt"> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt"> indiquée après le symbole </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$</span><span style="font-family:Luxi Mono;font-size:8pt"> qui sera transmis comme<br /> paramètre d'appel et non simplement le texte du paramètre. Ceci est équivalent à </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">{{VAR=MaVariable}}</span><span style="font-family:Luxi Mono;font-size:8pt"><br /> mais beaucoup plus rapide en éxécution, fiable et plus simple à écrire dans un script.<br /> Ne pas utiliser comme nom de variable les mots clefs réservés suivants :<br /> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$END_WIDTH $File $Paste $WIDTH $allString $toInt $stopIfNotNum $IsAbsPath<br /> $IsBinPath $NoAddExe $toStdIn $NomPatient $PrenomPatient $DateDeb $DateFin<br /> $DateDebFiche $DateFinFiche $HeureDeb $HeureFin $NomRub $TitreRub $User<br /> $SignUser $NumFicheRub $GUIDPat $PkPat $pkFiche $Duree $NumFicheTot $Selection<br /> $VAR $SET_VAR $no key $TableName $USER_PARAM $TOEND $keepHtml<br /></span><br /><a name="4.5.2 Où se situent et se cachent les Scripts MedinTux ? dans"></a><span style="font-weight:600">4.5.2 </span><span style="font-weight:600;text-decoration:underline">Où se situent et se cachent les Scripts MedinTux ? dans</span> :<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Les en-têtes et de pieds de pages d'impression</span> accessibles par le gestionnaire d'utilisateurs <span style="font-weight:600">gest_user</span>, les instructions contenues dans ces documents sont résolues lors de l'incorporation des en-têtes et de pieds de pages au cours d'une impression. <br /><br /> <img src=gnome-warning.png ><span style="font-weight:600;text-decoration:underline">VARIABLES ET MENTIONS PARTICULIERES</span> : </p>
+<p><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Les </span><span style="font-style:italic;text-decoration:underline">Script MedinTux</span><span style="text-decoration:underline"> sont récursifs,</span> ce qui signifie qu'il est possible d'imbriquer plusieurs <span style="font-weight:600">champs de fusion</span>, les instructions les plus imbriquées seront résolues avant les autres.<br />Dans l'exemple suivant :<br /><br /><span style="font-size:9pt;font-weight:600">$start_title</span><span style="font-size:9pt;font-weight:600;color:#aa0000">Modifier l'image avec The Gimp</span><span style="font-size:9pt;font-weight:600">$end_title\<br />{{SAVE LAST IMAGE NAME=../../tmp/}}\<br />{{:: exe_process (WaitEnd , /usr/bin/gimp ,$ToAbsPath ../../tmp/</span><span style="font-size:9pt;font-weight:600;color:#005500">{{GET LAST IMAGE NAME}}</span><span style="font-size:9pt;font-weight:600">)}}\<br />{{:: replace_image (</span><span style="font-size:9pt;font-weight:600;color:#005500">{{GET LAST IMAGE NAME}}</span><span style="font-size:9pt;font-weight:600">, ../../tmp/</span><span style="font-size:9pt;font-weight:600;color:#005500">{{GET LAST IMAGE NAME}}</span><span style="font-size:9pt;font-weight:600">,-1,-1,keep_src_file_Name remove_src ) }}<br /><br /></span>Le champ de fusion <span style="font-size:9pt;font-weight:600">{{GET LAST IMAGE NAME}}</span><span style="font-size:9pt"> </span>sera résolu avant les autres, et remplacé par le nom de la dernière image enregistrée.<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Les </span><span style="font-style:italic;text-decoration:underline">Script MedinTux</span><span style="text-decoration:underline"> sont orientés texte</span> tout le texte situé en dehors des doubles crochets <span style="font-size:9pt;font-weight:600">{{</span> <span style="font-size:9pt;font-weight:600">}}</span> ou situé en dehors des deux balises <span style="font-size:9pt;font-weight:600">$start_title</span> et <span style="font-size:9pt;font-weight:600">$end_title</span> est conservé et sera ajouté au résultat final y compris les retours à la ligne (la partie située entre <span style="font-size:9pt;font-weight:600">$start_title</span> et <span style="font-size:9pt;font-weight:600">$end_title </span><span style="font-size:9pt">sera affichée comme infobulle)</span>.<br /><span style="text-decoration:underline">Exemple</span> :<br /><span style="font-weight:600">Nom :</span> {{NOM PRENOM PATIENT}} <span style="font-weight:600">Sexe: </span>{{SEXE PATIENT}}<br /><span style="font-weight:600">Né(e) :</span> {{DATE NAISSANCE PATIENT}} <span style="font-weight:600">Age :</span> {{AGE PATIENT ABREGE}} ans<br /><br />pourra ressembler à cela après résolution ou exécution des macros.<br /><br /><span style="font-weight:600">Nom :</span> TARTEMPION MARCEL <span style="font-weight:600">Sexe:</span> Masculin<br /><span style="font-weight:600">Né(e) :</span> 01-01-2001 <span style="font-weight:600">Age :</span> 7 ans<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Invalidation des fins de lignes</span> Si le caractère <span style="font-size:9pt;font-weight:600">\</span><span style="font-weight:600"> est placé en fin de ligne</span>, le retour chariot suivant cette ligne sera ignoré. Cela permet d'écrire sur plusieurs lignes un script long pour lequel l'on ne veut pas insérer de retours à la ligne.<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Caractère d'échappement</span> Si le caractère <span style="font-size:9pt;font-weight:600">\</span><span style="font-weight:600"> est placé avant un caractère</span>, exemple <span style="font-weight:600">\(, </span>le caractère le suivant sera interprété comme un caractère de texte et non comme un caractère de structure d'instruction. Dans notre exemple, la parenthèse ouvrante ne sera pas interprétée comme un début de liste de paramètres de fonction.<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Les </span><span style="font-style:italic;text-decoration:underline">Script MedinTux</span><span style="text-decoration:underline"> peuvent comporter des variables</span> <br />Les instructions de manipulation de variables sont : <br /> - <span style="font-weight:600">Affectation d'une variable</span> : <span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: SET_VAR ( NomDeLaVairiable, ValeurAPlacerDansLaVariable ) }}<br /></span><br /> - <span style="font-weight:600">Lecture d'une variable</span> : la macro suivante <span style="font-size:9pt;font-weight:600;color:#aa0000">{{VAR=NomDeLaVariable}}</span> sera remplacée par le <br /> contenu de la variable dont le nom est situé après le signe <span style="font-weight:600;color:#aa0000">=</span> .<br /> <span style="font-family:Luxi Mono;font-size:8pt"><br /><a name="4.5.1.1 Affectation directe du résultat d'une macro dans une variable"></a></span><span style="font-weight:600">4.5.1.1 <a name="Affectation_directe_du_resultat_d'une_macro_dans_une_variable"></a></span><span style="font-weight:600;text-decoration:underline">Affectation directe du résultat d'une macro dans une variable</span> :<span style="font-family:Luxi Mono;font-size:8pt"><br /> Cette nouvelle possibilité augmente considérablement la performance du langage de macro.<br /> Pour que le résultat d'une macro soit directement affecté à une variable, il suffit de placer <br /> après la parenthèse fermante de la macro le symbole '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">></span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600">'</span><span style="font-family:Luxi Mono;font-size:8pt"> ou '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">-</span><span style="font-family:Luxi Mono;font-size:8pt">' suivi du nom de la variable devant être<br /> affectée par le résultat. Si cette variable n'existe pas elle sera créée. <br /> Si le symbole '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">-</span><span style="font-family:Luxi Mono;font-size:8pt">' est utilisé, alors les espaces de début et de fin du contenu de la variable seront<br /> nettoyés. <br /> Il ne doit </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;text-decoration:underline">pas y avoir d'espaces</span><span style="font-family:Luxi Mono;font-size:8pt"> entre la parenthèse fermante </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">)</span><span style="font-family:Luxi Mono;font-size:8pt"> le symbole '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">-</span><span style="font-family:Luxi Mono;font-size:8pt">' ou '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">></span><span style="font-family:Luxi Mono;font-size:8pt">' le<br /> nom de la variable et le symbole '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">}</span><span style="font-family:Luxi Mono;font-size:8pt">'<br /> </span><span style="font-family:Luxi Mono;font-style:italic;font-size:8pt;text-decoration:underline">Exemple</span><span style="font-family:Luxi Mono;font-size:8pt"> : <br /> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">{{:: DATE_TONUM ( 12-12-1990 08:30:45 , S , 12-12-1990 08:30:00 )>MaVariable}} </span><span style="font-family:Luxi Mono;font-size:8pt"><br /> Le résultat (45) de la macro </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">DATE_TONUM (...)</span><span style="font-family:Luxi Mono;font-size:8pt"> sera directement placé dans la variable </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt">.<br /><br /> Ancienne façon beaucoup moins concise et moins performante d'arriver au même résultat :<br /> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">{{:: SET_VAR ( MaVariable, {{:: DATE_TONUM ( 12-12-1990 08:30:45 , S , 12-12-1990 08:30:00 )}} )}}<br /></span><br /><a name="4.5.1.2 Passage de valeurs aux fonctions par référence à une variable"></a><span style="font-weight:600">4.5.1.2 </span><span style="font-weight:600;text-decoration:underline">Passage de valeurs aux fonctions par référence à une variable</span> :<span style="font-family:Luxi Mono;font-size:8pt"><br /> Si le paramètre d'une macro commençe par le </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$</span><span style="font-family:Luxi Mono;font-size:8pt"> exemple </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt"> c'est alors<br /> </span><span style="font-family:Luxi Mono;font-size:8pt;text-decoration:underline">le contenu de la variable</span><span style="font-family:Luxi Mono;font-size:8pt"> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt"> indiquée après le symbole </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$</span><span style="font-family:Luxi Mono;font-size:8pt"> qui sera transmis comme<br /> paramètre d'appel et non simplement le texte du paramètre. Ceci est équivalent à </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">{{VAR=MaVariable}}</span><span style="font-family:Luxi Mono;font-size:8pt"><br /> mais beaucoup plus rapide en éxécution, fiable et plus simple à écrire dans un script.<br /> Ne pas utiliser comme nom de variable les mots clefs réservés suivants :<br /> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$END_WIDTH $File $Paste $WIDTH $allString $toInt $stopIfNotNum $IsAbsPath<br /> $IsBinPath $NoAddExe $toStdIn $NomPatient $PrenomPatient $DateDeb $DateFin<br /> $DateDebFiche $DateFinFiche $HeureDeb $HeureFin $NomRub $TitreRub $User<br /> $SignUser $NumFicheRub $GUIDPat $PkPat $pkFiche $Duree $NumFicheTot $Selection<br /> $VAR $SET_VAR $no key $TableName $USER_PARAM $TOEND $keepHtml<br /></span><br /><a name="4.5.2 Où se situent et se cachent les Scripts MedinTux ? dans"></a><span style="font-weight:600">4.5.2 </span><span style="font-weight:600;text-decoration:underline">Où se situent et se cachent les Scripts MedinTux ? dans</span> :<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Les en-têtes et de pieds de pages d'impression</span> accessibles par le gestionnaire d'utilisateurs <span style="font-weight:600">gest_user</span>, les instructions contenues dans ces documents sont résolues lors de l'incorporation des en-têtes et de pieds de pages au cours d'une impression. <br /><br /> <img src=gnome-warning.png ><span style="font-weight:600;text-decoration:underline">VARIABLES ET MENTIONS PARTICULIERES</span> : </p>
<ul type="disc"><li><span style="font-size:9pt">Si lors d'une résolution ou exécution de script ou de macro, le texte généré, contient la mention </span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#aa0000">$PRINT_STOP</span><span style="font-size:9pt"> alors l'impression du document sera interrompue.</span> </li>
<li><span style="font-size:9pt">Lors de la résolution et exécution d'un script la variable</span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#aa0000"> $SCRIPT_STATUS</span><span style="font-size:9pt"> accessible dans un script avec </span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#aa0000">{{VAR=$SCRIPT_STATUS}}</span><span style="font-size:9pt"> peut prendre les valeurs suivantes : <br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#00aa00">nom de la rubrique</span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">_$FUSION_ADD_Tout</span><span style="font-size:9pt"> lors du remplacement d'un document déjà existant d'une rubrique de MedinTux par un modèle ou document-type du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#00aa00">nom de la rubrique</span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">_$FUSION_ADD_Ajouter</span><span style="font-size:9pt"> lors de l'ajout à un document déjà existant d'une rubrique de MedinTux, d'un modèle ou document-type du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#00aa00">nom de la rubrique</span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">_$FUSION_CREATE</span><span style="font-size:9pt"> lors de la création d'un nouveau document d'une rubrique de MedinTux à partir d'un modèle ou document-type du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#00aa00">nom de la rubrique</span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">_$FUSION_END</span><span style="font-size:9pt;font-weight:600;color:#0000ff"> </span><span style="font-size:9pt">lorsque l'exécution d'une macro ou script a été opéré est est terminé (vous ne devriez pas avoir à vous en servir).<br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#00aa00">nom de la rubrique</span><span style="font-size:9pt"> peut prendre les valeurs suivantes selon la rubrique dans laquelle st exécutée la macro :<br />Observation, Prescription, Documents, Identification.<br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">$PREVISUALISATION</span><span style="font-size:9pt"> lorsque l'exécution d'une macro ou script est en train de se faire dans le cadre de la fenêtre de prévisualisation du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">$PREVISUALISATION_END</span><span style="font-size:9pt"> lorsque l'exécution d'une macro ou script vient de se terminer dans le cadre de la fenêtre de prévisualisation du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">$PRINT_SCRIPT_BEFORE</span><span style="font-size:9pt"> Lorsque lors d'une impression aucune exécution de script d'en-tête et de pied de page n'a encore été réalisée cette valeur est retournée (script exécuté la première fois)</span><span style="font-size:9pt;font-weight:600;color:#aa0000">. </span><span style="font-size:9pt"><br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">$PRINT_HEADER_CHANGED</span><span style="font-size:9pt"> Cette valeur est positionnée si dans le dialogue d'impression le modèle d'impression a été changé, et que l'éventuel script de l'en-tête et du pied de page de ce modèle va être exécuté.<br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">$PRINT_SCRIPT_END</span><span style="font-size:9pt;font-weight:600;color:#0000ff"> </span><span style="font-size:9pt">Cette valeur est positionnée après la résolution et exécution lors d'une impression d'un script de l'en-tête et du pied de page.</span></li></ul>
<p><span style="font-family:Comic Sans Ms"><br /><img src=SCRIPT_WhereGestUser.png ><br /><br /><br /><img src=PetitCarreOrange.png ></span><span style="text-decoration:underline">Les modèles de documents types ou maquettes</span> du <span style="font-weight:600">Glossaire.<br /></span>les instructions contenues dans ces documents sont résolues lors de l'incorporation du document<br />dans une rubrique de MedinTux.<br /><br /><img src=SCRIPT_WhereGlossaire.png ><br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Le système de Menus déroulants de MedinTux</span> accessible par le bouton <img src=ToolGestList_Item.png >dans le gestionnaire de dossier médical <span style="font-weight:600">drtux</span>.<br />Les instructions contenues dans ces documents sont résolues lors de l'incorporation dans un document après exécution de l'option de menu correspondant au script.<br /><br /><img src=OCR_Script.png ><br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Le système de Menus utilisateur de la barre de menu de MedinTux</span> (options encadrées en rouge)<br /><br /><img src=user_menu_WhereInDrTux.png ><br />Ces instructions seront exécutées et résolues lors du clic sur une des options.<br />Les fichiers de configuration se trouvent dans <span style="font-weight:600">drtux/bin/Ressources/Menus</span></p>
<p><hr><span style="font-size:9pt;font-weight:600">4.5.3.95</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: APPEND_DOC_IN_CLASSEUR (hierarchie, forcerInsertion)}}</span><span style="font-size:9pt"><br />Cette instruction de classement automatique est celle qui va permettre à un document d'indiquer lors de sa création<br />et insertion par l'utilisateur, l'endroit où il doit être classé dans la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (hiérarchie de classeurs indiquant le classeur final où doit être classé le document) .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (ce paramètre détermine le devenir d'un document si il n'a pas pu être classé dans la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">)</span></p>
<ul type="disc"><div><span style="font-size:9pt">Lorsque le classeur de destination indiqué par le </span><span style="font-size:9pt;font-weight:600">paramètre N°1</span><span style="font-size:9pt"> (hiérarchie de classeurs de destination)<br />n'est pas accessible (n'existe pas, inaccessible pour ce profil ou ce filtre, etc ...)<br />° si ce paramètre est </span><span style="font-size:9pt;font-weight:600">supérieur à 0 (zéro),</span><span style="font-size:9pt"> le document sera </span><span style="font-size:9pt;font-weight:600">ajouté et créé mais non classé dans la Vigie</span><span style="font-size:9pt">.<br />° si ce paramètre est </span><span style="font-size:9pt;font-weight:600">à zéro, le document ne sera ni classé ni ajouté ou créé</span><span style="font-size:9pt">.</span></div></ul>
<p><span style="font-size:9pt;text-decoration:underline">Exemple</span><span style="font-size:9pt"> :<br />dans cet exemple, le document ayant ces macros-instructions sera classé dans deux classeurs à la fois.<br />Si le classement dans un des classeurs échoue, le document sera tout de même créé (forcerInsertion à 1).<br /><br /></span><span style="font-style:italic;font-size:9pt">{{\<br />{{::Append_doc_in_classeur (Classeur_Médecine_Générale/Non classés, 1)}}\<br />{{::Append_doc_in_classeur (Historique du dossier, 1)}}\<br />}}</span></p>
-<p><hr><span style="font-size:9pt;font-weight:600">4.5.3.96</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{DOC_TYPE=Prescription, 1}}</span><span style="font-size:9pt"><br />Cette instruction placée en début de document indique et force une rubrique de destination dans laquelle le document doit être placé lors de son chargement.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (Rubrique de destination du document)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (facultatif) si 1, il n'est pas posé de question au cas où un document est déjà existant à cette date. <br /></span><br /><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.97</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{GET_SELECTION=Nom de la variable}}</span><span style="font-size:9pt"><br />Cette instruction retourne le texte sélectionné dans le texte en cours.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (facultatif) modificateur de méthode<br />Si ce paramètre est égal à la valeur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File </span><span style="font-size:9pt">alors la sélection sera écrite sur le disque dans le fichier indiqué à la suite de </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> .<br />Si ce paramètre est égal à la valeur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Paste </span><span style="font-size:9pt">alors la méthode de sélection sera un copy/paste (parfois meilleurs résultats) .<br />Sinon ce paramètre indique le nom d'une variable à initialiser avec le contenu de la sélection. Idem à </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: VAR_SET(Nom de la variable, </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Selection</span><span style="font-size:9pt;font-weight:600;color:#aa0000">}}</span><span style="font-size:9pt"><br /><br /></span><br /><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.98</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: VAR_SET(Nom de la variable, valeur de la variable)}}</span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variantes</span><span style="font-size:9pt"> : {{:: SET_VAR(nom de la variable, valeur de la variable)}}<br />Cette instruction positionne la variable '</span><span style="font-style:italic;font-size:9pt">Nom de la variable'</span><span style="font-size:9pt"> indiquée par le premier paramètre, sur la valeur indiqué dans le deuxième paramètre. Cette instruction est utile pour stocker un résultat provenant d'une série de macro complexes. Par la suite, il suffira juste d'utiliser {{VAR=Nom de la variable}} pour récupérer la valeur sans avoir à effectuer ni réécrire la macro complexe.<br /><br /></span><span style="font-family:Luxi Mono;font-size:8pt">Si le paramètre d'une macro commençe par le </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$</span><span style="font-family:Luxi Mono;font-size:8pt"> exemple </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt"> c'est alors<br /></span><span style="font-family:Luxi Mono;font-size:8pt;text-decoration:underline">le contenu de la variable</span><span style="font-family:Luxi Mono;font-size:8pt"> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt"> indiquée après le symbole </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$</span><span style="font-family:Luxi Mono;font-size:8pt"> qui sera transmis comme<br />paramètre d'appel et non simplement le texte. Ceci est équivalent à </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">{{MaVariable}}<br /></span><span style="font-family:Luxi Mono;font-size:8pt">mais beaucoup plus rapide en éxécution, fiable et plus simple à écrire dans un script.<br />ne pas utiliser comme nom de variable les mots clefs réservés suivants :<br /><br /> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$END_WIDTH $File $Paste $WIDTH $allString $toInt $stopIfNotNum $IsAbsPath<br /> $IsBinPath $NoAddExe $toStdIn $NomPatient $PrenomPatient $DateDeb $DateFin<br /> $DateDebFiche $DateFinFiche $HeureDeb $HeureFin $NomRub $TitreRub $User<br /> $SignUser $NumFicheRub $GUIDPat $PkPat $pkFiche $Duree $NumFicheTot $Selection<br /> $VAR $SET_VAR $no key $TableName $USER_PARAM $TOEND $keepHtml<br /></span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nom de la variable)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (valeur de la variable) <br /> si cette valeur commence par le modificateur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Selection</span><span style="font-size:9pt"> alors elle sera initialisée avec le contenu du texte sélectionné dans l'éditeur de texte courant idem à </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{GET_SELECTION=Nom de la variable}}</span><span style="font-size:9pt"><br /> si cette valeur commence par le modificateur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> alors ce qui suit la suite de </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> sera considéré comme le chemin d'un fichier à charger et alors le nom de ce fichier peut contenir les mentions suivantes :<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /><br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.99</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{VAR=Nom de la variable}}</span><span style="font-size:9pt"><br />Cette instruction place le contenu de la variable dont le nom est indiqué par le paramètre : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">Nom de la variable</span><span style="font-size:9pt">.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nom de la variable)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variantes</span><span style="font-size:9pt"> : {{PUT_VAR=nom de la variable}}</span></p>
+<p><hr><span style="font-size:9pt;font-weight:600">4.5.3.96</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{DOC_TYPE=Prescription, 1}}</span><span style="font-size:9pt"><br />Cette instruction placée en début de document indique et force une rubrique de destination dans laquelle le document doit être placé lors de son chargement.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (Rubrique de destination du document)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (facultatif) si 1, il n'est pas posé de question au cas où un document est déjà existant à cette date. <br /></span><br /><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.97</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{GET_SELECTION=Nom de la variable}}</span><span style="font-size:9pt"><br />Cette instruction retourne le texte sélectionné dans le texte en cours.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (facultatif) modificateur de méthode<br />Si ce paramètre est égal à la valeur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File </span><span style="font-size:9pt">alors la sélection sera écrite sur le disque dans le fichier indiqué à la suite de </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> .<br />Si ce paramètre est égal à la valeur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Paste </span><span style="font-size:9pt">alors la méthode de sélection sera un copy/paste (parfois meilleurs résultats) .<br />Sinon ce paramètre indique le nom d'une variable à initialiser avec le contenu de la sélection. Idem à </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: VAR_SET(Nom de la variable, </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Selection</span><span style="font-size:9pt;font-weight:600;color:#aa0000">}}</span><span style="font-size:9pt"><br /><br /></span><br /><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.98</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: VAR_SET(Nom de la variable, valeur de la variable)}}</span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variantes</span><span style="font-size:9pt"> : {{:: SET_VAR(nom de la variable, valeur de la variable)}}<br />Cette instruction positionne la variable '</span><span style="font-style:italic;font-size:9pt">Nom de la variable'</span><span style="font-size:9pt"> indiquée par le premier paramètre, sur la valeur indiqué dans le deuxième paramètre. Cette instruction est utile pour stocker un résultat provenant d'une série de macro complexes. Par la suite, il suffira juste d'utiliser {{VAR=Nom de la variable}} pour récupérer la valeur sans avoir à effectuer ni réécrire la macro complexe.<br /><br /></span><span style="font-family:Luxi Mono;font-size:8pt">Si le paramètre d'une macro commençe par le </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$</span><span style="font-family:Luxi Mono;font-size:8pt"> exemple </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt"> c'est alors<br /></span><span style="font-family:Luxi Mono;font-size:8pt;text-decoration:underline">le contenu de la variable</span><span style="font-family:Luxi Mono;font-size:8pt"> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt"> indiquée après le symbole </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$</span><span style="font-family:Luxi Mono;font-size:8pt"> qui sera transmis comme<br />paramètre d'appel et non simplement le texte. Ceci est équivalent à </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">{{MaVariable}}<br /></span><span style="font-family:Luxi Mono;font-size:8pt">mais beaucoup plus rapide en éxécution, fiable et plus simple à écrire dans un script.<br />ne pas utiliser comme nom de variable les mots clefs réservés suivants :<br /><br /> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$END_WIDTH $File $Paste $WIDTH $allString $toInt $stopIfNotNum $IsAbsPath<br /> $IsBinPath $NoAddExe $toStdIn $NomPatient $PrenomPatient $DateDeb $DateFin<br /> $DateDebFiche $DateFinFiche $HeureDeb $HeureFin $NomRub $TitreRub $User<br /> $SignUser $NumFicheRub $GUIDPat $PkPat $pkFiche $Duree $NumFicheTot $Selection<br /> $VAR $SET_VAR $no key $TableName $USER_PARAM $TOEND $keepHtml<br /></span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nom de la variable)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (valeur de la variable) <br /> si cette valeur commence par le modificateur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Selection</span><span style="font-size:9pt"> alors elle sera initialisée avec le contenu du texte sélectionné dans l'éditeur de texte courant idem à </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{GET_SELECTION=Nom de la variable}}</span><span style="font-size:9pt"><br /> si cette valeur commence par le modificateur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> alors ce qui suit la suite de </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> sera considéré comme le chemin d'un fichier à charger et alors le nom de ce fichier peut contenir les mentions suivantes :<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /><br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.99</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{VAR=Nom de la variable}}</span><span style="font-size:9pt"><br />Cette instruction place le contenu de la variable dont le nom est indiqué par le paramètre : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">Nom de la variable</span><span style="font-size:9pt">.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nom de la variable)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variantes</span><span style="font-size:9pt"> : {{PUT_VAR=nom de la variable}}</span></p>
<p><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.100</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: LIST_DIR (repertoire, filtre, extension, sep, 1) }}</span><span style="font-size:9pt"><br />Cette instruction crée une chaîne constituée de tous les éléments trouvés dans le répertoire spécifié dans le paramètre </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">N° 1</span><span style="font-size:9pt"> , séparés par le séparateur indiqué par le terme </span><span style="font-size:9pt;font-weight:600">sep</span><span style="font-size:9pt">.<br />La liste peut être filtrée par un filtre sur les extensions et sur les nom des fichiers.<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nom du répertoire dont il faut lister le contenu)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (liste de chaînes validantes : facultative) <br />Liste des chaînes validantes séparées par le séparateur sep, qui, si une est contenue dans le nom d'un des éléments du répertoire, retient cet élément comme à inclure dans la liste.<br />Si cette liste est vide, il ne sera pas tenu compte de cette liste.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (liste des extensions validantes : facultative)<br />Liste des extensions validantes séparées par le séparateur sep, qui si une est contenue dans l'extension d'un des éléments du répertoire, retient cet élément comme à inclure dans la liste.<br />Si cette liste est vide, il ne sera pas tenu compte de cette liste.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (séparateur : falcultatif)<br />si non indiqué par défaut, est égal à |<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-size:9pt"> (nature de la liste : falcultatif)<br />si non indiqué par défaut, est égal à 0<br />si à 1 alors il sera listé les répertoires.<br /><br /></span><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.101</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: MESSAGE_ALERT (message, titre, bouton1, bouton2, bouton3, bouton4, hauteur, largeur, chemin des images) }}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">variante</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: FORM_MESSAGE (message, titre, bouton1, bouton2, bouton3, bouton4, hauteur, largeur, chemin des images) }}</span><span style="font-size:9pt"><br /><br />Cette instruction affiche un dialogue à choix multiples constitué d'un texte d'information et d'un maximum de quatre boutons de choix.<br />Le texte retourné est celui du bouton cliqué.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (message du texte d'information) qui, si commence par<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> sera considéré comme le chemin d'un fichier à charger et alors le nom de ce fichier peut contenir les mentions suivantes.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (titre du dialogue : facultatif) <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3 à 6</span><span style="font-size:9pt"> (texte des boutons : facultatif) si aucun bouton n'est défini, le bouton par défaut </span><span style="font-size:9pt;font-weight:600">ok</span><span style="font-size:9pt"> est activé. Cela permet d'afficher très simplement un texte d'information.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 7</span><span style="font-size:9pt"> (largeur du dialogue : facultatif) <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 8</span><span style="font-size:9pt"> (hauteur du dialogue : facultatif) <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 9</span><span style="font-size:9pt"> (répertoire où se trouvent les images : facultatif) peut contenir les mentions suivantes : <br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /> par défaut, le répertoire des images est celui de l'éventuel fichier indiqué à la suite de </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> du Paramètre N° 1.<br /></span><span style="font-size:9pt;text-decoration:underline">Exemple</span><span style="font-size:9pt"> :<br /><br /> {{::#MESSAGE_ALERT (</span><span style="font-size:9pt;font-weight:600;color:#ff5500">message de test</span><span style="font-size:9pt;color:#ff5500"> </span><span style="font-size:9pt">pour vous </span><span style="font-size:9pt;text-decoration:underline">pour démonstration de l'instruction \<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600">MESSAGE_ALERT il est même possible d'y placer des images\</span><span style="font-weight:600"><br /></span><span style="font-size:9pt"> </span><img src=./MedinTuxLogoHttp-300-200.png >,\<br /><span style="font-size:9pt"> exemple MESSAGE ALERT, bouton1, bouton2, bouton3, bouton4, 450, 250) }}</span><br /><br /><span style="font-size:9pt">affichera la boîte de dialogue suivante :<br /></span><br /><span style="font-size:9pt"> </span><img src=FormAlert.png ><span style="font-size:9pt"><br /><br /><br /></span><span style="font-size:9pt;text-decoration:underline">Exemple</span><span style="font-size:9pt"> : <br /> </span><span style="font-size:9pt;font-weight:600">{{::#MESSAGE_ALERT ($File../../Doc/index.html,exemple MESSAGE ALERT, bouton1,,,, 470,220,../../Doc) }}<br /></span><span style="font-size:9pt">ou la variante (alors le répertoire des images sera déduit de</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">../../Doc/</span><span style="font-size:9pt;font-weight:600">index.html</span><span style="font-size:9pt"> )<br /> </span><span style="font-size:9pt;font-weight:600">{{::#MESSAGE_ALERT ($File../../Doc/index.html, exemple MESSAGE ALERT, bouton1,,,, 470,220) }}<br /></span><span style="font-size:9pt"><br />affichera la boîte de dialogue suivante :<br /><br /> </span><img src=FormAlertFile.png ><span style="font-size:9pt"><br /><br /></span><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.102</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: MESSAGE_POPUP (message, chemin bitmap, tempo) }}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">variante</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: FORM_POPUP_MESSAGE (message, chemin bitmap, tempo) }}</span><span style="font-size:9pt"><br />Cette instruction affiche un petit texte dans un popup surgissant en bas à droite de l'écran, pour par exemple signaler pourquoi une action est sans effet.<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (texte du message à afficher)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (chemin du bitmap à afficher : facultatif) <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (temps de persistance du popup à l'écran en milli secondes : facultatif et alors par défaut 1000 ms soit 1 seconde)<br /><br /></span><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.103</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: FORM_DATE (05-06-1956, titre du dialogue , format de retour, liste de présélection de dates}}</span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (date à prépositionner) format dd-MM-yyyy<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (titre du dialogue : facultatif et par défaut </span><span style="font-size:9pt;font-weight:600">Choix dans la date</span><span style="font-size:9pt">) <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (format de retour : facultatif et par défaut </span><span style="font-size:9pt;font-weight:600">dd-MM-yyyy</span><span style="font-size:9pt">) voir en paragraphe <a name="3.4.3.5 Trucs et astuces du texte d'une option"></a></span><span style="font-weight:600">3.4.3.5</span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (menu de présélection des dates: facultatif) ce paramètree permet de positionner un bouton de menu avec une présélection de dates<br />chacune des options de ce menu est séparée de l'autre par le séparateur '</span><span style="font-size:9pt;font-weight:600;color:#aa0000">|</span><span style="font-size:9pt">' . La syntaxe d'une option est la suivante :<br /></span> <span style="font-size:9pt;font-weight:600">Ce jour à 8:00 h</span><span style="font-size:9pt"> pour une option repositionnant à la date du jour<br /></span> <span style="font-size:9pt;font-weight:600">Ce jour à 8:00 h + 1 jour</span><span style="font-size:9pt"> pour une option repositionnant à la date du jour plus un jour<br /></span> <span style="font-size:9pt;font-weight:600">Ce jour à 8:00 h + 8 jours</span><span style="font-size:9pt"> pour une option repositionnant à la date du jour plus huit jours<br /></span> <span style="font-size:9pt;font-weight:600">Ce jour à 8:00 h - 8 jours</span><span style="font-size:9pt"> pour une option repositionnant à la date du jour moins huit jours etc ....<br /><br /></span><span style="font-style:italic;font-size:9pt">exemple </span><span style="font-size:9pt">: </span><span style="font-size:9pt;color:#aa0000">{{:: FORM_DATE ({{dd-MM-yyyy}}, titre du dialogue ,dd-MM-yyyy, Ce jour à 8:00 h|Ce jour à 8:00 h + 1 jour|Ce jour à 8:00 h + 2 jours|Ce jour à 8:00 h + 3 jours|Ce jour à 8:00 h + 4 jours|Ce jour à 8:00 h + 6 jours|Ce jour à 8:00 h + 8 jours|Ce jour à 8:00 h + 15 jours)}}</span><span style="font-size:9pt"><br /><br /></span><span style="font-style:italic;font-size:9pt">exemple de menu avec les jours mois et années et heures prépositionnées</span><span style="font-size:9pt"> :<br /></span> <span style="font-size:9pt">Ce jour à 8:00 h - 2 jours|Ce jour à 8:00 h - 1 jour|Ce jour à 8:00 h - 24 h|Ce mois à 0:00 h|Ce mois à 0:00 h - 1 mois|Cette année à 0:00 h|Cette année à 0:00 h - 1 an<br /><br /><br /></span><img src=FormDate.png ><br /><span style="font-size:9pt"><br /></span><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.104</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: FORM_HEURE (12:45:32, format de retour}}}</span><span style="font-size:9pt"><br />Cette instruction affiche le dialogue de choix de l'heure et en retourne l'heure saisie selon le paramètre : format de retour .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (heure à prépositionner : facultatif et par défaut l'heure courante) format hh:mm:ss<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (format de retour : facultatif et par défaut </span><span style="font-size:9pt;font-weight:600">hh:mm:ss</span><span style="font-size:9pt">) voir en paragraphe </span><span style="font-weight:600">3.4.3.5</span><span style="font-size:9pt"><br /><br /></span><img src=FormHeure.png ><span style="font-size:9pt"><br /><br /></span><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.105</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: FORM_DATE_HEURE (05-06-1956, 12:30:45, titre du dialogue , format de retour date, format de retour heure, séparation, , liste de présélection de dates}}</span><span style="font-size:9pt"><br />Cette instruction affiche le calendrier et l'heure pour choisir une date et une heure et en retourne la valeur saisie selon le format indiqué dans le quatrième et cinquième paramètre : format de retour .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (date à prépositionner : facultatif et par défaut la date courante) format dd-MM-yyyy<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (heure à prépositionner : facultatif et par défaut l'heure courante) format hh:mm:ss<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (titre du dialogue : facultatif et par défaut </span><span style="font-size:9pt;font-weight:600">saisie de la date et de l'heure</span><span style="font-size:9pt">)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (format de retour pour la date : facultatif et par défaut </span><span style="font-size:9pt;font-weight:600">dd-MM-yyyy</span><span style="font-size:9pt">) voir en paragraphe </span><span style="font-weight:600">3.4.3.5</span><span style="font-size:9pt"> <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-size:9pt"> (format de retour pour l'heure : facultatif et par défaut </span><span style="font-size:9pt;font-weight:600">hh:mm:ss</span><span style="font-size:9pt">) voir en paragraphe </span><span style="font-weight:600">3.4.3.5 </span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 6</span><span style="font-size:9pt"> (texte à placer entre la date et l'heure : facultatif et par défaut un </span><span style="font-size:9pt;font-weight:600">espace</span><span style="font-size:9pt">) <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 7</span><span style="font-size:9pt"> (menu de présélection des dates: facultatif) ce paramètre permet de positionner un bouton de menu avec une présélection de dates<br />chacune des options de ce menu est séparée de l'autre par le paramètre '</span><span style="font-size:9pt;font-weight:600;color:#aa0000">|</span><span style="font-size:9pt">' . La syntaxe d'une option est la suivante :<br /></span> <span style="font-size:9pt;font-weight:600">Ce jour à 8:00 h</span><span style="font-size:9pt"> pour une option repositionnant à la date du jour<br /></span> <span style="font-size:9pt;font-weight:600">Ce jour à 8:00 h + 1 jour</span><span style="font-size:9pt"> pour une option repositionnant à la date du jour plus un jour<br /></span> <span style="font-size:9pt;font-weight:600">Ce jour à 8:00 h + 8 jours</span><span style="font-size:9pt"> pour une option repositionnant à la date du jour plus huit jours<br /></span> <span style="font-size:9pt;font-weight:600">Ce jour à 8:00 h - 8 jours</span><span style="font-size:9pt"> pour une option repositionnant à la date du jour moins huit jours etc ....<br /><br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">exemple</span><span style="font-style:italic;font-size:9pt"> </span><span style="font-size:9pt">: </span><span style="font-style:italic;font-size:9pt;font-weight:600">{{:: </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">FORM_DATE_HEURE</span><span style="font-style:italic;font-size:9pt;font-weight:600"> ( </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00aa00">{{dd-MM-yyyy}}</span><span style="font-style:italic;font-size:9pt;font-weight:600">, </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00aa00">08:00:00</span><span style="font-style:italic;font-size:9pt;font-weight:600">,</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#ffaa7f">saisie de l'heure et de la date</span><span style="font-style:italic;font-size:9pt;font-weight:600">,dd-MM-yyyy, hh:mm, à , </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa55ff">Ce jour à 8:00 h</span><span style="font-style:italic;font-size:9pt;font-weight:600">|</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa55ff">Ce jour à 8:00 h + 24 hr</span><span style="font-style:italic;font-size:9pt;font-weight:600">|</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa55ff">Ce jour à 8:00 h + 2 jours</span><span style="font-style:italic;font-size:9pt;font-weight:600">|</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa55ff">Ce jour à 8:00 h + 3 jours</span><span style="font-style:italic;font-size:9pt;font-weight:600">|</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa55ff">Ce jour à 8:00 h + 4 jours</span><span style="font-style:italic;font-size:9pt;font-weight:600">|</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa55ff">Ce jour à 8:00 h + 6 jours</span><span style="font-style:italic;font-size:9pt;font-weight:600">|</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa55ff">Ce jour à 8:00 h + 8 jours</span><span style="font-style:italic;font-size:9pt;font-weight:600">|</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa55ff">Ce jour à 8:00 h + 15 jours</span><span style="font-style:italic;font-size:9pt;font-weight:600">)}}</span><span style="font-size:9pt"><br /><br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">exemple de menu avec les jours mois et années et heures prépositionnées</span><span style="font-size:9pt;text-decoration:underline"> </span><span style="font-size:9pt">:<br /></span> <span style="font-size:9pt">Ce jour à 8:00 h - 2 jours|Ce jour à 8:00 h - 1 jour|Ce jour à 8:00 h - 24 h|Ce mois à 0:00 h|Ce mois à 0:00 h - 1 mois|Cette année à 0:00 h|Cette année à 0:00 h - 1 an<br /></span><span style="font-size:9pt;text-decoration:underline">exemple</span><span style="font-size:9pt"> : <br /></span><span style="font-style:italic;font-size:9pt;font-weight:600">en date du {{:: FORM_DATE_HEURE (05-06-1956, 12:30:45, saisie de l'heure et de la date,dd-MM-yyyy, hh:mm, à ) }}</span><span style="font-size:9pt"><br /><br />affichera le dialogue suivant :<br /></span><img src=FormDateHeure.png ></p>
<p><span style="font-size:9pt">qui après saisie donnera </span>: <span style="font-style:italic;font-size:9pt;font-weight:600">en date du 05-06-1956 à 12:30</span><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.106</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{REM= texte de votre choix }}</span><span style="font-size:9pt"><br />Cette instruction ne fait rien, et permet d'afficher un commentaire dans le texte de la macro .</span></p>
-<p><hr><span style="font-size:9pt;font-weight:600">4.5.3.107</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: INCLUDE( chemin du fichier, modificateur ) }}</span><span style="font-size:9pt"><br />Cette instruction charge un fichier et en retourne le contenu.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chemin du fichier à charger) peut contenir les mentions suivantes : <br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (modificateur : facultatif) si contient : </span><span style="font-size:9pt;font-weight:600">crlf2html</span><span style="font-size:9pt"> alors les retours chariots seront conservés et convertis en </span><span style="font-size:9pt;font-weight:600"><br></span><span style="font-size:9pt"> <br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.108</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: VAR_SPLIT( prefix, string to split , séparateur de début, </span><span style="font-size:9pt;color:#aa0000">FALSE</span><span style="font-size:9pt;font-weight:600;color:#aa0000"> </span><span style="font-size:9pt;color:#aa0000">TRIMMED</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">, séparateur de fin) }}</span><span style="font-size:9pt"><br />Cette puissante instruction distribue les segments d'une chaîne séparés par un séparateur indiqué par le troisième argument : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">séparateur de début , </span><span style="font-size:9pt"><br />en plusieurs variables dont le nom est constitué par : le deuxième argument </span><span style="font-size:9pt;font-weight:600">auquel est ajouté l'occurrence du segment dans la chaîne</span><span style="font-size:9pt">.<br />Euh .. un exemple S.V.P.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nom préfixé de la variable) préfixe du nom de la variable auquel sera ajoutée l'occurrence du segment dans la chaîne.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (chaîne de caractères à séparer) exemple '</span><span style="font-style:italic;font-size:9pt;font-weight:600">premier segment | deuxième segment | troisième segment</span><span style="font-size:9pt">'.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (séparateur facultatif) contient le séparateur. Si vide il sera pris par défaut le séparateur </span><span style="font-size:9pt;font-weight:600;color:#aa0000">|</span><span style="font-size:9pt"> <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (modificateurs comportementaux) ce paramètre peut contenir les termes suivants<br /> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">FALSE</span><span style="font-size:9pt;color:#aa0000"> </span><span style="font-size:9pt"> (la première lettre '</span><span style="font-size:9pt;font-weight:600;color:#aa0000">F</span><span style="font-size:9pt">' est suffisante) si à FALSE alors si un </span><span style="font-size:9pt;text-decoration:underline">segment est vide</span><span style="font-size:9pt">, il n'y aura </span><span style="font-size:9pt;text-decoration:underline">pas de variable affectée</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">TRIMMED</span><span style="font-size:9pt"> (la première lettre '</span><span style="font-size:9pt;font-weight:600;color:#aa0000">T</span><span style="font-size:9pt">' est suffisante) si TRIMMED les espaces de fin et de début du segment sont éliminés.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-size:9pt"> (facultatif séparateur de fin) si ce paramètre est indiqué alors le segment sera coupè à ce séparateur de fin.<br /> si il n'est pas trouvé dans le segment, le segment sera mis à une valeur vide. <br /><br /></span><span style="font-size:9pt;text-decoration:underline">Exemple</span><span style="font-size:9pt"> : cet exemple permet d'extraire une suite de codes cim10 encadrés par </span><span style="font-family:Monospace;font-size:8pt;font-weight:600;color:#aa0000">~[</span><span style="font-size:9pt"> et </span><span style="font-family:Monospace;font-size:8pt;font-weight:600;color:#aa0000">]~</span><span style="font-size:9pt"><br />° La macro suivante, <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">{{:: Extract </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">(</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">Observation</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">CIM10Urg</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">POST URGENCE</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">)></span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#005500">rpu_CIMX_BLOC</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">}}</span><span style="font-size:9pt"><br /><br /> a extrait dans la variable </span><span style="font-size:9pt;font-weight:600;color:#005500">rpu_CIMX_BLOC,</span><span style="font-size:9pt"> à partir du document de la rubrique<br /> </span><span style="font-size:9pt;font-weight:600">Observation</span><span style="font-size:9pt"> en cours, le bloc de texte suivant :<br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">principal : amibiase ~[A06]~ <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">altération de l'état général ~[R53]~ <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">hypophyse ~[D35.2]~ <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">CIM10Urg associe 1 : acouphènes ~[H93.1]~ <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">CIM10Urg associe 2 : alcoolisme chronique ~[F10.2]~ </span><span style="font-family:Monospace;font-size:8pt"> </span> <span style="font-size:9pt"><br /><br />° la macro suivante placée à la suite de la précedente,</span><span style="font-family:Monospace;font-size:8pt"><br /></span><span style="font-size:9pt"> </span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">{{:: VAR_SPLIT</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">(</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">rpu_cimx_item_</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">, </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">$</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#005500">rpu_CIMX_BLOC</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#55007f">~[</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">FALSE TRIMMED</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#55007f">]~</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">)</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">}}</span><span style="font-family:Monospace;font-size:8pt"><br /><br /></span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:8pt">placera dans les variables </span><span style="font-family:Monospace;font-size:8pt;font-weight:600">rpu_cimx_item_0</span><span style="font-family:Monospace;font-size:8pt"> à </span><span style="font-family:Monospace;font-size:8pt;font-weight:600">rpu_cimx_item_xx</span><span style="font-family:Monospace;font-size:8pt"> <br /></span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:8pt">toutes</span><span style="font-size:9pt"> les occurences des chaines de textes encadrées par </span><span style="font-family:Monospace;font-size:8pt;font-weight:600;color:#aa0000">~[</span><span style="font-size:9pt"> et </span><span style="font-family:Monospace;font-size:8pt;font-weight:600;color:#aa0000">]~</span><span style="font-family:Monospace;font-size:8pt"> <br /></span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:8pt">trouvées dans</span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:8pt">le bloc texte contenu dans la variable </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#005500">rpu_CIMX_BLOC</span><span style="font-family:Monospace;font-size:8pt"><br /><br /></span><span style="font-size:9pt">° l</span><span style="font-family:Monospace;font-size:8pt">es macros suivantes,</span><span style="font-size:9pt"><br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_0</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_0}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_1</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_1}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_2</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_2}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_3</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_3}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_4</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_4}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_5</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_5}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_6</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_6}}'</span><span style="font-family:Monospace;font-size:9pt"><br /><br /></span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:9pt">afficheront alors les résultats suivants :<br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_0</span><span style="font-style:italic;font-size:9pt"> : 'A06'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_1</span><span style="font-style:italic;font-size:9pt"> : 'R53'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_2</span><span style="font-style:italic;font-size:9pt"> : 'D35.2'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_3</span><span style="font-style:italic;font-size:9pt"> : 'H93.1'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_4</span><span style="font-style:italic;font-size:9pt"> : 'F10.2'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_5</span><span style="font-style:italic;font-size:9pt"> : ''<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_6</span><span style="font-style:italic;font-size:9pt"> : ''</span><span style="font-size:9pt"><br /><br /><br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.109</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{VAR_LIST_CLEAR}}</span><span style="font-size:9pt"> Cette instruction détruit toutes les variables afin de réinitialiser la liste des variables.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.110</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_EMAIL_MEDECIN}}</span><span style="font-size:9pt"> Retourne l'email du médecin en cours d'utilisation du programme.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.111</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_TEL_1_MEDECIN}}</span><span style="font-size:9pt"> Retourne le premier numéro de téléphone du médecin en cours d'utilisation du programme.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.112</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_TEL_2_MEDECIN}} </span><span style="font-size:9pt">Retourne le deuxième numéro de téléphone du médecin en cours d'utilisation du programme.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.113</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_TEL_3_MEDECIN}} </span><span style="font-size:9pt">Retourne le troisième numéro de téléphone du médecin en cours d'utilisation du programme.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.114</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{EMAIL_MEDECIN}}</span><span style="font-size:9pt"> Cette instruction retourne l'email du médecin auteur du document en cours.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.115</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{TEL_1_MEDECIN}}</span><span style="font-size:9pt"> Cette instruction retourne le premier numéro de téléphone du médecin auteur du document en cours.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.116</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{TEL_2_MEDECIN}} </span><span style="font-size:9pt">Cette instruction retourne le deuxième numéro de téléphone du médecin auteur du document en cours.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.117</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{TEL_3_MEDECIN}} </span><span style="font-size:9pt">Cette instruction retourne le troisième numéro de téléphone du médecin auteur du document en cours.<br /><br /><br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.118</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{::#CADRE(largeur, epaisseur du bord, marge, espace entre cellules, justification, séparateur de ligne, cadre N°1, cadre N°2, cadre N°2, ....)}} <br /></span><span style="font-size:9pt">Cette instruction permet de présenter un affichage sous forme de cadres horizontaux. Elle est utile par exemple dans les documents types pour afficher un cadre gauche avec les coordonnées du médecin, un cadre central avec les caractéristiques du documents, un cadre droit avec les coordonnées du destinataire.<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (largeur totale du cadre) est exprimé en pixels mais peut être exprimé en </span><span style="font-size:9pt;font-weight:600">%</span><span style="font-size:9pt"> de la largeur totale alors il faut faire suivre la valeur par le caractère </span><span style="font-size:9pt;font-weight:600">%</span><span style="font-size:9pt"> exemple </span><span style="font-size:9pt;font-weight:600">100%</span><span style="font-size:9pt"> .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (épaisseur du cadre) si zéro, le cadre ne sera pas dessiné.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (marge interne) marge interne au cadre en pixels.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (espace entre cellules) en pixels.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-size:9pt"> (justification du cadre général) </span><span style="font-size:9pt;font-weight:600">left, center, right</span><span style="font-size:9pt">.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 6</span><span style="font-size:9pt"> (motif à utiliser à la place des retours chariots \r\n ) en général </span><span style="font-size:9pt;font-weight:600"><br></span><span style="font-size:9pt"> .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 7 à 7+N</span><span style="font-size:9pt"> (contenu de chaque cadre) chacun de ces paramètres sera considéré comme un cadre, par défaut la largeur de chaque cadre sera celle générale définie par le paramètre N°1 divisé par le nombre de cadres. Cependant, si la définition d'un cadre comporte le motif suivant : </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$WIDTH</span><span style="font-size:9pt"> </span><span style="font-size:9pt;color:#ff0000">30%</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$END_WIDTH</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">encadrant une valeur, celle-ci sera utilisée à la place de celle par défaut. <br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Exemple avancé de macro à placer dans l'en-tête d'un document pour choisir et afficher l'adresse d'un médecin correspondant lors d'une impression</span><span style="font-size:9pt"> : <br /><br />Lors d'une impression avec cet en-tête, il est demandé de choisir le médecin auquel est destiné le document dans une liste </span><span style="font-style:italic;font-size:8pt;font-weight:600">DO_LISTE</span><span style="font-size:9pt"> qui présente le résultat d'une requête SQL </span><span style="font-style:italic;font-size:8pt;font-weight:600">SQL_SELECT</span><span style="font-size:9pt"> listant tous les médecins correspondants. <br />Si la liste est quittée sans choix </span><span style="font-style:italic;font-size:8pt;font-weight:600">{{VAR=retour}} = Rejected</span><span style="font-size:9pt"> l'impression sera annulée car il sera placé la mention </span><span style="font-style:italic;font-size:8pt;font-weight:600">$PRINT_STOP</span><span style="font-size:9pt"> <br />Si il est choisi un correspondant, ses coordonnées postales seront affichées dans un cadre en haut à droite du document afin de pouvoir poster directement le document dans une enveloppe à fenêtre. <br /></span><span style="font-size:9pt;font-weight:600">Remarquez l'astuce</span><span style="font-size:9pt"> qui consiste a créer une variable </span><span style="font-family:Courier;font-size:9pt;font-weight:600">actionDoListe</span><span style="font-size:9pt"> contenant elle même l'instruction </span><span style="font-size:9pt;font-weight:600">DO_LISTE</span><span style="font-size:9pt"> (présente une liste) ou </span><span style="font-size:9pt;font-weight:600">M_NOP</span><span style="font-size:9pt"> (ne fait rien) selon le résultat du test du statut d'exécution de la macro. <br /></span><span style="font-size:9pt;font-weight:600">Remarquez le choix</span><span style="font-size:9pt"> du séparateur de champ particulier </span><span style="font-size:9pt;font-weight:600">::</span><span style="font-size:9pt"> pour que </span><span style="font-size:9pt;font-weight:600">DO_LISTE</span><span style="font-size:9pt"> puisse afficher les items composés de plusieurs champs, avec masquage de la dernière donnée (</span><span style="font-family:Courier;font-size:9pt">ID_PrimKey)</span><span style="font-size:9pt">.<br /><br /></span><span style="font-size:9pt;text-decoration:underline">La Macro</span><span style="font-size:9pt"> :<br /><br /></span><span style="font-family:Courier;font-size:9pt">{{\<br />{{REM= ---------------------- test du statut d'impression -----------------------------}}\<br />{{REM= ne faire appel à la liste des medecins }}\<br />{{REM= que si il n'y a pas encore eu de resolution }}\<br />{{REM= de macro lors de l'impression }}\<br />{{REM= sous Mac DO_LISTE ne doit pas etre re-executee lors }}\<br />{{REM= d'un changement d'en-tete }}\<br /><br />{{:: SET_VAR(actionDoListe,{{:: TEST(S,{{VAR=$SCRIPT_STATUS}},=,$PRINT_SCRIPT_END,M_NOP,DO_LISTE)}})}}\<br />{{:: SET_VAR(actionDoListe,{{:: TEST(S,{{OS}},=,M,{{:: TEST(S,{{VAR=$SCRIPT_STATUS}},=,$PRINT_HEADER_CHANGED,M_NOP,{{VAR=actionDoListe}})}},{{VAR=actionDoListe}})}})}}<br />{{:: SET_VAR(resultatDoListeEnteteCourrier,{{::{{VAR=actionDoListe}}({{::#SQL_SELECT (Personnes , Nom |Prenom|ID_PrimKey,WHERE NumOrdre!='' , 30,::,|) }},Choix du mécecin destinataire,|,retourChoixMedecinPrint,2)}})}}\<br />{{:: VAR_SPLIT(AdressePar_,{{VAR=resultatDoListeEnteteCourrier}},::)}}\</span></p>
+<p><hr><span style="font-size:9pt;font-weight:600">4.5.3.107</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: INCLUDE( chemin du fichier, modificateur ) }}</span><span style="font-size:9pt"><br />Cette instruction charge un fichier et en retourne le contenu.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chemin du fichier à charger) peut contenir les mentions suivantes : <br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (modificateur : facultatif) si contient : </span><span style="font-size:9pt;font-weight:600">crlf2html</span><span style="font-size:9pt"> alors les retours chariots seront conservés et convertis en </span><span style="font-size:9pt;font-weight:600"><br></span><span style="font-size:9pt"> <br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.108</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: VAR_SPLIT( prefix, string to split , séparateur de début, </span><span style="font-size:9pt;color:#aa0000">FALSE</span><span style="font-size:9pt;font-weight:600;color:#aa0000"> </span><span style="font-size:9pt;color:#aa0000">TRIMMED</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">, séparateur de fin) }}</span><span style="font-size:9pt"><br />Cette puissante instruction distribue les segments d'une chaîne séparés par un séparateur indiqué par le troisième argument : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">séparateur de début , </span><span style="font-size:9pt"><br />en plusieurs variables dont le nom est constitué par : le deuxième argument </span><span style="font-size:9pt;font-weight:600">auquel est ajouté l'occurrence du segment dans la chaîne</span><span style="font-size:9pt">.<br />Euh .. un exemple S.V.P.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nom préfixé de la variable) préfixe du nom de la variable auquel sera ajoutée l'occurrence du segment dans la chaîne.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (chaîne de caractères à séparer) exemple '</span><span style="font-style:italic;font-size:9pt;font-weight:600">premier segment | deuxième segment | troisième segment</span><span style="font-size:9pt">'.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (séparateur facultatif) contient le séparateur. Si vide il sera pris par défaut le séparateur </span><span style="font-size:9pt;font-weight:600;color:#aa0000">|</span><span style="font-size:9pt"> <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (modificateurs comportementaux) ce paramètre peut contenir les termes suivants<br /> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">FALSE</span><span style="font-size:9pt;color:#aa0000"> </span><span style="font-size:9pt">(la première lettre '</span><span style="font-size:9pt;font-weight:600;color:#aa0000">F</span><span style="font-size:9pt">' est suffisante) si à FALSE alors si un </span><span style="font-size:9pt;text-decoration:underline">segment est vide</span><span style="font-size:9pt">, il n'y aura </span><span style="font-size:9pt;text-decoration:underline">pas de variable affectée</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">TRIMMED</span><span style="font-size:9pt"> (la première lettre '</span><span style="font-size:9pt;font-weight:600;color:#aa0000">T</span><span style="font-size:9pt">' est suffisante) si TRIMMED les espaces de fin et de début du segment sont éliminés.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-size:9pt"> (facultatif séparateur de fin) si ce paramètre est indiqué alors le segment sera coupè à ce séparateur de fin.<br /> si il n'est pas trouvé dans le segment, le segment sera mis à une valeur vide. <br /><br /></span><span style="font-size:9pt;text-decoration:underline">Exemple</span><span style="font-size:9pt"> : cet exemple permet d'extraire une suite de codes cim10 encadrés par </span><span style="font-family:Monospace;font-size:8pt;font-weight:600;color:#aa0000">~[</span><span style="font-size:9pt"> et </span><span style="font-family:Monospace;font-size:8pt;font-weight:600;color:#aa0000">]~</span><span style="font-size:9pt"><br />° La macro suivante, <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">{{:: Extract </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">(</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">Observation</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">CIM10Urg</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">POST URGENCE</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">)></span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#005500">rpu_CIMX_BLOC</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">}}</span><span style="font-size:9pt"><br /><br /> a extrait dans la variable </span><span style="font-size:9pt;font-weight:600;color:#005500">rpu_CIMX_BLOC,</span><span style="font-size:9pt"> à partir du document de la rubrique<br /> </span><span style="font-size:9pt;font-weight:600">Observation</span><span style="font-size:9pt"> en cours, le bloc de texte suivant :<br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">principal : amibiase ~[A06]~ <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">altération de l'état général ~[R53]~ <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">hypophyse ~[D35.2]~ <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">CIM10Urg associe 1 : acouphènes ~[H93.1]~ <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">CIM10Urg associe 2 : alcoolisme chronique ~[F10.2]~ </span><span style="font-size:9pt"><br /><br />° la macro suivante placée à la suite de la précedente,</span><span style="font-family:Monospace;font-size:8pt"><br /></span><span style="font-size:9pt"> </span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">{{:: VAR_SPLIT</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">(</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">rpu_cimx_item_</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">, </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">$</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#005500">rpu_CIMX_BLOC</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#55007f">~[</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">FALSE TRIMMED</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#55007f">]~</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">)</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">}}</span><span style="font-family:Monospace;font-size:8pt"><br /><br /></span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:8pt">placera dans les variables </span><span style="font-family:Monospace;font-size:8pt;font-weight:600">rpu_cimx_item_0</span><span style="font-family:Monospace;font-size:8pt"> à </span><span style="font-family:Monospace;font-size:8pt;font-weight:600">rpu_cimx_item_xx</span><span style="font-family:Monospace;font-size:8pt"> <br /></span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:8pt">toutes</span><span style="font-size:9pt"> les occurences des chaines de textes encadrées par </span><span style="font-family:Monospace;font-size:8pt;font-weight:600;color:#aa0000">~[</span><span style="font-size:9pt"> et </span><span style="font-family:Monospace;font-size:8pt;font-weight:600;color:#aa0000">]~</span><span style="font-family:Monospace;font-size:8pt"> <br /></span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:8pt">trouvées dans</span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:8pt">le bloc texte contenu dans la variable </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#005500">rpu_CIMX_BLOC</span><span style="font-family:Monospace;font-size:8pt"><br /><br /></span><span style="font-size:9pt">° l</span><span style="font-family:Monospace;font-size:8pt">es macros suivantes,</span><span style="font-size:9pt"><br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_0</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_0}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_1</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_1}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_2</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_2}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_3</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_3}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_4</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_4}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_5</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_5}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_6</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_6}}'</span><span style="font-family:Monospace;font-size:9pt"><br /><br /></span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:9pt">afficheront alors les résultats suivants :<br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_0</span><span style="font-style:italic;font-size:9pt"> : 'A06'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_1</span><span style="font-style:italic;font-size:9pt"> : 'R53'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_2</span><span style="font-style:italic;font-size:9pt"> : 'D35.2'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_3</span><span style="font-style:italic;font-size:9pt"> : 'H93.1'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_4</span><span style="font-style:italic;font-size:9pt"> : 'F10.2'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_5</span><span style="font-style:italic;font-size:9pt"> : ''<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_6</span><span style="font-style:italic;font-size:9pt"> : ''</span><span style="font-size:9pt"><br /><br /><br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.109</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{VAR_LIST_CLEAR}}</span><span style="font-size:9pt"> Cette instruction détruit toutes les variables afin de réinitialiser la liste des variables.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.110</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_EMAIL_MEDECIN}}</span><span style="font-size:9pt"> Retourne l'email du médecin en cours d'utilisation du programme.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.111</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_TEL_1_MEDECIN}}</span><span style="font-size:9pt"> Retourne le premier numéro de téléphone du médecin en cours d'utilisation du programme.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.112</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_TEL_2_MEDECIN}} </span><span style="font-size:9pt">Retourne le deuxième numéro de téléphone du médecin en cours d'utilisation du programme.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.113</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_TEL_3_MEDECIN}} </span><span style="font-size:9pt">Retourne le troisième numéro de téléphone du médecin en cours d'utilisation du programme.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.114</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{EMAIL_MEDECIN}}</span><span style="font-size:9pt"> Cette instruction retourne l'email du médecin auteur du document en cours.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.115</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{TEL_1_MEDECIN}}</span><span style="font-size:9pt"> Cette instruction retourne le premier numéro de téléphone du médecin auteur du document en cours.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.116</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{TEL_2_MEDECIN}} </span><span style="font-size:9pt">Cette instruction retourne le deuxième numéro de téléphone du médecin auteur du document en cours.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.117</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{TEL_3_MEDECIN}} </span><span style="font-size:9pt">Cette instruction retourne le troisième numéro de téléphone du médecin auteur du document en cours.<br /><br /><br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.118</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{::#CADRE(largeur, epaisseur du bord, marge, espace entre cellules, justification, séparateur de ligne, cadre N°1, cadre N°2, cadre N°2, ....)}} <br /></span><span style="font-size:9pt">Cette instruction permet de présenter un affichage sous forme de cadres horizontaux. Elle est utile par exemple dans les documents types pour afficher un cadre gauche avec les coordonnées du médecin, un cadre central avec les caractéristiques du documents, un cadre droit avec les coordonnées du destinataire.<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (largeur totale du cadre) est exprimé en pixels mais peut être exprimé en </span><span style="font-size:9pt;font-weight:600">%</span><span style="font-size:9pt"> de la largeur totale alors il faut faire suivre la valeur par le caractère </span><span style="font-size:9pt;font-weight:600">%</span><span style="font-size:9pt"> exemple </span><span style="font-size:9pt;font-weight:600">100%</span><span style="font-size:9pt"> .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (épaisseur du cadre) si zéro, le cadre ne sera pas dessiné.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (marge interne) marge interne au cadre en pixels.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (espace entre cellules) en pixels.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-size:9pt"> (justification du cadre général) </span><span style="font-size:9pt;font-weight:600">left, center, right</span><span style="font-size:9pt">.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 6</span><span style="font-size:9pt"> (motif à utiliser à la place des retours chariots \r\n ) en général </span><span style="font-size:9pt;font-weight:600"><br></span><span style="font-size:9pt"> .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 7 à 7+N</span><span style="font-size:9pt"> (contenu de chaque cadre) chacun de ces paramètres sera considéré comme un cadre, par défaut la largeur de chaque cadre sera celle générale définie par le paramètre N°1 divisé par le nombre de cadres. Cependant, si la définition d'un cadre comporte le motif suivant : </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$WIDTH</span><span style="font-size:9pt"> </span><span style="font-size:9pt;color:#ff0000">30%</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$END_WIDTH</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">encadrant une valeur, celle-ci sera utilisée à la place de celle par défaut. <br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Exemple avancé de macro à placer dans l'en-tête d'un document pour choisir et afficher l'adresse d'un médecin correspondant lors d'une impression</span><span style="font-size:9pt"> : <br /><br />Lors d'une impression avec cet en-tête, il est demandé de choisir le médecin auquel est destiné le document dans une liste </span><span style="font-style:italic;font-size:8pt;font-weight:600">DO_LISTE</span><span style="font-size:9pt"> qui présente le résultat d'une requête SQL </span><span style="font-style:italic;font-size:8pt;font-weight:600">SQL_SELECT</span><span style="font-size:9pt"> listant tous les médecins correspondants. <br />Si la liste est quittée sans choix </span><span style="font-style:italic;font-size:8pt;font-weight:600">{{VAR=retour}} = Rejected</span><span style="font-size:9pt"> l'impression sera annulée car il sera placé la mention </span><span style="font-style:italic;font-size:8pt;font-weight:600">$PRINT_STOP</span><span style="font-size:9pt"> <br />Si il est choisi un correspondant, ses coordonnées postales seront affichées dans un cadre en haut à droite du document afin de pouvoir poster directement le document dans une enveloppe à fenêtre. <br /></span><span style="font-size:9pt;font-weight:600">Remarquez l'astuce</span><span style="font-size:9pt"> qui consiste a créer une variable </span><span style="font-family:Courier;font-size:9pt;font-weight:600">actionDoListe</span><span style="font-size:9pt"> contenant elle même l'instruction </span><span style="font-size:9pt;font-weight:600">DO_LISTE</span><span style="font-size:9pt"> (présente une liste) ou </span><span style="font-size:9pt;font-weight:600">M_NOP</span><span style="font-size:9pt"> (ne fait rien) selon le résultat du test du statut d'exécution de la macro. <br /></span><span style="font-size:9pt;font-weight:600">Remarquez le choix</span><span style="font-size:9pt"> du séparateur de champ particulier </span><span style="font-size:9pt;font-weight:600">::</span><span style="font-size:9pt"> pour que </span><span style="font-size:9pt;font-weight:600">DO_LISTE</span><span style="font-size:9pt"> puisse afficher les items composés de plusieurs champs, avec masquage de la dernière donnée (</span><span style="font-family:Courier;font-size:9pt">ID_PrimKey)</span><span style="font-size:9pt">.<br /><br /></span><span style="font-size:9pt;text-decoration:underline">La Macro</span><span style="font-size:9pt"> :<br /><br /></span><span style="font-family:Courier;font-size:9pt">{{\<br />{{REM= ---------------------- test du statut d'impression -----------------------------}}\<br />{{REM= ne faire appel à la liste des medecins }}\<br />{{REM= que si il n'y a pas encore eu de resolution }}\<br />{{REM= de macro lors de l'impression }}\<br />{{REM= sous Mac DO_LISTE ne doit pas etre re-executee lors }}\<br />{{REM= d'un changement d'en-tete }}\<br /><br />{{:: SET_VAR(actionDoListe,{{:: TEST(S,{{VAR=$SCRIPT_STATUS}},=,$PRINT_SCRIPT_END,M_NOP,DO_LISTE)}})}}\<br />{{:: SET_VAR(actionDoListe,{{:: TEST(S,{{OS}},=,M,{{:: TEST(S,{{VAR=$SCRIPT_STATUS}},=,$PRINT_HEADER_CHANGED,M_NOP,{{VAR=actionDoListe}})}},{{VAR=actionDoListe}})}})}}<br />{{:: SET_VAR(resultatDoListeEnteteCourrier,{{::{{VAR=actionDoListe}}({{::#SQL_SELECT (Personnes , Nom |Prenom|ID_PrimKey,WHERE NumOrdre!='' , 30,::,|) }},Choix du mécecin destinataire,|,retourChoixMedecinPrint,2)}})}}\<br />{{:: VAR_SPLIT(AdressePar_,{{VAR=resultatDoListeEnteteCourrier}},::)}}\</span></p>
<p><span style="font-family:Courier;font-size:9pt">{{REM= -------------- utilisation par la suite des renseigments du choix --------------}}\<br />{{REM= pour selectionner les renseignements du destinataire }}\<br />{{:: SQL_SELECT (Personnes,Nom|Prenom|Adresse|CodePostal|Ville|ID_PrimKey,WHERE ID_PrimKey='{{VAR=AdressePar_2}}',1,$SET_VAR)}}\</span></p>
<p><span style="font-family:Courier;font-size:9pt">{{REM= -------------- creation des variables des contenus des cadres -----------------}}\<br />{{::#SET_VAR(cadreGauche,<center>{{TITRE PS}} {{NOM PRENOM MEDECIN}}<br>{{IDENTIFICATION MEDECIN}}<br>{{CONVENTION MEDECIN}}<br>{{USER ADRESSE COMPLETE MEDECIN}}<br>Tél. {{TEL_1_MEDECIN}})}}\<br />{{::#SET_VAR(cadreCentral, )}}\<br />{{::#SET_VAR(cadreDestinataire,<br><br><br><br>{{VAR=Personnes.Nom0}} {{VAR=Personnes.Prenom0}}<br>{{VAR=Personnes.Adresse0}}<br>{{VAR=Personnes.CodePostal0}} {{VAR=Personnes.Ville0}})}}\<br /><br />{{REM= -------------- si choix annuler stocker la mention $PRINT_STOP ----------------}}\<br />{{REM= d'annulation de l'impression dans retourChoixMedecinPrint }}\<br />{{::#SET_VAR(retourChoixMedecinPrint,{{::#TEST(S,{{VAR=retourChoixMedecinPrint}},=,Rejected,$PRINT_STOP,)}})}}\<br />}}<br />{{REM= -------------- affichage des cadres -------------------------------------------}}<br />{{::#CADRE(100%,0, 0 ,0 ,right,<br>,$WIDTH 25% $END_WIDTH{{VAR=cadreGauche}},$WIDTH 45% $END_WIDTH{{VAR=cadreCentral}},$WIDTH 30% $END_WIDTH{{VAR=cadreDestinataire}})}}<br />{{REM= ----------------------- si choix annuler afficher $PRINT_STOP -----------------}}<br />{{REM= que si il n'ya pas de changement d'entete }}<br />{{:: TEST(S,{{VAR=$SCRIPT_STATUS}},=,$PRINT_HEADER_CHANGED, ,{{VAR=retourChoixMedecinPrint}})}}<br /></span><span style="font-style:italic;font-size:8pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Exemple avancé de macro à placer dans un modèle de document pour choisir un médecin correspondant destinataire</span><span style="font-size:9pt"> : <br /><br />Lors du double clic d'un document dans le </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">, cette macro propose et affiche la liste des médecins correspondants et après choix positionne un cadre texte avec les coordonnées du médecin auteur du courrier ou document et dans un autre cadre les coordonnées du destinataire du document dans un cade prêt à poster.<br />S'il est choisi un correspondant, ses coordonnées postales seront affichées dans un cadre en haut à droite du document afin de pouvoir poster directement le document dans une enveloppe à fenêtre. <br /></span><span style="font-size:9pt;font-weight:600">Remarquez l'astuce</span><span style="font-size:9pt"> qui consiste a créer une variable </span><span style="font-family:Courier;font-size:9pt;font-weight:600">actionDoListe</span><span style="font-size:9pt"> contenant elle même l'instruction </span><span style="font-size:9pt;font-weight:600">DO_LISTE</span><span style="font-size:9pt"> (présente une liste) ou </span><span style="font-size:9pt;font-weight:600">M_NOP</span><span style="font-size:9pt"> (ne fait rien) selon le résultat du test du statut d'exécution de la macro. <br /></span><span style="font-size:9pt;font-weight:600">Remarquez les doubles tests imbriqués</span><span style="font-size:9pt"> pour tester une valeur ou l'autre.<br /></span><span style="font-size:9pt;font-weight:600">Remarquez le retour</span><span style="font-size:9pt"> de la mention particulière </span><span style="font-size:9pt;font-weight:600">__ERREUR Fusion :__</span><span style="font-size:9pt"> lorsque la liste de choix a été quittée sans choix </span><span style="font-style:italic;font-size:8pt;font-weight:600">{{VAR=retour}} = Rejected</span><span style="font-size:9pt">, ayant pour conséquence la non incorporation du document dans MedinTux.<br /></span><span style="font-size:9pt;font-weight:600">Remarquez le choix</span><span style="font-size:9pt"> du séparateur de champ particulier </span><span style="font-size:9pt;font-weight:600">::</span><span style="font-size:9pt"> pour que </span><span style="font-size:9pt;font-weight:600">DO_LISTE</span><span style="font-size:9pt"> puisse afficher les items composés de plusieurs champs, avec masquage de la dernière donnée (</span><span style="font-family:Courier;font-size:9pt">ID_PrimKey)</span><span style="font-size:9pt">.<br /><br /></span><span style="font-size:9pt;text-decoration:underline">La Macro</span><span style="font-size:9pt"> :<br /></span><span style="font-family:Courier;font-size:9pt"><br />{{\<br />{{REM= ---------------------- LA MACRO QUI TUE ----------------------------------------}}\<br />{{REM= test du statut du document pour }}\<br />{{REM= ne faire appel à la liste des medecins }}\<br />{{REM= que lors de l'incorporation du document et non }}\<br />{{REM= lors de la prévisualisation }}\<br />{{:: SET_VAR(actionDoListe,{{:: TEST(S,{{VAR=$SCRIPT_STATUS}},%%,$FUSION_ADD,DO_LISTE,{{:: TEST(S,{{VAR=$SCRIPT_STATUS}},%%,$FUSION_CREATE,DO_LISTE,M_NOP)}})}})}}\<br />{{:: SET_VAR(resultatDoListeEnteteCourrier,{{::{{VAR=actionDoListe}}({{::#SQL_SELECT (Personnes , Nom |Prenom|ID_PrimKey,WHERE NumOrdre!='' , 30,::,|) }},Choix du mécecin destinataire,|,retourChoixMedecin,2)}})}}\<br />{{:: VAR_SPLIT(AdressePar_,{{VAR=resultatDoListeEnteteCourrier}},::)}}\<br /><br />{{REM= -------------- utilisation par la suite des renseigments du choix --------------}}\<br />{{REM= pour selectionner les renseignements du destinataire }}\<br />{{:: SQL_SELECT (Personnes,Nom|Prenom|Adresse|CodePostal|Ville|ID_PrimKey,WHERE ID_PrimKey='{{VAR=AdressePar_2}}',1,$SET_VAR)}}\<br />{{REM= -------------- creation des variables des contenus des cadres -----------------}}\<br />{{::#SET_VAR(cadreGauche,<center></span><span style="font-family:Courier;font-size:9pt;font-weight:600">{{TITRE PS}} {{NOM PRENOM MEDECIN}}<br>N° Adeli {{IDENTIFICATION MEDECIN}}</span><span style="font-family:Courier;font-size:9pt"><br></span><span style="font-family:Courier;font-size:9pt;font-weight:600">{{CONVENTION MEDECIN}}</span><span style="font-family:Courier;font-size:9pt"></center><p>{{USER ADRESSE COMPLETE MEDECIN}}<br></span><span style="font-family:Courier;font-size:9pt;font-weight:600">Tél.</span><span style="font-family:Courier;font-size:9pt"> </span><span style="font-family:Courier;font-style:italic;font-size:9pt">{{TEL_1_MEDECIN}}</span><span style="font-family:Courier;font-size:9pt"></p>)}}\<br />{{::#SET_VAR(cadreCentral, )}}\<br />{{::#SET_VAR(cadreDestinataire,<br><br><br><br>{{VAR=Personnes.Nom0}} {{VAR=Personnes.Prenom0}}<br>{{VAR=Personnes.Adresse0}}<br>{{VAR=Personnes.CodePostal0}} {{VAR=Personnes.Ville0}})}}\<br />}}<br />{{REM= -------------- affichage des cadres -------------------------------------------}}\<br />{{::#CADRE(100%,0, 0 ,0 ,right,<br>,$WIDTH 25% $END_WIDTH{{VAR=cadreGauche}},$WIDTH 45% $END_WIDTH{{VAR=cadreCentral}},$WIDTH 30% $END_WIDTH{{VAR=cadreDestinataire}})}}<br />{{::#TEST(S,{{VAR=retourChoixMedecin}},=,Rejected,__ERREUR Fusion :__,)}}</span><span style="font-family:Comic Sans Ms"><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.119</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{NUM. CLEF PATIENT}}</span><span style="font-size:9pt"><br />Cette instruction retourne la clef du numéro de sécurité sociale du patient.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variantes</span><span style="font-size:9pt"> : {{NUM CLEF PATIENT}}<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.120 </span><span style="font-size:9pt">|==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_POLITESSE_MEDECIN}}</span><span style="font-size:9pt"> retourne la mention indiquée dans le champ </span><span style="font-size:9pt;font-weight:600">Politesse</span><span style="font-size:9pt"> dans l'annuaire des utilisateurs, pour l'utilisateur en cours.<br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.121 </span><span style="font-size:9pt">|==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{POLITESSE_MEDECIN}}</span><span style="font-size:9pt"> retourne la mention indiquée dans le champ </span><span style="font-size:9pt;font-weight:600">Politesse</span><span style="font-size:9pt"> dans l'annuaire des utilisateurs, pour l'utilisateur de l'observation en cours d'affichage.<br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.122 </span><span style="font-size:9pt">|==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: LEFT( chaîne à traiter, nombre de caractères)}} </span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne de caractères à traiter) chaîne de caractères à traiter.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (nombre ce caractères) nombre de caractères<br />retourne la partie gauche de la chaîne coupée au nombre de caractères indiqués dans le premier paramètre.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.123 </span><span style="font-size:9pt">|==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: MID(chaîne à traiter, position , nombre de caractères) }}</span><span style="font-size:9pt"> <br />retourne une partie de chaîne débutant à la position (comptée à partir de zéro) indiquée par le premier paramètre coupée au nombre de caractères indiqués dans le deuxième paramètre.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne de caractères à traiter) chaîne de caractères à traiter.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (position) position à partir de laaquelle il faut couper la chaîne<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (nombre ce caractères) nombre de caractères à retenir à partir de la position indiquée dans le premier paramètre. <br />ce paramètre est facultatif, si il est omis alors tous les caractères à partir de la position indiquée dans le premier paramètre seront retenus.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.124 </span><span style="font-size:9pt">|==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: RIGHT(chaîne à traiter, nombre de caractères ) }}<br /></span><span style="font-size:9pt">retourne la partie droite de la chaîne coupée au nombre de caractères indiqués dans le premier paramètre.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne de caractères à traiter) chaîne de caractères à traiter.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (nombre ce caractères) nombre de caractères<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.125 </span><span style="font-size:9pt">|==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: REMOVE( chaîne à traiter , élément à retirer ) }}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: RM( chaîne à traiter , élément à retirer ) }}<br /></span><span style="font-size:9pt">retire toutes les occurrences d'une chaîne de caractères d'une autre chaîne.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne de caractères à traiter) chaîne de caractères à traiter.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (facultatif élément à retirer) chaîne de caractères à retirer, si non précisé par défaut espace.<br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">exemple</span><span style="font-style:italic;font-size:9pt"> : {{:: REMOVE(tralala itou, a ) }} deviendra trllt itou</span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.126 </span><span style="font-size:9pt">|==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: CLEAR_SPACES(chaîne à traiter) }}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: CS(chaîne à traiter) }}<br /></span><span style="font-size:9pt">retire tous les espaces, tabulations de début et de fin d'une chaîne de caractères.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne de caractères à traiter) chaîne de caractères à traiter.<br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">exemple</span><span style="font-style:italic;font-size:9pt"> : {{:: CS( texte ) }} deviendra 'texte'</span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.127 </span><span style="font-size:9pt">|==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: T0_NUM( chaîne à traiter , mode) }}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: TN( chaîne à traiter , mode ) }}<br /></span><span style="font-size:9pt">Tente de transformer en nombre une chaîne de caractères.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne de caractères à traiter) chaîne de caractères à traiter.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (mode de conversion) facultatif et par défaut positionné à </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$stopIfNotNum</span><span style="font-size:9pt"><br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$stopIfNotNum</span><span style="font-size:9pt"> la conversion s'arrête au premier caractère non numérique.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$allString</span><span style="font-size:9pt"> tous les caractères numériques de la chaîne seront retenus.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$toInt</span><span style="font-size:9pt"> la conversion ne conservera que la partie entière.<br /> SI toute autre valeur, la conversion s'arrêtera à la première occurrence de cette valeur.<br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">exemples</span><span style="font-style:italic;font-size:9pt"> : <br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;color:#aa0000"> </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">{{:: TN</span><span style="font-style:italic;font-size:9pt;font-weight:600"> </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">( </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">1234.34 </span><span style="font-style:italic;font-size:9pt">ce texte suit la valeur et ne sera pas évalué car par défaut le mode est </span><span style="font-size:9pt">stopIfNotNum</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">) }} </span><span style="font-style:italic;font-size:9pt">deviendra '</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">1234,34 '</span><span style="font-style:italic;font-size:9pt"><br /></span><span style="font-size:9pt"> </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">{{:: TN ( </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">1234.34 </span><span style="font-style:italic;font-size:9pt">ce qui suit </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">56</span><span style="font-style:italic;font-size:9pt"> sera retenu car le mode est : allString </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">, $allString) }} </span><span style="font-style:italic;font-size:9pt">deviendra </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">'1234,3456 '<br /></span><span style="font-size:9pt"> </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">{{:: TN ( </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">1234.34 </span><span style="font-style:italic;font-size:9pt">ce qui suit </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">56</span><span style="font-style:italic;font-size:9pt"> sera retenu jusqu'à </span><span style="font-style:italic;font-size:9pt;font-weight:600">fin de la partie numérique </span><span style="font-style:italic;font-size:9pt">car indiqué en </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">2</span><span style="font-style:italic;font-size:9pt"> ème paramètre comme occurrence de fin </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">, fin de la partie numérique) }} </span><span style="font-style:italic;font-size:9pt">deviendra </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">'1234,3456 '</span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.128</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{DATE NAISSANCE ASSURE=format de la date}}</span><span style="font-size:9pt"><br />retourne la date de naissance de l'assuré selon le format spécifié dans le paramètre facultatif N°1<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (format de retour pour la date : facultatif et par défaut </span><span style="font-size:9pt;font-weight:600">dd-MM-yyyy</span><span style="font-size:9pt">) voir en paragraphe </span><span style="font-weight:600">3.4.3.5</span><span style="font-size:9pt"> <br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.129</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{EXIT}}</span><span style="font-size:9pt"><br />exécute la procédure de fin de MedinTux. <br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.130</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{DDR=dd-MM-yyyy}}</span><span style="font-size:9pt"><br />retourne la date des dernières règles<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.131</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{TERME_GROSSESSE}}</span><span style="font-size:9pt"><br />retourne le nombre de semaines d'aménorrhée à la date courante.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.132</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: DAYSTO( date de départ , date de fin )}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: DT( date de départ, date de fin ) }}</span><span style="font-size:9pt"><br />retourne le nombre de jours à partir de la date placée dans le parametre N°1 et le Paramètre N°2. Le format des dates doit être xxxx</span><span style="font-size:9pt;font-weight:600">dd</span><span style="font-size:9pt">xxxxxx</span><span style="font-size:9pt;font-weight:600">MM</span><span style="font-size:9pt">xxxxxx</span><span style="font-size:9pt;font-weight:600">yyyy</span><span style="font-size:9pt">xxxx</span><span style="font-size:9pt;font-weight:600">hh</span><span style="font-size:9pt">xxxx</span><span style="font-size:9pt;font-weight:600">mm</span><span style="font-size:9pt">xxx</span><span style="font-size:9pt;font-weight:600">ss</span><span style="font-size:9pt"> (voir : </span><a href="DrTux.html#Format_des_dates"><span style="font-size:9pt">Format des dates</span></a><span style="font-size:9pt">) où x peut représenter n'importe quel caractère non numérique. Les heures minutes secondes peuvent être omises et alors elles seront en interne mises sur 00:00:00<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (date de départ) chaîne de caractères à traiter.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (facultatif : date de fin) si non précisé il prend la valeur de la date courante.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.133</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: DATE_CALC( date de départ , valeur, operateur, valTyp, format date retour )}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: DTC( date de départ , valeur, operateur, valTyp, format date retour ) }}</span><span style="font-size:9pt"><br />retourne le nombre de jours à partir de la date placée dans le parametre N°1 et le Paramètre N°2. Le format des dates doit être xxxx</span><span style="font-size:9pt;font-weight:600">dd</span><span style="font-size:9pt">xxxxxx</span><span style="font-size:9pt;font-weight:600">MM</span><span style="font-size:9pt">xxxxxx</span><span style="font-size:9pt;font-weight:600">yyyy</span><span style="font-size:9pt">xxxx</span><span style="font-size:9pt;font-weight:600">hh</span><span style="font-size:9pt">xxxx</span><span style="font-size:9pt;font-weight:600">mm</span><span style="font-size:9pt">xxx</span><span style="font-size:9pt;font-weight:600">ss</span><span style="font-size:9pt"> (voir : </span><a href="DrTux.html#Format_des_dates"><span style="font-size:9pt">Format des dates</span></a><span style="font-size:9pt">) où x peut représenter n'importe quel caractère non numérique. Les heures minutes secondes peuvent être omises et alors elles seront en interne mises sur 00:00:00.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (date de départ) chaîne de caractères à traiter.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (valeur à ajouter ou soustraire) valeur à ajouter ou soustraire<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (facultatif : opérateur) </span><span style="font-size:9pt;font-weight:600">+ -</span><span style="font-size:9pt"> par défaut (si omis) sur </span><span style="font-size:9pt;font-weight:600">+</span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (facultatif : type de valeur à ajouter ou soustraire) si non précisé il prend la valeur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">J</span><span style="font-size:9pt"> (jours).<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">S </span><span style="font-size:9pt">la valeur numérique à ajouter est en secondes.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">J</span><span style="font-size:9pt"> ou </span><span style="font-size:9pt;font-weight:600;color:#0000ff">D</span><span style="font-size:9pt"> la valeur numérique à ajouter est en jours.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">M </span><span style="font-size:9pt"> la valeur numérique à ajouter est en mois.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">A</span><span style="font-size:9pt"> ou </span><span style="font-size:9pt;font-weight:600;color:#0000ff">Y </span><span style="font-size:9pt"> la valeur numérique à ajouter est en années.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-size:9pt"> (facultatif : format du type de date à retourner) Le format des dates. si non précisé </span><span style="font-size:9pt;font-weight:600">dd</span><span style="font-size:9pt">-</span><span style="font-size:9pt;font-weight:600">MM-yyyy </span><span style="font-size:9pt">(voir : </span><a href="DrTux.html#Format_des_dates"><span style="font-size:9pt">Format des dates</span></a><span style="font-size:9pt">) .<br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.134</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: DATE_TONUM( date de fin , valTyp, date de départ)}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: DTN( date de fin , valTyp , date de départ) }}</span><span style="font-size:9pt"><br />retourne une valeur numerique entière (nombre de secondes) à partir de la date placée dans le parametre N°1 et le paramètre N°3. Le format des dates doit être xxxx</span><span style="font-size:9pt;font-weight:600">dd</span><span style="font-size:9pt">xxxxxx</span><span style="font-size:9pt;font-weight:600">MM</span><span style="font-size:9pt">xxxxxx</span><span style="font-size:9pt;font-weight:600">yyyy</span><span style="font-size:9pt">xxxx</span><span style="font-size:9pt;font-weight:600">hh</span><span style="font-size:9pt">xxxx</span><span style="font-size:9pt;font-weight:600">mm</span><span style="font-size:9pt">xxx</span><span style="font-size:9pt;font-weight:600">ss</span><span style="font-size:9pt">(voir : </span><a href="DrTux.html#Format_des_dates"><span style="font-size:9pt">Format des dates</span></a><span style="font-size:9pt">) où x peut représenter n'importe quel caractère non numérique. Les heures minutes secondes peuvent êtres omises et alors elle seront en interne mises sur 00:00:00.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (date de fin) chaîne de caractères à traiter.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (facultatif : type de valeur numérique à retourner) si non précisé il prend la valeur S (secondes).<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">S </span><span style="font-size:9pt">la valeur numérique à retourner est en secondes.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">J</span><span style="font-size:9pt"> ou </span><span style="font-size:9pt;font-weight:600;color:#0000ff">D</span><span style="font-size:9pt"> la valeur numérique à retourner est en jours.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">M </span><span style="font-size:9pt"> la valeur numérique à retourner est en mois.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">A</span><span style="font-size:9pt"> ou </span><span style="font-size:9pt;font-weight:600;color:#0000ff">Y </span><span style="font-size:9pt"> la valeur numérique à retourner est en années.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (facultatif : date de depart) si non précisé la valeur de depart est le </span><span style="font-size:9pt;font-weight:600">01 Janvier 1970</span><span style="font-size:9pt">.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.135</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: DATE_FROMNUM( num, valTyp, format date retour, date de départ )}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: DTFN( num , valTyp, format date retour, date de départ ) }}</span><span style="font-size:9pt"><br />retourne la date et temps depuis le nombre de secondes écoulées depuis le 01 Janvier 1970 (voir : </span><a href="DrTux.html#Format_des_dates"><span style="font-size:9pt">Format des dates</span></a><span style="font-size:9pt">).<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nombre de secondes) chaîne de caractères à traiter soit le nombre de secondes depuis le 01 Janvier 1970.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (facultatif : type de valeur numérique à retourner) si non précisé il prend la valeur S (secondes).<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">S </span><span style="font-size:9pt">la valeur numérique est en secondes.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">J</span><span style="font-size:9pt"> ou </span><span style="font-size:9pt;font-weight:600;color:#0000ff">D</span><span style="font-size:9pt"> la valeur numérique est en jours.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">M </span><span style="font-size:9pt"> la valeur numérique est en mois.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">A</span><span style="font-size:9pt"> ou </span><span style="font-size:9pt;font-weight:600;color:#0000ff">Y </span><span style="font-size:9pt"> la valeur numérique est en années.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (facultatif : format du type de date à retourner) Le format des dates. si non précisé </span><span style="font-size:9pt;font-weight:600">dd</span><span style="font-size:9pt">-</span><span style="font-size:9pt;font-weight:600">MM-yyyy </span><span style="font-size:9pt">(voir : </span><a href="DrTux.html#Format_des_dates"><span style="font-size:9pt">Format des dates</span></a><span style="font-size:9pt">) .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (facultatif : date de depart) si non précisé la valeur de depart est le </span><span style="font-size:9pt;font-weight:600">01 Janvier 1970</span><span style="font-size:9pt">.<br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.136</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: ABS_PATH( chemin de fichier exprimé en relatif)}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variantes</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: AP( chemin de fichier exprimé en relatif ) }} {{AP = chemin de fichier exprimé en relatif }} {{ABS_PATH = chemin de fichier exprimé en relatif }} </span><span style="font-size:9pt"><br />Converti le chemin donné dans le paramètre N°1 en chemin absolu.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chemin à convertir) chemin exprimé en relatif exemple : </span><span style="font-size:9pt;font-weight:600">../../Doc/index.html<br /></span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;text-decoration:underline">Exemple</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600">{{AP = ../../Doc}}</span><span style="font-size:9pt"> devient </span><span style="font-size:9pt;font-weight:600">/home/ro/MedinTux-V2.14-Synth-src/Programmes/Doc/index.html</span><span style="font-size:9pt"><br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.137</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: FILE_EXISTS( chemin de fichier à tester exprimé en relatif)}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt">s : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: FE( chemin de fichier à tester exprimé en relatif ) }} {{FE = chemin de fichier exprimé en relatif }} {{FILE_EXISTS = chemin de fichier à tester exprimé en relatif }} </span><span style="font-size:9pt"><br />Converti le chemin donné dans le paramètre N°1 en chemin absolu, et teste si il existe: <br />Si le fichier existe existe la valeur de retour est le resultat de la conversion.<br />Si le fichier n'existe pas la valeur de retour est une chaîne vide.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chemin à convertir) chemin exprimé en relatif exemple : </span><span style="font-size:9pt;font-weight:600">../../Doc/index.html<br /></span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;text-decoration:underline">Exemples</span><span style="font-size:9pt"> : <br /></span><span style="font-size:9pt;font-weight:600">{{FE = ../../Doc/index.html}}</span><span style="font-size:9pt"> devient </span><span style="font-size:9pt;font-weight:600">/home/ro/MedinTux-V2.14-Synth-src/Programmes/Doc/index.html</span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600">{{FE = ../../Doc/truc_inexistant.html}}</span><span style="font-size:9pt"> devient une chaîne vide .<br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.138</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: REPLACE_BY( chaîne à évaluer, élément à trouver, élément de remplacement )}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: RB( chaîne à évaluer, élément à trouver, élément de remplacement ) }}</span><span style="font-size:9pt"><br />remplace les occurrences d'un motif de caractères par un autre motif de caractères.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne à évaluer) chaîne de caractères à traiter .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (occurrence à remplacer) occurrence à remplacer.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (motif de caractères de remplacement) motif de caractères de remplacement</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">.<br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.139</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: INDEX_OF( chaîne à évaluer, motif a rechercher )}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: IO( chaîne à évaluer, motif a rechercher ) }}</span><span style="font-size:9pt"><br />retourne la position d'un motif de caractères dans une chaîne de caractères (-1 si pas trouvée).<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne à évaluer) chaîne de caractères à traiter .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (motif à rechercher) motif à rechercher.<br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.140</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: LENGTH( chaîne à évaluer )}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: LEN( chaîne à évaluer ) }}</span><span style="font-size:9pt"><br />retourne le nombre de caractères d'une chaîne.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne à évaluer) chaîne de caractères à traiter .<br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.141</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: EXPORT_TABLES( date de début, date de fin, definition des tables à exporter, separateur de table, largeur cellule par defaut, hauteur cellule par defaut, largeur du tracé, largeur totale du tableau, format d'affichage des dates, largeur de la colonne des dates )}}<br /></span><span style="font-size:9pt">Cette instruction a pour objectif de mettre en forme des données provenant de tables ou tableaux de variables du terrain de façon à les inclure dans vos documents .<br /><br /> </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (première date à partir de laquelle afficher les données) :<br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> soit la date est exprimée sous la forme : </span><span style="font-size:9pt;font-weight:600">YYYY-MM-DD</span><span style="font-size:9pt"> où YYYY est l'année, MM est le mois de l'année (entre 01 et 12), et DD est le jour du mois (entre 01 et 31). <br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> soit la date est exprimée sous la forme des formules préétablies suivantes :<br /> TOUTE DATE pas de limite inférieure.<br /> DATE VISITE date de l'observation en cours.<br /> DATE ACTUELLE date du jour en cours.<br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> si absent alors il prendra la valeur de "01-01-1900"<br /> </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(date de fin pour afficher les données) :<br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> soit la date est exprimée sous la forme : YYYY-MM-DD où YYYY est l'année, MM est le mois de l'année (entre 01 et 12), et DD est le jour du mois (entre 01 et 31). <br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> soit la date est exprimée sous les formes suivantes :<br /> </span><span style="font-size:9pt;font-weight:600">+</span><span style="font-size:9pt"> suivi d'une valeur correspondant au nombre d'heures à rajouter à la date de début pour faire la date de fin. </span><span style="font-style:italic;font-size:9pt">Expl : +24</span><span style="font-size:9pt"><br /> </span><span style="font-size:9pt;font-weight:600">+-</span><span style="font-size:9pt"> ou </span><span style="font-size:9pt;font-weight:600">-+</span><span style="font-size:9pt"> suivi d'une valeur correspondant au nombre d'heures à enlever à la date de début et à rajouter à la date de début pour faire la date de fin. </span><span style="font-style:italic;font-size:9pt">Expl : +-24</span><span style="font-size:9pt"><br /> </span><span style="font-size:9pt;font-weight:600">-</span><span style="font-size:9pt"> suivi d'une valeur correspondant au nombre d'heures à enlever à la date de début pour faire la date de fin. </span><span style="font-style:italic;font-size:9pt">Expl : -24</span><span style="font-size:9pt"><br /> chiffre 0 ou vide, alors la date de fin est la date de début à laquelle est ajouté 24 heures.<br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> soit la date est exprimée sous la forme des formules préétablies suivantes : <br /> TOUTE DATE pas de limite inférieure.<br /> DATE VISITE date de l'observation en cours.<br /> DATE ACTUELLE date du jour en cours.<br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> si absent alors il prendra la valeur de "01-01-3000"<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (liste de définition des tables à exporter) :<br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> Ce paramètre doit comporter une série de chaines de définition de table, déterminant quelles tables exporter, et quelles colonnes à exporter de ces tables.<br /></span><span style="font-size:9pt;text-decoration:underline">Syntaxe d'une définition de table</span><span style="font-size:9pt"> :<br /><br />VAR nomDeLaTable [nomDelaColonne = largeur octroyée pour l'affichage de la colonne; nomDelaColonneSuivante = largeur octroyée pour l'affichage de la colonne] <br /><br />Exemple :</span><span style="font-size:9pt;font-weight:600;color:#0000ff"> VAR</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#ff0000">Constantes de Base </span><span style="font-size:9pt;font-weight:600;color:#0000ff">[ </span><span style="font-size:9pt;font-weight:600;color:#ff0000">Pouls</span><span style="font-size:9pt;font-weight:600;color:#00aa00">=</span><span style="font-size:9pt">50; </span><span style="font-size:9pt;font-weight:600;color:#ff0000">SAO2</span><span style="font-size:9pt;font-weight:600;color:#00aa00">=</span><span style="font-size:9pt">80; </span><span style="font-size:9pt;font-weight:600;color:#ff0000">Temp</span><span style="font-size:9pt;font-weight:600;color:#00aa00">=</span><span style="font-size:9pt">100</span><span style="font-size:9pt;font-weight:600;color:#0000ff">] VAR</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#ff0000">Poids </span><span style="font-size:9pt;font-weight:600;color:#0000ff">[</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#ff0000">Poids</span><span style="font-size:9pt">=50; </span><span style="font-size:9pt;font-weight:600;color:#ff0000">Taille</span><span style="font-size:9pt">=80 </span><span style="font-size:9pt;font-weight:600;color:#0000ff">]</span><span style="font-size:9pt"> <br />Nom du tableau ou de la table tel qu'indiqué dans le modèle du tableau après la mention </span><span style="font-size:9pt;font-weight:600;color:#0000ff">VAR</span><span style="font-size:9pt"><br />exemple : </span><span style="font-style:italic;font-size:9pt;font-weight:600">Constantes de Base</span><span style="font-size:9pt"> dans le modèle ci-dessous<br /><br /></span><span style="font-size:9pt;text-decoration:underline">Exemple de modèle</span><span style="font-size:9pt"> :<br /><br />[VAR </span><span style="font-size:9pt;font-weight:600;color:#ff0000">Constantes de Base</span><span style="font-size:9pt">] <br /> Modèle = Date, </span><span style="font-size:9pt;font-weight:600;color:#0000ff">Pouls</span><span style="font-size:9pt">, 31536000, 130, 40, pps, Tachycardie, Bradycardie <br /> Modèle = Date, </span><span style="font-size:9pt;font-weight:600;color:#0000ff">SAO2</span><span style="font-size:9pt">, 31536000, 0, 92, %, , Hypoxie <br /> Modèle = Date, </span><span style="font-size:9pt;font-weight:600;color:#0000ff">Temp</span><span style="font-size:9pt">, 31536000, 40.5, 35, ?, Hypothermie, Hyperthermie <br />[VAR </span><span style="font-size:9pt;font-weight:600;color:#ff0000">Poids</span><span style="font-size:9pt">] <br /> Modèle = Date, Poids, 31536000, 100, 50, Kg(s), Obésité, Amaigrissement <br /> Modèle = Date, Taille, 31536000, 0, 0, cm(s), , <br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (séparateur entre les tables) :<br />Ce paramètre facultatif indique un motif de séparation de tables.<br />Si cette valeur commence par le modificateur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> alors ce qui suit la suite de </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> sera considéré comme le chemin d'un fichier à charger et alors le nom de ce fichier peut contenir les mentions suivantes :<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> si absent alors il prendra la valeur de "</span><span style="font-size:9pt;font-weight:600;color:#ff0000"><br></span><span style="font-size:9pt">"<br /><br /> </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(Largeur par défaut de la cellule si non exprimée avec la mention </span><span style="font-size:9pt;font-weight:600">=</span><span style="font-size:9pt"> ) :<br /> si exprimé en pourcentage se sera le pourcentage de la largeur totale.<br /> </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 6</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(Hauteur de la cellule) :<br /> si exprimé en pourcentage se sera le pourcentage de la largeur totale.<br /> </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 7</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(Largeur de la ligne de séparation par défaut 1) :<br /> </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 8</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(Largeur totale du tableau par défaut 100%) :<br /> si exprimé en pourcentage se sera le pourcentage de la largeur totale de la page.<br /> </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 9</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(format d'affichage des dates par défaut </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">dd-MM-yyyy hh</span><span style="font-size:9pt">) :<br /> exprimé selon la règle suivante : </span><a href="DrTux.html#format_des_dates"><span style="font-size:9pt">format des dates</span></a><span style="font-size:9pt"><br /> ce paramètre peut être suivi (séparé par le signe = ) du titre de la colonne des dates.<br /> </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 10</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(largeur de la colonne des dates par défaut 50 ) :<br /> si exprimé en pourcentage se sera le pourcentage de la largeur totale.<br /><br /></span><span style="font-size:9pt;text-decoration:underline">Quelques exemples</span><span style="font-size:9pt"> :<br /></span><span style="font-family:Fixed;font-size:9pt">{{:: </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">EXPORT_TABLES( </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#0000ff">2010-01-01</span><span style="font-family:Fixed;font-size:9pt"> , </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#00aa00">2010-31-12</span><span style="font-family:Fixed;font-size:9pt"> , </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa5500">VAR Constantes de Base[Pouls=50; SAO2=80; Temp=100] VAR Poids[Poids=50; Taille=80]</span><span style="font-family:Fixed;font-size:9pt"> , </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#ff0000">30%</span><span style="font-family:Fixed;font-size:9pt">, </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#0000ff">20</span><span style="font-family:Fixed;font-size:9pt">, </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">1</span><span style="font-family:Fixed;font-size:9pt">, </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa00ff">100%</span><span style="font-family:Fixed;font-size:9pt"> ,</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#55aa7f">dd-MM-yyyy hh</span><span style="font-family:Fixed;font-size:9pt">, </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#55007f">50</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">)</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#5555ff">}}<br /></span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt"><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.142</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: EXPORT( nom du fichier, source des données, ..... autres paramètres selon source de données ...... )}}<br /></span><span style="font-size:9pt">Cette instruction polymorphe très puissante a pour objectif de mettre en forme des données provenant de différentes sources de MedinTux et de les écrire sur le disque.<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (fichier de destination) : fichier de destination dans lequel seront placées les données.<br /> <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(source des données) :<br /></span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#ff0000">T</span><span style="font-family:Fixed;font-size:9pt"> pour string enrichie </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#ff0000">A</span><span style="font-family:Fixed;font-size:9pt"> pour ASCII </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#ff0000">D</span><span style="font-family:Fixed;font-size:9pt"> pour dossier </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#ff0000">S</span><span style="font-family:Fixed;font-size:9pt"> pour selection<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> string a exporter string a exporter liste des rubriques séparées par | String a exporter a laquelle sera ajoutée la sélection</span> <span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-family:Fixed;font-size:9pt"> mode conversion ascii mode conv. ascii date debut mode conversion ascii<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-family:Fixed;font-size:9pt"> A/alwaysWrite F/fullOnly A ou F date fin A ou F (A/alwaysWrite F/fullOnly)</span></p>
<p><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 6</span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-family:Fixed;font-size:9pt;text-decoration:underline">séparation des fiches</span><span style="font-family:Fixed;font-size:9pt"> avec les<br /> mentions possibles ci-dessous.<br /> $NomPatient $PrenomPatient <br /> $DateDeb $DateFin <br /> $DateDebFiche $DateFinFiche <br /> $HeureDeb $HeureFin $NomRub <br /> $TitreRub $User $SignUser <br /> $NumFicheRub $GUIDPat $PkPat <br /> $pkFiche $Duree $NumFicheTot <br /> si commence par la mention : </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-family:Fixed;font-size:9pt"> alors c'est le fichier <br /> mentionné qui sera utilisé comme séparateur de fiches.</span></p>
<p><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 8</span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-family:Fixed;font-size:9pt;text-decoration:underline">filtre sql where</span><span style="font-family:Fixed;font-size:9pt"> si mentionne, alors la chaîne sera utilisée en<br /> complément du filtrage SQL habituel sur les dates.<br /> si il commence par la mention : </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-family:Fixed;font-size:9pt"> alors c'est le fichier <br /> mentionné qui sera utilisé comme </span><span style="font-family:Fixed;font-size:9pt;text-decoration:underline">filtre sql where</span><span style="font-family:Fixed;font-size:9pt">.</span></p>
<p><img src=gnome-warning.png ><span style="font-size:9pt;font-weight:600;text-decoration:underline">IMPORTANT</span><span style="font-size:9pt;font-weight:600"> : Dans le mode exportation de dossier (</span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt;font-weight:600"> (source des données) : avec la valeur </span><span style="font-size:9pt;font-weight:600;color:#ff0000">D</span><span style="font-size:9pt;font-weight:600">) , un répertoire du nom du fichier est créé, et c'est à l'intérieur de ce répertoire que se trouvent : le fichier html correspondant à l'exportation, et les images nécessaires à ce fichier.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"> </span><span style="font-size:9pt"> <br /> </span><span style="font-style:italic;font-size:9pt"> </span></p>
<p><span style="font-size:9pt;text-decoration:underline">Un exemple qui exporte le dossier patient en entier, le transforme en PDF et l'envoie par kmail</span><span style="font-size:9pt"> :<br /></span><span style="font-family:Fixed;font-size:9pt">{{\<br />{{:: SET_VAR(FName,{{NOM PRENOM PATIENT}}-{{GUID}})}}\</span><span style="font-family:Fixed;font-style:italic;font-size:9pt;color:#aaaa7f"><br />{{REM=--------------------- exportation du dossier complet -------------------------------}}\<br /></span><span style="font-family:Fixed;font-size:9pt">{{:: </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">EXPORT</span><span style="font-family:Fixed;font-size:9pt">(</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">../../tmp/{{VAR=FName}}.html</span><span style="font-family:Fixed;font-size:9pt"> , </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">D</span><span style="font-family:Fixed;font-size:9pt">, </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#0000ff">Terrain|Observation|Prescription|Documents|Vigie</span><span style="font-family:Fixed;font-size:9pt">, </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#00aa00">1900-01-01T00:00:00</span><span style="font-family:Fixed;font-size:9pt">,</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#00aa7f"> 2200-01-01T00:00:00</span><span style="font-family:Fixed;font-size:9pt">,</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa00ff">../../pdf/SeparateurEntete.html</span><span style="font-family:Fixed;font-size:9pt">,</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#ff5500">../../pdf/ObservEntete.html</span><span style="font-family:Fixed;font-size:9pt">) }}\<br /></span><span style="font-family:Fixed;font-style:italic;font-size:9pt;color:#aaaa7f">{{REM=--------------------- impression en PDF --------------------------------------------}}\<br /></span><span style="font-family:Fixed;font-size:9pt">{{:: exe_process (WaitEnd ,../../APropos/bin/APropos,ToPDF,$ToAbsPath../../tmp/{{VAR=FName}}/{{VAR=FName}}.html)}}\<br /></span><span style="font-family:Fixed;font-style:italic;font-size:9pt;color:#aaaa7f">{{REM=---------------------- envoi par mail-----------------------------------------------}}\<br /></span><span style="font-family:Fixed;font-size:9pt">{{:: exe_process (NoWaitEnd ,/usr/bin/kmail,-c,roland-sevin@medintux.org,-s,Dossier de {{TITRE PATIENT}} {{NOM PRENOM PATIENT}},--msg,$ToAbsPath../../pdf/TestEnvoiMail.txt,--attach,$ToAbsPath../../tmp/{{VAR=FName}}/{{VAR=FName}}.pdf)}}\<br />}}<br /></span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#5555ff"><br /></span><span style="font-size:9pt"><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.143</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: REPLACE_IN_FILE( nom du fichier source, nom du fichier destination, nom de la variable N°1, nom de la variable N°2, ... nom de la variable N°n )}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: RF( nom du fichier source, nom du fichier destination, nom de la variable N°1, nom de la variable N°2, ... nom de la variable N°n ) }}<br /></span><span style="font-size:9pt"><br />Cette instruction permet de remplacer dans un fichier, des </span><span style="font-family:Fixed;font-size:9pt">occurrences d'un motif du type </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">{{</span><span style="font-size:9pt;font-weight:600;color:#aa0000">nom de la variable N°1}}</span><span style="font-size:9pt"><br />par le contenu de cette variable.<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (fichier source) : fichier d'origine, où se trouvent les motifs de type </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">{{</span><span style="font-size:9pt;font-weight:600;color:#aa0000">nom de la variable}}</span><span style="font-size:9pt"> <br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt"> (fichier de destination) : fichier de destination créé avec les motifs de type </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">{{</span><span style="font-size:9pt;font-weight:600;color:#aa0000">nom de la variable}}</span><span style="font-size:9pt"> remplacés par les contenus des variables correspondantes.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (nom de la première variable) : dont il faudra remplacer le motif </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">{{</span><span style="font-size:9pt;font-weight:600;color:#aa0000">nom de la variable}}</span><span style="font-size:9pt"> par son contenu.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">(nom de la deuxième variable) : dont il faudra remplacer le motif </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">{{</span><span style="font-size:9pt;font-weight:600;color:#aa0000">nom de la variable}}</span><span style="font-size:9pt"> par son contenu.</span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° n</span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">(nom de la nième variable) : </span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">dont il faudra remplacer le motif </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">{{</span><span style="font-size:9pt;font-weight:600;color:#aa0000">nom de la variable}}</span><span style="font-size:9pt"> par son contenu.</span><span style="font-family:Fixed;font-size:9pt"> <br /><br /></span><span style="font-family:Fixed;font-style:italic;font-size:9pt;text-decoration:underline">Exemple</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"> : remplir des formulaires pdf avec pdftk.<br /><br />Exemple de fichier XFDF déjà rempli avec des données du formulaire<br />à envoyer avec pdftk pour qu'il remplisse le formulaire pdf<br />avec la commande suivante :<br /><br />pdftk document.pdf fill_form données.xfdf output document-rempli.pdf<br />Créer un fichier modèle avec les tags </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">{{nom de la variable}}</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"><br /><br /></span><span style="font-family:Fixed;font-style:italic;font-size:9pt;text-decoration:underline">Exemple</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"> : <br /><br />° </span><span style="font-family:Fixed;font-style:italic;font-size:9pt;text-decoration:underline">fichier de référence</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"> : </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">modeleXFDF.xml</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"> (placé dans notre exemple dans le répertoire </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">pdf</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"> de MedinTux)<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"><br /><fields><br /><field name="Nom Patient"><br /><value>{{</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#005500">NomPatient</span><span style="font-family:Fixed;font-style:italic;font-size:9pt">}}</value><br /></field><br /><field name="Prenom Patient"><br /><value>{{</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa55ff">PrenomPatient</span><span style="font-family:Fixed;font-style:italic;font-size:9pt">}}</value><br /></field><br /></fields><br /><f href="fichier.pdf" /><br /></xfdf><br /><br />° </span><span style="font-family:Fixed;font-style:italic;font-size:9pt;text-decoration:underline">Macro exploitant ce fichier</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"> en le remplissant avec les données du patient en cours, par des valeurs collectées au préalable dans les variables idoines.<br /><br /></span><span style="font-family:Fixed;font-size:9pt">{{\<br />{{:: REM ----------- collecte des données dans les variables idoines --------------}}\<br />{{:: SET_VAR(</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#005500">NomPatient</span><span style="font-family:Fixed;font-size:9pt">,{{NOM PATIENT}})}}\<br />{{:: SET_VAR(</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa00ff">PrenomPatient</span><span style="font-family:Fixed;font-size:9pt">,{{PRENOM PATIENT}})}}\<br />{{REM=--------------------- remplacement des tags dans le fichier de réference -------------------------------}}\<br />{{REM= par les valeurs des variables }}\<br /></span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">{{:: REPLACE_IN_FILE</span><span style="font-family:Fixed;font-size:9pt">(</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#00007f">../../pdf/modeleXFDF.xml</span><span style="font-family:Fixed;font-size:9pt">,</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#00aa00">../../pdf/replacedXFDF.xml</span><span style="font-family:Fixed;font-size:9pt">,</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#005500">NomPatient</span><span style="font-family:Fixed;font-size:9pt">,</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa00ff">PrenomPatient</span><span style="font-family:Fixed;font-size:9pt">)</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">}}</span><span style="font-family:Fixed;font-size:9pt">\<br />}}</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"><br /><br />° </span><span style="font-family:Fixed;font-style:italic;font-size:9pt;text-decoration:underline">fichier résultat</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"> : </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">replacedXFDF.xml</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"> où l'on voit les variables remplacées par les valeurs du patient.<br /></span><span style="font-family:Fixed;font-size:9pt"><br /><?xml version="1.0" encoding="UTF-8"?><br /><xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"><br /><fields><br /><field name="Nom Patient"><br /><value>TARTEMPION</value><br /></field><br /><field name="Prenom Patient"><br /><value>MARCEL</value><br /></field><br /></fields><br /><f href="fichier.pdf" /><br /></xfdf></span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.144</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: RUBRIQUE_SHOW( nom de la rubrique, valeur )}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nom de la rubrique) : Nom de la rubrique à afficher ou cacher. <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(valeur) : </span><span style="font-size:9pt;font-weight:600">TRUE</span><span style="font-size:9pt"> valeur par defaut, affiche la rubrique,</span><span style="font-size:9pt;font-weight:600"> FALSE</span><span style="font-size:9pt"> cache la rubrique.</span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.145</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{DefinirATCD_Cisp}}<br /></span><span style="font-size:9pt">Lance le gestionnaire des antécédents postionné sur l'onglet </span><span style="font-size:9pt;font-weight:600">Cisp</span><span style="font-size:9pt">. et insère le contenu des antécédents à l'emplacement du curseur texte.</span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.146</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: INSERT_CISP () }}<br /></span><span style="font-size:9pt">Lance le gestionnaire des antécédents postionné sur l'onglet </span><span style="font-size:9pt;font-weight:600">Cisp</span><span style="font-size:9pt">. et insère le contenu de la sélection à l'emplacement du curseur texte.<br />Le gestionnaire peut être paramétré de façon à n'afficher que les chapitres et sous chapitres (ou rubriques) de la Cisp.<br /></span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (filtre d'affichage des chapitres Cisp) : ce filtre facultatif (alors par défaut il est égal à </span><span style="font-style:italic;font-size:9pt;font-weight:600">-FDABHKLNPRSTUWXYZ</span><span style="font-size:9pt"> ) est une suite de caractères pouvant être les suivants selon les chapitres que l'on désire afficher :<br />F pour le chapitre oeil ;</span></p>
-<p><span style="font-size:9pt">D pour le chapitre système digestif ;<br />A pour le chapitre général et non spécifié ;<br />- pour le chapitre procédures ;<br />B pour le chapitre sang système hématopoïétique ou immunologique ;<br />H pour le chapitre oreille ;<br />K pour le chapitre cardio-vasculaire ;<br />L pour le chapitre ostéo-articulaire ;<br />N pour le chapitre neurologique ;<br />P pour le chapitre psychologique ;<br />R pour le chapitre respiratoire ;<br />S pour le chapitre peau ;<br />T pour le chapitre métabolisme nutrition endocrinien ;<br />U pour le chapitre systèmeme urinaire ;<br />W pour le chapitre grossesse, accouchement et planning familial ;<br />X pour le chapitre système génital féminin et sein ;<br />Y pour le chapitre système génital masculin et sein ;<br />Z pour le chapitre social ;<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (filtre d'affichage des rubriques de la Cisp) : ce filtre facultatif (alors par défaut il est égal à </span><span style="font-style:italic;font-size:9pt;font-weight:600">SINTCD</span><span style="font-size:9pt"> ) est une suite de caractères pouvant être les suivants selon les rubriques que l'on désire afficher :<br />S pour la rubrique SYMPTÔMES ET PLAINTES ;<br />I pour la rubrique INFECTIONS ;<br />N pour la rubrique NÉOPLASIES ;<br />T pour la rubrique TRAUMATISMES ;<br />C pour la rubrique ANOMALIES CONGÉNITALES ;<br />D pour la rubrique AUTRES DIAGNOSTICS ;<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(template d'affichage d'une ligne de Cisp) : <br />ce paramètre est facultatif (alors par défaut il est égal à </span><span style="font-style:italic;font-size:9pt;font-weight:600"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_CHAPITRE::</span><span style="font-style:italic;font-size:9pt;font-weight:600"> </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_LIBELLE::</span><span style="font-style:italic;font-size:9pt;font-weight:600"> </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_COMMENT::</span><span style="font-style:italic;font-size:9pt;font-weight:600"> code Cisp = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_CODE:: </span><span style="font-style:italic;font-size:9pt;font-weight:600">;</span><span style="font-size:9pt"> )<br />La mention </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_LIBELLE::</span><span style="font-size:9pt"> sera remplacée par le libellé Cisp, </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_CODE::</span><span style="font-size:9pt"> par le code Cisp, </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_CHAPITRE::</span><span style="font-size:9pt"> par le chapitre Cisp ce ce code, </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_COMMENT::</span><span style="font-style:italic;font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">par le commentaire.<br /></span><img src=gnome-warning.png ><span style="font-size:9pt;font-weight:600;text-decoration:underline">IMPORTANT</span><span style="font-size:9pt;font-weight:600"> : Dans le cas d'un code composé CISP-CIMX </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_LIBELLE::</span><span style="font-size:9pt;font-weight:600"> sera celui du code Cim10 associé et séléctionné </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_COMMENT::</span><span style="font-size:9pt;font-weight:600"> sera celui du code Cisp correspondant.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"> </span><span style="font-size:9pt"> <br /></span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(masquage et affichage des comboBox des choix de rubriques et chapitres) : <br />ce paramètre est facultatif et alors il est égal à : </span><span style="font-size:9pt;font-weight:600">CU</span><span style="font-size:9pt"> <br />Si le caractère </span><span style="font-size:9pt;font-weight:600">C</span><span style="font-size:9pt"> est présent alors la comboBox de choix des chapitres est affichée.</span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt">Si le caractère </span><span style="font-size:9pt;font-weight:600">U</span><span style="font-size:9pt"> est présent alors la comboBox de choix des rubriques est affichée.<br /><br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">Exemple 1</span><span style="font-size:9pt"> : <br /><br />{{::#INSERT_CISP(K,S,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ::CISP_LIBELLE:: </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">::CISP_CODE::</span><span style="font-size:9pt">, no)}}<br /><br />(notez le caractère # permettant de conserver les attributs html du texte) affichera la boîte de dialogue suivante :<br /><br /></span><img src=CispMacroExemple-1.png ><span style="font-size:9pt"><br /><br />et après confirmation insèrera à la position du curseur texte les éléments suivants : <br /><br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-size:9pt">autre battement cardiaque irrégulier </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K05 </span><span style="font-style:italic;font-size:9pt"><br /> </span><span style="font-size:9pt">douleur cardiaque </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> </span><span style="font-style:italic;font-size:9pt">= </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K01 </span><span style="font-style:italic;font-size:9pt"><br /> </span><span style="font-size:9pt">limitation de la fonction ou incapacité (k) </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-style:italic;font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K28 </span><br /><br /><span style="font-style:italic;font-size:9pt;text-decoration:underline">Exemple 2</span><span style="font-size:9pt"> : <br /></span><br /><span style="font-size:9pt">{{::#INSERT_CISP(K,S,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ::CISP_LIBELLE:: </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">::CISP_CODE::</span><span style="font-size:9pt">)}}<br />{{::#INSERT_CISP(K,S,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ::CISP_LIBELLE:: </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">::CISP_CODE::</span><span style="font-size:9pt"> , </span><span style="font-size:9pt;font-weight:600;color:#00007f">CU</span><span style="font-size:9pt;color:#00aa00">)</span><span style="font-size:9pt">}}<br /><br />afficheront la boîte de dialogue suivante :<br /><br /></span><img src=CispMacroExemple-2.png ><br /><span style="font-size:9pt"><br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">Exemple 3</span><span style="font-size:9pt"> : <br />{{::#INSERT_CISP(K,INTCD,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;::CISP_CHAPITRE:: ::CISP_LIBELLE:: ::CISP_COMMENT:: </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">::CISP_CODE::</span><span style="font-size:9pt">)}}</span><br /><span style="font-size:9pt"><br />affichera la boîte de dialogue suivante :<br /></span><img src=CispMacroExemple-3.png ><br /><br /><span style="font-size:9pt">et après confirmation insèrera à la position du curseur texte les éléments suivants :<br /><br /> cardio-vasculaire CIMX : bradycardie SAI CISP : arythmie cardiaque non classé ailleurs </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K80 =I49</span><span style="font-size:9pt"><br /> cardio-vasculaire CIMX : séquelles d'infarctus cérébral CISP : accident vasculaire cérébral </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K90 =I63</span><span style="font-size:9pt"><br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.147</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: RESOLVE (valeur, operateur, valeur , operateur, valeur, ........ ) }}<br /></span><span style="font-size:9pt;text-decoration:underline">Variantes pour le nom de la macro </span><span style="font-size:9pt;font-weight:600;color:#aa0000">: <br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">VAR_CALC<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">RESULT<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">RES<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">RS<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">VC<br /></span><span style="font-size:9pt">Cette macro que nous attendions tous, permet de faire du calcul entre plusieurs arguments.<br /><br />Exemple : </span><span style="font-family:Fixed;font-style:italic;font-size:8pt">{{:: Resolve( $Wells_1, + ,$Wells_2, + ,$Wells_3, + ,$Wells_4, + ,$Wells_5 )}}</span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt">Exemple équivalent au précédent : </span><span style="font-family:Fixed;font-style:italic;font-size:8pt">{{:: Resolve( {{VAR=Wells_1}}, + ,{{VAR=Wells_2}}, + ,{{VAR=Wells_3}}, + ,{{VAR=Wells_4}}, + ,{{VAR=Wells_5}} )}}<br /></span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (valeur) : première valeur du calcul.<br /></span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">si le nom de l'argument commence par </span><span style="font-size:9pt;font-weight:600">$</span><span style="font-size:9pt"> alors <br /></span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">il sera pris le contenu de la variable dont le nom succède au </span><span style="font-size:9pt;font-weight:600">$</span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(opérateur) : </span><span style="font-family:Fixed;font-size:9pt">opérateur à appliquer entre deux valeurs<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">+</span><span style="font-family:Fixed;font-size:9pt"> addition</span> <br /><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">-</span><span style="font-family:Fixed;font-size:9pt"> soustraction<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">*</span><span style="font-family:Fixed;font-size:9pt"> multiplication<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">/</span><span style="font-family:Fixed;font-size:9pt"> division flottante<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">:</span><span style="font-family:Fixed;font-size:9pt"> division entière<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">%</span><span style="font-family:Fixed;font-size:9pt"> pourcentage<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">?</span><span style="font-family:Fixed;font-size:9pt"> modulo<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">x</span><span style="font-family:Fixed;font-size:9pt"> multiplication entière <br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">X</span><span style="font-family:Fixed;font-size:9pt"> multiplication entière <br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (valeur) : deuxième valeur du calcul. première valeur du calcul.<br /></span><img src=gnome-warning.png ><span style="font-size:9pt;font-weight:600;text-decoration:underline">ASTUCE BENIE DES DIEUX</span><span style="font-size:9pt;font-weight:600"> :</span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">si le nom de l'argument commence par </span><span style="font-size:9pt;font-weight:600">$</span><span style="font-size:9pt"> alors <br /></span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">il sera pris le </span><span style="font-size:9pt;font-weight:600">contenu de la variable</span><span style="font-size:9pt"> dont le nom succède au </span><span style="font-size:9pt;font-weight:600">$</span><span style="font-size:9pt"><br /></span><img src=gnome-warning.png ><span style="font-size:9pt;font-weight:600;text-decoration:underline">IMPORTANT</span><span style="font-size:9pt;font-weight:600"> :</span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">Il n'y a pas de limite au nombre d'arguments séparés par un opérateur.<br /><br /></span><span style="font-family:Fixed;font-style:italic;font-size:8pt;text-decoration:underline">Exemple</span><span style="font-family:Fixed;font-style:italic;font-size:8pt"> : <br />{{\<br />{{:: SET_VAR(Wells_1, {{:: Extract(*,Cancer dans le score de Wells :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_2, {{:: Extract(*,Paralysie ou immobilisation plâtrée récente :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_3, {{:: Extract(*,Alitement supérieur à trois jours ou chirugie inférieure à 4 semaines :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_4, {{:: Extract(*,Douleur à la palpation du trajet des veines profondes :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_5, {{:: Extract(*,Tuméfaction de la cuisse et ou du mollet :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_6, {{:: Extract(*,Tuméfaction du mollet sup à 3 cm de différence entre les deux côtés :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_7, {{:: Extract(*,Oedème prenant le godet :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_8, {{:: Extract(*,Veines superficielles dilatées :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_9, {{:: Extract(*,Autres diagnostics alternatifs au moins aussi probables :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(resultat_W1,{{:: Resolve( $Wells_1, + ,$Wells_2, + ,$Wells_3, + ,$Wells_4, + ,$Wells_5, + , $Wells_6, + , $Wells_7, + , $Wells_8, + , $Wells_9 )}} )}}\<br />}} </span><span style="font-family:Fixed;font-style:italic;font-size:8pt;font-weight:600">Résultat du score de Wells : {{VAR=resultat_W1}}</span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.148</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{VALIDER_DOSSIER }}<br /></span><span style="font-size:9pt;text-decoration:underline">Variantes pour le nom de la macro </span><span style="font-size:9pt;font-weight:600;color:#aa0000">: <br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">ZAB<br /></span><span style="font-size:9pt">Cette macro met à jour le dossier en cours dans la base de données et recharge toutes les rubriques du dossier.<br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.149</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: WAIT_CURSOR(RESTORE) }}<br /></span><span style="font-size:9pt;text-decoration:underline">Variantes pour le nom de la macro </span><span style="font-size:9pt;font-weight:600;color:#aa0000">: <br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">WC<br /></span><span style="font-size:9pt">Cette macro permet de placer le curseur souris en mode attente ou normal afin de signaler une action longue.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (mode) : RESTORE ou NORMAL pour remettre le curseur en mode normal.<br /></span><span style="font-family:Fixed;font-size:9pt"> WAIT </span><span style="font-size:9pt"> pour mettre le curseur en mode attente.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.150</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_RPPS}}<br /></span><span style="font-size:9pt">retourne le numéro de RPPS.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.151</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_CLEF_RPPS}}<br /></span><span style="font-size:9pt">retourne le numéro de clef RPPS.<br /><br /><br /><hr><br /><a name="5_Un_système_de_classement_intelligent_,_LA_VIGIE_,"></a></span><span style="font-weight:600;text-decoration:underline">5 Un système de classement intelligent : LA VIGIE </span>:<br /><img src=zix-arrow-right.png ><a href="index.html#Retour au menu principal">Retour au menu principal</a><span style="font-size:9pt"><br /><br /><br /></span><span style="font-size:9pt;text-decoration:underline">La vigie est un système très puissant de classeurs</span><span style="font-size:9pt"> : <br />dans lesquels il vous sera possible de classer tous les documents de MedinTux afin d'avoir une vision transversale du dossier patient ou de l'ensemble des dossiers.<br /><br /><a name="5.1_Une_règle_très_simple_pour_beaucoup_de_puissance_,"></a></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">5.1 Une règle très simple pour beaucoup de puissance</span><span style="font-size:9pt"> : </span></p>
+<p><span style="font-size:9pt">D pour le chapitre système digestif ;<br />A pour le chapitre général et non spécifié ;<br />- pour le chapitre procédures ;<br />B pour le chapitre sang système hématopoïétique ou immunologique ;<br />H pour le chapitre oreille ;<br />K pour le chapitre cardio-vasculaire ;<br />L pour le chapitre ostéo-articulaire ;<br />N pour le chapitre neurologique ;<br />P pour le chapitre psychologique ;<br />R pour le chapitre respiratoire ;<br />S pour le chapitre peau ;<br />T pour le chapitre métabolisme nutrition endocrinien ;<br />U pour le chapitre systèmeme urinaire ;<br />W pour le chapitre grossesse, accouchement et planning familial ;<br />X pour le chapitre système génital féminin et sein ;<br />Y pour le chapitre système génital masculin et sein ;<br />Z pour le chapitre social ;<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (filtre d'affichage des rubriques de la Cisp) : ce filtre facultatif (alors par défaut il est égal à </span><span style="font-style:italic;font-size:9pt;font-weight:600">SINTCD</span><span style="font-size:9pt"> ) est une suite de caractères pouvant être les suivants selon les rubriques que l'on désire afficher :<br />S pour la rubrique SYMPTÔMES ET PLAINTES ;<br />I pour la rubrique INFECTIONS ;<br />N pour la rubrique NÉOPLASIES ;<br />T pour la rubrique TRAUMATISMES ;<br />C pour la rubrique ANOMALIES CONGÉNITALES ;<br />D pour la rubrique AUTRES DIAGNOSTICS ;<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(template d'affichage d'une ligne de Cisp) : <br />ce paramètre est facultatif (alors par défaut il est égal à </span><span style="font-style:italic;font-size:9pt;font-weight:600"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_CHAPITRE::</span><span style="font-style:italic;font-size:9pt;font-weight:600"> </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_LIBELLE::</span><span style="font-style:italic;font-size:9pt;font-weight:600"> </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_COMMENT::</span><span style="font-style:italic;font-size:9pt;font-weight:600"> code Cisp = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_CODE:: </span><span style="font-style:italic;font-size:9pt;font-weight:600">;</span><span style="font-size:9pt"> )<br />La mention </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_LIBELLE::</span><span style="font-size:9pt"> sera remplacée par le libellé Cisp, </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_CODE::</span><span style="font-size:9pt"> par le code Cisp, </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_CHAPITRE::</span><span style="font-size:9pt"> par le chapitre Cisp ce ce code, </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_COMMENT::</span><span style="font-style:italic;font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">par le commentaire.<br /></span><img src=gnome-warning.png ><span style="font-size:9pt;font-weight:600;text-decoration:underline">IMPORTANT</span><span style="font-size:9pt;font-weight:600"> : Dans le cas d'un code composé CISP-CIMX </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_LIBELLE::</span><span style="font-size:9pt;font-weight:600"> sera celui du code Cim10 associé et séléctionné </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_COMMENT::</span><span style="font-size:9pt;font-weight:600"> sera celui du code Cisp correspondant.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"> </span><span style="font-size:9pt"> <br /></span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(masquage et affichage des comboBox des choix de rubriques et chapitres) : <br />ce paramètre est facultatif et alors il est égal à : </span><span style="font-size:9pt;font-weight:600">CU</span><span style="font-size:9pt"> <br />Si le caractère </span><span style="font-size:9pt;font-weight:600">C</span><span style="font-size:9pt"> est présent alors la comboBox de choix des chapitres est affichée.</span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt">Si le caractère </span><span style="font-size:9pt;font-weight:600">U</span><span style="font-size:9pt"> est présent alors la comboBox de choix des rubriques est affichée.<br /><br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">Exemple 1</span><span style="font-size:9pt"> : <br /><br />{{::#INSERT_CISP(K,S,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ::CISP_LIBELLE:: </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">::CISP_CODE::</span><span style="font-size:9pt">, no)}}<br /><br />(notez le caractère # permettant de conserver les attributs html du texte) affichera la boîte de dialogue suivante :<br /><br /></span><img src=CispMacroExemple-1.png ><span style="font-size:9pt"><br /><br />et après confirmation insèrera à la position du curseur texte les éléments suivants : <br /><br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-size:9pt">autre battement cardiaque irrégulier </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K05 </span><span style="font-style:italic;font-size:9pt"><br /> </span><span style="font-size:9pt">douleur cardiaque </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> </span><span style="font-style:italic;font-size:9pt">= </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K01 </span><span style="font-style:italic;font-size:9pt"><br /> </span><span style="font-size:9pt">limitation de la fonction ou incapacité (k) </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-style:italic;font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K28 </span><br /><br /><span style="font-style:italic;font-size:9pt;text-decoration:underline">Exemple 2</span><span style="font-size:9pt"> : <br /></span><br /><span style="font-size:9pt">{{::#INSERT_CISP(K,S,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ::CISP_LIBELLE:: </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">::CISP_CODE::</span><span style="font-size:9pt">)}}<br />{{::#INSERT_CISP(K,S,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ::CISP_LIBELLE:: </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">::CISP_CODE::</span><span style="font-size:9pt"> , </span><span style="font-size:9pt;font-weight:600;color:#00007f">CU</span><span style="font-size:9pt;color:#00aa00">)</span><span style="font-size:9pt">}}<br /><br />afficheront la boîte de dialogue suivante :<br /><br /></span><img src=CispMacroExemple-2.png ><br /><span style="font-size:9pt"><br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">Exemple 3</span><span style="font-size:9pt"> : <br />{{::#INSERT_CISP(K,INTCD,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;::CISP_CHAPITRE:: ::CISP_LIBELLE:: ::CISP_COMMENT:: </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">::CISP_CODE::</span><span style="font-size:9pt">)}}</span><br /><span style="font-size:9pt"><br />affichera la boîte de dialogue suivante :<br /></span><img src=CispMacroExemple-3.png ><br /><br /><span style="font-size:9pt">et après confirmation insèrera à la position du curseur texte les éléments suivants :<br /><br /> cardio-vasculaire CIMX : bradycardie SAI CISP : arythmie cardiaque non classé ailleurs </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K80 =I49</span><span style="font-size:9pt"><br /> cardio-vasculaire CIMX : séquelles d'infarctus cérébral CISP : accident vasculaire cérébral </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K90 =I63</span><span style="font-size:9pt"><br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.147</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: RESOLVE (valeur, operateur, valeur , operateur, valeur, ........ ) }}<br /></span><span style="font-size:9pt;text-decoration:underline">Variantes pour le nom de la macro </span><span style="font-size:9pt;font-weight:600;color:#aa0000">: <br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">VAR_CALC<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">RESULT<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">RES<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">RS<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">VC<br /></span><span style="font-size:9pt">Cette macro que nous attendions tous, permet de faire du calcul entre plusieurs arguments.<br /><br />Exemple : </span><span style="font-family:Fixed;font-style:italic;font-size:8pt">{{:: Resolve( $Wells_1, + ,$Wells_2, + ,$Wells_3, + ,$Wells_4, + ,$Wells_5 )}}</span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt">Exemple équivalent au précédent : </span><span style="font-family:Fixed;font-style:italic;font-size:8pt">{{:: Resolve( {{VAR=Wells_1}}, + ,{{VAR=Wells_2}}, + ,{{VAR=Wells_3}}, + ,{{VAR=Wells_4}}, + ,{{VAR=Wells_5}} )}}<br /></span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (valeur) : première valeur du calcul.<br /></span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">si le nom de l'argument commence par </span><span style="font-size:9pt;font-weight:600">$</span><span style="font-size:9pt"> alors <br /></span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">il sera pris le contenu de la variable dont le nom succède au </span><span style="font-size:9pt;font-weight:600">$</span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(opérateur) : </span><span style="font-family:Fixed;font-size:9pt">opérateur à appliquer entre deux valeurs<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">+</span><span style="font-family:Fixed;font-size:9pt"> addition</span> <br /><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">-</span><span style="font-family:Fixed;font-size:9pt"> soustraction<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">*</span><span style="font-family:Fixed;font-size:9pt"> multiplication<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">/</span><span style="font-family:Fixed;font-size:9pt"> division flottante<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">:</span><span style="font-family:Fixed;font-size:9pt"> division entière<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">%</span><span style="font-family:Fixed;font-size:9pt"> pourcentage<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">?</span><span style="font-family:Fixed;font-size:9pt"> modulo<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">x</span><span style="font-family:Fixed;font-size:9pt"> multiplication entière <br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">X</span><span style="font-family:Fixed;font-size:9pt"> multiplication entière <br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (valeur) : deuxième valeur du calcul. première valeur du calcul.<br /></span><img src=gnome-warning.png ><span style="font-size:9pt;font-weight:600;text-decoration:underline">ASTUCE BENIE DES DIEUX</span><span style="font-size:9pt;font-weight:600"> :</span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">si le nom de l'argument commence par </span><span style="font-size:9pt;font-weight:600">$</span><span style="font-size:9pt"> alors <br /></span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">il sera pris le </span><span style="font-size:9pt;font-weight:600">contenu de la variable</span><span style="font-size:9pt"> dont le nom succède au </span><span style="font-size:9pt;font-weight:600">$</span><span style="font-size:9pt"><br /></span><img src=gnome-warning.png ><span style="font-size:9pt;font-weight:600;text-decoration:underline">IMPORTANT</span><span style="font-size:9pt;font-weight:600"> :</span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">Il n'y a pas de limite au nombre d'arguments séparés par un opérateur.<br /><br /></span><span style="font-family:Fixed;font-style:italic;font-size:8pt;text-decoration:underline">Exemple</span><span style="font-family:Fixed;font-style:italic;font-size:8pt"> : <br />{{\<br />{{:: SET_VAR(Wells_1, {{:: Extract(*,Cancer dans le score de Wells :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_2, {{:: Extract(*,Paralysie ou immobilisation plâtrée récente :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_3, {{:: Extract(*,Alitement supérieur à trois jours ou chirugie inférieure à 4 semaines :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_4, {{:: Extract(*,Douleur à la palpation du trajet des veines profondes :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_5, {{:: Extract(*,Tuméfaction de la cuisse et ou du mollet :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_6, {{:: Extract(*,Tuméfaction du mollet sup à 3 cm de différence entre les deux côtés :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_7, {{:: Extract(*,Oedème prenant le godet :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_8, {{:: Extract(*,Veines superficielles dilatées :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_9, {{:: Extract(*,Autres diagnostics alternatifs au moins aussi probables :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(resultat_W1,{{:: Resolve( $Wells_1, + ,$Wells_2, + ,$Wells_3, + ,$Wells_4, + ,$Wells_5, + , $Wells_6, + , $Wells_7, + , $Wells_8, + , $Wells_9 )}} )}}\<br />}} </span><span style="font-family:Fixed;font-style:italic;font-size:8pt;font-weight:600">Résultat du score de Wells : {{VAR=resultat_W1}}</span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.148</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{VALIDER_DOSSIER }}<br /></span><span style="font-size:9pt;text-decoration:underline">Variante pour le nom de la macro </span><span style="font-size:9pt;font-weight:600;color:#aa0000">: </span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">ZAB<br /></span><span style="font-size:9pt">Cette macro met à jour le dossier en cours dans la base de données et recharge toutes les rubriques du dossier.<br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.149</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: WAIT_CURSOR (RESTORE) }}<br /></span><span style="font-size:9pt;text-decoration:underline">Variante pour le nom de la macro </span><span style="font-size:9pt;font-weight:600;color:#aa0000">: </span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">WC<br /></span><span style="font-size:9pt">Cette macro permet de placer le curseur souris en mode attente ou normal afin de signaler une action longue.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (mode) : RESTORE ou NORMAL pour remettre le curseur en mode normal.<br /></span><span style="font-family:Fixed;font-size:9pt"> WAIT </span><span style="font-size:9pt"> pour mettre le curseur en mode attente.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.150</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_RPPS}}<br /></span><span style="font-size:9pt">retourne le numéro de RPPS.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.151</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_CLEF_RPPS}}<br /></span><span style="font-size:9pt">retourne le numéro de clef RPPS.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.152</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: SET_DOC_DATE_DEB ( </span><span style="font-size:8pt;font-weight:600;color:#aa0000">12-12-1990 08:30:45</span><span style="font-size:9pt;font-weight:600;color:#aa0000"> ) }}<br /></span><span style="font-size:9pt;text-decoration:underline">Variante pour le nom de la macro</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">SET_DATE_DOC<br /></span><span style="font-size:9pt">Cette macro positionne la date du document.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> date à positionner le format doit être </span><span style="font-size:9pt;font-weight:600">dd-MM-yyyy hh:mm:ss</span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.153</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: SET_DOC_DATE_FIN ( </span><span style="font-size:8pt;font-weight:600;color:#aa0000">12-12-1990 08:30:45</span><span style="font-size:9pt;font-weight:600;color:#aa0000"> ) }}<br /></span><span style="font-size:9pt">Cette macro positionne la date de fin du document.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> date à positionner le format doit être </span><span style="font-size:9pt;font-weight:600">dd-MM-yyyy hh:mm:ss<br /></span><span style="font-size:9pt"><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.154</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: GET_DOC_DATE_FIN ( dd-MM-yyyy hh:mm:ss ) }}<br /></span><span style="font-size:9pt">Cette macro retourne la date de fin du document.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (facultatif) le format avec lequel la date doit être retournée exemple : </span><span style="font-size:9pt;font-weight:600">dd-MM-yyyy hh:mm:ss<br /></span><span style="font-size:9pt">Si absent se sera le format </span><span style="font-size:9pt;font-weight:600">ISO</span><span style="font-size:9pt"> qui sera utilisé : </span><span style="font-size:9pt;font-weight:600">yyyy-MM-dd hh:mm:ss<br /></span><span style="font-size:9pt"><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.155</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: IS_DATE_VALID ( </span><span style="font-size:8pt;font-weight:600;color:#aa0000">12-12-1990 08:30:45</span><span style="font-size:9pt;font-weight:600;color:#aa0000"> ) }}<br /></span><span style="font-size:9pt;text-decoration:underline">Variante pour le nom de la macro</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">ISDV<br /></span><span style="font-size:9pt">Cette macro retourne si une date est valide 1 sinon 0.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> date à tester.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt">Le format de la date devra être </span><span style="font-size:9pt;font-weight:600">ISO</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600">yyyy-MM-dd hh:mm:ss<br /></span><span style="font-size:9pt"><br /><br /><hr><br /><a name="5_Un_système_de_classement_intelligent_,_LA_VIGIE_,"></a></span><span style="font-weight:600;text-decoration:underline">5 Un système de classement intelligent : LA VIGIE </span>:<br /><img src=zix-arrow-right.png ><a href="index.html#Retour au menu principal">Retour au menu principal</a><span style="font-size:9pt"><br /><br /><br /></span><span style="font-size:9pt;text-decoration:underline">La vigie est un système très puissant de classeurs</span><span style="font-size:9pt"> : <br />dans lesquels il vous sera possible de classer tous les documents de MedinTux afin d'avoir une vision transversale du dossier patient ou de l'ensemble des dossiers.<br /><br /><a name="5.1_Une_règle_très_simple_pour_beaucoup_de_puissance_,"></a></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">5.1 Une règle très simple pour beaucoup de puissance</span><span style="font-size:9pt"> : </span></p>
<ul type="disc"><div><img src=bulletcyan01.png ><span style="font-size:9pt">Tout document MedinTux (Observation, prescription etc..) peut se placer dans la Vigie,<br />comme fils d'un autre document, et comme père d'un autre document (et il est alors classeur).<br /><br /></span><img src=Vigie-FilsEtPere-00.png ><span style="font-size:9pt"><br /><br />ci-dessus nous voyons que </span><span style="font-style:italic;font-size:9pt">'</span><span style="font-style:italic;font-size:9pt;color:#00007f">Photo à l'âge de 67 ans</span><span style="font-style:italic;font-size:9pt">'</span><span style="font-size:9pt"> est le fils de '</span><span style="font-style:italic;font-size:9pt;color:#00007f">Fiche Administrative</span><span style="font-style:italic;font-size:9pt">'<br /></span><span style="font-size:9pt"><br /></span><img src=bulletcyan01.png ><span style="font-size:9pt">Dès qu'un document est père d'un fils, il devient </span><span style="font-size:9pt;font-weight:600">classeur</span><span style="font-size:9pt">, car il en contient d'autres.<br />Ci-dessus nous voyons que </span><span style="font-style:italic;font-size:9pt">'</span><span style="font-style:italic;font-size:9pt;color:#00007f">Fiche Administrative</span><span style="font-style:italic;font-size:9pt">'</span><span style="font-size:9pt"> est un classeur contenant : </span><span style="font-style:italic;font-size:9pt">'</span><span style="font-style:italic;font-size:9pt;color:#00007f">Photo à l'âge de 67 ans</span><span style="font-style:italic;font-size:9pt">'</span><span style="font-size:9pt">.<br /><br /><img src=bulletcyan01.png >Un fils peut avoir plusieurs pères (et être classé dans deux classeurs différents).<br /><br /><img src=Vigie-DoubleFils.png ><br />Nous voyons dans l'exemple ci-dessus que </span><span style="font-style:italic;font-size:9pt">'</span><span style="font-style:italic;font-size:9pt;color:#00007f">Photo à l'âge de 67 ans</span><span style="font-style:italic;font-size:9pt">'</span><span style="font-size:9pt"> est classé et présent dans, <br />le </span><span style="font-size:9pt;font-weight:600">classeur</span><span style="font-size:9pt"> : </span><span style="font-style:italic;font-size:9pt">'</span><span style="font-style:italic;font-size:9pt;color:#00007f">Administratif_Social/Fiche Administrative</span><span style="font-style:italic;font-size:9pt">'</span><span style="font-size:9pt"> et <br />le </span><span style="font-size:9pt;font-weight:600">classeur</span><span style="font-size:9pt"> : '</span><span style="font-style:italic;font-size:9pt;color:#00007f">Dermatologie</span><span style="font-size:9pt">' car il est intéressant d'avoir la photo du patient dans la fiche administrative<br />d'ailleurs la voici :</span><img src=Vigie-PhotoDuPatient.png ><span style="font-size:9pt"><br />et du fait de cette curieuse lésion cutanée</span><img src=Vigie-PhotoDuPatient-Inside.png ><span style="font-size:9pt">que présente ce patient sur l'abdomen, il est impératif qu'elle soit aussi dans le classeur : '</span><span style="font-style:italic;font-size:9pt;color:#00007f">Dermatologie</span><span style="font-size:9pt">'<br /><br /><img src=bulletcyan01.png >Enfin ! Un fils ne peut pas être parent de son père (on n'a jamais vu ça).</span></div></ul>
<p><span style="font-size:9pt;font-weight:600"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">5.2 Vue générale et description</span><span style="font-size:9pt"> : <br /><br /><a name="5.2.1_Placement_et_dispositon_de_la_vigie_,"></a></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">5.2.1 Placement et disposition de la vigie</span><span style="font-size:9pt;text-decoration:underline"> </span><span style="font-size:9pt">:<br />° Il est possible de la faire </span><span style="font-size:9pt;font-weight:600">apparaître et disparaître</span><span style="font-size:9pt"> à tout moment à l'aide de la touche </span><span style="font-size:9pt;font-weight:600">F4</span><span style="font-size:9pt"> ou de l'appui et clic sur le bouton : </span><img src=Vigie-Activer-F4-00.png ><br /><br /><span style="font-size:9pt">° La Vigie est un composant pouvant se placer n'importe où dans l'interface de MedinTux, dans les espaces de stockages latéraux, supérieurs, inférieurs de MedinTux, les mêmes espaces que le Glossaire, la Vue Rapide, les barre d'outils divers, etc.<br /><br />° Il vous est possible de la déplacer où vous le souhaitez, et d'enregistrer la disposition de votre espace de travail ainsi que toute la configuration de la Vigie (filtres etc..) ,dans le profil vous concernant, en cliquant sur l'option de menu </span><span style="font-size:9pt;font-weight:600">Fichier->Enregistrer les profils</span><span style="font-size:9pt">.<br /><br /></span><img src=Vigie-EnregistrerPofils.png >Vaccinations<br /><span style="font-size:9pt"><br />(voir organisation de l'espace de travail) afin de toujours retrouver cette organisation.<br /><br /><a name="5.2.2_La_vigie_se_divise_en_deux_parties"></a></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">5.2.2 La vigie se divise en deux parties</span><span style="font-size:9pt"> : <br />° La partie haute </span><span style="font-size:9pt;font-weight:600">le</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600">filtrage</span><span style="font-size:9pt"> (encadrée en rouge) comportant tous les éléments permettant de la piloter, de la paramétrer et la commander.<br />° La partie basse avec </span><span style="font-size:9pt;font-weight:600">la</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600">liste hiérarchique des classeurs et documents</span><span style="font-size:9pt"> la composant.</span></p>
<p><img src=Vigie-VueGénérale-02.png ></p>