| Tutorial on Kmehr |
|
|
Dear Dr Jean-Pierre Rochet,
Your patient Jean Dubois came on our emergency unit on 01/10/2001.
He presented a serious infection of the left hand caused by a tropical insect bite. I have performed a Tevax injection 0,5ml IM and prescribed Augmentin 3*500mg daily for 5 days. Sincerely yours, Dr Alain Juvenois |
| Example XML |
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<patient> <id S="SIS">32031011931</id> <firstname>Jean</firstname> <familyname>Dubois</familyname> </patient> |
| Example XML | Example XSchema |
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<patient xmlns="http://www.health.fgov.be/telematics/kmehr/schema" xmlns:PATIENT="http://www.health.fgov.be/telematics/kmehr/PATIENT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.health.fgov.be/telematics/kmehr ..\xsd\patient.xsd"> <id S="SIS">32031011931</id> <firstname>Jean</firstname> <familyname>Dubois</familyname> </patient> |
<xsd:schema targetNamespace="http://www.health.fgov.be/telematics/kmehr" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:PATIENT="http://www.health.fgov.be/telematics/kmehr/PATIENT" xmlns="http://www.health.fgov.be/telematics/kmehr/schema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:element name="patient"> <xsd:complexType> <xsd:sequence> <xsd:element ref="id"/> <xsd:element ref="firstname"/> <xsd:element ref="familyname"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="firstname" type="xsd:string"/> <xsd:element name="familyname" type="xsd:string"/> <xsd:element name="id" type="ID"/> <xsd:complexType name="ID"> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute name="S" type="IDvalues" use="required"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <xsd:simpleType name="IDvalues"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="SIS"/> <xsd:enumeration value="IDENTITY"/> </xsd:restriction> </xsd:simpleType> </xsd:schema> |
| Example XML |
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<kmehrmessage ... link to XSchema ... > <header> </header> <folder> <patient> ... identification of the patient ... </patient> <transaction> <item> ... type of encounter ... </item> <item> ... date of encounter ... </item> <heading> <item> ... diagnosis ... </item> </heading> <heading> <item> ... drug delivery ... </item> <item> ... drug prescription ... </item> </heading> </transaction> </folder> </kmehrmessage> |
| element to identify | name of the identifying system | rule to apply |
| header | ID-KMEHR | The <id> must contain a value that identifies uniquely the message within the emitting organisation. We recommend to concatenate the id of the first sender healthcare party of the message followed by a dot and a local unique identifier (see later). |
| folder | ID-KMEHR | <id S="ID-KMEHR"> must contain the sequential number of the <folder> within the current message starting from 1 |
| transaction | ID-KMEHR | <id S="ID-KMEHR"> must contain the sequential number of the <transaction> within the parent folder starting from 1 |
| heading, item | ID-KMEHR | <id S="ID-KMEHR"> must contain a shared sequential number of the <heading> or <item> within the parent transaction or heading starting from 1. |
| Example XML |
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<kmehrmessage ... link to XSchema ... > <header> <id S="ID-KMEHR" SV="1.0">71971801.1234</id> </header> <folder> <id S="ID-KMEHR" SV="1.0">1</id> <patient> ... identification of the patient ... </patient> <transaction> <id S="ID-KMEHR" SV="1.0">1</id> <id S="LOCAL" SL="MyADTSystem" SV="19">6754312</id> <item> <id S="ID-KMEHR" SV="1.0">1</id> ... type of encounter ... </item> <item> <id S="ID-KMEHR" SV="1.0">2</id> ... date of encounter ... </item> <heading> <id S="ID-KMEHR" SV="1.0">3</id> <item> <id S="ID-KMEHR" SV="1.0">1</id> ... diagnosis ... </item> </heading> <heading> <id S="ID-KMEHR" SV="1.0">4</id> <item> <id S="ID-KMEHR" SV="1.0">1</id> ... drug delivery ... </item> <item> <id S="ID-KMEHR" SV="1.0">2</id> ... drug prescription ... </item> </heading> </transaction> </folder> </kmehrmessage> |
| element | reference table | code | meaning |
| transaction | CD-TRANSACTION |
contact
admission discharge ... |
contact report
admission notification discharge notification ...please refer to the recommendation 4 for the full list |
| heading | CD-HEADING |
...
assessment treatment ... |
...
assessment treatment ... |
| item | CD-ITEM |
...
encounterdatetime encountertype healthissue medication ... |
...
date of encounter type of encounter diagnosis drug delivery or prescription ... |
| Example XML |
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<message ... link to XSchema ... > <header> <id S="ID-KMEHR" SV="4.0">71071801.1234</id> </header> <folder> <id S="ID-KMEHR" SV="1.0">1</id> <patient> ... identification of the patient ... </patient> <transaction> <id S="ID-KMEHR" SV="1.0">1</id> <cd S="CD-TRANSACTION" SV="1.0">contact</cd> <item> <id S="ID-KMEHR" SV="1.0">1</id> <cd S="CD-ITEM" SV="1.0">encountertype</cd> ... value of the type of encounter ... </item> <item> <id S="ID-KMEHR" SV="1.0">2</id> <cd S="CD-ITEM" SV="1.0">encounterdatetime</cd> ... value of the date of encounter ... </item> <heading> <id S="ID-KMEHR" SV="1.0">3</id> <cd S="CD-HEADING" SV="1.0">assessment</cd> <item> <id S="ID-KMEHR" SV="1.0">1</id> <cd S="CD-ITEM" SV="1.0">healthissue</cd> ... value of diagnosis ... </item> </heading> <heading> <id S="ID-KMEHR" SV="1.0">4</id> <cd S="CD-HEADING" SV="1.0">treatment</cd> <item> <id S="ID-KMEHR" SV="1.0">1</id> <cd S="CD-ITEM" SV="1.0">medication</cd> ... value of drug delivery ... </item> <item> <id S="ID-KMEHR" SV="1.0">2</id> <cd S="CD-ITEM" SV="1.0">medication</cd> ... value of drug prescription ... </item> </heading> </transaction> </folder> </kmehrmessage> |
| element | name of the identifying system | rule to apply | ||
| hcparty | ID-HCPARTY | RIZIV:INAMI number of the organisation or the healthcare professional | ||
| hcparty | CD-HCPARTY | This combines healthcare party types including official medical specialties |
...
hospital deptlaboratory physician nurse deptcardiology deptdermatology deptpharmacy ... |
...
Hospital Laboratory Physician Nurse Cardiology Dermatology Pharmacy ... |
| Example XML |
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<kmehrmessage ... link to XSchema ... > <header> <id S="ID-KMEHR" SV="4.0">71071801.1234</id> <sender> <hcparty> <id S="ID-HCPARTY" SV="1.0">71071801</id> <cd S="CD-HCPARTY" SV="1.0">hospital</cd> <name>CHU de Charleroi</name> </hcparty> <hcparty> <id S="ID-HCPARTY" SV="1.0">1.58585.58.580</id> <cd S="CD-HCPARTY" SV="1.0">physician</cd> <firstname>Alain</firstname> <familyname>Juvenois</familyname> </hcparty> </sender> <recipient> <hcparty> <id S="ID-HCPARTY" SV="1.0">1.64646.46.004</id> <cd S="CD-HCPARTY" SV="1.0">physician</cd> <firstname>Jean-Pierre</firstname> <familyname>Rochet</familyname> </hcparty> </recipient> </header> <folder> <id S="ID-KMEHR" SV="1.0">1</id> <patient> ... identification of the patient ... </patient> <transaction> <id S="ID-KMEHR" SV="1.0">1</id> <cd S="CD-TRANSACTION" SV="1.0">contact</cd> <author> <hcparty> <id S="ID-HCPARTY" SV="1.0">1.58585.58.580</id> <cd S="CD-HCPARTY" SV="1.0">physician</cd> <firstname>Alain</firstname> <familyname>Juvenois</familyname> </hcparty> </author> <item> <id S="ID-KMEHR" SV="1.0">1</id> <cd S="CD-ITEM" SV="1.0">encountertype</cd> ... value of the type of encounter ... </item> <item> <id S="ID-KMEHR" SV="1.0">2</id> <cd S="CD-ITEM" SV="1.0">encounterdatetime</cd> ... value of the date of encounter ... </item> <heading> <id S="ID-KMEHR" SV="1.0">3</id> <cd S="CD-HEADING" SV="1.0">assessment</cd> <item> <id S="ID-KMEHR" SV="1.0">1</id> <cd S="CD-ITEM" SV="1.0">healthissue</cd> ... value of diagnosis ... </item> </heading> <heading> <id S="ID-KMEHR" SV="1.0">4</id> <cd S="CD-HEADING" SV="1.0">treatment</cd> <item> <id S="ID-KMEHR" SV="1.0">1</id> <cd S="CD-ITEM" SV="1.0">medication</cd> ... value of drug delivery ... </item> <item> <id S="ID-KMEHR" SV="1.0">2</id> <cd S="CD-ITEM" SV="1.0">medication</cd> ... value of drug prescription ... </item> </heading> </transaction> </folder> </kmehrmessage> |
| Example XML |
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<kmehrmessage ... link to XSchema ... > <header> <standard> <cd S="CD-STANDARD" SV="1.0">20021205</cd> </standard> <id S="ID-KMEHR" SV="4.0">71071801.1234</id> <date>2001-10-02</date> <time>06:03</time> <sender> <hcparty> <id S="ID-HCPARTY" SV="1.0">71071801</id> <cd S="CD-HCPARTY" SV="1.0">hospital</cd> <name>CHU de Charleroi</name> </hcparty> <hcparty> <id S="ID-HCPARTY" SV="1.0">1.58585.58.580</id> <cd S="CD-HCPARTY" SV="1.0">physician</cd> <firstname>Alain</firstname> <familyname>Juvenois</familyname> </hcparty> </sender> <recipient> <hcparty> <id S="ID-HCPARTY" SV="1.0">1.64646.46.004</id> <cd S="CD-HCPARTY" SV="1.0">physician</cd> <firstname>Jean-Pierre</firstname> <familyname>Rochet</familyname> </hcparty> </recipient> <acknowledgment> <cd S="CD-ACKNOWLEDGMENT" SV="1.0">onerror</cd> </acknowledgment> </header> <folder> <id S="ID-KMEHR" SV="1.0">1</id> <patient> <id S="ID-PATIENT" SV="1.0">32031011931</id> <firstname>Jean</firstname> <familyname>Dubois</familyname> <birthdate> <date>1932-03-10</date> </birthdate> <sex> <cd S="CD-SEX" SV="1.0">male</cd> </sex> <address> <cd S="CD-ADDRESS" SV="1.0">home</cd> <country> <cd S="CD-COUNTRY" SV="1.0">be</cd> </country> <zip>6044</zip> <city>ROUX</city> <street>Rue du coucou</street> <housenumber>6</housenumber> </address> </patient> <transaction> <id S="ID-KMEHR" SV="1.0">1</id> <cd S="CD-TRANSACTION" SV="1.0">contact</cd> <date>2001-10-01</date> <time>15:25</time> <author> <hcparty> <id S="ID-HCPARTY" SV="1.0">1.58585.58.580</id> <cd S="CD-HCPARTY" SV="1.0">physician</cd> <firstname>Alain</firstname> <familyname>Juvenois</familyname> </hcparty> </author> <item> <id S="ID-KMEHR" SV="1.0">1</id> <cd S="CD-ITEM" SV="1.0">encountertype</cd> <content>... value of the type of encounter ...</content> </item> <item> <id S="ID-KMEHR" SV="1.0">2</id> <cd S="CD-ITEM" SV="1.0">encounterdatetime</cd> <content>... value of the date of encounter ...</content> </item> <heading> <id S="ID-KMEHR" SV="1.0">3</id> <cd S="CD-HEADING" SV="1.0">assessment</cd> <item> <id S="ID-KMEHR" SV="1.0">1</id> <cd S="CD-ITEM" SV="1.0">healthissue</cd> <content>... value of diagnosis ...</content> </item> </heading> <heading> <id S="ID-KMEHR" SV="1.0">4</id> <cd S="CD-HEADING" SV="1.0">treatment</cd> <item> <id S="ID-KMEHR" SV="1.0">1</id> <cd S="CD-ITEM" SV="1.0">medication</cd> <content>... value of drug delivery ...</content> </item> <item> <id S="ID-KMEHR" SV="1.0">2</id> <cd S="CD-ITEM" SV="1.0">medication</cd> <content>... value of drug prescription ...</content> </item> </heading> </transaction> </folder> </kmehrmessage> |
| Example XML |
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<kmehrmessage ... link to XSchema ... > <header> <standard> <cd S="CD-STANDARD" SV="1.0">20021205</cd> </standard> <id S="ID-KMEHR" SV="4.0">71071801.1234</id> <date>2001-10-02</date> <time>06:03</time> <sender> <hcparty> <id S="ID-HCPARTY" SV="1.0">71071801</id> <cd S="CD-HCPARTY" SV="1.0">hospital</cd> <name>CHU de Charleroi</name> </hcparty> <hcparty> <id S="ID-HCPARTY" SV="1.0">1.58585.58.580</id> <cd S="CD-HCPARTY" SV="1.0">physician</cd> <firstname>Alain</firstname> <familyname>Juvenois</familyname> </hcparty> </sender> <recipient> <hcparty> <id S="ID-HCPARTY" SV="1.0">1.64646.46.004</id> <cd S="CD-HCPARTY" SV="1.0">physician</cd> <firstname>Jean-Pierre</firstname> <familyname>Rochet</familyname> </hcparty> </recipient> <acknowledgment> <cd S="CD-ACKNOWLEDGMENT" SV="1.0">onerror</cd> </acknowledgment> </header> <folder> <id S="ID-KMEHR" SV="1.0">1</id> <patient> <id S="ID-PATIENT" SV="1.0">32031011931</id> <firstname>Jean</firstname> <familyname>Dubois</familyname> <birthdate> <date>1932-03-10</date> </birthdate> <sex> <cd S="CD-SEX" SV="1.0">male</cd> </sex> <address> <cd S="CD-ADDRESS" SV="1.0">home</cd> <country> <cd S="CD-COUNTRY" SV="1.0">be</cd> </country> <zip>6044</zip> <city>ROUX</city> <street>Rue du coucou</street> <housenumber>6</housenumber> </address> </patient> <transaction> <id S="ID-KMEHR" SV="1.0">1</id> <cd S="CD-TRANSACTION" SV="1.0">contact</cd> <date>2001-10-01</date> <time>15:25</time> <author> <hcparty> <id S="ID-HCPARTY" SV="1.0">1.58585.58.580</id> <cd S="CD-HCPARTY" SV="1.0">physician</cd> <firstname>Alain</firstname> <familyname>Juvenois</familyname> </hcparty> </author> <item> <id S="ID-KMEHR" SV="1.0">1</id> <cd S="CD-ITEM" SV="1.0">encountertype</cd> <content> <cd S="LOCAL" SL="MyADTSYstem" SV="3.4" DN="Consultation en urgence" L="fr">EM</cd> </content> </item> <item> <id S="ID-KMEHR" SV="1.0">2</id> <cd S="CD-ITEM" SV="1.0">encounterdatetime</cd> <content> <date>2001-10-01</date> </content> </item> <heading> <id S="ID-KMEHR" SV="1.0">3</id> <cd S="CD-HEADING" SV="1.0">assessment</cd> <item> <cd S="CD-ITEM" SV="1.0">healthissue</cd> <id S="ID-KMEHR" SV="1.0">1</id> <content> <text L="en">infection due to tropical insect bite</text> </content> <severity> <cd S="CD-SEVERITY" SV="1.0">veryabnormal</cd> </severity> <site> <text L="en">left hand</text> </site> </item> </heading> <heading> <id S="ID-KMEHR" SV="1.0">4</id> <cd S="CD-HEADING" SV="1.0">treatment</cd> <item> <id S="ID-KMEHR" SV="1.0">1</id> <cd S="CD-ITEM" SV="1.0">medication</cd> <content> <medication> <cd S="CD-DRUG-CNK" SV="1999">0135418</cd> <tradename>Tevax amp 0,5ml</tradename> <presentation> <cd S="CD-DRUG-PRESENTATION" SV="V1.0">solution</cd> </presentation> <strength> <decimal>0,5</decimal> <unit> <cd S="CD-UNIT" SV="1.0">ml</cd> </unit> </strength> <route> <cd S="CD-DRUG-ROUTE" SV="V1.0">intramuscular</cd> </route> </medication> </content> <lifecycle> <cd S="CD-LIFECYCLE" SV="1.0">administrated</cd> </lifecycle> <quantity> <decimal>1</decimal> </quantity> </item> <item> <id S="ID-KMEHR" SV="1.0">2</id> <cd S="CD-ITEM" SV="1.0">medication</cd> <content> <text L="en">prescription of Augmentin 500mg 3x1caps/day during 5 days</text> </content> </item> </heading> </transaction> </folder> </kmehrmessage> |