Server (Cells) Messaging Home
Space shortcuts
Space Tools
Skip to end of metadata
Go to start of metadata

The export_child message is sent to export as xml the content of a node in a tree. This message requires the user to specify the id for the node.

Exporting Child in the Tree

The export_child message is used to export the request xml or analysis xml from the tree nodes in the Workplace view. In both of these cases the table / index (root to search are known.
To export an item, the sequence of events is as follows:

  1. The client sends a message with one of the following types:

Request type = QM for Query Master or QR for Analysis Breakdown

  1. The WORK server performs the following steps:
    1. Queries the CRC cell requesting either the Query Master or the Analysis Breakdown.


  1. The client receives the request XML received from the CRC.



export_child Request Message

The export_child message implies that the user is passing a key / index for a parent and wants the XML returned.
<message_body>
<export_child node="667737" type="QM" />
</message_body>

export_child Response Message


Response Message:
<ns5:response xmlns:ns2="http://www.i2b2.org/xsd/hive/pdo/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/pdo/1.1/" xmlns:tns="http://axis2.crc.i2b2.harvard.edu" xmlns:ns9="http://www.i2b2.org/xsd/cell/pm/1.1/" xmlns:ns5="http://www.i2b2.org/xsd/hive/msg/1.1/" xmlns:ns6="http://www.i2b2.org/xsd/hive/msg/result/1.1/" xmlns:ns7="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns10="http://www.i2b2.org/xsd/cell/ont/1.1/" xmlns:ns8="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<message_header>
<i2b2_version_compatible>1.1</i2b2_version_compatible>
<hl7_version_compatible>2.4</hl7_version_compatible>
<sending_application>
<application_name>CRC Cell</application_name>
<application_version>1.6</application_version>
</sending_application>
<sending_facility>
<facility_name>i2b2 Hive</facility_name>
</sending_facility>
<receiving_application>
<application_name>Workplace Cell</application_name>
<application_version>1.6</application_version>
</receiving_application>
<receiving_facility>
<facility_name>i2b2 Hive</facility_name>
</receiving_facility>
<message_control_id>
<instance_num>1</instance_num>
</message_control_id>
<project_id>i2b2demodata</project_id>
</message_header>
<response_header>
<info>Log information</info>
<result_status>
<status type="DONE">DONE</status>
<polling_url interval_ms="100" />
</result_status>
</response_header>
<message_body>
<ns4:response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns4:master_responseType">
<status>
<condition type="DONE">DONE</condition>
</status>
<query_master>
<query_master_id>667737</query_master_id>
<name>Princip-Severit@16:46:40</name>
<user_id>demo</user_id>
<request_xml>
<ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/">
<query_name>Princip-Severit@16:46:40</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>0</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
....
</panel>
</ns3:query_definition>
</request_xml>
</query_master>
</ns4:response>
</message_body>
</ns5:response>

<message_body>
<folders>
<folder>
<name>CONCEPTS</name>
<index>\\asthma\2</index>
<parentIndex>1</parentIndex>
<visualAttributes>FA</visualAttributes>
<tooltip>FOLDER:Concepts</tooltip>
<groupId>Demo</groupId>
<shareId/>
<statusCd/>
<userId>lcp</userId>
<workXml/>
<workXmlSchema/>
<workXmlI2B2Type/>
</folder>
<folder>
<name>Patient Sets</name>
<index>\\asthma\8</index>
<parentIndex>1</parentIndex>
<visualAttributes>FA</visualAttributes>
<tooltip>FOLDER:Patient Sets</tooltip>
<groupId>Demo</groupId>
<shareId/>
<statusCd/>
<userId>lcp</userId>
<workXml/>
<workXmlSchema/>
<workXmlI2B2Type/>
</folder>
</folders>
</message_body>