Versions Compared

Key

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

...

The web service getTransactionList needs to be called in order to retrieve the id for the transaction MS.

A succesfull response will getTransactionListResponse will contain an <id S="LOCAL" SL="vitalinkuri"> whose value is needed as input for the next step in the reading of the medication scheme:

...

Code Block
languagexml
titleExample
linenumberstrue
<transaction>
	<id S="ID-KMEHR" SV="1.0">1</id>
	<cd S="CD-TRANSACTION" SV="1.4">medicationscheme</cd>
	<date>2018-02-09</date>
	<time>10:21:13.603+01:00</time>
	<author>
		<hcparty>
			<id S="ID-HCPARTY" SV="1.0">18334780</id>
			<id S="INSS" SV="1.0">82051234978</id>
			<cd S="CD-HCPARTY" SV="1.1">persphysician</cd>
			<firstname>Hannes</firstname>
			<familyname>De Clercq</familyname>
		</hcparty>
	</author>
	<iscomplete>true</iscomplete>
	<isvalidated>true</isvalidated>
	<version>41</version>
</transaction>

A list of URI’s will be returned with the response message. In this list you’ll find all the transaction in the set defining the complete medication scheme. So this list contains the unchanged, added and modified MSE/TS transactions, and not the deleted MSE/TS transactions.

Here an example of a putTransactionSetResponse indicating succesfull writing:

Code Block
languagexml
titleExample
linenumberstrue
<...

Delete a medication scheme

...