Come creare una nuova query?

From MedITEX - Wiki

(Difference between revisions)
Jump to: navigation, search
 
(4 intermediate revisions by one user not shown)
Line 3: Line 3:
 
<tbody>
 
<tbody>
 
<tr>
 
<tr>
<td colspan="2"><img style="display: block; margin-left: auto; margin-right: auto;" src="/images/ReportEd.png" alt="" /></td>
+
<td colspan="2"><img style="display: block; margin-left: auto; margin-right: auto;" src="/images/Report_Editor_1_IT.png" alt="" width="462" height="289" /></td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td><img style="display: block; margin-left: auto; margin-right: auto;" src="/images/plus48.png" alt="" width="48" height="48" /></td>
 
<td><img style="display: block; margin-left: auto; margin-right: auto;" src="/images/plus48.png" alt="" width="48" height="48" /></td>
<td><a href="/index.php?title=Queries_of_Report_editor">Read here</a> more about the queries of the report editor.</td>
+
<td><a href="/index.php?title=Queries_di_Report_editor">Cliccare qui</a> per ulteriori informazioni su&nbsp;report editor.</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 16: Line 16:
 
<tbody>
 
<tbody>
 
<tr>
 
<tr>
<td>[[Image:REWindowShort.png|none|740px|thumb|left|link=http://wiki.meditex-software.com/images/REWindowShort.png| ]]</td>
+
<td>[[Image:Come_creare_query_1_IT.png|none|740px|thumb|left|link=http://wiki.meditex-software.com/images/Come_creare_query_1_IT.png| ]]</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
 
</table>
 
</table>
 
<p>__TOC__</p>
 
<p>__TOC__</p>
<h2>Selecting the needed fields</h2>
+
<h2>Selezionare i campi desiderati</h2>
<p>To select the fields in order to <strong>build a query</strong> you need to browse the content of the subgroups.</p>
+
<p>Per selezionare i campi al fine di creare una <strong>query</strong>&nbsp;sar&agrave; necessario controllare il contenuto dei sottogruppi.</p>
<p>If you <strong>double-click on a group</strong> you will see <strong>all available sub-groups</strong>.</p>
+
<p>Facendo&nbsp;<strong>doppio-click su un gruppo</strong>&nbsp;tutti i <strong>sottogruppi disponibili </strong>verranno visualizzati.</p>
<p><strong>Double-click a sub-group</strong> and you will see <strong>all fields that are available</strong> in this sub-group.</p>
+
<p>Facendo un<strong> doppio-click </strong>su un<strong> sotto-gruppo</strong>&nbsp;tutti <strong>i campi </strong>appartenenti a quel sottogruppo saranno visualizzati.</p>
 
<table style="margin-left: auto; margin-right: auto;" border="0">
 
<table style="margin-left: auto; margin-right: auto;" border="0">
 
<tbody>
 
<tbody>
 
<tr>
 
<tr>
<td>[[Image:REGroups.png|none|740px|thumb|left|link=http://wiki.meditex-software.com/images/REGroups.png| ]]</td>
+
<td>[[Image:Report_Editor_3_IT.png|none|740px|thumb|left|link=http://wiki.meditex-software.com/images/Report_Editor_3_IT.png| ]]</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
 
</table>
 
</table>
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
<p>Alternatively you can <strong>search the field</strong> you need with a keyword search.</p>
+
<p>In alternativa &egrave; possibile ricercare i campi desiderati attraverso il <strong>campo di ricerca</strong>.</p>
<p>For this example, we are going to create a <strong>Follicle Aspiration</strong> letter.</p>
+
<p>Per esempio, Per creare una query con i dati anagrafici della coppia, uno dei campi desiderati sar&agrave; il nome della paziente:</p>
<p>Assume you need to search a field related to the person name:</p>
+
 
<table style="margin-left: auto; margin-right: auto;" border="0">
 
<table style="margin-left: auto; margin-right: auto;" border="0">
 
<tbody>
 
<tbody>
 
<tr>
 
<tr>
<td><img src="/images/RE1.png" alt="" width="373" height="395" /></td>
+
<td><img src="/images/Come_creare_query_2_IT.png" alt="" width="587" height="409" /></td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
 
</table>
 
</table>
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
<p>Just type the keyword<strong> name</strong> in the <strong>Search field</strong> and press <strong>Enter</strong>. You will be provided with a list of fields that contain that keyword along with their groups and sub-groups. Choose the field you need and click on it.</p>
+
<p>Sar&agrave; sufficiente digitare&nbsp;<strong>nome</strong>&nbsp;nel <strong>campo di ricerca&nbsp;</strong>e premere <strong>Invio</strong>. Nel men&ugrave; a tendina che comparir&agrave; saranno elencati tutti i campi contenente la parola nome con relativi gruppi e sottogruppi. Scegliere il campo desiderato e cliccandoci sopra.</p>
<p>The group containing that field will open.</p>
+
<p>Il gruppo contentente il campo si aprir&agrave;.</p>
<p>Once you have<strong> found the sub-group</strong> containing the field(s) you need, <strong>drag the sub-group</strong> from the <strong>Group</strong> list into the <strong>Area</strong> for queries.</p>
+
<p>Una volta trovato il sottogruppo contentente il campo desiderato <strong>trascinarlo </strong>dalla sezione Gruppi alla sezione delle Query.</p>
 
<table style="margin-left: auto; margin-right: auto;" border="0">
 
<table style="margin-left: auto; margin-right: auto;" border="0">
 
<tbody>
 
<tbody>
 
<tr>
 
<tr>
<td><img src="/images/RE2.png" alt="" /></td>
+
<td><img src="/images/Come_creare_query_3_IT.png" alt="" width="700" height="249" /></td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
 
</table>
 
</table>
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
<p>To <strong>select a field</strong> (i.e.: the <strong>First name</strong> field) for the query, <strong>check the empty box</strong>. In order to build our Follicle aspiration discharge letter you may need to <strong>select other fields</strong> of this sub-group such as: <strong>Surname</strong>, <strong>Partner: surname</strong> and <strong>Partner: name</strong>.</p>
+
<p>Per selezionare il<strong> campo</strong>&nbsp;(es: Il <strong>Nome</strong>) selezionare il <strong>quadratino vuoto</strong>.&nbsp;</p>
 
<table style="margin-left: auto; margin-right: auto;" border="0" width="51" height="24">
 
<table style="margin-left: auto; margin-right: auto;" border="0" width="51" height="24">
 
<tbody>
 
<tbody>
 
<tr>
 
<tr>
<td><img src="/images/RE3.png" alt="" /><br /></td>
+
<td><img src="/images/Come_creare_query_4_IT.png" alt="" width="700" height="500" /><br /></td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
 
</table>
 
</table>
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
<p>Let&rsquo;s go on building our discharge letter.</p>
+
<p>Se nel sottogruppo <strong>Paziente non sono presenti tutti i campi necessari</strong> per la costruzione della nostra query, sar&agrave; necessario <strong>collegare</strong> al sottogruppo Paziente un altro <strong>sottogruppo</strong> contenente i campi desiderati, ad esempio <strong>l'Anamnesi Donna</strong>. Per far questo sar&agrave; necessario selezionare il sottogruppo dalla sezione dei gruppi e trascinarlo nella sezione Query come spiegato precedentemente.</p>
<p>Since in the sub-group <strong>Person</strong>, you <strong>will not find fields related to the therapy</strong>, you will need to link to the sub-group <strong>Persons</strong>, the subgroup <strong>Cycle of women</strong> by dragging it from the <strong>Group </strong>list into the <strong>Area </strong>for queries as previously described.</p>
+
<p>Ora i campi dell' Anamnesi Donna potranno essere selezionati. Una volta che tutti i campi necessari dell'anamnesi donna sono stati selezionati un altro sottogruppo pu&ograve; essere collegato sempre tramite trascinamento. Questo processo v&agrave; ripetuto fino alla selezione di tutti i campi necessari per la creazione della query in questione.</p>
<p>Now the desired fields from the sub-group <strong>Cycle of women</strong> can be selected as seen above for the other fields. When all the needed fields from the sub-group <strong>Cycle of women</strong> have been selected, another sub-group, if necessary, shall be <strong>dragged and dropped</strong>. This process is repeated until the query is done.</p>
+
 
<table style="margin-left: auto; margin-right: auto;" border="0">
 
<table style="margin-left: auto; margin-right: auto;" border="0">
 
<tbody>
 
<tbody>
 
<tr>
 
<tr>
<td><img style="display: block; margin-left: auto; margin-right: auto;" src="/images/Person11RE.png" alt="" width="439" height="156" /></td>
+
<td><img style="display: block; margin-left: auto; margin-right: auto;" src="/images/Come_creare_query_7_IT.png" alt="" width="609" height="199" /></td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>
 
<td>
 
<ul>
 
<ul>
<li>Keep in mind that the <strong>order of the sub-groups added</strong> to a query <strong>has an  effect</strong> on the way the <strong>results</strong> are displayed ("logical cascade"). In the  example patients which have received cycles would be displayed  after the query and not cycles that have been assigned to certain  patients.</li>
+
<li>Tenere presente che l' <strong>ordine con cui i sottogruppi vengono inseriti </strong>nella query &nbsp;<strong>ha un effetto</strong>&nbsp;sui <strong>risultati</strong>&nbsp;("cascata logica"). &nbsp;Nel nostro esempio nei risultati saranno presenti tutti i pazienti, sia maschi che femmine, ma solamente le femmine che hanno un'anamnesi inserita in MedITEX avranno i campi del secondo sottogruppo riemtpiti. Se avessimo collegato i gruppi in ordine opposto avrei ottenuto la lista di tutte le anamnesi femminili inserite in MedITEX con i relativi campi anagrafici collegati.</li>
 
</ul>
 
</ul>
 
<ul>
 
<ul>
<li>If a <strong>QM Field</strong> is created but it is not previously filled in, it won&rsquo;t be available in the related <strong>Report Editor</strong> sub-group.</li>
+
<li>Se un <strong>campo&nbsp;QM </strong>&egrave; stato creato, ma mai utilizzato non comparir&agrave; nella lista dei campi disponibili nei vari sottogruppi.</li>
 
</ul>
 
</ul>
 
</td>
 
</td>
Line 85: Line 83:
 
</table>
 
</table>
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
<h2>Defining fields conditions</h2>
+
<h2>Definire condizioni per campi</h2>
<p>In some cases it could be useful to<strong> restrict values</strong> of the selected fields to some conditions.</p>
+
<p>In alcuni casi &egrave; utile filtrare i risultati del campo selezionato prima di eseguire la query.</p>
<p><strong>For example,</strong> you may want to select only cycles where the number of collected oocytes is greater than 8.</p>
+
<p><strong>Per Esempio,</strong>&nbsp;sarebbe utile restringere i dati solamente alle pazienti Donne.</p>
<p>Simply <strong>double-click</strong> on the desired field name and the following window will open:</p>
+
<p>Facendo <strong>Doppio-click</strong> sul campo desiderato la seguente finestra si aprir&agrave;:</p>
 
<table style="margin-left: auto; margin-right: auto;" border="0">
 
<table style="margin-left: auto; margin-right: auto;" border="0">
 
<tbody>
 
<tbody>
 
<tr>
 
<tr>
<td><img src="/images/RE4.png" alt="" width="390" height="404" /></td>
+
<td><img src="/images/Come_creare_query_5_IT.png" alt="" width="396" height="410" /></td>
 
<td colspan="2">
 
<td colspan="2">
<p>Press the <strong>"+" button</strong> to <strong>add a new filter</strong> or <strong>condition</strong>.</p>
+
<p>Premere il <strong>pulsante&nbsp;"+" </strong>per inserire un nuovo filtro o condizione.</p>
<p>Now you can <strong>add conditions</strong> and <strong>values accordingly</strong>.</p>
+
<p>Nel nostro esempio, selezioner&ograve; il campo Sesso e restringer&ograve; i risultati a Femminile.</p>
<p>For this example, only cycles with more than 8 oocytes collected will be displayed.</p>
+
<p>In alcuni casi &egrave; possibile <strong>aggiungere pi&ugrave; di una condizione</strong>&nbsp;premendo di nuovo il tasto "+" e inserendo l'informazione.&nbsp;Per <strong>eliminare</strong>&nbsp;una condizione &egrave; sufficiente selezionarla e prenere il <strong>pulsante "-".</strong></p>
<p>To <strong>add another condition press the "+" button again</strong> and enter the information. If you wish to <strong>delete</strong> a condition or filter, <strong>select the condition</strong> in the list and press the <strong>"-" button</strong>.</p>
+
 
</td>
 
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td rowspan="3"><img src="/images/RE5.png" alt="" width="390" height="551" /></td>
+
<td rowspan="3"><img src="/images/Come_creare_query_6_IT.png" alt="" width="393" height="555" /></td>
<td colspan="2"><strong>The following conditions can be defined:</strong></td>
+
<td colspan="2"><strong>Le condizioni applicabili ai campi sono:</strong></td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>
 
<td>
<p><strong>Condition:</strong></p>
+
<p><strong>Condizioni:</strong></p>
<p>Is equal</p>
+
<p>&egrave; uguale</p>
<p>Is not equal</p>
+
<p>&egrave; diverso</p>
<p>Is greater</p>
+
<p>&egrave; maggiore</p>
<p>Is smaller</p>
+
<p>&egrave; minore</p>
<p>Is not empty</p>
+
<p>&egrave; non vuoto</p>
<p>Is empty</p>
+
<p>&egrave; vuoto</p>
<p>Is like</p>
+
<p>Contiene</p>
<p>Is not like</p>
+
<p>Non contiene</p>
 
</td>
 
</td>
 
<td>
 
<td>
<p><strong>Example:</strong></p>
+
<p><strong>Esempio</strong></p>
<p>Gender: F</p>
+
<p>Sesso: Femminile</p>
<p>ZIP code: 12345</p>
+
<p>CAP: 12345</p>
<p>No. of children: 0</p>
+
<p>Numero bambini: 0</p>
 
<p>BMI: 25</p>
 
<p>BMI: 25</p>
<p>previous PG</p>
+
<p>Gravidanze precedenti</p>
<p>Chrom. anomaly</p>
+
<p>Anomalia cromosomica</p>
<p>Surname: Miller</p>
+
<p>Cognome: Rossi</p>
<p>Surname: Miller</p>
+
<p>Cognome: Rossi</p>
 
</td>
 
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td colspan="2">If the selected field is a <strong>QM field</strong>, you can also <strong>enable </strong>or <strong>disable</strong> certain <strong>QM criterias</strong> (function, value, note, data, start and end) for the  resulting table.</td>
+
<td colspan="2">Se il campo selezionato &egrave; un <strong>Campo&nbsp;QM</strong>, &egrave; possibile scegliere quali informazioni visualizzare nei risultati&nbsp;(Valore, data di inizio e fine).</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
 
</table>
 
</table>
 
<ul>
 
<ul>
<li>You can <strong>add </strong>and <strong>combine different conditions</strong> for any field. Two or more conditions may be linked logically with<strong> AND</strong> or <strong>OR </strong>when pre-filtering.</li>
+
<li>Se per uno stesso campo si sono inserite pi&ugrave; condizione esse possono essere collegate con una <strong>E (AND logica)</strong> &nbsp;o <strong>O&nbsp;(OR logica)</strong>.</li>
<li>If you <strong>uncheck </strong>the box <strong>"and should appear in the results list"</strong>, your query will be filtered but the field itself will not be displayed in the list. This can help you to create arranged lists and statistics more clearly. <strong>Example:</strong> you wish to analyze only the male patients and limit the list to men.</li>
+
<li>Se si deselezionea l'opzione&nbsp;<strong>"e deve apparire nella lista dei risultati"</strong>, la query sar&agrave; filtrata ma il campo stesso non apparir&agrave; nella lista dei risultati.</li>
<li>You can also <strong>decide </strong>if the list of results should be <strong>automatically grouped by certain fields</strong>. To do so, simply check the box <strong>"and the result should be grouped by this field"</strong> when adding a condition. The order of your definition is decisive for the <strong>graphical representation</strong> of the resulting table.</li>
+
<li>I risultati possono inoltre essere <strong>raggruppati automaticamente rispetto un pariticolare campo</strong>. Per far questo sar&agrave; sufficiente selezionare l'opzione&nbsp;<strong>"e i risultati devono essere raggruppati per questo campo"</strong>.</li>
<li>If you select <strong>Query the field value before execution</strong>, you will be asked what value to use before running the query. This window is displayed below and you can change de value by clicking on the corresponding field.</li>
+
<li>Se invece si seleziona <strong>"campo da gestire come parametro",</strong> al momento dell'esecuzione della query verr&agrave; chiesto di inserire il valore del campo in questione. Il valore del parametro andr&agrave; inserito nella finestra sottostante.</li>
 
</ul>
 
</ul>
 
<table style="margin-left: auto; margin-right: auto;" border="0">
 
<table style="margin-left: auto; margin-right: auto;" border="0">
 
<tbody>
 
<tbody>
 
<tr>
 
<tr>
<td><img src="/images/ReportEditorQueryBeforeRunning.png" alt="" width="634" height="230" /></td>
+
<td><img src="/images/Come_creare_query_8_IT.png" alt="" width="640" height="243" /></td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
 
</table>
 
</table>
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
<h2><span id="result_box" class="short_text" lang="en"><span class="hps">Next</span> <span class="hps">possible steps</span></span></h2>
+
<h2>Possibile passi successivi</h2>
<p>Buttons with a blue dotted frame have special functionalities. Click on it to have more information.</p>
+
<p>Pulsanti contornati da una linea tratteggiata blu hanno particolari funzionalit&agrave;. Cliccare per ottenere ulteriori informazioni.</p>
 
<table border="0">
 
<table border="0">
 
<tbody>
 
<tbody>
 
<tr>
 
<tr>
<td style="text-align: center;"><a href="/index.php?title=Result_management"><img style="display: block; margin-left: auto; margin-right: auto; border: 2px dotted blue;" src="/images/ExecuteRE.png" alt="" width="89" height="38" /></a></td>
+
<td style="text-align: center;"><a href="/index.php?title=Gestione_risultati"><img style="display: block; margin-left: auto; margin-right: auto; border: 2px dotted blue;" src="/images/Report_Editor_5_IT.png" alt="" width="63" height="36" /></a></td>
 
<td>
 
<td>
<p><strong>Execute</strong>:</p>
+
<p><strong>Esegui:</strong></p>
As soon as you have selected all needed fields you can launch the query by clicking the <strong>Execute</strong>. The <a href="/index.php?title=Result_management">Results</a> window will open.</td>
+
<p>Una volta aver selezionato tutti i campi di interesse, &egrave; possibile eseguire la query premendo su questo pulsante. La&nbsp;<a href="/index.php?title=Gestione_risultati"><strong>Finestra dei risultati</strong></a>&nbsp;si aprir&agrave;.</p>
 +
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><img style="display: block; margin-left: auto; margin-right: auto;" src="/images/NewRE.png" alt="" width="88" height="36" /></td>
+
<td><img style="display: block; margin-left: auto; margin-right: auto;" src="/images/Report_Editor_6_IT.png" alt="" width="63" height="35" /></td>
 
<td>
 
<td>
<p><strong>New</strong>:</p>
+
<p><strong>Nuovo:</strong></p>
<p>Clears the content of the selection window. A new selection can be made.</p>
+
<p>Tutti i sottogruppi inseriti nella sezione query verranno eliminati. Sar&agrave; possibile iniziare una nuova query.</p>
 
</td>
 
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><a href="/index.php?title=How_to_load_a_query%3F"><img style="display: block; margin-left: auto; margin-right: auto; border: 2px dotted blue;" src="/images/OpenRE.png" alt="" width="92" height="37" /></a></td>
+
<td><a href="/index.php?title=Come_caricare_una_query%3F"><img style="display: block; margin-left: auto; margin-right: auto; border: 2px dotted blue;" src="/images/Report_Editor_7_IT.png" alt="" width="63" height="36" /></a></td>
 
<td>
 
<td>
<p><strong>Open</strong>:</p>
+
<p><strong>Caricare una query:</strong></p>
<p>A previously saved query can be loaded by clicking the <strong><a href="/index.php?title=How_to_load_a_query%3F">Open</a> </strong>button.</p>
+
<p>Una query precedentemente creata e salvata pu&ograve; essere caricata premendo sul tasto&nbsp;<strong>Apri</strong>. La finestra&nbsp;<strong>Query Salvate</strong>&nbsp;si aprir&agrave;; per ulteriori informazioni&nbsp;<a href="/index.php?title=Come_caricare_una_query%3F">cliccare qui.</a></p>
 
</td>
 
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><a href="/index.php?title=How_to_save_a_query%3F"><img style="display: block; margin-left: auto; margin-right: auto; border: 2px dotted blue;" src="/images/SaveRE.png" alt="" width="89" height="83" /></a></td>
+
<td><a href="/index.php?title=Come_salvare_una_query%3F"><img style="display: block; margin-left: auto; margin-right: auto; border: 2px dotted blue;" src="/images/Report_Editor_8_IT.png" alt="" width="111" height="84" /></a></td>
 
<td>
 
<td>
<p><strong>Save</strong>:</p>
+
<p><strong>Salvare una Query:</strong></p>
<p>A query can be saved for future use by clicking <strong>Save</strong>. If the query was created from an existing query it can be saved using<strong> <a href="/index.php?title=How_to_save_a_query%3F">Save as</a></strong>. This way, the user can assign a different name to this new query.</p>
+
<p>Una query pu&ograve; essere salvata per uso futuro cliccando sul punsante&nbsp;<strong>Salva</strong>. Se la query in questione &egrave; stata creata partendo da una query gi&agrave; esistente, &egrave; possibile scegliere l'opzione&nbsp;<strong><a href="/index.php?title=Come_salvare_una_query%3F">Salva come</a></strong>, per associare un nuovo nome alla nuova query.&nbsp;</p>
 
</td>
 
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><img style="display: block; margin-left: auto; margin-right: auto;" src="/images/ResultRE.png" alt="" width="208" height="91" /></td>
+
<td><img style="display: block; margin-left: auto; margin-right: auto;" src="/images/Report_Editor_9_IT.png" alt="" width="148" height="94" /></td>
 
<td>
 
<td>
<p><strong>Result data records</strong>:</p>
+
<p><strong>Record Risultati:</strong></p>
<p>Here you can select the number of displayed results.</p>
+
<p>In questa sezione &egrave; possibile selezionare il numero di risultati da visualizzare.</p>
<p>&nbsp;</p>
+
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 191: Line 188:
 
<tbody>
 
<tbody>
 
<tr>
 
<tr>
<td style="text-align: right;"><a href="/index.php?title=MedITEX_IVF_how_to">Back to How to</a></td>
+
<td style="text-align: right;"><a href="/index.php?title=MedITEX_IVF_come_fare">Torna a Come fare</a></td>
<td style="text-align: right;"><a href="#top">Back to top</a></td>
+
<td style="text-align: right;"><a href="#top">Inizio pagina</a></td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
 
</table>
 
</table>
 
<p><span class="mw-headline"><br /></span></p>
 
<p><span class="mw-headline"><br /></span></p>

Latest revision as of 10:03, 27 April 2016

Per aprire Report editor, cliccare su Reports -> Report editor nella barra dei menù.

<tbody> </tbody>
<img style="display: block; margin-left: auto; margin-right: auto;" src="/images/Report_Editor_1_IT.png" alt="" width="462" height="289" />
<img style="display: block; margin-left: auto; margin-right: auto;" src="/images/plus48.png" alt="" width="48" height="48" /> <a href="/index.php?title=Queries_di_Report_editor">Cliccare qui</a> per ulteriori informazioni su report editor.

 

Report editor si aprirà.

<tbody> </tbody>
Come creare query 1 IT.png

Contents

Selezionare i campi desiderati

Per selezionare i campi al fine di creare una query sarà necessario controllare il contenuto dei sottogruppi.

Facendo doppio-click su un gruppo tutti i sottogruppi disponibili verranno visualizzati.

Facendo un doppio-click su un sotto-gruppo tutti i campi appartenenti a quel sottogruppo saranno visualizzati.

<tbody> </tbody>
Report Editor 3 IT.png

 

In alternativa è possibile ricercare i campi desiderati attraverso il campo di ricerca.

Per esempio, Per creare una query con i dati anagrafici della coppia, uno dei campi desiderati sarà il nome della paziente:

<tbody> </tbody>
<img src="/images/Come_creare_query_2_IT.png" alt="" width="587" height="409" />

 

Sarà sufficiente digitare nome nel campo di ricerca e premere Invio. Nel menù a tendina che comparirà saranno elencati tutti i campi contenente la parola nome con relativi gruppi e sottogruppi. Scegliere il campo desiderato e cliccandoci sopra.

Il gruppo contentente il campo si aprirà.

Una volta trovato il sottogruppo contentente il campo desiderato trascinarlo dalla sezione Gruppi alla sezione delle Query.

<tbody> </tbody>
<img src="/images/Come_creare_query_3_IT.png" alt="" width="700" height="249" />

 

Per selezionare il campo (es: Il Nome) selezionare il quadratino vuoto

<tbody> </tbody>
<img src="/images/Come_creare_query_4_IT.png" alt="" width="700" height="500" />

 

Se nel sottogruppo Paziente non sono presenti tutti i campi necessari per la costruzione della nostra query, sarà necessario collegare al sottogruppo Paziente un altro sottogruppo contenente i campi desiderati, ad esempio l'Anamnesi Donna. Per far questo sarà necessario selezionare il sottogruppo dalla sezione dei gruppi e trascinarlo nella sezione Query come spiegato precedentemente.

Ora i campi dell' Anamnesi Donna potranno essere selezionati. Una volta che tutti i campi necessari dell'anamnesi donna sono stati selezionati un altro sottogruppo può essere collegato sempre tramite trascinamento. Questo processo và ripetuto fino alla selezione di tutti i campi necessari per la creazione della query in questione.

<tbody> </tbody>
<img style="display: block; margin-left: auto; margin-right: auto;" src="/images/Come_creare_query_7_IT.png" alt="" width="609" height="199" />
  • Tenere presente che l' ordine con cui i sottogruppi vengono inseriti nella query  ha un effetto sui risultati ("cascata logica").  Nel nostro esempio nei risultati saranno presenti tutti i pazienti, sia maschi che femmine, ma solamente le femmine che hanno un'anamnesi inserita in MedITEX avranno i campi del secondo sottogruppo riemtpiti. Se avessimo collegato i gruppi in ordine opposto avrei ottenuto la lista di tutte le anamnesi femminili inserite in MedITEX con i relativi campi anagrafici collegati.
  • Se un campo QM è stato creato, ma mai utilizzato non comparirà nella lista dei campi disponibili nei vari sottogruppi.

 

Definire condizioni per campi

In alcuni casi è utile filtrare i risultati del campo selezionato prima di eseguire la query.

Per Esempio, sarebbe utile restringere i dati solamente alle pazienti Donne.

Facendo Doppio-click sul campo desiderato la seguente finestra si aprirà:

<tbody> </tbody>
<img src="/images/Come_creare_query_5_IT.png" alt="" width="396" height="410" />

Premere il pulsante "+" per inserire un nuovo filtro o condizione.

Nel nostro esempio, selezionerò il campo Sesso e restringerò i risultati a Femminile.

In alcuni casi è possibile aggiungere più di una condizione premendo di nuovo il tasto "+" e inserendo l'informazione. Per eliminare una condizione è sufficiente selezionarla e prenere il pulsante "-".

<img src="/images/Come_creare_query_6_IT.png" alt="" width="393" height="555" /> Le condizioni applicabili ai campi sono:

Condizioni:

è uguale

è diverso

è maggiore

è minore

è non vuoto

è vuoto

Contiene

Non contiene

Esempio

Sesso: Femminile

CAP: 12345

Numero bambini: 0

BMI: 25

Gravidanze precedenti

Anomalia cromosomica

Cognome: Rossi

Cognome: Rossi

Se il campo selezionato è un Campo QM, è possibile scegliere quali informazioni visualizzare nei risultati (Valore, data di inizio e fine).
  • Se per uno stesso campo si sono inserite più condizione esse possono essere collegate con una E (AND logica)  o O (OR logica).
  • Se si deselezionea l'opzione "e deve apparire nella lista dei risultati", la query sarà filtrata ma il campo stesso non apparirà nella lista dei risultati.
  • I risultati possono inoltre essere raggruppati automaticamente rispetto un pariticolare campo. Per far questo sarà sufficiente selezionare l'opzione "e i risultati devono essere raggruppati per questo campo".
  • Se invece si seleziona "campo da gestire come parametro", al momento dell'esecuzione della query verrà chiesto di inserire il valore del campo in questione. Il valore del parametro andrà inserito nella finestra sottostante.
<tbody> </tbody>
<img src="/images/Come_creare_query_8_IT.png" alt="" width="640" height="243" />

 

Possibile passi successivi

Pulsanti contornati da una linea tratteggiata blu hanno particolari funzionalità. Cliccare per ottenere ulteriori informazioni.

<tbody> </tbody>
<a href="/index.php?title=Gestione_risultati"><img style="display: block; margin-left: auto; margin-right: auto; border: 2px dotted blue;" src="/images/Report_Editor_5_IT.png" alt="" width="63" height="36" /></a>

Esegui:

Una volta aver selezionato tutti i campi di interesse, è possibile eseguire la query premendo su questo pulsante. La <a href="/index.php?title=Gestione_risultati">Finestra dei risultati</a> si aprirà.

<img style="display: block; margin-left: auto; margin-right: auto;" src="/images/Report_Editor_6_IT.png" alt="" width="63" height="35" />

Nuovo:

Tutti i sottogruppi inseriti nella sezione query verranno eliminati. Sarà possibile iniziare una nuova query.

<a href="/index.php?title=Come_caricare_una_query%3F"><img style="display: block; margin-left: auto; margin-right: auto; border: 2px dotted blue;" src="/images/Report_Editor_7_IT.png" alt="" width="63" height="36" /></a>

Caricare una query:

Una query precedentemente creata e salvata può essere caricata premendo sul tasto Apri. La finestra Query Salvate si aprirà; per ulteriori informazioni <a href="/index.php?title=Come_caricare_una_query%3F">cliccare qui.</a>

<a href="/index.php?title=Come_salvare_una_query%3F"><img style="display: block; margin-left: auto; margin-right: auto; border: 2px dotted blue;" src="/images/Report_Editor_8_IT.png" alt="" width="111" height="84" /></a>

Salvare una Query:

Una query può essere salvata per uso futuro cliccando sul punsante Salva. Se la query in questione è stata creata partendo da una query già esistente, è possibile scegliere l'opzione <a href="/index.php?title=Come_salvare_una_query%3F">Salva come</a>, per associare un nuovo nome alla nuova query. 

<img style="display: block; margin-left: auto; margin-right: auto;" src="/images/Report_Editor_9_IT.png" alt="" width="148" height="94" />

Record Risultati:

In questa sezione è possibile selezionare il numero di risultati da visualizzare.

<tbody> </tbody>
<a href="/index.php?title=MedITEX_IVF_come_fare">Torna a Come fare</a> <a href="#top">Inizio pagina</a>