Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Table of Contents

General

The Vitalink Gateway vault will validate the incoming Kmehrmessage.

The end users endusers' software-application should prevent a failing validation as much as possible, by composing the Kmehrmessage correctly.

If however for some reason a validation fails at runtime, the application should try to present its the user with a proper and clear error message. This way, the end user can perhaps solve the problem or at least pass this information to the helpdesk of the vendor.

...

  • Kmehr XSD validation
  • Additional business validation

Kmehr XSD validation

The medication scheme Kmehrmessage must satisfy version “20161201-kmehr” of the XSD definition, see External Links#kmehrmessage-xschema.

Info
titleTo be revised

Along with the XSD scheme validation the kmehr message will also be subjected to a general structure validation. This structure validation will on the one hand produce errors and on the other hand warnings. In the event that errors occur during the validation, the action will be suspended and the error reported. In the event that there are only warnings, the request will be dealt with. The final response will however be enhanced with the warnings, to construct a correct request.

...

A complete business validation set of rules can be found in the Medicationscheme cookbook under chapter 'xxx - Additional validation'.


Treatment suspension examples

Scheme below shows the limited possibilities that may occur. Registering a treatment suspension at a time there is no treatment is not recommended. The software should enforce that the previous is not possible. 

Updated usecases: 

Image Added