United Nations Directories
for Electronic Data Interchange for
Administration, Commerce and Transport


Message Type : MEDPRE Version : D Release : 15B Contr. Agency: UN Revision : 2 Date : 2016-01-11 SOURCE: TBG10 Healthcare CONTENTS Medical prescription message 0. INTRODUCTION 1. SCOPE 1.1 Functional definition 1.2 Field of application 1.3 Principles 2. REFERENCES 3. TERMS AND DEFINITIONS 3.1 Standard terms and definitions 3.2 Message terms and definitions 4. MESSAGE DEFINITION 4.1 Segment clarification 4.2 Segment index (alphabetical sequence by tag) 4.3 Message structure 4.3.1 Segment table --------------------------------------------------------------------------- For general information on UN standard message types see UN Trade Data Interchange Directory, UNTDID, Part 4, Section 2.3, UN/ECE UNSM General Introduction --------------------------------------------------------------------------- 0. INTRODUCTION This specification provides the definition of the Medical prescription message (MEDPRE) to be used in Electronic Data Interchange (EDI) between trading partners involved in administration, commerce and transport. 1. SCOPE 1.1 Functional definition The MEDPRE message is sent from a prescriber (issuer) of prescriptions (healthcare professionals, i.e. physician, dentist, or veterinarian) to a dispensing agent (i.e. pharmacy) in order to allow the dispenser to deliver dispensed medicines(s) for the treatment of a subject of care (patient, patient group, animal or animal group). The MEDPRE message may also be sent via a relaying agent for storage until it is requested by a dispenser. Copies of the message may also be sent to parties entitled to receive a copy. The MEDPRE message can also be used as a request for a prescription from a dispensing agent to a prescriber. 1.2 Field of application The Medical prescription message may be used for both national and international applications. It is based on universal practice related to administration, commerce and transport, and is not dependent on the type of business or industry. 1.3 Principles A Medical prescription is an order to a dispenser to prepare prescribed medicines for a patient or animal and either to send them to a specific address or to await collection at the pharmacy. The following principles apply: - A Medical prescription message is issued to one subject of care: one patient, a group of patients, an animal, a group of animals, or for use by the issuer himself. - A Medical prescription message contains one prescription set which contains one or more prescription items, each of these for one medicinal product and/or appliance. - The prescribed medicinal product(s) can be identified by registered name, industry code, or a generic drug name. - The prescription may also be used for non-prescription medicinal products and/or appliances and other material from the pharmacy according to national regulations and local rules. - A prescription may contain extemporaneously dispensed medicines identified by a recipe. - The individual prescription item may contain information concerning repeat dispensing. - The individual prescription item as well as a complete prescription set may contain information concerning payment guarantor and payment details. - The dispensed medicine(s) can be delivered to the party at the pharmacy or alternatively sent to a specific address. All prescription items in a prescription set have the same delivery information. 2. REFERENCES See UNTDID, Part 4, Chapter 2.3 UN/ECE UNSM - General Introduction, Section 1. 3. TERMS AND DEFINITIONS 3.1 Standard terms and definitions See UNTDID, Part 4, Chapter 2.3 UN/ECE UNSM - General Introduction, Section 2. 3.2 Message terms and definitions The word "prescription" is used for the prescribing of one single prescribed medicine. The word "prescription set" is used for one or more prescriptions for prescribed medicines generated at the same time. 4. MESSAGE DEFINITION 4.1 Segment clarification This section should be read in conjunction with the segment table which indicates mandatory, conditional and repeating requirements. 00010 UNH, Message header A service segment starting and uniquely identifying a message. The message type code for the Medical prescription message is MEDPRE. Note: Medical prescription messages conforming to this document must contain the following data in segment UNH, composite S009: Data element 0065 MEDPRE 0052 D 0054 15B 0051 UN 00020 BGM, Beginning of message To indicate the type and function of a message and to transmit the identification of the message. 00030 DTM, Date/time/period To specify date and/or time relating to the message, such as the date and time the message is generated. 00040 FTX, Free text A segment with free text information, in coded or clear form, to provide information related to the message. 00050 Segment group 1: SEQ-PNA-IDE-SPR-QUA-EMP-ADR-COM-RFF-SG2 To represent information about involved healthcare parties. 00060 SEQ, Sequence details To allocate a unique reference number to an individual party allowing each party to be referenced from other locations within the message. 00070 PNA, Party identification To specify information necessary to establish the identity of a healthcare party. One occurrence of the segment is used to specify the identity details at one level. If both organisation, department and/or physician are to be specified then a separate occurrence of this segment has to be used for each of them. 00080 IDE, Identity To specify alternative identification numbers of a healthcare party. 00090 SPR, Organisation classification details To specify the medical speciality and type of a healthcare organisation. 00100 QUA, Qualification To specify the qualification of a healthcare professional. 00110 EMP, Employment details A segment to specify the type, medical speciality and the position or military rank of a healthcare professional. 00120 ADR, Address To specify an address of a healthcare party. 00130 COM, Communication contact To specify a communication number of a party. 00140 RFF, Reference A segment to specify a link to a higher level healthcare organisation which the actual healthcare organisation or healthcare professional is a part of. This segment is only used if multiple occurrences of this segment group is needed to express the information of a healthcare party. 00150 Segment group 2: DOC-COM To specify a document or message to be returned to the actual party as a response to this message. 00160 DOC, Document/message details To specify the type of the requested document or message. 00170 COM, Communication contact To identify the requested communication method. 00180 Segment group 3: ATT-PNA-PDI-IDE-DTM-NAT-AGR-CCI-STS-FTX-LAN-CAV- SG4-SG5-SG6-SG7 A group of segments to describe the subject of care. 00190 ATT, Attribute To specify the type of subject of care such as a person, group of persons, an animal or a group of animals. 00200 PNA, Party identification To specify the name and official ID of the person or the identification of a group of persons, animal or animal group. 00210 PDI, Person demographic information To specify the gender of the person or animal. 00220 IDE, Identity To specify an alternative identification numbers for the subject of care. 00230 DTM, Date/time/period To specify a date and/or time related to the subject of care such as date and time of birth or age. 00240 NAT, Nationality To specify the nationality of the person. 00250 AGR, Agreement identification To specify the basis of entitlement to health services and any confidentiality constraint that applies to the handling of information about the subject of care. 00260 CCI, Characteristic/class id To specify the breed and species of an animal. 00270 STS, Status To specify the authenticity of the person's identity by the prescriber, such as person known by prescriber, person unknown, etc. 00280 FTX, Free text A segment with free text information, in coded or clear form, to provide information relating to the subject of care, such as a confidentiality constraint concerning a person or age of a group of animals. 00290 LAN, Language To specify the language of the person. 00300 CAV, Characteristic value To specify the person's ability in the language. 00310 Segment group 4: HAN-FTX-DTM A group of segments to specify any precaution advice concerning the subject of care. 00320 HAN, Handling instructions To specify a precaution as a code. 00330 FTX, Free text A segment with free text information, in coded or clear form, to specify a precaution. 0034