Developer documentation‎ > ‎HL7 API‎ > ‎Roadmap‎ > ‎MDM Updates‎ > ‎

MDM T02 - Send a document


MDM^T02: Send a document

Status

In development. API spec subject to change.

The update behaviour (matched) will be amended to allow an MDM^T02 to replace a previously sent document.

Overview

In addition to care plans, the MDM^T02 can be used to send correspondence to a patient, for example a discharge summary.

The document type (TXA-2) value will be used to determine what sort of data we have received. 

Relevant Entities

  • Correspondence information will be used to populate [[Document]] entities
Please click through to the Data Model to explore the presentation of these entities in the web interface.

Update Behaviour

Message Entity Matching Criteria Behaviour (Matched) Behaviour (Not Matched)
T02 [[Document]] [[Document.External Data Point ID]] as derived from TXA-12.1 Replacement. The existing document is replaced in its entirety with the values provided in this message. A partial update is not performed. New [[Document]] created.

Definition

The message structure is unchanged from the current live MDM^T02 message structure.

Examples

MSH|^~\&|SendingApp|SendingFacility|HL7API|PKB|20140529180000||MDM^T02|ABC0000000001|P|2.4
PID|||9555555555^^^NHS^NH||Smith^John^Joe^^Mr||19700101|M|||My flat name^1, The Road^London^London^SW1A 1AA^GBR|||||||||||||||||||N|
TXA|1|DS|ED|201508010900|^Foster^John^Harry^^Dr|201508010910|201508010920|201508010930||||MYDOC00001||||mydoc.rtf|AU
OBX|1|ED|||^TEXT^RTF^Base64^BERi0xLjMKJeTjz9IKNSI (more bytes...)||||||
PV1|1|I|

Response

PKB will respond with a standard HL7 acknowledgement.
Comments