Troubleshooting guide

TD 92735EN
15 May 2012 / Ver. G
Installation and Operation Manual
Unite Connectivity Manager
227
Appendix I: XML Message Handling in Event Handler
The appendix describes how to define segment from XML messages. Unite CM includes a
protocol template that can be used as an example for XML messages received by event
handler from external systems.
XML messages are written as:
<tag>
value
</tag>
I.1 Example XML message
The following example XML message is used to explain the XML protocol template delivered
with Unite CM:
<Message>
<Type>PSPA</Type>
<PSPA>
<Patient>
<Id>1234567890</Id>
<Name>
<Prefix>Miss</Prefix>
<Given>Pippi</Given>
<Family>Langkous</Family>
</Name>
<Location>
<Ward>
<Name>First-aid</Name>
</Ward>
<Room>
<Name>-R1</Name>
</Room>
<Bed>
<Name>-S4</Name>
</Bed>
</Location>
</Patient>
</PSPA>
</Message>
I.1.1 Define XML Segment Data
The translation table is defined as: The source text must be an incrementing number
indicating an index to each element that needs to be extracted from the XML message. The
destination text defines which tag values are extracted from the XML document.
Source text = incrementing number starting at 1
Destination text = <ELEMENT_NAME>!<Xpath expression>
Where:
ELEMENT_NAME= Name of the Event element that is sent to the Action handler
!= a mandatory delimiter that is needed by the event handler configuration