Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Overview

In some cases you will need to transform a list of CDA documents into vMR in order to be able to consume the OpenCDS service.  Here, we describe how to take advantage of the open-source CDA Redaction Web service developed by the SHARPS DS2 project.  We have packaged the CDA Redaction Web service along with other SHARP applications into the cdatovmr docker container.  In order to describe its functionality, we make use of three components: cdatovmr container, opencds container and soapui as Web service client.  The following figure provides an overview of the interaction between these components.

    

Create opencds docker container

Please check the wiki page OpenCDS container for more details about how to build the opencds docker image. 

sudo docker run -d -p 8080:8080 -p 8443:8443 -p 2222:22 --name opencds opencds/opencds:ubuntu

Verify that opencds service is available by opening a browser on the URL http://localhost:8080/opencds-decision-support-service/evaluate?wsdl 

Create cdatovmr docker container

Please check the wiki page cda2vmr container for details about how to build the image 

sudo docker run -p 8081:8080 -p 2223:22 -p 4848:4848 -p 8181:8181 -p 9009:9009 --name cdatovmr -i -t opencds/cdatovmr

Check that the following applications are available:

For this demonstration we will only use the Predicate reducer Web service http://localhost:8081/CdaService/Evaluate?wsdl 

CDA document

The following CDA document is used in CDA Redaction Web service call

SOAP request

The following figure shows the SOAP request.  The XML element payload contains the base64 version of the CDA document

 

vMR document

 

SOAP response

 

 

Conclusion 

 


 

 

  • No labels