Page History
...
1.3 Document History
Version | Date | Responsible | Description |
0.1 | 14.01.2013 | Systematic | Initial version |
0.9 | 27.02.2013 | Systematic | Prepared for testing in the demonstration project |
0.9a | 18.04.2013 | Systematic | Section 2.1.1: homeCommunityId is read from home-attribute. Release candidate 1 |
1.0 | 19.06.2013 | Systematic | Quality assured |
1.1 | 28.11.2014 | Systematic | National Patient Index (NPI) replaced by Document Sharing Service (DDS) |
1.4 Definitions and References
Definition | Description |
DDS | Document Sharing Service |
NSI | National eHealth Authority |
NSP | National Service Platform (within health care) |
SHAK | Hospital Department Classification |
SOR | Health service organization register |
STS | Security Token Service |
Reference | Description |
DGWS 1.0 | Den Gode Webservice 1.0 |
DGWS 1.0.1 | Den Gode Webservice 1.0.1 |
HSUID-header | Healthcare Service User Identification Header (SSE/11734/IFS/0018) |
IHE2 | IHE Current Technical Framework – Revision 8.0, Vol. 2a: Transactions (ITI1-ITI28) http://www.ihe.net/Technical_Framework/upload/IHE_ITI_TF_Rev8-0_Vol2a_FT_2011-08-19.pdf |
IHE3 | IHE Current Technical Framework – Revision 8.0, Vol. 2b: Transactions (ITI29-ITI64) http://www.ihe.net/Technical_Framework/upload/IHE_ITI_TF_Rev8-0_Vol2b_FT_2011-08-19.pdf |
DDS Registry Querying User’s Guide | DDS Registry Querying User’s Guide (SSE/11734/PHB/0037) |
DDS Registry Querying | DDS Registry Querying Interface Description (SSE/11734/IFS/0016) |
DDS Repository Interface Description | DDS Repository Interface Description (SSE/11734/IFS/0017) |
2 Usage of DDS Repository
...
Versions exist for Java and .Net.
Component | Reference |
Seal.Java | |
Seal.NET |
An STS-signed ID card is obtained by use of a company certificate as outlined below:
...
Creation of service and port:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
URL wsdl = new URL(" ... "); // Point to WSDL file |
...
DocumentRepositoryService service = |
...
new DocumentRepositoryService(wsdl, |
...
new QName("urn:ihe:iti:xds-b:2007", |
...
"DocumentRepository_Service")); |
...
DocumentRepositoryPortType port = |
...
service.getDocumentRepositoryPortSoap12(new MTOMFeature()); // Enable MTOM |
Herefter kan metoden på porten kaldes:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
HsuidHeader hsuidHeader = … // Created as described above |
...
RetrieveDocumentSetRequestType request = … // Created as described above |
...
String flowId = XMLUtil.createNonce(); // A unique flow ID that figures in the ID card is created |
...
using SEAL |
...
DGWSHeaderWrapper signedHeaders = getValidDGWSHeaders(flowId); // see above |
...
RetrieveDocumentSetResponseType response = |
...
port.documentRepositoryRetrieveDocumentSet( |
...
request,
signedHeaders.getSecurityHeader(),
...
request, signedHeaders.getSecurityHeader(), new Holder<Header>(signedHeaders.getMedcomHeader()), |
...
hsuidHeader); |
The document(s) can now be output as bytes in response, provided
...
that the call was successful:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
if ("urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success".equals( |
...
response.getRegistryResponse().getStatus()) { |
...
for (RetrieveDocumentSetResponseType.DocumentResponse documentEntry: |
...
response.getDocumentResponse()) |
...
{ if ("text/xml".equals(documentEntry.getMimeType()) { // handle text/xml |
...
byte[] documentBytes = documentEntry.getDocument(); |
...
… // handle the |
...
}
...
bytes } else if (…) { … } // handle other MIME types |
...
}
} } |
3.5 Client Generation from WSDL
...