Passer au contenu principal

Timestamping Cookbook

Écrit par Wim Jans

🔗 Source article (Salesforce): Click here


  • About the Timestamping Module

  • Introduction to the web services interface

  • Required configuration before starting to use the web services

  • General technical information

  • General request and response information

  • Request information

  • Response information

  • JournalEntryService - AddJournalEntry

  • Description

  • Request message

  • Response message

  • JournalEntryService - AddAttachmentJournalEntry

  • Description

  • Request message

  • Response message

  • GenericDocumentService

  • Description

  • Request message

  • Response message

  • Status codes from the Timestamping Module

  • Generic Document

  • Meta data Type

  • Document Type

  • Example

  • JournalEntryService - AddJournalEntry

  • Request message

  • Response message

  • JournalEntryService - AddAttachedJournalEntry

  • Request message

  • Response message

  • GenericDocumentService - AddGenericDocument

  • Request message using base 64

  • Request message using Reference

  • Response message (Success Response)

  • Error messages

  • Invalid Application Token Response message

  • Invalid request (validation exception) Response message

Introduction

About the Timestamping Module

"Within the Belgian hospitals more and more ICT systems are being introduced to support the daily operations. As a consequence the hospitals are migrating towards a paperless environment, where the information is stored only electronically. This makes it more difficult for the supervising authorities to fulfil their duties, as today the paper documents are the most important source of proof of activities.
But migrating to an environment where all information is kept in an ICT environment also introduces new opportunities. One of these opportunities is the possibility to provide an irrefutable proof a certain piece of information existed on a given date by means of a trusted third party time stamp.
That means that at the moment one wants to verify a time stamp, the hospital information system is likely to have evolved, so that reconstructing the journal entry might not be straightforward, especially as –to prove the correctness of the timestamp- the reconstructed journal entry should be identical to the original one up to the bit level. We consider this as too error prone and costly to implement. It would require that with each version change of a clinical system some sort of bit-level compatibility should be assured, checked and maintained over the years. Changing to a totally different clinical system would require complete embalmment of the old system in a resurrectable state in order to be able to regenerate the original statements.
Therefore we will archive not only the time stamps, but also the journal entries that have been time stamped. The set of these journal entries will constitute the journal (logboek, journal de bord) of the hospital. The information to be time stamped will be extracted from the hospital information system and archived independently of the hospital information system. These journal entries will be self contained, so that they can be interpreted without consulting external information sources.
All documents will contain the identification of the doctor involved, the patient involved, the type of journal entry and the time the document was generated."
(extract from the eHealth-platform Timestamping Technical Documentation)
The Timestamping Module is an out-of-the-box software that allows to sign with a timestamp any type of electronic document, using the Timestamping service provided by the eHealth platform.
For each document inserted in the entry queue via a web service described in this document, an ID is generated, and a hashing file is produced and signed via the Timestamping service of the eHealth platform. The document and signed hash are finally saved in an archive database in the hospital.
The SW product also allows to retrieve a document in the archive of the hospital and to verify the validity of its hash and timestamp.
This Module can typically be used in the context of hospital electronic medical prescriptions.
The Timestamping Module includes its own process responsible for the timestamp calculation and registration. This process is inspired by the reference application of the eHealth platform, available in freeware, open source (license Apache 2.0). HealthConnect added the following functionalities:

  • A Web service interface (JournalEntryService) to insert a message or document in KMEHR format in the entry queue.

  • An extended Web service interface (GenericDocumentService) enabling to transmit any other type of document (PDF, TIFF, JPEG, HL7, other XML) with extra metadata on the document to be signed and archived

  • An administration console including a dashboard to follow and manage the Timestamping Module activity (for ex. counters of number of documents processed per day, etc.)

  • An archive documents visualisation Web application easily accessible via the hospital intranet.

Introduction to the web services interface

The Timestamping Module web services interface allows submitting document to the entry queue (Input Buffer) of the Module. These documents are then asynchronously timestamped using the HC timestamping process and stored in the TS Archive.
In the current version, the following web services are available:

  • The JournalEntryService web service: To be used to submit XML documents in KMEHR format (like medical prescriptions). The following operations are available:

  • AddJournalEntry -> to insert a KMEHR doc (encoded in base64) via the soap body

  • AddAttachedJournalEntry -> same but via a soap attachment

  • The GenericDocumentService web service:To be used to submit any other type of document. The following operation is available:

  • AddGenericDocument -> to insert any other type of doc (encoded in base64, or via reference) via the soap body

This document contains the required information to create a client application integrating these web service operations.

Required configuration before starting to use the web services

Before an external client application can invoke a web service operation successfully, the following configuration must occur by the Timestamping Module administrator within your organization:

  • Create an application within the Timestamping Module management function

Using the Timestamping Module administration console (a web application), an administrator is able to define a new application that can connect to the Timestamping Module WS interface. A token is attributed automatically by the Timestamping Module administration application when registering a new application. This application token uniquely identifies a client application and it must be added to each request.

General technical information

Before integrating the TS Module interface, please take into account the following principles and considerations.

  • The TS Module web services provide synchronous communication. After invoking a request, a response is returned immediately.

  • A response message returned by the TS Module can be a normal SOAP message or a SOAP Fault.

A generic SOAP Fault is returned when the request message contains invalid input parameters (WSDL file or SOAP definitions not respected, or server problem).
A normal response message is returned when the TS Module has successfully inserted the document in the Input Buffer queue, or when a specific Timestamping error or a business error has occurred (for ex. when the TS Module detected a security violation or when a general technical exception occurred).
More information about possible error messages is available in chapter 3.

  • For each web service operation, the request and response messages are detailed.

Description of the web service operations

General request and response information

Request information

All web service operations contain a generic block of request parameters (RequestInfoType).

[ IMAGE: worddav7b794904ec789509d6ce8a241ebe499b.png ]


General request parameters are required for each web service operation. They are used to uniquely identify the calling application/end-user and to gather some general information to process the request and response.

Name

Description

Application Token

Security token to uniquely identify the application invoking the request. This is a general token that is attributed automatically by the Timestamping Module administration application when registering a new application. Please contact your Timestamping application administrator to receive the token.
The provided token must correspond to an existing and active application configured within the Timestamping Module administration console.
This is a required parameter.

User Id

Unique identifier of the end-user initiating the request.
This user ID must correspond to a registered and active user configured in the Timestamping Module administration console. Normally, the ID corresponds with the user's SSIN.
This is an optional parameter.

Language

Currently this parameter is not used but added for compatibility reasons
Possible values:

  • NL (Dutch)

  • FR (French)

  • EN (English)
    This is a required parameter.

Client Message Id

ID to uniquely identify the request message. If provided, the value will be returned in the response message.
This is an optional parameter.

Response information

The different web service operations return a generic set of response parameters. They can be used to verify if the operation was executed successfully.

[ IMAGE: worddavaddabe474cc94d4e412e6a1994d2d081.png ]

Name

Description

Code

Status code of the request message. This code indicates if the message was executed successfully or if an exception occurred.
"100" value means success.

Message

Description of the status code.

Message Id

Unique identifier of the request/response message. Assigned by the timestamping module.

Client Message Id

Identifier provided by the client application invoking the request. Only available if a Client Message Id was available in the request.

JournalEntryService - AddJournalEntry

Description

The AddJournalEntry operation allows submitting a document to be timestamped to the entry queue of the TS module. Document is transmitted in the SOAP body.

Request message

Besides the generic request parameters (RequestInfoType, described in section 2.1.1) required for each web service operation exposed by the TS Module, two input parameters are required:

  • the Document itself in base64 encoding.

  • the type of the document


[ IMAGE: worddava46d51ec5897102a4ecb5e87347935e7.png ]

Name

Description

Data

The document byte stream in base64 encoding

JournalType

Value must be "kmehr"

Response message

Nothing in addition to the General response in section 2.1.2

JournalEntryService - AddAttachmentJournalEntry

Description

The AddAttachmentJournalEntry operation allows submitting a document to be timestamped to the entry queue of the TS module. Document is transmitted as a SOAP attachment.

Request message

Besides the generic request parameters (RequestInfoType, described in section 2.1.1) required for each web service operation exposed by the TS Module, two input parameters are required:

  • the Document itself in base64 encoding.

  • the type of the document

[ IMAGE: worddav0c97d9e18f896ccdf21b67587f1ec8e2.png ]

Name

Description

AttachmentId

The document byte stream in base64 encoding

JournalType

Value must be "kmehr"

Response message

Nothing in addition to the General response in section 2.1.2

GenericDocumentService

Description

The AddGenericDocumentRequest operation allows submitting a document to be timestamped to the entry queue of the TS module. Document is transmitted in the soap body as base64 or as a reference.
When a document is timestamped as a reference, make sure the timestamping module can access and download the referenced location.
Documents provided via a reference will not be persisted by the timestamping module. In that case the hosting system of the reference should keep on persisting it (and provide the necessary backups). The metadata will be persisted by the module. This feature is typically used for large (>1 MB) files.
Documents provided as base 64 or via reference (http, ftp) will be stored together with its metadata in the module. For documents bigger then 5MB use the reference strategy.

Request message

[ IMAGE: worddav37cec8e886ae59e86e8b44fdf50ddae9.png ]



The generic request parameters (RequestInfo) are described in section 2.1.1.

Name

Description

GenericTtsDocument

Structure described in section 4.1.

Response message

Nothing in addition to the General response in section 2.1.2

Error messages

As described earlier in this cookbook, each response message contains a generic ResponseInfo structure that provides status information (a code and message). In most scenarios when a SOAP Fault occurs, an identical ResponseInfo structure is available.
If a correct response message is returned by the eHealth platform, the status code of the eHealth platform is returned. If an exception occurred within the timestamping module, a specific timestamping status code is returned.
The tables below provide an overview of some of the error codes.

Status codes from the Timestamping Module

If an exception or error occurred while processing the web service request by the Timestamping application, a SOAP Fault will be returned as response. This SOAP Fault will contain a ResponseInfo object with a detailed status code and message. Examples are available in section 0.

Code

Message / Description

100

"Service successful"
The request was successfully processed.

9001

"Failed to validate against schema" (+ detail info on the error when available)
One or many input parameters are invalid and gave a schema validation exception. Details on the specific errors are provided only when available.

9002

"Invalid binary content provided".
The provided base64 encoded document is invalid.

9003

"Invalid attachment identifier/No attachment"

9004

"Journal type not specified"

9005

"No journal data"

9006

"Invalid reference to document"

9007

"Reference not found"

9100

"Invalid request"

9101

"Invalid userid"
The user ID is unknown or inactive (->Not applicable for the moment)

9102

"Invalid application Token"
The application token is unknown or inactive within the Timestamping Module.

9199

"Invalid parameters provided"

9201

"Security exception while invoking timestamping service"

9299

"A general exception occurred".
Please consult the Timestamping Module administrator to solve the problem.

Generic XML structures

Generic Document

A XML schema has been created that details a "Generic Document" to be time stamped (generic-document-1-0.xsd).
The following figure provides an overview of the XML document that is capable of representing any type of document to be time stamped. It consists of 2 distinct elements:

  • Meta data

  • The document itself (encoded as a binary64 stream) or as a reference


[ IMAGE: worddavcf0dd25c54d7a18d4259328ff66de7b2.png ]

Meta data Type

"MetaData" contains the required Type element and multiple String, Date and/or FullText elements. These elements must be used to register meta-data to the TTS archive database and are useful to search for a specific document time stamped in the past.

Name

Description

Type

Type of the document to be time stamped. The possible values are not restricted, although it is highly recommended to use a pre-defined list.
Example values are detailed in the XSD element "DocumentTypeValues":

  • labrequest

  • labresult

String

[ IMAGE: worddav3d60b94ca0b7a8f09123cda8f518c5e5.png ]


This meta date possible element is used to represent a String value.
It consists of an attribute name and a value.

  • The attribute name can either be from a predefined list ("DefinedAttribute") or free text value ("UndefinedAttribute"). The use of a predefined attribute name is preferred to obtain a certain consistency and coherence.


    Examples: PatientFamilyName, PatientFirstName, PhysicianFirstName, PhysicianFamilyName, PhysicianRizivNumber, PatientId, PatientSsin

  • The value must be a Characters String, encoded in UTF-8

Date

[ IMAGE: worddav7fa54e0785b66eb9c1ffd4192fe2767a.png ]


This meta date possible element is used to represent a date (and time) value.
It consists of an attribute name and a value.

  • The attribute name can either be from a predefined list ("DefinedAttribute") or free text value ("UndefinedAttribute"). The use of a predefined attribute name is preferred to obtain a certain consistency and coherence.


    Examples: PatientBirthDate

  • The value must be of type dateTime. Example: 2001-12-17T00:00:00Z Date formats YYYY-MM-DD and DD/MM/YYYY are also supported

FullText

[ IMAGE: worddav7a1a13fc8e67289937be7130d11343ec.png ]


This meta-data element allows the addition of the complete text of the timestamped document as searchable meta-data in the archive. This may be the entire or partial text.

Document Type

[ IMAGE: worddavcf0dd25c54d7a18d4259328ff66de7b2.png ]

Name

Description

Title

Title of the document that is time stamped.

MimeType

Mime type associated with the Binary Content. Please refer to the official list (example: http://www.iana.org/assignments/media-types/) Examples: application/xml, application/pdf, image/tiff

BinaryContent

Base64 encoded document.

UriReference

A reference to the orginal document that needs to be timestamped. The service offers support for http(s), ftp and network paths.

Example

See examplePDF.xml file for an example with a PDF document.
See exampleTIFF.xml file for an example with a TIFF document.

Example messages

JournalEntryService - AddJournalEntry

Request message

<urn:AddJournalEntryRequest xmlns:urn="urn:be:healthconnect:timestamping:ws:1_0:messages" xmlns:urn1="urn:be:healthconnect:timestamping:ws:1_0:common">
<urn:RequestInfo>
<urn1:ClientMessageId>123456789</urn1:ClientMessageId>
<urn1:ApplicationToken>b84670c1-c22f-4bf3-a067</urn1:ApplicationToken>
<urn1:UserId>79060424674</urn1:UserId>
<urn1:Language>FR</urn1:Language>
</urn:RequestInfo>
<urn:Data>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pg0KPGttZWhybWVzc2FnZSB4bWxucz0iaHR0cDovL3d3dy5oZWFsdGguZmdvdi5iZS90ZWxlbWF0aWNzL2ttZWhyL3NjaGVtYSI+DQoJPGhlYWRlcj4NCgkJPHN0YW5kYXJkPg0KCQk8Y2QgU1Y9IjEuMCIgUz0iQ0QtU1RBTkRBUkQiPjIwMDMwOTA5PC9jZD4NCgkJPC9zdGFuZGFyZD4NCgkJPGlkIFNWPSIxLjAiIFM9IklELUtNRUhSIj43MTAtMzIyMDktMDAwLjEyMjA0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wvaXN2YWxpZGF0ZWQ+DQoJCQk8dGV4dCBMPSJmciI+UHJlc2NyaXB0aW9uIE3DqWRpY2FsZSBFbGVjdHJvbmlxdWU8L3RleHQ+DQoJCQk8dGV4dCBMPSJmciI+VmFsaWTDqSBwYXI6IGRvY3RldXIgQS5EdXBvbnQgKG51bcOpcm8gaW5hbWkgMS03MzYyOS0wMS0wMDEpPC90ZXh0Pg0KCQkJPHRleHQgTD0iZnIiPkRBRkFMR0FOIHwgMSBHciB8IENvbXByaW3DqXMgKDY3ODkwMCk8L3RleHQ+DQoJCQk8dGV4dCBMPSJmciI+UG9zb2xvZ2llOiAxIGNvbXByaW3DqSAyeCBwYXIgam91ciwgbWF0aW4gZXQgc29pcjwvdGV4dD4NCgkJCTx0ZXh0IEw9ImZyIj5BZG1pbmlzdHJhdGlvbjogb3JhbCwgcGVuZGFudCBsZXMgcmVwYXM8L3RleHQ+DQoJCQk8dGV4dCBMPSJmciI+UMOpcmlvZGVzIGQnYWRtaW5pc3RyYXRpb246IDYgam91cnMsIGR1IDIwMTAtMDgtMjEgYXUgMjAxMC0wOC0yNzwvdGV4dD4NCgkJPC90cmFuc2FjdGlvbj4NCgk8L2ZvbGRlcj4NCjwva21laHJtZXNzYWdlPg==</urn:Data>
<urn:JournalType>kmehr</urn:JournalType>
</urn:AddJournalEntryRequest>

Response message

<ns1:AddJournalEntryResponse xmlns="urn:be:healthconnect:timestamping:ws:1_0:messages" xmlns:ns2="urn:be:healthconnect:timestamping:ws:1_0:common">
<ns2:ResponseInfo>
<Code>100</Code>
<Message>Service Successful</Message>
<ClientMessageId>123456789</ClientMessageId>
<MessageId>c9dceef9-00ed-4c72-b868-2473c1409005</MessageId>
</ns2:ResponseInfo>
</ns1: AddJournalEntryResponse>

JournalEntryService - AddAttachedJournalEntry

Request message

<urn:AddAttachedJournalEntryRequest xmlns:urn="urn:be:healthconnect:timestamping:ws:1_0:messages" xmlns:urn1="urn:be:healthconnect:timestamping:ws:1_0:common">
<urn:Request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gYXUgMjAxMC0wOC0yNzwvdGV4dD4NCgkJPC90cmFuc2FjdGlvbj4NCgk8L2ZvbGRlcj4NCjwva21laHJtZXNzYWdlPg==</urn:Data>
<urn:JournalType>kmehr</urn:JournalType>
</urn:AddAttachedJournalEntryRequest>

Response message

<ns1: AddAttachedJournalEntryResponse xmlns="urn:be:healthconnect:timestamping:ws:1_0:messages" xmlns:ns2="urn:be:healthconnect:timestamping:ws:1_0:common">
<ns2:ResponseInfo>
<Code>100</Code>
<Message>Service Successful</Message>
<MessageId>b838620e-1fa5-456b-9698-92a57bd77b5a</MessageId>
</ns2:ResponseInfo>
</ns1: AddAttachedJournalEntryResponse>

GenericDocumentService - AddGenericDocument

Request message using base 64

<urn:AddGenericDocumentRequest xmlns:urn="urn:be:healthconnect:timestamping:ws:1_0:messagesgenericdoc" xmlns:urn1="urn:be:healthconnect:timestamping:ws:1_0:common" xmlns:urn2="urn:be:healthconnect:timestamping:ws:1_0:genericdoc">
<urn:RequestInfo>
<urn1:ApplicationToken>b84670c1-c22f-4bf3-a067</urn1:ApplicationToken>
<urn1:UserId>79060424674</urn1:UserId>
<urn1:Language>FR</urn1:Language>
</urn:RequestInfo>
<urn:GenericTtsDocument>
<urn2:MetaData>
<urn2:Type>labrequest</generic:Type>
<urn2:String>
<urn2:DefinedAttribute>PatientFamilyName</urn2:DefinedAttribute>
<urn2:Value>Guilmot</urn2:Value>
</urn2:String>
<urn2:String>
<urn2:DefinedAttribute>PatientFirstName</urn2:DefinedAttribute>
<urn2:Value>J</urn2:Value>
</urn2:String>
<urn2:Date>
<urn2:DefinedAttribute>PatientBirthDate</urn2:DefinedAttribute>
<urn2:Value>1965-01-26T00:00:00Z</urn2:Value>
</urn2:Date>
<urn2:String>
<urn2:DefinedAttribute>PhysicianFamilyName</urn2:DefinedAttribute>
<urn2:Value>Gacoms</urn2:Value>
</urn2:String>
<urn2:String>
<urn2:DefinedAttribute>PhysicianFirstName</urn2:DefinedAttribute>
<urn2:Value>Jelle</urn2:Value>
</urn2:String>
<urn2:String>
<urn2:DefinedAttribute>PhysicianRizivNumber</urn2:DefinedAttribute>
<urn2:Value>1-73629-01-001</urn2:Value>
</urn2:String>
</urn2:MetaData>
<urn2:Document>
<urn2:Title>TIFF test document Labo request</urn2:Title>
<urn2:MimeType>image/tiff</urn2:MimeType>
<urn2:BinaryContent>SUkqAAgAAAAVAP4ABAABAAAAAAAAAAABAwABAAAAsAkAAAEBAwABAAAAsw0AAAIBAwABAAAAAQAAAAMBAwABAAAABAAAAAYBAwABAAAAAAAAAAoBAwABAAAAAgAAABEBBAABAAAANgEAABIBAwABAAAAAQAAABUBAwABAAAAAQAAABYBAwABAAAAsw0AABcBBAABAAAAEjQAABoBBQABAAAACgEAABsBBQABAAAAEgEAABwBAwABAAAAAQAAACQBBAABAAAAAAAAACUBBAABAAAAAAAAACgBAwABAAAAAgAAACkBAwACAAAAAAABADEBAgAIAAAAGgEAADIBAgAUAAAAIgEAAAAAAAAsAQAAAQAAACwBAAABAAAAUEVFUk5FVAAyMDEwOjA3OjI0IDE3OjA1OjQzAP//////////////f8p6IM1TZuL/////f7LhRAriEY+Y0IhB/////38mNcLtRIJm0IPB1ILx///////////xEZMO/P///////weRAswC58GfB4MHgweDBxsefB7x4DxiAP15xICzEIN4xIM/DwYJ+P////////////////////9BJIKEdBDpgoispAMnBUkOfhDpwJEwDvzxDyId+JMODCJZQfn///////////////////////8/fvB/FiD+k8rjpHIwgv7/////////////////////////g4kUwhUk4oOJlD+IVH58nFTAPxgUfwwmYgXo/////////////////////38QgkkQCeSfK/3/J60TUfwHgZPWJ0nA/////////////////////9O8hjARkJ9UHsSj//8H/Vl6lv7gQaQDz9LP0kzYsKEcZpjhhOGUI5SjrDAzbCiHGUJgQznMEIKJilAOdBCYNShIRljBLAjMGjODghXM/P///////////4P/P/jgPxiCgx+CD/7///////////8fvlX78OHXhuDWIfj+PwPOg/9gBPFgRNBgIoEfTPgFE8aKoMH4wYTfwYQXUP/9fX+33L18///////////7v+/7b7lfvv///////////ct93y+33PLy/UdERETEJBOJb/37/k9o/ic0//JiYmBfp+YmJiWmJiY9olXC4KdePFUY0GwT7w48Vb8g31ifBJe7gf7wX55uCDYw+UFwX74//3/xPjf3z8xfi/fE+Mvf///f/322//v2T/L9n////Wtf//1/5/7f//4/5/eb+/f/mXf/nl///fa+3EuP//tZf+tf//v/1/b/99pe/9lq+9uv/E6bL1n/7T5hWPGFa8YeWD+kvf0gJ07v//9fe//+1oz7W/o///16X3///5fVV/l////+3///vv6//v+/9v7/r/2X9n/9/1svv///y8Nf5f/1//19/9/7f6Q9n/o/4mBer3ff2LaJ6a9/6H9P5R4K/7/j7f//+PEqz/xwfF/4oP//63L//PLx12PKtD/u//v/9+vpve22/19v/671//r699//3///v3z8/8vfui3f+vZ//f99ff3/t//f/i99/PvSS//b0v629P5f/0V09a+vL6Kr19ZtEV1969v/Ib11+T6kh/TlQzIM6cs3DOn/xwmz/7U/TpgF44RZMGG6dxyGbmsfhr6dMLv9yc5K3AvVf/le15dv1F2+Ud//r//f6/ova/t9//XW2t/Xa9d1rb21tt/6khwyuMa17gSJfApiQogrv/yva4vL+vLt/7///+H/v9Dh/5DMLT9w9Db////D/rX3oMOeu0QDG1rD0Nv/0GkwoigwYNIeyYdGBEREREREREREQxCREQwCBHx//8/4v///w8C4T8IFDw47ZpAGsz//////////weTDucRA6yfQTwYDDD5////////////B/9gMBXISUcKkuKDSDdh/cA4N/P06USfPn0e8aZPJx7xphN93rzpRCf6dKLPm0f0///////////////////////////////xgwnj/rMgf/CJFFL5////////////////////////////////////////JOITFUm6/xhBxx///////////////////////////////////////////5Pkk9YnWQX9/////////////6eJgHDjEGJDuZEQpob8/////////////6cdCjaUwwwhQOeKQWDWGAQGgVlhZpghFuhcMcmYGWWFmTEIzBqzxsww8////////8Fglhj0PHoGkSjo/+CfpZ+l4IOH4CEYgl/w/xD8/////////////////8P3EDwEyw/5+yH4//////////////////e9vAz55f/l/////////4MJv4MHgRE0GATGPxj8YMILaDDhdnTfy8vyy98v////////////////73t5WX75X////////////////9JzQ/oXlC8xeh/38Rnv3///////9/RERERERERERETExMTEu8ekGwFwRbEOwTg0Bgf38I/okT1f///////w/2wxcEe0GwBcFf8u8XBPv//////////vll5f9Zf9f/v/////////tf8lesuuX/n7J/v///////////68GfRn0//////////9//y+/vPDH7y///////////7/0//fGPf//////////7f/tdfWl/5f/////////fMK0IvfzyOmEa/Le//BOmE/3/////////qP////3//////////3/9///f////////////6/8nAcb/2////////////////3////////////8f/v////7//////////9/////v////////////xLT//09M/e//T5yo/v///////0+8+v///+1f//////////8Pv/XW/puYf///////////vbe+3lpOP34L/fKVT/////////v97//3/Bv/9h/f//////////t97af//Ht2D9//////////r/v/+29PuHpf7////////9G9L21L/6+/bwuv///////9/fb31VlvfsPR/W3b9////////qZPCNHUkIIb0kDYMacOQwtAPQ3/fMLz1/////////3HCLBgfhiZMPww1DHrCrAKVMH3/MKwwNGE2Yf7////////rN2qj4rd+3yij/v///////yAwdTms1LW1Zb3/vv3/////////69rast7637D1/////////7q2tmDoDf2+Yev/////////oUPD0DBk6GHof9jW/////////4MODUPDEAw9GPT7MEHHBUP/////////R0QEgxAMIhKCiIiICAY5GIT///////8fdEREWPj////////f/////////9OuDWxB+f///////4P/////////////////////////////////////////////////x////////w/6////////////////////////////////////////////////////////4P///////////////////////////39ERERERERERERERMT////////g////oP///wf9//////8/P//Pzjo//8f9P//f/D///////+Dwf///wf9//+DwKD//39w0P///6D////g////oP///4P////PhAY0////BPOEdeoYogAGF0wIpoRIx5TDnAeM/zoEQ7CC4P//EAzBy/9gJjDwr8uyyvp/XZZV/v/6q/wfdF2W9f+vlKCJzkSniuhMjKL/UEmyJRtatiQ9GHRolZdDJb/+q/Svh5b+r/8XrgcTeDT1E/Ul2ZKdqH861f9a+q9VCEv/6//rGbh/MOihpf/QQ3BY+h/0/0FH+P/j0j/eLT2BB2OT/P9v+f9L/5+QKf3//zvkf24o4EHx/5+QCZb9/6X/Q7DRpf////9BBB5mN8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gX/gv//D/mH/P9/Zf/g/733///11///59I9p9I9v+fdJyYAcEpx6TEiRkQnHL8/7/sv+yfSU5kf/r///9PFiyREzcFUQsTQ4TNjMlhTm4WzBUTw1yxTRBmgTkVmAg6OPi///sv10PwQ/BDMAQPwf4Q/P////+ll1WSl2RZZVuX9f83/o3/9fL/8rrr/6D/8B/+ZelVl19llW1d1v9v8G/wn4zHTxxWFXG4NHFYxGEVcRi1RBzW/ydMF4IO9ITpQtCBvvZLfpWz5pK8XMuVdC7/g/8G/wb/T2wihplpCiIlEcFTUK2/dP3Q54pApdf/b/Bv8F9OCAtmYRmCh2BmYiEIJmd5CP4v/y/XcgjWWaj8/2/4N/xrD3kJgofgh+ClIdgXjZe0JcnXTsJry0l4aW3R+IMShLixA/3t3/4/OpaXX46Xcf2Xxr9+raVf//8P+4f9lycST+ondVtK6p/Upfp/6UN/8jj0f/3/H+wf7F+77ERf9pL9kp0oomSv/9J/6FcPLf36g0BgMAP5ian8ian8f3nt7157vau09Crp4w9rXH/p//8Egf8Egf/lZS+99Eu/tFT/tfQ/fuHX///B/sH+tb/u79a7viX9f+l//dc/ODcEDv7Df/j/f3zsFX8s1b8u/c8Vvn79/5/A9p/A9l/y//9/lZa+JP0f9Hrp//+g/6D/0f9vS/+C9F8X9D90ff2DCJst/vd//////y9FQvq/9L8I8f+REPn/////y38SZhL9SZgngWj90vo/6Ov//2/rb+v//9v1L11eWpLXXoJevT54MLfD5r+lv6X//n/9l771pdZb/1v//yfMHgz9hNmDob9IsJe2+W3z821+b/PT/9f//////8a/8f/9C/wCRy3wL3CCsZBOrSUlGGO9db1YUStXOiiYME363/qt/xvShqUNSxuW3rCkb5SuRm1U67pR//+vv37Jjo+Prfjjv/66jP/6/7/1W/8n4dra2npL3199798/GAQCg/7D+mH9vzUMDUPD0MPQS9bS1pYJ9b/1/38Y+mHoV3tDw9AwZMHQw9APQz8MDUMw1D8M/f8RwSBEBIPwEUdERERERERERERERETEn7COOmjE//////8/Bo///////8EEVfn//4//STN9OtGnz5tH9OnTiUe86dOnE4940+cRnejzpk+fRzyiTyf6fzDB5ED//////////////////////////////////8H4/////////////////////////////////4MJPEzZJf////////////////////////////////8P/v/////////////////////////////////BoP////////////////////////////////8PBv3///////////////////////////////9PDXBurQj7YAK/neL/////////H7z0///////////7+v//////////mfB18P//////////YS/9//////////99/P//////////9w/6/////////98piCUG85grJo9BXHhyIj0GEcbk0c21////////////kIcMGYKHDMFDXobg9f//////////vy34luVoCAtesBz1waD//////////xc9I2/kY9HnpJ6eomfkU/Q5CP///////////0uwQ7UED9mSS7DLluD1///////////3r3ey+vyug4G/f/////////ZFeN17pk3/j/////////////h375l0P///////////8f/ySg//EzQz/4////////////Q/9/6P////////////8hQvz/DxHi////////////S5n8J///DPjJ/4NB////////////L+j/X9D///////////+1//r7Xuv////////////l5P3ruzp5XesP+v////////9fW/rXb22pdf3//////////w/J1r/1bbW1pdb//////////39U1G/8xlFRxpPeyaYEG0b//////////wXrNyH4NxE8rAyXCcH///////////8/CIZ+Q/bD0DA0DBmy////////////j4iIiIiIOCIiPvj//////////////////////////////////2DQ/////////z9VYRJo/v//////////////////////g0H///////////j//////////////////////8Gg/////////////////////////////////4//////////////////////////////////////////////////////////////////////////////07SehZiJYhZmYXLz4BxiYWb/////////z9ZmAJOIq5g8MCX5QULhuBlWfD//////////w9/GCrWFmtDxdpibbE2icXa4m2x9v//////////BSKeLKmqILtcJZe8XCqXbMn///////////9Z8RmCCUMg4u+SDYGIX3b9S/Ze9kdERERERERERERERERExJce9u81/vXjL72E///3f/zHX7Klfzr/f+n7f+l/Hhsl/fL/f8klSfr/1pb/SLVb/0v/Ly39tlIsPpa+bFv////Qpd8IIr6t9l9uBBH/v2T/Ccahln7ry6V/6//6fw3px///8f+1tCQJWvp5S4z//lL//U/Q7CDFmRL960v2ZIt9f/jpR/2UusuuWRYurXVpf/6/4vwRh1llFEbZVTU/5d61hGbK2YMH6LyYsLUnSiIiIiIj4/5d7/0+v//h/Tb/6WjEkYQiPn/F6Qq2f+lg6r+PyIiIv7//58qwIPa/08LVhg//v//Z3oYhEZ4RAoiNcKCsMCpgEEFscBZEBaEBBD/////////////P+nAHwxiBwaxA5NAkg58UoBBpACDSAFOKuD/////////XDDZkID4////////IPj/CT9SEE4EZcAZxANrHA/6/z8YRBhB5Ai/DDgPvuD//////////4v8zkyk//////////9D/j+yGNmBYxLwpCCMAJOOgEAgUATxkP8/4qRAIofskG3gkv3/////////3///////////T0E8k8dCRPQ/KR4nchmwOYIITCAQCJR0YPz/kwrhdzApEAmbTT9Cdgny//////////9bsK2C//////////9vsOjZJXri/8E44fSR3RMuJxV2QSAQ6IP/Pxj0QUgiCBv6TWQRbFuSYP//////////fxPOtWudoJtAncyYpHFLR3Tw/////////z8MS3ZLkv1D4A/+YCQFYRRQUiApMJhAj2BQwgjCUCAIFIwgMILACIqkCEZkh4QRCJo18kb9D/n7//////8/6RR7nJlIX6Qzngn///////+HX/8h2A/7iIiIiCMiIiIiIuL2/i/5+5+fZ/SZHeRL/f3/5f9yckweg5gjQUTEIMKYPJZ40T0J2nnRTXIPuu8Md/+jvDzkZfnXIf/639XJk9zJ+yUIXvCCFwzBH7Xg7aj/4WpJu6X/9Ix8LnpGPtPzgxY9PwiPG4baKtm2/kt22Uuwy5bsryXYX9+oqPIo1v2Xl1+Xl39df31DsNSG9b/2vWTf2v+S/X8wBENSw9D/5eV/efn//x8RERH//+P///j/////////7///////76z6PwP6/2dApf+v///////q3W919b/Xv9vq1fXTl6X1/pO3vV/W2ptvaXW1v5bWv8fhmRLLW1rS7ZkQ9/WIf3fqDjqqKg4cvxHRU0eMf2HBUMZrmFluGDI+mHV/x+GDA1Dw9AwZAjWD0NB/3/EEXFERERERPz///8/VUEb2P/////cFFG7/4if9LjruOGYmDEXYhUfcyFWkZgLsSIu9H9KfsEQvGAIXiEYgiH4//qyLMmypDJk+f+PoqfI40VPkcdrepwep8f/f8kO2Ut2yF4l2BJcgv3/L1eXytUlaC11/f//q8XGS95ueT/CfMsG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9dRcZLXq4qMj7D/38KIo8ck8cSL7q5JknfoyRJS/8fIS//eoX+qgqt/2/BQ/BHraFf2aQauv5vsOh5en4QSvgPwZKES/83kUWwl+yv/Vf/2/Cub78S7o18itJ1/9hWLLX/t+1YP/S/1kjf/kvHdZaktb/k07x/7+R48v+6//w/1/a+iVp6f/2//8w9P/6f36eYf7/+P8R/P//f2nJl6T/3/et/7N0///f1cnba/1/6Sei/+Fq6db+tyVb//8bhtq6LdnQpRvakiT9f6OijiPHT3pvlFH//w3BGoas/w1Z///BEAxtCNb/sGDo/z/iiIiIiIiI+P///9f/IP3/v/Qf/////////38cR/yfWwNQYTMFqJj///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9x/P+nrgmDAnMBZ2ESzI9EnEhninjgLGBwgZMAg8MkmARTmEQcOAkwiMCEweCYRBwweOBcmSKuYBwEh1ul//DhW//wEPg//FdZf0kSiHiSqqwvEPF0WSGrrioQ8SSdYcjnTHj9/0w4Y7DiDFG/paw4AyadM4ylDMGE/8zIC4K9i+EzXL/0+8NeDJ/hkv5hLwj+v0v/Jf+X9P///Zf0/1Q3///r/9fkpb+v/XzvDfS36G/5f+ktrSL/3SS9KS5NJLv7QkuaQoSUuS9EvS66X/X/ql/3/p7f96+5ek/z90W/r/h/5vS//////Q/wl66CjpJekl+6gEY3mCMXpJsu8/wYCVYMw+wTiUZJ9gyJKqr5deWr/+X1rf9f9dL/3rC/p/qZYESdLSfy1d0tLMEEm6JEG1JM3qZwe99K+fHZQxniEurW//GeMZpn2GYAfpZwZ/adj/+vHDfun/+F966f9hx/9/6aXS9f+XXtL7fy59/+t/3X7p699+6Zd+l5b+d+ntv2SX9P9LYsKStCQt/YsJSy8t9ZL0krSYsCR93d6o1//tl96o/35p//u3/x+W/m9p6f/1X3p/vaX3f+m/DWn72ob0v/2Qvv7jIW0Y9OO3/2/US0tGJQzXfwIBoxKI1pL0VlQCUaMSiG4lEHPphBEEQpa0ZEiyry19SbJ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vS29L+t/z0M+mEIhmDoUVFGGfXx/8YjIiIiIiLesixYD0NLv4ngPyxYMARDb+h/6yMiIiIiIiKOaUrvLW1oo1phKP7///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////5NQAVNlOAivn//+fAhur//9c+v///3/CsTSDuRIFJr3/D8GQIfj/R1iw/P+Tpugp+uL/y5Zgl/3/8nr//y3Zjf8v/D/f2zw/3+D///D8P8/g/z/Twn/f22uwf9rl5P3/761Jfu/DW3J1jCkf+T4qChj1v2tM1ywrP+wHoZgCIb+iIiIiP//zwYezP7/j////////////////////5/VLCZsLrGODXMe6CywoRohDHNeX22p9fAQ/F+9vO4h+L/a0mdgRphLIr0z8K+trQ9fIPh/qJfX20v2f5HxtvT/5f+lW1v/pf4f2pa8/sf/ob1aX/8/bpTX19L//4f/29NIB71CcT/73U9Ofz/8h/6/y8ad2sGZg/9Gfi/3OvtKSAT0/8l+9//v/ard/v/1+yvd7H/39569vb/1+yvd6/7/2/9vQ/5fHb28wSP+XbE5WwmLaG5WwGILRLLPMAMP0a/8/DP3/l+x/ezDo/4+IiIiIiIiI//////////////////////////////////////////////////////////////////////84/v//fwISEgxu6iifcMPre30mzI3cxFOWJt7hQrQK0W8YgsLQHYZExsPQZ8FciBE5CUQ8aYGI9yFY8JC1Q2t/WVhweejyq+iz6Cl6WhZuWS8JLrkEG3HEQ+vy+lG4LtkvaPk/iCv042eK/4cI8f9P/p/t/IL+f93af/WdvL+2tvRbbbX1GxtHfROCNxE8rG/Itoah07oWWFACdETEET/Ndv+WfkO/Ud8aBApDH//g////H/z///9B/08bCOD4//+nGQjMeeYSD/x/8O/7Gdhnwmldq/9h/4OI9/6/v+Pv73/7//fbf///9v8E4v//7f9v/8/A/9O6FlhQAvS3///9//eX/tv//37971//jdf/D+knLKZHHfS9/h/0ERH///////8g8P9jFsw6yf+I/2mDORL9n9apI51IjyVGM5rX/////39evIJ4gdn9x////////yOYRRLI/yz9//////8HE4lg0g3+Gcj//////xERERER//////////////////////////////////////////////////8ACIA=</urn2:BinaryContent>
</urn2:Document>
</urn:AddGenericDocumentRequest>

Request message using Reference

<urn:AddGenericDocumentRequest xmlns:urn="urn:be:healthconnect:timestamping:ws:1_0:messagesgenericdoc" xmlns:urn1="urn:be:healthconnect:timestamping:ws:1_0:common" xmlns:urn2="urn:be:healthconnect:timestamping:ws:1_0:genericdoc">
<urn:RequestInfo>
<urn1:ApplicationToken>b84670c1-c22f-4bf3-a067</urn1:ApplicationToken>
<urn1:UserId>79060424674</urn1:UserId>
<urn1:Language>FR</urn1:Language>
</urn:RequestInfo>
<urn:GenericTtsDocument>
<urn2:MetaData>
<urn2:Type>labrequest</generic:Type>
<urn2:String>
<urn2:DefinedAttribute>PatientFamilyName</urn2:DefinedAttribute>
<urn2:Value>Guilmot</urn2:Value>
</urn2:String>
<urn2:String>
<urn2:DefinedAttribute>PatientFirstName</urn2:DefinedAttribute>
<urn2:Value>J</urn2:Value>
</urn2:String>
<urn2:Date>
<urn2:DefinedAttribute>PatientBirthDate</urn2:DefinedAttribute>
<urn2:Value>1965-01-26T00:00:00Z</urn2:Value>
</urn2:Date>
<urn2:String>
<urn2:DefinedAttribute>PhysicianFamilyName</urn2:DefinedAttribute>
<urn2:Value>Gacoms</urn2:Value>
</urn2:String>
<urn2:String>
<urn2:DefinedAttribute>PhysicianFirstName</urn2:DefinedAttribute>
<urn2:Value>Jelle</urn2:Value>
</urn2:String>
<urn2:String>
<urn2:DefinedAttribute>PhysicianRizivNumber</urn2:DefinedAttribute>
<urn2:Value>1-73629-01-001</urn2:Value>
</urn2:String>
</urn2:MetaData>
<urn2:Document>
<urn2:Title>TIFF test document Labo request</urn2:Title>
<urn2:MimeType>image/tiff</urn2:MimeType>
<urn2:UriReference>https://servername/somefile.pdf</urn2:UriReference>
</urn2:Document>
</urn:AddGenericDocumentRequest>

Response message (Success Response)

<ns1:AddGenericDocumentResponse xmlns="urn:be:healthconnect:timestamping:ws:1_0:messagesgenericdoc" xmlns:ns2="urn:be:healthconnect:timestamping:ws:1_0:common">
<ns2:ResponseInfo>
<Code>100</Code>
<Message>Service Successful</Message>
<MessageId>3a68a72c-8cc8-4888-b779-7fc2c10a4caf</MessageId>
</ns2:ResponseInfo>
</ns1:AddGenericDocumentResponse>

Error messages

Invalid Application Token Response message

<ns1:AddGenericDocumentResponse xmlns="urn:be:healthconnect:timestamping:ws:1_0:messagesgenericdoc" xmlns:ns2="urn:be:healthconnect:timestamping:ws:1_0:common">
<ns2:ResponseInfo>
<Code>9102</Code>
<Message>Invalid application Token</Message>
<MessageId>2dd89401-2531-4fc8-a7b8-161dc3091d24</MessageId>
<ClientMessageId>123456789</ClientMessageId>
</ns2:ResponseInfo>
</ns1:AddGenericDocumentResponse>

Invalid request (validation exception) Response message

<ns1:AddJournalEntryResponse xmlns="urn:be:healthconnect:timestamping:ws:1_0:messages" xmlns:ns2="urn:be:healthconnect:timestamping:ws:1_0:common">
<ns2:ResponseInfo>
<Code>9001</Code>
<Message>Failed to validate against schema </Message>
<MessageId>a6b3a8c9-2381-4648-8737-7e28954169bd</MessageId>
</ns2:ResponseInfo>
</ns1: AddJournalEntryResponse>

Avez-vous trouvé la réponse à votre question ?