Generic XML Results such as Patient Count may be dragged from the Previous Query view. The namespace for the schema that defines the XML content for the Generic XML Results is http://www.i2b2.org/xsd/cell/crc/psm/1.1/
The plugin_drag_drop XML message for a Patient Count XML Result is as follows:
<span style="color: #0000ff"><?</span><span style="color: #a31515">xml</span> <span style="color: #ff0000">version</span><span style="color: #0000ff">=</span>"<span style="color: #0000ff">1.0</span>" <span style="color: #ff0000">encoding</span><span style="color: #0000ff">=</span>"<span style="color: #0000ff">UTF-8</span>" <span style="color: #ff0000">standalone</span><span style="color: #0000ff">=</span>"<span style="color: #0000ff">yes</span>"<span style="color: #0000ff">?></span>
<span style="color: #0000ff"><</span><span style="color: #a31515">plugin_drag_drop</span> <span style="color: #ff0000">xmlns:ns4</span><span style="color: #0000ff">=</span>"<span style="color: #0000ff"><a href="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" class="external-link" rel="nofollow">http://www.i2b2.org/xsd/cell/crc/psm/1.1/</a></span>" <span style="color: #ff0000">xmlns:ns7</span><span style="color: #0000ff">=</span>"<span style="color: #0000ff"><a href="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" class="external-link" rel="nofollow">http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/</a></span>" <span style="color: #ff0000">xmlns:ns3</span><span style="color: #0000ff">=</span>"<span style="color: #0000ff"><a href="http://www.i2b2.org/xsd/cell/crc/pdo/1.1/" class="external-link" rel="nofollow">http://www.i2b2.org/xsd/cell/crc/pdo/1.1/</a></span>" <span style="color: #ff0000">xmlns:ns5</span><span style="color: #0000ff">=</span>"<span style="color: #0000ff"><a href="http://www.i2b2.org/xsd/hive/plugin/" class="external-link" rel="nofollow">http://www.i2b2.org/xsd/hive/plugin/</a></span>" <span style="color: #ff0000">xmlns:ns2</span><span style="color: #0000ff">=</span>"<span style="color: #0000ff"><a href="http://www.i2b2.org/xsd/hive/pdo/1.1/" class="external-link" rel="nofollow">http://www.i2b2.org/xsd/hive/pdo/1.1/</a></span>" <span style="color: #ff0000">xmlns:ns6</span><span style="color: #0000ff">=</span>"<span style="color: #0000ff"><a href="http://www.i2b2.org/xsd/hive/msg/1.1/" class="external-link" rel="nofollow">http://www.i2b2.org/xsd/hive/msg/1.1/</a></span>"<span style="color: #0000ff">></span>
<span style="color: #0000ff"><</span><span style="color: #a31515">query_result_instance</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"><</span><span style="color: #a31515">result_instance_id</span><span style="color: #0000ff">></span>803<span style="color: #0000ff"></</span><span style="color: #a31515">result_instance_id</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"><</span><span style="color: #a31515">query_instance_id</span><span style="color: #0000ff">></span>Chemistry@02:22:19 [09-19-2008 ] [demo]<span style="color: #0000ff"></</span><span style="color: #a31515">query_instance_id</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"><</span><span style="color: #a31515">query_result_type</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"><</span><span style="color: #a31515">result_type_id</span><span style="color: #0000ff">></span>4<span style="color: #0000ff"></</span><span style="color: #a31515">result_type_id</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"><</span><span style="color: #a31515">name</span><span style="color: #0000ff">></span>PATIENT_COUNT_XML<span style="color: #0000ff"></</span><span style="color: #a31515">name</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"><</span><span style="color: #a31515">description</span><span style="color: #0000ff">></span>Number of patients<span style="color: #0000ff"></</span><span style="color: #a31515">description</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"></</span><span style="color: #a31515">query_result_type</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"><</span><span style="color: #a31515">set_size</span><span style="color: #0000ff">></span>130<span style="color: #0000ff"></</span><span style="color: #a31515">set_size</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"><</span><span style="color: #a31515">start_date</span><span style="color: #0000ff">></span>2008-09-19T14:22:21.000-04:00<span style="color: #0000ff"></</span><span style="color: #a31515">start_date</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"><</span><span style="color: #a31515">end_date</span><span style="color: #0000ff">></span>2008-09-19T14:22:22.000-04:00<span style="color: #0000ff"></</span><span style="color: #a31515">end_date</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"><</span><span style="color: #a31515">query_status_type</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"><</span><span style="color: #a31515">status_type_id</span><span style="color: #0000ff">></span>3<span style="color: #0000ff"></</span><span style="color: #a31515">status_type_id</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"><</span><span style="color: #a31515">name</span><span style="color: #0000ff">></span>FINISHED<span style="color: #0000ff"></</span><span style="color: #a31515">name</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"><</span><span style="color: #a31515">description</span><span style="color: #0000ff">></span>FINISHED<span style="color: #0000ff"></</span><span style="color: #a31515">description</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"></</span><span style="color: #a31515">query_status_type</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"></</span><span style="color: #a31515">query_result_instance</span><span style="color: #0000ff">></span>
<span style="color: #0000ff"></</span><span style="color: #a31515">plugin_drag_drop</span><span style="color: #0000ff">></span>