United Nations Directories for Electronic Data Interchange for Administration, Commerce and Transport UN/EDIFACT |
Message Type : MEDREQ Version : D Release : 11A Contr. Agency: UN Revision : 2 Date : 2011-06-29 SOURCE: TBG10 Healthcare CONTENTS Medical service request 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 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 service request message (MEDREQ) to be used in Electronic Data Interchange (EDI) between trading partners involved in administration, commerce and transport. 1. SCOPE 1.1 Functional definition A Medical Service Request message is sent from a service requester to the service provider to order investigations, to modify a previous order or ordered investigation or to cancel a previous order. 1.2 Field of application The Medical service request 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 The message fulfills the requirements of the European pre-standard concerning messages for exchange of laboratory information within clinical chemistry, clinical biochemistry, toxicology, clinical immunology, immunohaematology, haematology and clinical microbiology. The message may, however, also be used for other purposes as long as the user requirements are meet. The CEN prENV New Laboratory Service Order message and the CEN prENV Laboratory Service Order Cancellation message may be considered as special cases of the CEN prENV Laboratory Service Order Modification message. The Laboratory Service Order Modification message may contain a mixture of new, change, cancel and other service types for the order itself and for the various requested investigations whereas the New Laboratory Service Order message only contains the new service type for the order itself and the various requested investigations and the Laboratory Service Order Cancellation message only contains the cancel service type for a complete order. The overall structure of the message is: - One message may include one or more service orders. - The service order is connected to one service provider, one service requester and optionally one or more parties to receive copies of the order and/or subsequent result message(s). - Every service order is related to one main subject of investigation (patient, animal or material), but may also include information about several related subjects of investigation. - Every service order may request services concerning one or more samples (from the same subject of investigation) or the subject of investigation itself. - Every sample may have one collection site. - A requested investigation may be connected to one or more samples or to the subject of investigation itself. With the exception of information in FTX segments, all information should primarily be expressed as codes. 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. 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. 0010 UNH, Message header A service segment starting and uniquely identifying a message. The message type code for the Medical service request message is MEDREQ. Note: Medical service request messages conforming to this document must contain the following data in segment UNH, composite S009: Data element 0065 MEDREQ 0052 D 0054 11A 0051 UN 0020 BGM, Beginning of message A segment for unique identification of the message and specification of its function. 0030 DTM, Date/time/period A segment identifying the date and/or time of message generation and/or other dates and/or times concerning the whole message. 0040 FTX, Free text A segment giving free text information, in coded or clear form, for specifying information concerning the whole message. 0050 Segment group 1: PNA-ADR-COM-FTX-RFF-SEQ-LAN-SPR-QUA-EMP A group of segments giving information about involved healthcare parties like the service requester, the service provider, parties to get copies of the request and/or the results, related service providers, origin of clinical information, supervising healthcare party, healthcare administrative information, sample collector, sample collector location and/or other parties related to the message. 0060 PNA, Party identification A segment for specifying the identification, name and address of involved healthcare organisations or professionals. 0070 ADR, Address A segment for specifying the address of the actual healthcare party. 0080 COM, Communication contact A segment giving communication numbers for the actual healthcare party. 0090 FTX, Free text A segment with free text information, in coded or clear form, for specifying unstructured telecommunication numbers of the actual healthcare party including electronic mail address. 0100 RFF, Reference A segment for specifying alternative identification numbers of the actual healthcare party assigned by the involved healthcare parties. This segment also keeps a reference to another party if the current party is related to another party such as department in a hospital, a physician in a department, etc. 0110 SEQ, Sequence details A segment for allocating a sequence number to the individual healthcare party allowing each healthcare party to be referenced from within the message. 0120 LAN, Language A segment for specifying the language used by the actual healthcare party. 0130 SPR, Organisation classification details A segment for specifying the type and medical speciality of a healthcare organisation. 0140 QUA, Qualification A segment for specifying the professional medical qualifications of a person. 0150 EMP, Employment details A segment for specifying the type, medical speciality and the position or military rank of a healthcare professional. 0160 Segment group 2: FCA-GEI-RFF-DTM-PTY-CIN-FTX-LAN-PAC-IRQ-TEM-HAN- SG3-SG4-SG5 A group of segments for specifying a service order. 0170 FCA, Financial charges allocation A segment giving information concerning payment category for this order. 0180 GEI, Processing information A segment to provide the service type of the service order, i.e. new order, order modification etc. 0190 RFF, Reference A segment for specifying the identification number of the order allocated by various healthcare parties, such as service requester, etc. The segment is also used for referencing a related healthcare party specified in segment group 1. 0200 DTM, Date/time/period A segment for specifying the date and/or time concerning the order such as issue date of order, due date of report, etc. 0210 PTY, Priority A segment for specifying the requested reporting priority for the whole order. 0220 CIN, Clinical information A segment for specifying the reason for request as well as comments from the requester as a diagnosis concerning this order. 0230 FTX, Free text A segment with free text information, in coded or clear form, for specifying the reason for request as well as comments from the requester concerning this order. 0240 LAN, Language A segment for specifying the language of the service order and the requested reporting language. 0250 PAC, Package A segment for specifying the number of sample containers accompanying a service order. 0260 IRQ, Information required A segment for specifying the requirements concerning acknowledgment of the service order. 0270 TEM, Test method A segment for specifying the reason for the request. 0280 HAN, Handling instructions A segment for specifying the requested commenting level of detail of the service report. 0290 Segment group 3: SCC-QTY-DTM-FTX A group of segments for specifying a standing service order. 0300 SCC, Scheduling conditions A segment for specifying the delivery plan. 0310 QTY, Quantity A segment for specifying the number of times per time interval a standing order should be performed. 0320 DTM, Date/time/period A segment for specifying the start and end date and time for set of ordered investigations and the time interval between each repetition. 0330 FTX, Free text A segment with free text information, in coded or clear form, for specifying the end condition and additional execution instruction of a standing service order. 0340 Segment group 4: DOC-RFF-DTM A group of segments for specifying a reference to another service order. 0350 DOC, Document/message details A segment for specifying the document name. 0360 RFF, Reference A segment for specifying the identification number of the referenced order. 0370 DTM, Date/time/period A segment for specifying the issue date and/or time of the referenced order. 0380 Segment group 5: ATT-RFF-ADR-COM-HAN-REL-IMD-FTX-PNA-DTM-PDI- NAT-LAN-CCI-SG6-SG7-SG13-SG15 A group of segments specifying the subject of investigation. 0390 ATT, Attribute A segment for specifying the type of the subject of investigation. 0400 RFF, Reference A segment for specifying the identification numbers of the actual subject of investigation. This segment is also used for a reference to a healthcare party in segment group 1 specifying a supervising healthcare party. 0410 ADR, Address A segment for specifying the address details of the subject of investigation. 0420 COM, Communication contact A segment providing a telecommunication number for the subject of investigation. 0430 HAN, Handling instructions A segment for specifying a collection warning concerning the subject of investigation. 0440 REL, Relationship A segment for specifying the association between subjects of investigation such as donor, foetus, etc. as well as the relationship of a related person to the patient. 0450 IMD, Item description A segment for specifying the description of the material being investigated if the subject of investigation is a material. 0460 FTX, Free text A segment with free text information, in coded or clear form, for specifying additional information about the material as well as an unstructured telecommunication number of the subject of investigation. 0470 PNA, Party identification A segment for identifying the patient and related person or name by specifying various patient name details and official patient ID. 0480 DTM, Date/time/period A segment for specifying relevant dates and/or times for the patient such as date of birth, date of death, etc. 0490 PDI, Person demographic information A segment for specifying demographic information such as sex, marital status and religion. 0500 NAT, Nationality A segment for specifying the nationality of a person. 0510 LAN, Language A segment for specifying the language used by the person. 0520 CCI, Characteristic/class id A segment for specifying the species or breed of an animal. 0530 Segment group 6: PAS-LOC-DTM-RFF A group of segments for specifying healthcare administrative information concerning the actual subject of investigation. 0540 PAS, Attendance A segment for specifying patient administrative information such as administrative status concerning actual hospital stay or out-patient visit or ward stay related to the subject of investigation. 0550 LOC, Place/location identification A segment for specifying the physical patient care location in terms of ward, room, bed, etc. 0560 DTM, Date/time/period A segment for specifying admission and/or discharge date and time or start and/or end date and time of a ward stay. 0570 RFF, Reference This segment keeps a reference to a healthcare party for specifying healthcare administrative information such as hospital, department, etc. where patient is admitted, located, etc. 0580 Segment group 7: CAV-CIN-LAN-DTM-FTX-RFF-SG8-SG11 A group of segments giving information about a clinical observation including the origin of the clinical information. The clinical information may be a symptom, physical sign, anamnesis (medical history), clinical observation, diagnosis, etc. 0590 CAV, Characteristic value A segment for specifying the type of clinical information. 0600 CIN, Clinical information A segment for specifying the type of clinical observation, description of the clinical observation itself as well as the degree of certainty concerning the clinical observation. 0610 LAN, Language A segment for specifying the language related to the clinical observation. 0620 DTM, Date/time/period A segment for specifying date and times related to the clinical information, the clinical observation itself and the origin of clinical information. 0630 FTX, Free text A segment with free text information, in coded or clear form, for description of the clinical information. 0640 RFF, Reference This segment keeps a reference to a healthcare party for specifying origin of clinical information. 0650 Segment group 8: STS-SEQ-GEI-RSL-CCI-CIN-DTM-FTX-RFF-SG9- SG10 A group of segments for specifying a clinical investigation result item and the clinical investigation itself. 0660 STS, Status A segment for specifying the status of the clinical investigation, e.g. preliminary results, final results, etc. 0670 SEQ, Sequence details A segment for allocating a sequence number to a clinical investigation result item to allow referencing from within this message to a specific clinical investigation result item. 0680 GEI, Processing information A segment for specifying the service type of the clinical investigation result item, e.g. new result item. 0690 RSL, Result A segment for specifying the numerical value or a coded text value of a clinical investigation result item including unit of measurement, arithmetic comparator and the deviating result indicator. 0700 CCI, Characteristic/class id A segment for identifying the clinical investigation and to describe specifications to the clinical investigation. 0710 CIN, Clinical information A segment giving a text value of a clinical investigation result item as well as a comment to the clinical investigation result item as a diagnosis. 0720 DTM, Date/time/period A segment for specifying relevant date and times concerning the investigation such as date and time for investigation performed, last status change and a date value of a clinical observation. 0730 FTX, Free text A segment with free text information, in coded or clear form, for specifying the text value of a clinical investigation as well as comments to the clinical investigation and the investigation result item. 0740 RFF, Reference This segment keeps a reference to the 'parent' clinical investigation result item if needed. 0750 Segment group 9: RSL-FTX-CCI A group of segments giving the reference limits of a clinical investigation result item. 0760 RSL, Result A segment for specifying the numerical reference interval of an investigation result item and the type of reference interval. 0770 FTX, Free text A segment with free text information, in coded or clear form, for specifying the textual reference limits of an investigation result item. 0780 CCI, Characteristic/class id A segment for specifying a reference population, e.g. age, sex, smokers, etc. 0790 Segment group 10: REL-RFF A group of segments for identifying the persons and/or organisations involved in producing an investigation result item. 0800 REL, Relationship A segment for specifying the type of relationship of a related healthcare service provider to the clinical investigation result item. 0810 RFF, Reference A segment for specifying a reference to healthcare parties in segment group 1 where the related healthcare professional or organisation is identified. 0820 Segment group 11: CLI-SG12 A group of segments for specifying a clinical intervention. 0830 CLI, Clinical intervention A segment for specifying the type of intervention and the intervention itself. 0840 Segment group 12: IMD-DSG-FTX-INP A group of segments to describe interventions involving drugs. 0850 IMD, Item description A segment for identifying a drug. 0860 DSG, Dosage administration A segment for specifying the dosage and administration specifications of a drug. 0870 FTX, Free text A segment with free text information, in coded or clear form, for specifying dosage and administration specification of a drug. 0880 INP, Parties and instruction A segment for specifying the dosage regime. 0890 Segment group 13: SEQ-IMD-PRC-RFF-QTY-DTM-PAC-PTY-FTX-TDT-HAN- LOC-ADR-SG14 A group of segments containing information about the samples collected or to be collected concerning the requested investigation. 0900 SEQ, Sequence details A segment for allocating a sequence number to the sample to allow referencing from within this message to a specific sample. 0910 IMD, Item description A segment for specifying the characteristics of a sample like type of sample, anatomical origin and sample preservation material. 0920 PRC, Process identification A segment for specifying information about type of collection procedure and subsequent handling of the sample. 0930 RFF, Reference A segment for specifying the identification numbers of the actual sample allocated by service requester. This segment also keeps a reference to healthcare parties related to this actual sample such as the sample collector and sample collection location. This segment in addition keeps a reference to the "parent" sample if this sample is part of or derived from another sample. 0940 QTY, Quantity A segment for specifying information about sample volume or weight. 0950 DTM, Date/time/period A segment for specifying relevant dates and times concerning the sample such as start and/or end date and time or period for sample collection, etc. 0960 PAC, Package A segment specifying the number of sample containers this sample consists of. 0970 PTY, Priority A segment for specifying the sampling priority. 0980 FTX, Free text A segment with free text information, in coded or clear form, expressing the comments of the sample collector, the comments of the requester to the sample, anatomical origin of sample, sample location description, etc. 0990 TDT, Transport information A segment for specifying the transport logistics of the collected sample. 1000 HAN, Handling instructions A segment for specifying sample handling warning. 1010 LOC, Place/location identification A segment for specifying the location for sample collection in terms of hospital ward, room and bed number. 1020 ADR, Address A segment for specifying the address for the sample collection. 1030 Segment group 14: CLI-IMD-DSG-DTM-FTX-QTY-INP A group of segments for specifying the pre-treatment performed relating to a sample. 1040 CLI, Clinical intervention A segment for describing the pre-treatment administered. 1050 IMD, Item description A segment for specifying the substance administered for pre-treatment. 1060 DSG, Dosage administration A segment for specifying the route of administration of the pre-treatment. 1070 DTM, Date/time/period A segment for specifying relevant date and times for the pre-treatment like start, end or duration of administration. 1080 FTX, Free text A segment with free text information, in coded or clear form, for describing the pre-treatment. 1090 QTY, Quantity A segment for specifying amount of substance administered. 1100 INP, Parties and instruction A segment for specifying dosage regime. 1110 Segment group 15: GEI-CCI-PTY-QTY-CIN-DTM-FTX-TEM-MOA-RFF-HAN- SG16 A group of segments for specifying a requested investigation. 1120 GEI, Processing information A segment for specifying the service type of the requested investigation, e.g. new investigation, changes to a previous requested investigation, etc. 1130 CCI, Characteristic/class id A segment for specifying the characteristics of the investigation. The characteristics may concern system, component or property examined, etc. 1140 PTY, Priority A segment for specifying the performing and reporting priority of the requested investigation. 1150 QTY, Quantity A segment for specifying the number of times to perform a requested investigation. 1160 CIN, Clinical information A segment for specifying the reason for request as a diagnosis. 1170 DTM, Date/time/period A segment for specifying date and times relevant for this requested investigation such as date and time of investigation request issued, investigation result due date and time, etc. 1180 FTX, Free text A segment with free text information, in coded or clear form, for specifying the reason for request, requester's comments as well as comments to the investigation itself. 1190 TEM, Test method A segment for specifying the reason for the requested investigation. 1200 MOA, Monetary amount A segment for specifying the type of cost, the amount of cost and possibly currency unit used concerning the investigation. 1210 RFF, Reference This segment keeps a reference to one or more samples related to this requested investigation such as the sample(s) involved in this investigation. 1220 HAN, Handling instructions A segment specifying the requested commenting level of detail concerning the requested investigation. 1230 Segment group 16: SCC-QTY-DTM-FTX A group of segments for specifying a standing requested investigation. 1240 SCC, Scheduling conditions A segment for specifying the delivery plan. 1250 QTY, Quantity A segment for specifying the number of times per time interval a requested investigation should be performed. 1260 DTM, Date/time/period A segment for specifying the start and end date and time for a requested investigation and the time interval between each repetition. 1270 FTX, Free text A segment with free text information, in coded or clear form, for specifying the end-condition and additional execution instructions of a standing requested investigation. 1280 Segment group 17: AUT-DTM A group of segments for specifying authentication details. 1290 AUT, Authentication result A segment for specifying results of an authentication procedure. 1300 DTM, Date/time/period A segment for specifying the date and time for the validity of the authentication. 1310 UNT, Message trailer A service segment ending a message, giving the total number of segments in the message (including the UNH & UNT) and the control reference number of the message. 4.2 Segment index (alphabetical sequence by tag) ADR Address ATT Attribute AUT Authentication result BGM Beginning of message CAV Characteristic value CCI Characteristic/class id CIN Clinical information CLI Clinical intervention COM Communication contact DOC Document/message details DSG Dosage administration DTM Date/time/period EMP Employment details FCA Financial charges allocation FTX Free text GEI Processing information HAN Handling instructions IMD Item description INP Parties and instruction IRQ Information required LAN Language LOC Place/location identification MOA Monetary amount NAT Nationality PAC Package PAS Attendance PDI Person demographic information PNA Party identification PRC Process identification PTY Priority QTY Quantity QUA Qualification REL Relationship RFF Reference RSL Result SCC Scheduling conditions SEQ Sequence details SPR Organisation classification details STS Status TDT Transport information TEM Test method UNH Message header UNT Message trailer
4.3 Message structure 4.3.1 Segment table Pos Tag Name S R 0010 UNH Message header M 1 0020 BGM Beginning of message M 1 0030 DTM Date/time/period C 9 0040 FTX Free text C 9 0050 ----- Segment group 1 ------------------ M 99---------------+ 0060 PNA Party identification M 1 | 0070 ADR Address C 9 | 0080 COM Communication contact C 9 | 0090 FTX Free text C 9 | 0100 RFF Reference C 9 | 0110 SEQ Sequence details C 1 | 0120 LAN Language C 9 | 0130 SPR Organisation classification details C 1 | 0140 QUA Qualification C 9 | 0150 EMP Employment details C 9----------------+ 0160 ----- Segment group 2 ------------------ M 99---------------+ 0170 FCA Financial charges allocation M 1 | 0180 GEI Processing information M 1 | 0190 RFF Reference M 9 | 0200 DTM Date/time/period M 9 | 0210 PTY Priority C 1 | 0220 CIN Clinical information C 9 | 0230 FTX Free text C 9 | 0240 LAN Language C 9 | 0250 PAC Package C 1 | 0260 IRQ Information required C 1 | 0270 TEM Test method C 9 | 0280 HAN Handling instructions C 1 | | 0290 ----- Segment group 3 ------------------ C 99--------------+| 0300 SCC Scheduling conditions M 1 || 0310 QTY Quantity C 1 || 0320 DTM Date/time/period C 9 || 0330 FTX Free text C 9---------------+| | 0340 ----- Segment group 4 ------------------ C 99--------------+| 0350 DOC Document/message details M 1 || 0360 RFF Reference M 9 || 0370 DTM Date/time/period C 1---------------+| | 0380 ----- Segment group 5 ------------------ C 99--------------+| 0390 ATT Attribute M 1 || 0400 RFF Reference C 9 || 0410 ADR Address C 9 || 0420 COM Communication contact C 9 || 0430 HAN Handling instructions C 9 || 0440 REL Relationship C 1 || 0450 IMD Item description C 9 || 0460 FTX Free text C 9 || 0470 PNA Party identification C 9 || 0480 DTM Date/time/period C 9 || 0490 PDI Person demographic information C 1 || 0500 NAT Nationality C 9 || 0510 LAN Language C 9 || 0520 CCI Characteristic/class id C 9 || || 0530 ----- Segment group 6 ------------------ C 9--------------+|| 0540 PAS Attendance M 1 ||| 0550 LOC Place/location identification C 9 ||| 0560 DTM Date/time/period C 9 ||| 0570 RFF Reference C 1--------------+|| || 0580 ----- Segment group 7 ------------------ C 999------------+|| 0590 CAV Characteristic value M 1 ||| 0600 CIN Clinical information C 9 ||| 0610 LAN Language C 9 ||| 0620 DTM Date/time/period C 9 ||| 0630 FTX Free text C 99 ||| 0640 RFF Reference C 9 ||| ||| 0650 ----- Segment group 8 ------------------ C 99------------+||| 0660 STS Status M 1 |||| 0670 SEQ Sequence details C 1 |||| 0680 GEI Processing information C 1 |||| 0690 RSL Result C 1 |||| 0700 CCI Characteristic/class id M 9 |||| 0710 CIN Clinical information C 9 |||| 0720 DTM Date/time/period C 99 |||| 0730 FTX Free text C 99 |||| 0740 RFF Reference C 99 |||| |||| 0750 ----- Segment group 9 ------------------ C 99-----------+|||| 0760 RSL Result M 1 ||||| 0770 FTX Free text C 9 ||||| 0780 CCI Characteristic/class id C 9------------+|||| |||| 0790 ----- Segment group 10 ------------------ C 99-----------+|||| 0800 REL Relationship M 1 ||||| 0810 RFF Reference C 99-----------++||| ||| 0820 ----- Segment group 11 ------------------ C 99------------+||| 0830 CLI Clinical intervention M 1 |||| |||| 0840 ----- Segment group 12 ------------------ C 99-----------+|||| 0850 IMD Item description M 1 ||||| 0860 DSG Dosage administration C 9 ||||| 0870 FTX Free text C 9 ||||| 0880 INP Parties and instruction C 9------------+++|| || 0890 ----- Segment group 13 ------------------ C 99-------------+|| 0900 SEQ Sequence details M 1 ||| 0910 IMD Item description M 9 ||| 0920 PRC Process identification C 9 ||| 0930 RFF Reference C 9 ||| 0940 QTY Quantity C 1 ||| 0950 DTM Date/time/period C 99 ||| 0960 PAC Package C 1 ||| 0970 PTY Priority C 1 ||| 0980 FTX Free text C 9 ||| 0990 TDT Transport information C 9 ||| 1000 HAN Handling instructions C 9 ||| 1010 LOC Place/location identification C 9 ||| 1020 ADR Address C 9 ||| ||| 1030 ----- Segment group 14 ------------------ C 99------------+||| 1040 CLI Clinical intervention M 1 |||| 1050 IMD Item description C 1 |||| 1060 DSG Dosage administration C 1 |||| 1070 DTM Date/time/period C 9 |||| 1080 FTX Free text C 9 |||| 1090 QTY Quantity C 1 |||| 1100 INP Parties and instruction C 9-------------++|| || 1110 ----- Segment group 15 ------------------ C 99-------------+|| 1120 GEI Processing information M 1 ||| 1130 CCI Characteristic/class id M 99 ||| 1140 PTY Priority C 9 ||| 1150 QTY Quantity C 1 ||| 1160 CIN Clinical information C 9 ||| 1170 DTM Date/time/period C 9 ||| 1180 FTX Free text C 9 ||| 1190 TEM Test method C 9 ||| 1200 MOA Monetary amount C 9 ||| 1210 RFF Reference C 99 ||| 1220 HAN Handling instructions C 1 ||| ||| 1230 ----- Segment group 16 ------------------ C 99------------+||| 1240 SCC Scheduling conditions M 1 |||| 1250 QTY Quantity C 1 |||| 1260 DTM Date/time/period C 9 |||| 1270 FTX Free text C 9-------------++++ 1280 ----- Segment group 17 ------------------ C 99---------------+ 1290 AUT Authentication result M 1 | 1300 DTM Date/time/period C 9----------------+ 1310 UNT Message trailer M 1