...
- the medication scheme as a whole, i.e. the kmehrmessage
- the transactions MS, MSE and TSTSe
Read | Create | Update | Delete | |
---|---|---|---|---|
medication scheme | GetTransactionSet | PutTransactionSet | PutTransactionSet | not possible |
transaction MS | As transaction MS in the GetTransactionSetResponse. | The new transaction MS is present in the PutTransactionSetRequest | not possible | not possible |
transaction MSE | As transaction MSE in the GetTransactionSetResponse. | The new transaction MSE is present in the PutTransactionSetRequest. | The updated transaction MSE is present in the PutTransactionSetRequest. | The transaction MSE is absent in the PutTransactionSetRequest. |
transaction TS | As transaction TS in the GetTransactionSetResponse. | The new transaction TS is present in the PutTransactionSetRequest. | The updated transaction TS is present in the PutTransactionSetRequest. | The transaction TS is absent in the PutTransactionSetRequest. |
In the next paragraphs, a "Kmehr element" next table shows which values should be put in the Kmehr parent elements (create/update) or how they should be interpreted and used (read).
...
A transaction MS must be composed.
Kmehr Element | Input value | ||||||||
---|---|---|---|---|---|---|---|---|---|
id | 1 id element should be provided:
For Vitalink, the id with S="vitalinkuri" is optional. However, if given, the SSIN part should match the id with S="ID-PATIENT" of the patient element in the kmehr folder. | ||||||||
cd | S="CD-TRANSACTION" with value "medicationscheme" | ||||||||
date | ? | ||||||||
time | ? | ||||||||
author | ? | ||||||||
iscomplete | true
| ||||||||
isvalidated | true
|
Vitalink Element | Input value | ||
---|---|---|---|
version | The are several ways to retrieve the correct input value:
|
|
Create transaction MSE
A transaction MSE must be composed.
Kmehr Element | Input value | ||||||||
---|---|---|---|---|---|---|---|---|---|
id | 1 id element should be provided:
An id with S="LOCAL" should not be provided. Absence of this id means for Vitalink that this is a new transaction. | ||||||||
cd | S="CD-TRANSACTION" with value "medicationschemeelement" | ||||||||
date | ? | ||||||||
time | ? | ||||||||
author | ? | ||||||||
iscomplete | true
| ||||||||
isvalidated | true
|
Create transaction TS
A transaction TS must be composed.
Kmehr Element | Input value | ||||||||
---|---|---|---|---|---|---|---|---|---|
id | 1 id element should be provided:
An id with S="LOCAL" should not be provided. Absence of this id means for Vitalink that this is a new transaction. | ||||||||
cd | S="CD-TRANSACTION" with value "treatmentsuspension" | ||||||||
date | ? | ||||||||
time | ? | ||||||||
author | ? | ||||||||
iscomplete | true
| ||||||||
isvalidated | true
|
Vitalink Element | Input value |
---|---|
lnk | The link to the corresponding transaction MSE, identified by its cd 'ID-KMEHR'. |
medication | The elements defining the medication information (Medicationscheme Kmehr Structure) should exactly match the medication information elements in the corresponding transaction MSE. |
Update the medication scheme kmehrmessage
...
A transaction MS must be composed.
Kmehr Element | Input value | |||||
---|---|---|---|---|---|---|
id | 2 id elements should be provided:
| |||||
cd | S="CD-TRANSACTION" with value "medicationscheme" | |||||
date | ? | |||||
time | ? | |||||
author | ? | |||||
iscomplete | true VIM-147 - Vragenlijst Kmehr OPEN | |||||
isvalidated | true VIM-147 - Vragenlijst Kmehr OPEN |
Vitalink Element | Input value |
---|---|
version | The version of the transaction MS in the last succesfull GetTransactionSet should be passed. Vitalink will check this version to see if the update is based on the latest transaction MS. |
Update transaction MSE
A transaction MS must be composed.
Kmehr Element | Input value | |||||
---|---|---|---|---|---|---|
id | 2 id elements should be provided:
| |||||
cd | S="CD-TRANSACTION" with value "medicationscheme" | |||||
date | ? | |||||
time | ? | |||||
author | ? | |||||
iscomplete | true VIM-147 - Vragenlijst Kmehr OPEN | |||||
isvalidated | true VIM-147 - Vragenlijst Kmehr OPEN |
Create transaction MSE
Create transaction TS
...
A transaction MS must be composed.
Kmehr Element | Input value | |||||
---|---|---|---|---|---|---|
id | 2 id elements should be provided:
| |||||
cd | S="CD-TRANSACTION" with value "medicationscheme" | |||||
date | ? | |||||
time | ? | |||||
author | ? | |||||
iscomplete | true VIM-147 - Vragenlijst Kmehr OPEN | |||||
isvalidated | true VIM-147 - Vragenlijst Kmehr OPEN |