ZAB ou VALIDER DOSSIER pas si simple ....
QString m_PathIcone; /*!< chemin de l'icone du module a afficher */
QString m_PathHelp; /*!< chemin de la page html de l'onglet d'aide */
QString m_PathTheme; /*!< chemin du repertoire de themes */
-QString m_BaseVersion; /*!< numero de version de la base de données a afficher */
+QString m_BaseVersion; /*!< numero de version de la base de donnees a afficher */
};
extern CApp* G_pCApp; /*!< pointeur global sur l'application */
-<html><head><meta name="qrichtext" content="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;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><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">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>
<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>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Bitstream Charter'; font-size:14pt; font-weight:400; font-style:normal;">
+</style></head><body style=" font-family:'Liberation Sans'; font-size:12pt; font-weight:400; font-style:normal;">
<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;">
<tr>
<td style="border: none;">
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'courier'; font-size:9pt;">====================================== Données du poste de travail =======================================<br /></span><span style=" font-family:'Sans Serif'; font-size:9pt;">Adresse IP</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-family:'Sans Serif'; font-size:9pt;">:</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-family:'Sans Serif'; font-size:9pt;">192.168.0.2</span></p>
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-size:9pt;">Adresse mac</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-family:'Sans Serif'; font-size:9pt;">:</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-family:'Sans Serif'; font-size:9pt;">70:CD:60:F0:F2:F1</span></p>
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-size:9pt; color:#000000;">Adresse du fichier de configuration</span><span style=" font-family:'courier'; font-size:9pt; color:#000000;"> </span><span style=" font-family:'Sans Serif'; font-size:9pt; color:#000000;">: /Users/rolandsevin/Documents/medintux/Programmes/Manager/bin/Manager.ini</span></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'courier'; font-size:9pt;">====================================== Données du poste de travail =======================================<br /></span><span style=" font-family:'Sans Serif'; font-size:9pt;">Adresse IP</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-family:'Sans Serif'; font-size:9pt;">:</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-family:'Sans Serif'; font-size:9pt;">192.168.100.212</span></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-size:9pt;">Adresse mac</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-family:'Sans Serif'; font-size:9pt;">:</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-family:'Sans Serif'; font-size:9pt;">00:0C:29:34:94:1B</span></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-size:9pt; color:#000000;">Adresse du fichier de configuration</span><span style=" font-family:'courier'; font-size:9pt; color:#000000;"> </span><span style=" font-family:'Sans Serif'; font-size:9pt; color:#000000;">: /mnt/hgfs/Documents/medintux/Programmes/IndirectConfig/IpAdr/192.168.100.212/Manager.ini</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'courier'; font-size:9pt;">========================================================================================================== <br />Modif RS Manager du 31-11-2013 Version 2.16.001</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'courier'; font-size:9pt;">- </span><span style=" font-family:'courier'; font-size:9pt; text-decoration: underline;">FONCTIONNALITES</span><span style=" font-family:'courier'; font-size:9pt;"> : </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'courier'; font-size:9pt;"> ° système de contrôle de l'intégrité des fichiers .ini.</span></p>
pos_y = m_LineEditIndic->y() + m_LineEditIndic->height() + m_marge;
int but_w = (geometry_rect.width()-m_marge*2)/2 ;
int but_x = m_marge;
- m_Button_Add_Fav = new CMyColorButton(backGroundColor,this,tr("Ajouter un favoris|HitList : m_Button_Add"));
+ m_Button_Add_Fav = new CMyColorButton(backGroundColor,this,tr("Ajouter aux favoris|HitList : m_Button_Add"));
m_Button_Add_Fav->setGeometry(but_x,pos_y,but_w,h_button); but_x += but_w; m_Button_Add_Fav->setFont(m_fGrd);
- m_Button_Del_Fav = new CMyColorButton(backGroundColor,this,tr("Retirer un favoris|HitList : m_Button_Del"));
+ m_Button_Del_Fav = new CMyColorButton(backGroundColor,this,tr("Retirer un favori|HitList : m_Button_Del"));
m_Button_Del_Fav->setGeometry(but_x,pos_y,but_w,h_button); but_x += but_w; m_Button_Del_Fav->setFont(m_fGrd);
connect( m_ButtonHitClose, SIGNAL( clicked (bool) ), this , SLOT( Slot_ButtonHitClose_Clicked(bool) ));
void C_Dlg_MainDialog::Test_And_RemoveDir(QString src_Dir, QString dirList_To_remove, QString motifList_To_Erase)
{
//........................ explorer la source .......................................
+ if (QDir(src_Dir).isRelative()) src_Dir.prepend(m_PathAppli);
+ src_Dir = QDir::cleanDirPath(src_Dir);
QDir cur_dir( src_Dir );
cur_dir.setFilter( QDir::All | QDir::NoSymLinks | QDir::Hidden );
QStringList dirToRmList = QStringList::split(";",dirList_To_remove);
<rect>
<x>0</x>
<y>0</y>
- <width>733</width>
- <height>536</height>
+ <width>863</width>
+ <height>573</height>
</rect>
</property>
<property name="caption">
<bool>true</bool>
</property>
</widget>
- <widget class="QGroupBox" row="0" column="0" rowspan="1" colspan="2">
+ <widget class="QGroupBox" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
- <cstring>groupBox2</cstring>
+ <cstring>groupBoxProfils</cstring>
</property>
<property name="font">
<font>
</font>
</property>
<property name="title">
- <string>Eléments à effacer dans le répertoire cible</string>
+ <string>Profils de nettoyage</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget" row="0" column="0">
+ <property name="margin">
+ <number>6</number>
+ </property>
+ <widget class="QComboBox" row="0" column="0">
<property name="name">
- <cstring>layout2</cstring>
+ <cstring>comboBoxProfils</cstring>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="paletteForegroundColor">
+ <color>
+ <red>255</red>
+ <green>0</green>
+ <blue>0</blue>
+ </color>
+ </property>
+ <property name="font">
+ <font>
+ </font>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel1</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>4</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="font">
- <font>
- <bold>0</bold>
- </font>
- </property>
- <property name="text">
- <string><font size="+2"><p align="center"><u><b>Liste des répertoires à effacer dans le répertoire cible (danger)</b></u></p></font>\r
-Chacun des répertoires indiqués comme étant à effacer doit être séparé de l'autre par un point virgule.\r
-<u>Exemple</u> : <b>.svn;cvs</b></string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineEdit_repToErase</cstring>
- </property>
- <property name="frameShape">
- <enum>LineEditPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>Sunken</enum>
- </property>
- </widget>
- </vbox>
</widget>
- <widget class="QLayoutWidget" row="1" column="0">
+ <widget class="QPushButton" row="0" column="2">
<property name="name">
- <cstring>layout3</cstring>
+ <cstring>pushButtonDelProfil</cstring>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Enlever</string>
+ </property>
+ </widget>
+ <widget class="QPushButton" row="0" column="1">
+ <property name="name">
+ <cstring>pushButtonAddProfil</cstring>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Ajouter</string>
+ </property>
+ </widget>
+ <widget class="QPushButton" row="0" column="3">
+ <property name="name">
+ <cstring>pushButtonSaveProfil</cstring>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Enregistrer</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel1_3</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>4</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="font">
- <font>
- <bold>0</bold>
- </font>
- </property>
- <property name="text">
- <string><font size="+2"><b><u><p align="center">Liste des motifs de caractères dont il faut effacer les fichiers</p></u></b></font>
-Si un nom de fichier contient un de ces motifs il sera effacé. Chaque motif est séparé de l'autre par un point virgule ;<br>
-<b>Particularité du caractère étoile * </b>:<br>
-- Si placé <b>devant</b> le motif comme : <b>*bak </b>indique que tous les fichiers se terminant par <b>bak</b> sont à effacer.<br>
-- Si placé <b>après</b> le motif comme : <b>._.* </b>indique que tous les fichiers se commençant par <b>._.</b> sont à effacer.<br>
-- Si placé <b>après et devant </b> le motif comme : <b>*fault* </b>indique que tous les fichiers contenant <b>fault</b> sont à effacer.<br>
-- Si aucun caractère étoile <b>*</b> cela indique que tous les fichiers parfaitements semblables au terme sont à effacer.</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineEdit_fileToErase</cstring>
- </property>
- </widget>
- </vbox>
</widget>
</grid>
</widget>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
- <vsizetype>4</vsizetype>
+ <vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</widget>
</grid>
</widget>
- <widget class="QGroupBox" row="1" column="0" rowspan="1" colspan="2">
+ <widget class="QGroupBox" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
- <cstring>groupBoxProfils</cstring>
+ <cstring>groupBox2</cstring>
</property>
<property name="font">
<font>
</font>
</property>
<property name="title">
- <string>Profils de nettoyage</string>
+ <string>Eléments à effacer dans le répertoire cible</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <property name="margin">
- <number>6</number>
- </property>
- <widget class="QComboBox" row="0" column="0">
+ <widget class="QLayoutWidget" row="2" column="0">
<property name="name">
- <cstring>comboBoxProfils</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>255</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </property>
- <property name="font">
- <font>
- </font>
+ <cstring>layout3</cstring>
</property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_3</cstring>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>4</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="font">
+ <font>
+ <bold>0</bold>
+ </font>
+ </property>
+ <property name="text">
+ <string><font size="+1"><b><u><p align="center">Liste des motifs de caractères dont il faut effacer les fichiers</p></u></b></font>
+Si un nom de fichier contient un de ces motifs il sera effacé. Chaque motif est séparé de l'autre par un point virgule ;<br>
+<b>Particularité du caractère étoile * </b>:<br>
+- Si placé <b>devant</b> le motif comme : <b>*bak </b>indique que tous les fichiers se terminant par <b>bak</b> sont à effacer.<br>
+- Si placé <b>après</b> le motif comme : <b>._.* </b>indique que tous les fichiers se commençant par <b>._.</b> sont à effacer.<br>
+- Si placé <b>après et devant </b> le motif comme : <b>*fault* </b>indique que tous les fichiers contenant <b>fault</b> sont à effacer.<br>
+- Si aucun caractère étoile <b>*</b> cela indique que tous les fichiers parfaitements semblables au terme sont à effacer.</string>
+ </property>
+ </widget>
+ <widget class="QLineEdit">
+ <property name="name">
+ <cstring>lineEdit_fileToErase</cstring>
+ </property>
+ </widget>
+ </vbox>
</widget>
- <widget class="QPushButton" row="0" column="2">
+ <widget class="QLineEdit" row="1" column="0">
<property name="name">
- <cstring>pushButtonDelProfil</cstring>
+ <cstring>lineEdit_repToErase</cstring>
</property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <property name="frameShape">
+ <enum>LineEditPanel</enum>
</property>
- <property name="text">
- <string>Enlever</string>
+ <property name="frameShadow">
+ <enum>Sunken</enum>
</property>
</widget>
- <widget class="QPushButton" row="0" column="1">
+ <widget class="QLabel" row="0" column="0">
<property name="name">
- <cstring>pushButtonAddProfil</cstring>
+ <cstring>textLabel1</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
+ <hsizetype>5</hsizetype>
+ <vsizetype>4</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="text">
- <string>Ajouter</string>
- </property>
- </widget>
- <widget class="QPushButton" row="0" column="3">
- <property name="name">
- <cstring>pushButtonSaveProfil</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <property name="font">
+ <font>
+ <bold>0</bold>
+ </font>
</property>
<property name="text">
- <string>Enregistrer</string>
+ <string><font size="+1"><p align="center"><u><b>Liste des répertoires à effacer dans le répertoire cible (danger)</b></u></p></font>
+Chacun des répertoires indiqués comme étant à effacer doit être séparé de l'autre par un point virgule.
+<u>Exemple</u> : <b>.svn;cvs</b></string>
</property>
</widget>
</grid>
{{\
+{{WAIT_CURSOR}}\
{{REM =......................... verifier si la macro doit etre active ..............................}}\
{{REM = CAD si le fichier rpu doit etre genere }}\
{{REM = la macro est inactive si : la mention }}\
{{REM =..................... recuperer date heure sortie .................................................}}\
{{:: VAR_SET(rpu_dt_hr_sortie,{{:: RB({{:: CS({{:: Extract (Observation,Date SU :,H. départ SU :)}})}},-,/)}} {{:: CS({{:: Extract (Observation,H. départ SU :,EOL)}})}})}}\
{{REM =..................... recuperer mode sortie .................................................}}\
-{{:: Extract (Observation,Circonstances :,EOL)>rpu_mode_sortie}}\
+{{:: Extract (Observation,Type de sortie :,EOL)>rpu_mode_sortie}}\
{{:: IO($rpu_mode_sortie,-)>rpu_i}}\
{{:: LEFT($rpu_mode_sortie,$rpu_i)-rpu_mode_sortie}}\
{{:: VAR_SET(rpu_mode_sortie,{{::#SI(S,$rpu_mode_sortie,=,H,6,{{::#SI(S,$rpu_mode_sortie,=,T,7,{{::#SI(S,$rpu_mode_sortie,=,D,9,8)}})}})}})}}\
{{:: {{VAR=rpu_is_active}}VAR_SET(rpu_path_exchg,{{:: RB(../../Plug/Oru/xml/RPU-{{NOM_PRENOM_PATIENT}}_{{GUID}}_{{VAR=rpu_dt_entree}}T{{:: RB($rpu_hr_entree,h,h)}}.xml, ,-)}})}}\
{{:: {{VAR=rpu_is_active}}RF( ../../Plug/Oru/RPU-PassageModele.txt,$rpu_path_exchg,rpu_dt_evnt,rpu_cd_post,rpu_ville,rpu_dt_nss,rpu_sexe,rpu_dt_hr_entree,rpu_mode_entree,rpu_provenance,rpu_trans_mode,rpu_trans_pec,rpu_motif,rpu_gravite,rpu_diag_princ,rpu_diag_assoc_list,rpu_cam_list,rpu_dt_hr_sortie,rpu_mode_sortie,rpu_destination,rpu_orientation)}}\
{{:: {{VAR=rpu_is_active}}exe_process (WaitEnd ,../../Plug/Oru/QNetCopy,$ToAbsPath{{VAR=rpu_path_exchg}},//192.168.100.22/rpu$)}}
-
+{{:: WAIT_CURSOR (RESTORE)}}\
}}<br/>
<b>rpu_is_active : </b> '{{VAR=rpu_is_active}}'<br/>
<b>rpu_nbSec : </b> '{{VAR=rpu_nbSec}}'<br/>
ROOT_PROJECT = $$PWD/../
SRC_DIR = $${ROOT_PROJECT}/src/
DESTDIR = $${ROOT_PROJECT}/bin
-
+message(Qt version: $$[QT_VERSION])
#........... make the binary name and version number available in c++ code using macro definition ................
TARGET = SigEntrees
NUM_VERS = 2.15.000
DEFINES += "NAME_DOMAINE=\"\\\"$${NAME_DOM}\\\"\""
TEMPLATE = app
+mac { LIBS += -L/usr/X11/lib
+ }
+unix:!macx: LIBS += -lX11
+
# include( $${SRC_DIR}/config.pri)
# include( $${SOURCES_LIBS_PATH}/aggregation.pri)
# include( $${SOURCES_LIBS_PATH}/extensionsystem.pri )
DEFINES += "NAME_DOMAINE=\"\\\"$${NAME_DOM}\\\"\""
TEMPLATE = app
-
+message(Qt version: $$[QT_VERSION])
include(../../MedinTuxTools-QT4/qtsingleapplication/src/qtsingleapplication.pri)
mac { LIBS += -L/usr/X11/lib
- <u><br><b>ATTENTION : RESULTATS NON VALIDÉS BIOLOGIQUEMENT, DONNÉS A TITRE INDICATIF</b><br>Résultats de: <b>SERRIES;ANNIE</b> âge: <b>63 ans </b>
-en date du: <b>03-10-2013 à 20:24</b> Service: <b>Urgences</b></u><br>
-fichier de référence : <b>2013-03-10-20-28-04-703_CLIR919002</b>
-<br> <b>GB:</b> 6210 (N: de 4000 à 10000) /mm3
-<b>N°: </b> 67.3 %
- <b>L°: </b> 21.2 %
- <b>M°: </b> 6.9 %
- <b>E°: </b> 2.6 %
+ <u><br><b>ATTENTION : RESULTATS NON VALIDÉS BIOLOGIQUEMENT, DONNÉS A TITRE INDICATIF</b><br>Résultats de: <b>EBELE;CONDEAU GASPARD</b> âge: <b>81 ans </b>
+en date du: <b>26-12-2013 à 02:04</b> Service: <b>Urgences</b></u><br>
+fichier de référence : <b>2013-26-12-02-01-09-343_CLIR823001</b>
+<br> <b>GB:</b> 7020 (N: de 4000 à 10000) /mm3
+<b>N°: </b> 54.5 %
+ <b>L°: </b> 31.8 %
+ <b>M°: </b> 7.5 %
+ <b>E°: </b> 3.5 %
<b>B°: </b> 0.4 %
-<br> <b>GR:</b> # <span style="font-weight:600;color:#FF0000"> 3.14</span> (N: de 4.10 à 5.70) million/mm
-<b> VGM: </b> 91.3 (N: de 83.0 à 95.0)
-<br> <b>Hb:</b> # <span style="font-weight:600;color:#FF0000"> 8.9</span> (N: de 11.5 à 15.0) g/100ml
-<br> <b>Hc:</b> # <span style="font-weight:600;color:#FF0000"> 28.7</span> (N: de 37.0 à 47.0) %
-<br> <b>Plaquettes:</b> 415000 (N: de 150000 à 450000) /mm3
- <b>Vol. Plaq.:</b> 8.0 (N: de 7.0 à 12.0)
+<br> <b>GR:</b> # <span style="font-weight:600;color:#FF0000"> 3.96</span> (N: de 4.10 à 5.70) million/mm
+<b> VGM: </b> 82.3 (N: de 83.0 à 95.0)
+<br> <b>Hb:</b> # <span style="font-weight:600;color:#FF0000"> 10.6</span> (N: de 13.6 à 17.2) g/100ml
+<br> <b>Hc:</b> # <span style="font-weight:600;color:#FF0000"> 32.6</span> (N: de 40.0 à 54.0) %
+<br> <b>Plaquettes:</b> 319000 (N: de 150000 à 450000) /mm3
+ <b>Vol. Plaq.:</b> 7.6 (N: de 7.0 à 12.0)
+<br> <b>TP:</b> 90 (N: de 70 à 999) %
+ <b>i.n.r:</b> 1.07 (NL: environ 1)
+<br> <b>TCK: témoin</b> 33.5 <b>patient:</b> 39.4 sec.
+ <b>TCA: patient/témoin</b> 1.18
+<br> <b>Na:</b> 141 (N: de 136 à 145) mmol/l
+<br> <b>Ka:</b> 3.9 (N: de 3.5 à 5.1) mmol/l
+<br> <b>Azotémie.:</b> 0.31 (N: de 0.13 à 0.43) g/l
+<br> <b>Créat:</b> 11 (N: de 6 à 13) mg/l
+<br> <b>Glycémie:</b> 1.06 (N: de 0.74 à 1.18) g/l
+<br> <b>PCR:</b> # <span style="font-weight:600;color:#FF0000"> 8.0</span> (N: inf à 7.5) mg/l
+<br> <b>LDH:</b> 470 (N: de 266 à 500) UI/L
+ <b>CPK:</b> 103 (N: de 38 à 174) UI/L
+<br> <b>GOT:</b> 16 (N: inf à 42) UI/L
+ <b>GPT:</b> 14 (N: inf à 40) UI/L
+<br> <b>Myoglobinémie:</b> 33.6 (N: inf à 105.7) ng/ml
+ <b>Troponinémie:</b> <0.10 (N: inf à 0.10) (0.1 à 0.8 Angor instable)(sup à 0.8 IDM) ng/ml
+<br> <b>BNP:</b> 78 (N: inf à 100) (<100 IC peu probable)(100 à 400 IC possible)(>400 IC certaine ou EP sévère) pg/ml
+<br> <b>D-Dimeres:</b> # <span style="font-weight:600;color:#FF0000"> 2.6</span> (N: inf à 0.5) µg/ml
ROOT_PROJECT = $$PWD/../
SRC_DIR = $${ROOT_PROJECT}/src/
DESTDIR = $${ROOT_PROJECT}/bin
-
+message(Qt version: $$[QT_VERSION])
#........... make the binary name and version number available in c++ code using macro definition ................
TARGET = biogest
NUM_VERS = 2.16.000
mac { LIBS += -L/usr/X11/lib
}
-
+unix:!macx: LIBS += -lX11
SOURCES += main.cpp \
C_Dlg_BioGest.cpp \
C_DSVar.cpp \
<kdevtrollproject>
<run>
<mainprogram>/mnt/hgfs/Documents/medintux/Programmes/drtux/bin/drtux</mainprogram>
- <programargs>'ro' 'ro' '68DBDD1C-8985-4550-B3C1-6E1D16508B48' '52145' 'CECCHI' 'MARIO' '/mnt/hgfs/Documents/medintux/Programmes/IndirectConfig/MacAdr/00.0C.29.CD.78.F0/Manager.ini' '/mnt/hgfs/Documents/medintux/Programmes/Manager/bin/DataBase.cfg'</programargs>
+ <programargs>'ro' 'ro' '9F2D1DDE-AFD7-3F4E-5BBB-2EAB97489A93' '114083' 'TARTEMPION' 'MARCEL' '/mnt/hgfs/Documents/medintux/Programmes/IndirectConfig/MacAdr/00.0C.29.CD.78.F0/Manager.ini' '/mnt/hgfs/Documents/medintux/Programmes/Manager/bin/DataBase.cfg'</programargs>
<directoryradio>executable</directoryradio>
<customdirectory>/</customdirectory>
<terminal>false</terminal>
<autocompile>true</autocompile>
<envvars/>
- <globaldebugarguments>'ro' 'ro' '68DBDD1C-8985-4550-B3C1-6E1D16508B48' '52145' 'CECCHI' 'MARIO' '/mnt/hgfs/Documents/medintux/Programmes/IndirectConfig/MacAdr/00.0C.29.CD.78.F0/Manager.ini' '/mnt/hgfs/Documents/medintux/Programmes/Manager/bin/DataBase.cfg'</globaldebugarguments>
+ <globaldebugarguments>'ro' 'ro' '9F2D1DDE-AFD7-3F4E-5BBB-2EAB97489A93' '114083' 'TARTEMPION' 'MARCEL' '/mnt/hgfs/Documents/medintux/Programmes/IndirectConfig/MacAdr/00.0C.29.CD.78.F0/Manager.ini' '/mnt/hgfs/Documents/medintux/Programmes/Manager/bin/DataBase.cfg'</globaldebugarguments>
<globalcwd>/mnt/hgfs/Documents/medintux/Programmes/drtux/</globalcwd>
<useglobalprogram>true</useglobalprogram>
<autoinstall>false</autoinstall>
//.......................... faire les fusions si nécessaire .............................................
(*it).m_LastErr = "";
+ DOCUMENT_DISPLAY_MAP mapDoc;
+ m_pDrTux->MapActiveID_Doc(mapDoc);
m_VAR_MAP.insert("$SCRIPT_STATUS", rubName + "_$FUSION_CREATE");
- m_pDrTux->FusionneDocument(html_Data, m_User, it, m_pDrTux->GetMapActiveID_Doc()); // data = data.replace('0xa0','0x20');
+ m_pDrTux->FusionneDocument(html_Data, m_User, it, mapDoc); // data = data.replace('0xa0','0x20');
m_VAR_MAP.insert("$SCRIPT_STATUS", rubName + "_$FUSION_END");
if ((*it).m_LastErr[0]=='_'||html_Data.find("__ERREUR Fusion :__") != -1)
else return; // annuler ou fichier invalide
}
//.......................... faire les fusions si nécessaire .............................................
+ DOCUMENT_DISPLAY_MAP mapDoc;
+ m_pDrTux->MapActiveID_Doc(mapDoc);
m_VAR_MAP.insert("$SCRIPT_STATUS",pCMDI->GetRubName()+"_$FUSION_ADD_"+verbe);
- m_pDrTux->FusionneDocument(strData, m_User, it, m_pDrTux->GetMapActiveID_Doc()); // data = data.replace('0xa0','0x20');
+ m_pDrTux->FusionneDocument(strData, m_User, it, mapDoc); // data = data.replace('0xa0','0x20');
m_VAR_MAP.insert("$SCRIPT_STATUS",pCMDI->GetRubName()+"_$FUSION_END");
if (verbe == TR("Tout")) pMyEditText->selectAll();
VAR_MAP * pVariables, // 8 pointeur sur la liste des variables (zero par defaut)
ACTION_TYPE isJustForWatch // 9 defaut = CDevilCrucible::DoAll indique que c'est juste pour la visualisation ou to faire
)
-{m_pCurDisplayDocMap = pCurDisplayDocMap;
+{m_pCurDisplayDocMap = new DOCUMENT_DISPLAY_MAP;
+ m_pCurDisplayDocMap->copy(pCurDisplayDocMap);
+
m_pRubList = pRubList;
m_pMB = pCMoteurBase;
m_pMD = pCMedicaBase;
/*! \brief destructeur de la classe */
CDevilCrucible::~CDevilCrucible()
{if (m_VariablesToDelete && m_pVariables) delete m_pVariables;
+ if (m_pCurDisplayDocMap) delete m_pCurDisplayDocMap;
}
+/*! \brief destructeur de la classe */
+void CDevilCrucible::regenerateDisplayMap()
+{ m_pCurDisplayDocMap->clear();
+ if (G_pCApp==0) return;
+ if (G_pCApp->m_pDrTux==0) return;
+ DOCUMENT_DISPLAY_MAP mapDoc;
+ G_pCApp->m_pDrTux->MapActiveID_Doc(mapDoc);
+ m_pCurDisplayDocMap->copy(mapDoc);
+ /* CMDI_Generic *pCMDI_Generic = (CMDI_Generic*) */ G_pCApp->m_pDrTux->GetCurrentRubrique(0, 0, &m_pCRubCurrentRecord);
+ /*
+ // G_pCApp->m_pDrTux->MapActiveID_Doc(mapDoc);
+ // G_mCDC->m_pCurDisplayDocMap->copy(mapDoc);
+ // * G_mCDC->m_pCurDisplayDocMap = G_pCApp->m_pDrTux->GetMapActiveID_Doc();
+ // G_pCApp->m_pDrTux->MapActiveID_Doc(mapDoc);
+ */
+
+}
//---------------------------------------- DoMixture -------------------------------------------------
/*! \brief Fusionne les champs de fusion un document donnée en entrée par: QString &document cette fonction demande un contexte sur l'observation en cours afin de tenir compte de l'utilisateur ayant créé cette observation ainsi que des elements propres à l'observation: elements du contenu etc....
CMoteurBase* GetMB () { return m_pMB; }
QString GetMIdentPrimKey () { return m_IdentPrimKey; }
QString GetUserDocPk () { return m_UserDocPk; }
-
+ void regenerateDisplayMap ();
// ****************************************************************************************************** //
// * FONCTIONS D'EXTRACTION * //
QString m_IdentPrimKey; /*!< patient identity primary key on m_DOSS_IDENT_TBL_NAME */
QString m_UserDocPk; /*!< current user primary key on m_USER_IDENT_TBL_NAME from document user */
RUBREC_LIST *m_pRubList; /*!< pointer to RUBREC_LIST documents list of the patient */
- const DOCUMENT_DISPLAY_MAP *m_pCurDisplayDocMap; /*!< pointer to DOCUMENT_DISPLAY_MAP, current displaying documents list */
+ DOCUMENT_DISPLAY_MAP *m_pCurDisplayDocMap; /*!< pointer to DOCUMENT_DISPLAY_MAP, current displaying documents list */
CMedicaBase *m_pMD; /*!< pointer to CMedicaBase class to provide drugs database functions manipulation's */
QString *m_pDocument; /*!< QString pointer to the text to be modified */
QString m_UserActuelPk; /*!< current user primary key on m_USER_IDENT_TBL_NAME from actual user */
*/
//====================================== CRubRecord =========================================================================
-
class CRubRecord : public QByteArray
{
//------------------------------------------------ constructeur destructeur ------------------------------------------------
// cette QMap permet d'associer un pointeur sur un contenu de rubrique : *CRubRecord �
// une clef : QString qui contient le nom : 'Observation' , 'Prescription', 'Terrain' etc ...
// de la rubrique en cours dans laquelle est affich� : CRubRecord
+//====================================== CRubEvntList =========================================================================
+/*! \class CRubEvntList
+ * \brief Classe de liste de données pour stocker les relations hierarchiques entre les documents du dossier médical.
+ * la structure est la representation de la table : Evnmt_Liens avec le pk de l'enregistrement
+ * si le m_Pk commence par # alors les caracteres qui suivent sont celui d'un pk provisoire unique qui sert a
+ * reperer un enregistrement nouveau lors la mise à jour definitive du pk lors d'un enregistrement des donnees
+*/
+class DOCUMENT_DISPLAY_MAP : public QMap <QString, CRubRecord*>
+{
-typedef QMap<QString, CRubRecord*> DOCUMENT_DISPLAY_MAP;
+ public:
+ DOCUMENT_DISPLAY_MAP()
+ : QMap <QString, CRubRecord*>()
+ {
+ }
+
+//-------------------------------------------- serialize ---------------------------------------------------------
+/*! \brief Fonction qui retourne une chaine contenant la serialisation de la liste
+ * \param withXmlHead int : si zero le header XML ne sera pa ajoute en tete
+ * \return QString : qui est la serialisation de la liste
+*/
+void copy( const QMap <QString, CRubRecord*> &map)
+{ clear();
+ QMapConstIterator <QString, CRubRecord*> it;
+ for ( it = map.begin(); it != map.end(); ++it )
+ { insert ( it.key(), it.data() );
+ }
+}
+//-------------------------------------------- serialize ---------------------------------------------------------
+/*! \brief Fonction qui retourne une chaine contenant la serialisation de la liste
+ * \param withXmlHead int : si zero le header XML ne sera pa ajoute en tete
+ * \return QString : qui est la serialisation de la liste
+*/
+void copy( const QMap <QString, CRubRecord*> *map)
+{ clear();
+ QMapConstIterator <QString, CRubRecord*> it;
+ for ( it = map->begin(); it != map->end(); ++it )
+ { insert ( it.key(), it.data() );
+ }
+}
+};
+// typedef QMap<QString, CRubRecord*> DOCUMENT_DISPLAY_MAP;
#endif
{if (G_pCApp==0) return QString::null;
if (G_pCApp->m_pDrTux==0) {G_pCApp->CouCou(TR("Erreur VALIDER_DOSSIER() : DrTux non initialise"));return QString::null;}
G_pCApp->m_pDrTux->OnDrTuxSaveRubList();
+ G_mCDC->regenerateDisplayMap();
+ if (G_pCApp==0) return "";
+ if (G_pCApp->m_pDrTux==0) return "";
+
+ //DOCUMENT_DISPLAY_MAP mapDoc;
+ //G_pCApp->m_pDrTux->MapActiveID_Doc(mapDoc);
+ //G_mCDC->m_pCurDisplayDocMap->copy(mapDoc);
+ // *G_mCDC->m_pCurDisplayDocMap = G_pCApp->m_pDrTux->GetMapActiveID_Doc();
+ // G_pCApp->m_pDrTux->MapActiveID_Doc(mapDoc);
+ /*
+ G_mCDC-> CRubRecord *m_pCRubCurrentRecord;/ *!< current rubrique record (if exist) * /
+ VAR_MAP *m_pVariables; / *!< contiendra la liste des variables locales des scripts * /
+ CMoteurBase *m_pMB; / *!< pointer to CMoteurBase class to provide database functions manipulation's * /
+ QString m_IdentPrimKey; / *!< patient identity primary key on m_DOSS_IDENT_TBL_NAME * /
+ QString m_UserDocPk; / *!< current user primary key on m_USER_IDENT_TBL_NAME from document user * /
+ RUBREC_LIST *m_pRubList; / *!< pointer to RUBREC_LIST documents list of the patient * /
+ const DOCUMENT_DISPLAY_MAP *m_pCurDisplayDocMap; / *!< pointer to DOCUMENT_DISPLAY_MAP, current displaying documents list * /
+ CMedicaBase *m_pMD; / *!< pointer to CMedicaBase class to provide drugs database functions manipulation's * /
+ QString *m_pDocument; / *!< QString pointer to the text to be modified * /
+ QString m_UserActuelPk; / * !< current user primary key on m_USER_IDENT_TBL_NAME from actual user * /
+ int m_isJustForWatch; / *!< to specifie that fusion must be doo just for see * /
+ */
+ //........ il vaut mieux recuperer la rubrique avant Slot_ExeMixture () .......
+ // car si zero Slot_ExeMixture() la recherche a chaque fois
+ // et l'operation est longue
+
return QString::null;
}
///////////////////////////// MACROS CALL BACK /////////////////////////////////////////////
{return G_mCDC->m_pMB->GetFieldValue(G_mCDC->m_pMB->m_USER_IDENT_TBL_NAME, G_mCDC->m_pMB->m_USER_IDENT_VILLE,
G_mCDC->m_pMB->m_USER_IDENT_PRIMKEY , G_mCDC->m_UserDocPk);
}
-
+//-------------------------- WAIT_CURSOR -------------------------------------------
+/*! \brief non documente */
+QString C_TokenInterpret::WAIT_CURSOR (QStringList &arg_list)
+ {
+ if (arg_list[0]=="RESTORE"||arg_list[0]=="NORMAL")
+ { QApplication::restoreOverrideCursor();
+ }
+ else
+ {QApplication::setOverrideCursor ( Qt::WaitCursor );
+ }
+ return "";
+ }
/////////////////////////////////// FONCTIONS DE SERVICE ////////////////////////////
//----------------------- Func_Extract_TTT ------------------------------------------
static QString VALIDER_DOSSIER (QStringList &arg_list);
static QString VILLE_MEDECIN (QStringList &arg_list);
static QString VILLE_PATIENT (QStringList &arg_list);
+ static QString WAIT_CURSOR (QStringList &arg_list);
//.......... eviter message Not Used ............
int justForUsed() {return forUse_G_MacroTab_List();}
{"VILLE_MEDECIN", C_TokenInterpret::VILLE_MEDECIN},
{"VILLE_PATIENT", C_TokenInterpret::VILLE_PATIENT}
};
- static KEY_MACRO G_MacroTab_W[ ] = {{"W_NOP", C_TokenInterpret::NOP}};
+ static KEY_MACRO G_MacroTab_W[ ] = {{"WAIT_CURSOR", C_TokenInterpret::WAIT_CURSOR},
+ {"WC", C_TokenInterpret::WAIT_CURSOR}
+ };
static KEY_MACRO G_MacroTab_X[ ] = {{"X_NOP", C_TokenInterpret::NOP}};
static KEY_MACRO G_MacroTab_Y[ ] = {{"Y_NOP", C_TokenInterpret::NOP}};
static KEY_MACRO G_MacroTab_Z[ ] = {{"ZAB", C_TokenInterpret::VALIDER_DOSSIER}
/*! \brief cree une liste mappant l'adresse du CRubRecord relatif aux documents actuellement a l'affichage avec les types de document associes. cette liste permet de retrouver dans la liste des documents celui affiche en fonction de son type cela permet de retrouver par exemple l'observation en cours d'affichage, ou la presscription juste avec le type a rechercher :
* \return DOCUMENT_DISPLAY_MAP
*/
- DOCUMENT_DISPLAY_MAP DrTux::GetMapActiveID_Doc()
+DOCUMENT_DISPLAY_MAP DrTux::GetMapActiveID_Doc()
{DOCUMENT_DISPLAY_MAP mapDoc;
MapActiveID_Doc(mapDoc);
return mapDoc;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Sans Serif'; font-weight:400; font-style:normal;">
+</style></head><body style=" font-family:'Sans Serif'; font-size:12px; font-weight:400; font-style:normal;">
<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;">
<tr>
<td style="border: none;">
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'courier'; font-size:9pt;">====================================== Données du poste de travail =======================================<br /></span><span style=" font-size:9pt;">Adresse IP</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-size:9pt;">:</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-size:9pt;">192.168.0.8</span></p>
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt;">Adresse mac</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-size:9pt;">:</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-size:9pt;">00:0C:29:34:94:1B</span></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'courier'; font-size:9pt;">====================================== Données du poste de travail =======================================<br /></span><span style=" font-size:9pt;">Adresse IP</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-size:9pt;">:</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-size:9pt;">192.168.0.13</span></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt;">Adresse mac</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-size:9pt;">:</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-size:9pt;">00:0C:29:C5:0A:06</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt; color:#000000;">Adresse du fichier de configuration</span><span style=" font-family:'courier'; font-size:9pt; color:#000000;"> </span><span style=" font-size:9pt; color:#000000;">: /mnt/hgfs/Documents/medintux/Programmes/medicatux/bin/medicatux.ini</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'courier'; font-size:9pt;">========================================================================================================== <br />Modif RS Manager du 21-02-2013 Version 2.15.000</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'courier'; font-size:9pt;">- </span><span style=" font-family:'courier'; font-size:9pt; text-decoration: underline;">FONCTIONNALITES</span><span style=" font-family:'courier'; font-size:9pt;"> : </span></p>
xml \
multimedia
+message(Qt version: $$[QT_VERSION])
+
ROOT_PROJECT = $$PWD/../
SRC_DIR = $${ROOT_PROJECT}/src/
DESTDIR = $${ROOT_PROJECT}/bin/
if (optDir.length()) lineEdit_Qt3->setText(optDir);
}
-//----------------------------------------- tryToFindQt3 ---------------------------------------------
-QString C_DlgMainDialog::tryToFindQt3()
-{
-#ifdef Q_OS_MACX
- QString ret = QString::null;
- if (QFile::exists(QDir::cleanDirPath(G_pCApp->m_PathAppli+"../../Qt/bin/qmake"))) ret = QDir::cleanDirPath(G_pCApp->m_PathAppli+"../../Qt");
- else if (QFile::exists("/usr/lib/qt3/bin/qmake")) ret = "/usr/lib/qt3";
- return ret;
-#else
- QString ret = QString::null;
- if (QFile::exists("/usr/lib/qt/bin/qmake")) ret = "/usr/lib/qt";
- else if (QFile::exists("/usr/lib/qt3/bin/qmake")) ret = "/usr/lib/qt3";
- else if (QFile::exists("/usr/bin/qmake")) ret = "/usr";
- return ret;
-#endif
-}
-
//----------------------------------------- keepOnlyNumber ---------------------------------------------
QString C_DlgMainDialog::keepOnlyNumber(const QString &strIn)
{int i = 0;
}
return main_path;
}
+//----------------------------------------- tryToFindQt3 ---------------------------------------------
+QString C_DlgMainDialog::tryToFindQt3()
+{
+#ifdef Q_OS_MACX
+ QString ret = QString::null;
+ if (QFile::exists(QDir::cleanDirPath(G_pCApp->m_PathAppli+"../../Qt/bin/qmake"))) ret = QDir::cleanDirPath(G_pCApp->m_PathAppli+"../../Qt");
+ else if (QFile::exists("/usr/lib/qt3/bin/qmake")) ret = "/usr/lib/qt3";
+ return ret;
+#else
+ QString ret = QString::null;
+ QString toTest = QDir::cleanDirPath(G_pCApp->m_PathAppli + "../../../qt3_l64");
+ if (QFile::exists(toTest+"/bin/qmake")) return toTest;
+ if (QFile::exists("/usr/lib/qt/bin/qmake")) ret = "/usr/lib/qt";
+ else if (QFile::exists("/usr/lib/qt3/bin/qmake")) ret = "/usr/lib/qt3";
+ else if (QFile::exists("/usr/bin/qmake")) ret = "/usr";
+ return ret;
+#endif
+}
//----------------------------------------- tryToFindSdkQt4 ---------------------------------------------
QString C_DlgMainDialog::tryToFindSdkQt4()
if (lastIndex != -1) return listOptDir[lastIndex].prepend("/usr/local/Trolltech/");
else return QString::null;
#else
- QString prefix = "/opt/"; // on teste si cette version du sdk Qt4 (mandriva) existe
- QString sufix = "/qt/"; // on teste si cette version du sdk Qt4 (mandriva) existe
- QStringList listOptDir = CGestIni::listDirectory("/opt", "", "qtsdk-", "|", FALSE, TRUE);
+ //............ rechercher bon path qt ...................................
+ QString prefix = QDir::cleanDirPath(G_pCApp->m_PathAppli + "../../../qt4_l64");
+ QString sufix = "";
+ QStringList listOptDir = CGestIni::listDirectory(prefix, "", "Qt-", "|", FALSE, TRUE);
+ prefix += "/";
+
if ( listOptDir.count()==0) // si pas trouvee on teste si cette version du sdk Qt4 (ubuntu ou autres 4.8.5) existe
- { listOptDir = CGestIni::listDirectory("/usr/local/Trolltech", "", "Qt-", "|", FALSE, TRUE);
- prefix = "/usr/local/Trolltech/";
- sufix = "";
- }
+ { prefix = "/opt/"; // on teste si cette version du sdk Qt4 (mandriva) existe
+ sufix = "/qt/"; // on teste si cette version du sdk Qt4 (mandriva) existe
+ listOptDir = CGestIni::listDirectory("/opt", "", "qtsdk-", "|", FALSE, TRUE);
+
+ if ( listOptDir.count()==0) // si pas trouvee on teste si cette version du sdk Qt4 (ubuntu ou autres 4.8.5) existe
+ { prefix = "/usr/local/Trolltech";
+ listOptDir = CGestIni::listDirectory(prefix, "", "Qt-", "|", FALSE, TRUE);
+ prefix += "/";
+ sufix = "";
+ }
+ }
int lastIndex = -1;
int lastN = 0;
int n = 0;
\r
// Recherche des etats possibles de la tache en cours et creation de boutons\r
int nbBouton = 0;\r
- bool premierEtat = false;\r
dernierEtat = "N";\r
QString couleurDefaut = "#FFFFFF";\r
requeteEtat = QString (" SELECT ET_Libelle_etat, ET_Couleur_etat , ET_Tache_terminee, ET_Code_etat" // 0-1-2-3\r
{// ce bouton reprend le libelle de l'etat en cours au moment de l'affichage.\r
style = "Menu_Etat_Tache_EnCours";\r
if (etatEnCours.length() < 1)\r
- {premierEtat = true;\r
- etatEnCours = queryb.value(0).toString();\r
+ {etatEnCours = queryb.value(0).toString();\r
style = "Menu_Etat_Tache";\r
}\r
QString truc = queryb.value(0).toString();\r
if (statusReplier) bouttonEtatTache->setVisible(false);\r
bouttonEtatTache->setMinimumHeight(m_Hauteur_Taches);\r
bouttonEtatTache->setMaximumWidth((m_Largeur_Box - m_Largeur_Tache )); // ???\r
- // if (premierEtat) BoutonOpaque(BouttonEtatTache, 1, queryb.value(1).toString());\r
connect(bouttonEtatTache, SIGNAL(clicked()), m_EtatMapper, SLOT(map()));\r
m_EtatMapper->setMapping(bouttonEtatTache, bouttonEtatTache);\r
horizonLayoutTache->addWidget(bouttonEtatTache);\r
QT += core gui \
network \
webkit \
- sql \
- xml
+ sql
+message(Qt version: $$[QT_VERSION])
ROOT_PROJECT = $$PWD/../
SRC_DIR = $${ROOT_PROJECT}/src/
DESTDIR = $${ROOT_PROJECT}/bin
-LIBS += /usr/lib/libX11.so.6
+
#........... make the binary name and version number available in c++ code using macro definition ................
TARGET = synoptux
NUM_VERS = 2.15.001
DEFINES += "NAME_DOMAINE=\"\\\"$${NAME_DOM}\\\"\""
TEMPLATE = app
-# include( $${SRC_DIR}/config.pri)
-# include( $${SOURCES_LIBS_PATH}/aggregation.pri)
-# include( $${SOURCES_LIBS_PATH}/extensionsystem.pri )
-
include(../../MedinTuxTools-QT4/qtsingleapplication/src/qtsingleapplication.pri)
SOURCES = main.cpp \
C_Dlg_Changements.h \
C_ClickableLed.h
+mac: LIBS += -L/usr/X11/lib
+unix:!macx: LIBS += -lX11
+
RESOURCES = synoptux.qrc
FORMS += box.ui \
UI_DIR = $${SRC_DIR}/ui
MOC_DIR = $${SRC_DIR}/moc
RCC_DIR = $${SRC_DIR}/rcc
+
+