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.
MEDRPT D.16B

MEDRPT — EDIFACT Medical Service Report Message (D.16B)

The MEDRPT message is the medical service report sent by a healthcare provider (laboratory, imaging facility, specialist) to the prescriber or to another clinical actor: it carries the clinical context, the performed acts, the results, the conclusions and the recommendations. It is the structured back-channel of an exam or consultation in inter-facility healthcare exchanges. This page summarises the segment structure as published by UN/CEFACT for directory D.16B.

Purpose

The MEDRPT message is the medical service report sent by a healthcare provider (laboratory, imaging facility, specialist) to the prescriber or to another clinical actor: it carries the clinical context, the performed acts, the results, the conclusions and the recommendations. It is the structured back-channel of an exam or consultation in inter-facility healthcare exchanges.

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 medrpt_c.htm hosted on service.unece.org.

Segment structure

The MEDRPT D.16B message has 137 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    IRQInformation requiredM1
00180    GEIProcessing informationM1
00190    RFFReferenceM×9
00200    DTMDate/time/periodM1
00210    STSStatusC1
00220    PTYPriorityC1
00230    LANLanguageC1
00240    FTXFree textC×99
00250    TEMTest methodC1
00260      SG3Group (×99)C×99
00270      RFFReferenceM1
00280      DTMDate/time/periodC1
00290        SG4Group (×99)C×99
00300        FCAFinancial charges allocationM1
00310        RFFReferenceM×9
00320        GEIProcessing informationC1
00330        DTMDate/time/periodC×9
00340        PTYPriorityC1
00350        CINClinical informationC×9
00360        FTXFree textC×9
00370        TEMTest methodC×9
00380          SG5Group (×99)C×99
00390          DOCDocument/message detailsM1
00400          RFFReferenceM×9
00410          DTMDate/time/periodC1
00420            SG6Group (×99)C×99
00430            ATTAttributeM1
00440            RFFReferenceC×9
00450            ADRAddressC×9
00460            COMCommunication contactC×9
00470            RELRelationshipC1
00480            IMDItem descriptionC×9
00490            FTXFree textC×9
00500            PNAParty identificationC×9
00510            DTMDate/time/periodC×9
00520            PDIPerson demographic informationC1
00530            NATNationalityC×9
00540            LANLanguageC×9
00550            HANHandling instructionsC×9
00560            CCICharacteristic/class idC×9
00570              SG7Group (×9)C×9
00580              PASAttendanceM1
00590              LOCPlace/location identificationC×9
00600              DTMDate/time/periodC×9
00610              RFFReferenceC1
00620                SG8Group (×999)C×999
00630                CAVCharacteristic valueM1
00640                CINClinical informationC×9
00650                LANLanguageC×9
00660                DTMDate/time/periodC×9
00670                FTXFree textC×99
00680                RFFReferenceC×9
00690                  SG9Group (×99)C×99
00700                  STSStatusM1
00710                  SEQSequence detailsC1
00720                  GEIProcessing informationC1
00730                  RSLResultC1
00740                  CCICharacteristic/class idM×9
00750                  CINClinical informationC×9
00760                  DTMDate/time/periodC×99
00770                  FTXFree textC×99
00780                  RFFReferenceC×99
00790                    SG10Group (×99)C×99
00800                    RSLResultM1
00810                    FTXFree textC×9
00820                    CCICharacteristic/class idC×9
00830                      SG11Group (×99)C×99
00840                      RELRelationshipM1
00850                      RFFReferenceC×99
00860                        SG12Group (×99)C×99
00870                        CLIClinical interventionM1
00880                          SG13Group (×99)C×99
00890                          IMDItem descriptionM1
00900                          DSGDosage administrationC×9
00910                          FTXFree textC×9
00920                          INPParties and instructionC×9
00930                            SG14Group (×99)C×99
00940                            SEQSequence detailsM1
00950                            IMDItem descriptionM×9
00960                            PRCProcess identificationC×9
00970                            RFFReferenceC×9
00980                            QTYQuantityC1
00990                            DTMDate/time/periodC×99
01000                            PACPackageC1
01010                            FTXFree textC×9
01020                            TDTTransport informationC×9
01030                            HANHandling instructionsC×9
01040                            LOCPlace/location identificationC×9
01050                            ADRAddressC×9
01060                              SG15Group (×99)C×99
01070                              CLIClinical interventionM1
01080                              IMDItem descriptionC1
01090                              DSGDosage administrationC1
01100                              DTMDate/time/periodC×9
01110                              FTXFree textC×9
01120                              QTYQuantityC1
01130                              INPParties and instructionC×9
01140                                SG16Group (×99)M×99
01150                                LINLine itemM1
01160                                GEIProcessing informationM1
01170                                RSLResultC1
01180                                CCICharacteristic/class idM×99
01190                                CINClinical informationC×9
01200                                SEQSequence detailsC1
01210                                STSStatusC1
01220                                DTMDate/time/periodC×9
01230                                FTXFree textC×99
01240                                MOAMonetary amountC×9
01250                                RFFReferenceC×99
01260                                EQDEquipment detailsC×9
01270                                  SG17Group (×99)C×99
01280                                  RELRelationshipM1
01290                                  RFFReferenceC×99
01300                                    SG18Group (×99)C×99
01310                                    RSLResultM1
01320                                    FTXFree textC×9
01330                                    CCICharacteristic/class idC×9
01340                                      SG19Group (×99)C×99
01350                                      AUTAuthentication resultM1
01360                                      DTMDate/time/periodC×9
01370UNTMessage trailerM1

Detail

No segment in this section.

Summary

No segment in this section.

Changes vs D.96A

The MEDRPT 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 MEDRPT D.16B message with mandatory segments only. The goal is to show the exact version declared in UNH (MEDRPT:D:16B:UN) — not to replicate a full business case.

edifact medrpt-d16b-example.edi
UNB+UNOC:3+5410000000123:14+5410000000456:14+260514:1430+CTRL016001'
UNH+1+MEDRPT:D:16B:UN'
BGM+380+MEDRPT-2026-R-0512+9'
DTM+137:20260514:102'
PNA+PAT+1820000007654::ZZZ+++SU:DUPONT+FN:JEAN'
ADR+CD+++75001:PARIS:::FR'
DTM+329:19720312:102'
IRQ+1'
EVE+1'
RSL+TXT++++HEMOGRAM normal — no clinically significant abnormality'
CIN+1'
UNT+10+1'
UNZ+1+CTRL016001'

Common errors

  • Misaligned UNH tokens — The UNH+...+MEDRPT: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: MEDRPT D.10A, MEDRPT D.21B, MEDRPT D.24A.

← All EDIFACT versions