Folder

Each kmehrmessage must contain at least one folder. A folder corresponds to a patient. It may contain several transactions concerning the patient.

A folder is composed of the following elements.

confidentiality

To restrict the access to the content of the folder to some healthcare parties.

Optional

id

Identifies the folder within the message. The ID-KMEHR identifying system requires using the sequential position of the folder within the message. In addition to this, local folder identifiers may be used.

Mandatory

patient

Defines the patient that is the subject of the folder.

Mandatory

transaction

Transactions that compose the folder.

Mandatory

text

Comments about the folder.

Optional

lnk

To establish link(s) with the folder.

Optional

XML example

The following folder element is the second folder element of the message. This second folder is ‘a new version’ of the first folder.

<folder>
   <id SV="1.0" S="ID-KMEHR">2</id>
   <patient> … </patient>
   <transaction>
      ….
   </transaction>
   <lnk TYPE="isanewversionof" URL="//folder[position()=1]"></lnk>
</folder>