RetrieveDocumentSet

The RetrieveDocumentSetRequest method, as the name suggests is used to retrieve a specific message from your ReferralNet messaging inbox. The requested message identifier would have been obtained from the results of a previously successful ListDocumentSets invocation.

<urn:RetrieveDocumentSetRequest>urn:3999oucn</urn:RetrieveDocumentSetRequest>
 
<ns6:RetrieveDocumentSet xmlns:ns6="urn:global-health:referralnet">
   <ns3:RegistryResponse status="Success" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"/>
   <ns5:ProvideAndRegisterDocumentSetRequest xmlns:ns5="urn:ihe:iti:xds-b:2007">
      <ns4:SubmitObjectsRequest id="e097c071-6fa5-40fd-af1f-0d41143d3fbe" xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0">
         <ns3:RequestSlotList xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0">
            <ns1:Slot name="urn:refnet:recipient" xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
               <ns1:ValueList>
                  <ns1:Value>urn:refnet:timc</ns1:Value>
               </ns1:ValueList>
            </ns1:Slot>
            <ns1:Slot name="urn:refnet:timestamp" xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
               <ns1:ValueList>
                  <ns1:Value>2009-02-02T12:53:36.230+09:00</ns1:Value>
               </ns1:ValueList>
            </ns1:Slot>
            <ns1:Slot name="urn:refnet:source" xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
               <ns1:ValueList>
                  <ns1:Value>urn:refnet:timc</ns1:Value>
               </ns1:ValueList>
            </ns1:Slot>
            <ns1:Slot name="urn:refnet:source_lastname" xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
               <ns1:ValueList>
                  <ns1:Value>Clarke</ns1:Value>
               </ns1:ValueList>
            </ns1:Slot>
            <ns1:Slot name="urn:refnet:source_firstname" xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
               <ns1:ValueList>
                  <ns1:Value>Tim</ns1:Value>
               </ns1:ValueList>
            </ns1:Slot>
            <ns1:Slot name="urn:refnet:source_name" xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
               <ns1:ValueList>
                  <ns1:Value>Mr Tim Clarke</ns1:Value>
               </ns1:ValueList>
            </ns1:Slot>
            <ns1:Slot name="urn:refnet:source_email" xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
               <ns1:ValueList>
                  <ns1:Value>tim.clarke@global-health.com</ns1:Value>
               </ns1:ValueList>
            </ns1:Slot>
            <ns1:Slot name="urn:refnet:source_organisation" xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
               <ns1:ValueList>
                  <ns1:Value>Global Health Limited</ns1:Value>
               </ns1:ValueList>
            </ns1:Slot>
            <ns1:Slot name="urn:refnet:source_title" xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
               <ns1:ValueList>
                  <ns1:Value>Mr</ns1:Value>
               </ns1:ValueList>
            </ns1:Slot>
            <ns1:Slot name="urn:refnet:source_network" xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
               <ns1:ValueList>
                  <ns1:Value>ReferralNet</ns1:Value>
               </ns1:ValueList>
            </ns1:Slot>
            </ns3:RequestSlotList>
         <ns1:RegistryObjectList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
         <ns1:Identifiable id="SubmissionSet01" objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:RegistryPackage" xsi:type="ns1:RegistryPackageType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ns1:Classification classificationNode="urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd" classifiedObject="SubmissionSet" nodeRepresentation="urn:refnet:secure-message" xsi:type="ns1:ClassificationType"/>
         </ns1:Identifiable>
         <!-- Metadata describing the actual document payload, if isOpaque is set to "true", the document payload is encrypted, default is envelopedData / signedData. -->
         <ns1:Identifiable id="Document01" isOpaque="true" mimeType="text/plain" xsi:type="ns1:ExtrinsicObjectType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ns1:Slot name="Filename">
               <ns1:ValueList>
                  <ns1:Value>Referral Notes</ns1:Value>
               </ns1:ValueList>
            </ns1:Slot>
            <ns1:Name>
               <ns1:LocalizedString value="sample name"/>
            </ns1:Name>
         </ns1:Identifiable>
         <ns1:Identifiable associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" id="ID_12928619_1" objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association" sourceObject="SubmissionSet01" targetObject="Document01" xsi:type="ns1:AssociationType1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
         <!-- Metadata describing the actual document payload, if isOpaque is set to "true", the document payload is encrypted, default is envelopedData / signedData. -->
         <ns1:Identifiable id="Document02" isOpaque="true" mimeType="text/plain" xsi:type="ns1:ExtrinsicObjectType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ns1:Slot name="Filename">
               <ns1:ValueList>
                  <ns1:Value>xray.jpg</ns1:Value>
               </ns1:ValueList>
            </ns1:Slot>
            <ns1:Classification classifiedObject="Document02" nodeRepresentation="urn:refnet:patient" xsi:type="ns1:ClassificationType"/>
         </ns1:Identifiable>
         <ns1:Identifiable associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" id="ID_12928619_3" objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association" sourceObject="SubmissionSet01" targetObject="Document02" xsi:type="ns1:AssociationType1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
       </ns1:RegistryObjectList>
    </ns4:SubmitObjectsRequest>
    <!-- Actual document payloads, encoded as base64Binary, referenced by id attribute back to ExtrinsicObject -->
    <ns5:Document id="Document01">aGVsbG8gd29ybGQ=</ns5:Document>
    <ns5:Document id="Document02">aGVsbG8gYWdhaW4=</ns5:Document>
   </ns5:ProvideAndRegisterDocumentSetRequest>
</ns6:RetrieveDocumentSet>
 
dev/retrieve_document_set.txt · Last modified: 2009/02/03 14:34 by timc