PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
document_consumer.h File Reference

IHE XDS.b Document Consumer Actor (ITI-43 Retrieve Document Set). More...

#include <kcenon/common/patterns/result.h>
#include <kcenon/pacs/ihe/xds/document_source.h>
#include <kcenon/pacs/ihe/xds/errors.h>
#include <kcenon/pacs/ihe/xds/http_options.h>
#include <kcenon/pacs/ihe/xds/submission_set.h>
#include <memory>
#include <string>
Include dependency graph for document_consumer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::pacs::ihe::xds::document_consumer
 ITI-43 Document Consumer actor. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::pacs
 
namespace  kcenon::pacs::security
 
namespace  kcenon::pacs::ihe
 
namespace  kcenon::pacs::ihe::xds
 

Detailed Description

IHE XDS.b Document Consumer Actor (ITI-43 Retrieve Document Set).

The Document Consumer fetches a single document by (documentUniqueId, repositoryUniqueId) pair from an IHE XDS.b Document Repository. Transport is SOAP 1.2 + MTOM over HTTPS. The outbound RetrieveDocumentSetRequest carries no attachments; the inbound RetrieveDocumentSetResponse is a multipart/related MTOM body whose root part is the signed SOAP envelope and whose attachment part is the document payload referenced by an xop:Include element.

Scope of this header (Issue #1129):

  • Document Consumer actor only, ITI-43 Retrieve transaction.
  • Registry Query (#1130) and ATNA wiring (#1131) are siblings and are intentionally not exposed here.

Interoperability caveat: the Consumer verifies response signatures using the same project-local canonicalization URI "urn:kcenon:xds:c14n:pugixml-format-raw-v1" that the Source emits. It is NOT interoperable with a third-party exc-c14n signer until the follow-up full-c14n issue lands. Against a real IHE Gazelle / Apache CXF / .NET WIF repository the verifier will reject otherwise-valid responses at the Algorithm check. See common/wss_signer.cpp for the canonicalization policy rationale.

See also
IHE ITI TF-2b ยง3.43
Issue #1129

Definition in file document_consumer.h.