ediverse Explore the platform

Spotlight PEPPOL BIS Billing 3.0 The EU e-invoicing mandate is here — France Sept 2026, Belgium Jan 2026, Germany 2025.
MEDREQ D.16B

MEDREQ — EDIFACT Medical Service Request Message (D.16B)

The MEDREQ message is the medical service request sent by a prescriber to a healthcare provider (laboratory, imaging facility, specialist): it identifies the patient, the prescriber, the requested acts or exams, the relevant clinical information and the administrative constraints. The structured response is carried by MEDRPT. This page summarises the segment structure as published by UN/CEFACT for directory D.16B.

Purpose

The MEDREQ message is the medical service request sent by a prescriber to a healthcare provider (laboratory, imaging facility, specialist): it identifies the patient, the prescriber, the requested acts or exams, the relevant clinical information and the administrative constraints. The structured response is carried by MEDRPT.

This page focuses on the structure published by UN/CEFACT for directory D.16B. The segments listed, their status (M / C), position and repetition factor are extracted from the official file medreq_c.htm hosted on service.unece.org.

Segment structure

The MEDREQ D.16B message has 131 header entries, 0 detail entries and 0 summary entries (segments and groups combined). Groups are shown in bold and their members are indented by actual nesting depth.

Pos.TagNameSRep.
00010UNHMessage headerM1
00020BGMBeginning of messageM1
00030DTMDate/time/periodC×9
00040FTXFree textC×9
00050  SG1Group (×99)M×99
00060  PNAParty identificationM1
00070  ADRAddressC×9
00080  COMCommunication contactC×9
00090  FTXFree textC×9
00100  RFFReferenceC×9
00110  SEQSequence detailsC1
00120  LANLanguageC×9
00130  SPROrganisation classification detailsC1
00140  QUAQualificationC×9
00150  EMPEmployment detailsC×9
00160    SG2Group (×99)M×99
00170    FCAFinancial charges allocationM1
00180    GEIProcessing informationM1
00190    RFFReferenceM×9
00200    DTMDate/time/periodM×9
00210    PTYPriorityC1
00220    CINClinical informationC×9
00230    FTXFree textC×9
00240    LANLanguageC×9
00250    PACPackageC1
00260    IRQInformation requiredC1
00270    TEMTest methodC×9
00280    HANHandling instructionsC1
00290      SG3Group (×99)C×99
00300      SCCScheduling conditionsM1
00310      QTYQuantityC1
00320      DTMDate/time/periodC×9
00330      FTXFree textC×9
00340        SG4Group (×99)C×99
00350        DOCDocument/message detailsM1
00360        RFFReferenceM×9
00370        DTMDate/time/periodC1
00380          SG5Group (×99)C×99
00390          ATTAttributeM1
00400          RFFReferenceC×9
00410          ADRAddressC×9
00420          COMCommunication contactC×9
00430          HANHandling instructionsC×9
00440          RELRelationshipC1
00450          IMDItem descriptionC×9
00460          FTXFree textC×9
00470          PNAParty identificationC×9
00480          DTMDate/time/periodC×9
00490          PDIPerson demographic informationC1
00500          NATNationalityC×9
00510          LANLanguageC×9
00520          CCICharacteristic/class idC×9
00530            SG6Group (×9)C×9
00540            PASAttendanceM1
00550            LOCPlace/location identificationC×9
00560            DTMDate/time/periodC×9
00570            RFFReferenceC1
00580              SG7Group (×999)C×999
00590              CAVCharacteristic valueM1
00600              CINClinical informationC×9
00610              LANLanguageC×9
00620              DTMDate/time/periodC×9
00630              FTXFree textC×99
00640              RFFReferenceC×9
00650                SG8Group (×99)C×99
00660                STSStatusM1
00670                SEQSequence detailsC1
00680                GEIProcessing informationC1
00690                RSLResultC1
00700                CCICharacteristic/class idM×9
00710                CINClinical informationC×9
00720                DTMDate/time/periodC×99
00730                FTXFree textC×99
00740                RFFReferenceC×99
00750                  SG9Group (×99)C×99
00760                  RSLResultM1
00770                  FTXFree textC×9
00780                  CCICharacteristic/class idC×9
00790                    SG10Group (×99)C×99
00800                    RELRelationshipM1
00810                    RFFReferenceC×99
00820                      SG11Group (×99)C×99
00830                      CLIClinical interventionM1
00840                        SG12Group (×99)C×99
00850                        IMDItem descriptionM1
00860                        DSGDosage administrationC×9
00870                        FTXFree textC×9
00880                        INPParties and instructionC×9
00890                          SG13Group (×99)C×99
00900                          SEQSequence detailsM1
00910                          IMDItem descriptionM×9
00920                          PRCProcess identificationC×9
00930                          RFFReferenceC×9
00940                          QTYQuantityC1
00950                          DTMDate/time/periodC×99
00960                          PACPackageC1
00970                          PTYPriorityC1
00980                          FTXFree textC×9
00990                          TDTTransport informationC×9
01000                          HANHandling instructionsC×9
01010                          LOCPlace/location identificationC×9
01020                          ADRAddressC×9
01030                            SG14Group (×99)C×99
01040                            CLIClinical interventionM1
01050                            IMDItem descriptionC1
01060                            DSGDosage administrationC1
01070                            DTMDate/time/periodC×9
01080                            FTXFree textC×9
01090                            QTYQuantityC1
01100                            INPParties and instructionC×9
01110                              SG15Group (×99)C×99
01120                              GEIProcessing informationM1
01130                              CCICharacteristic/class idM×99
01140                              PTYPriorityC×9
01150                              QTYQuantityC1
01160                              CINClinical informationC×9
01170                              DTMDate/time/periodC×9
01180                              FTXFree textC×9
01190                              TEMTest methodC×9
01200                              MOAMonetary amountC×9
01210                              RFFReferenceC×99
01220                              HANHandling instructionsC1
01230                                SG16Group (×99)C×99
01240                                SCCScheduling conditionsM1
01250                                QTYQuantityC1
01260                                DTMDate/time/periodC×9
01270                                FTXFree textC×9
01280                                  SG17Group (×99)C×99
01290                                  AUTAuthentication resultM1
01300                                  DTMDate/time/periodC×9
01310UNTMessage trailerM1

Detail

No segment in this section.

Summary

No segment in this section.

Changes vs D.96A

The MEDREQ message is not published in directory D.96A. No "D.96A → D.16B" comparison line can therefore be produced — see the block below for details.

This message is not published in directory D.96A: it was introduced into the standard after that release and therefore has no historical baseline for comparison. The first directory indexed on ediverse.io sets the reference; later changes are then documented from one release to the next in subsequent directories.

Structural example

Minimal example of an MEDREQ D.16B message with mandatory segments only. The goal is to show the exact version declared in UNH (MEDREQ:D:16B:UN) — not to replicate a full business case.

edifact medreq-d16b-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL016001'
UNH+1+MEDREQ:D:16B:UN'
BGM+700+MEDREQ-2026-Q-0341+9'
DTM+137:20260514:102'
PNA+PAT+1820000007654::ZZZ+++SU:DUPONT+FN:JEAN'
ADR+CD+++75001:PARIS:::FR'
DTM+329:19720312:102'
FCA+1'
SPR+ZZZ'
IRQ+1+::ZZZ:::Hemogram — full blood count'
EVE+1'
UNT+10+1'
UNZ+1+CTRL016001'

Common errors

  • Misaligned UNH tokens — The UNH+...+MEDREQ:D:16B:UN token must reflect exactly the directory in use — a mismatch between the UNH release and the release agreed with the partner is rejected by every strict validator.
  • Wrong UNT segment count — The value after UNT+ must include UNH and UNT themselves. By far the most common sender-side error, regardless of the directory in use.
  • Stale code lists — Between D.96A and D.16B, several code lists received new qualifiers (DTM status, RFF qualifier, NAD codes…). Reusing an older directory’s code tables triggers warnings or even rejections depending on the partner’s strict-conformance mode.

Other versions of this message available on ediverse.io: MEDREQ D.10A, MEDREQ D.21B, MEDREQ D.24A.

← All EDIFACT versions