EDI Messaging

UN/EDIFACT (91.2)

SOUTH AFRICAN HEALTH INDUSTRY STANDARD MESSAGE

PTHPRP

PATHOLOGY TEST REPORT MESSAGE

Message Type:PTHPRP

Version:0

Actual Vers:00:02:01

Release:912

Contr. Agency:ZA Status : 0

Date:2010/10/01

CONTENTS

PATHOLOGY TEST REPORT MESSAGE

Introduction

1.Scope

1.1Functional Definition

1.2Field of Application

1.3 Principles

2.References

3.Terms and Definitions

4.Message Definition

4.1Data Segment Clarification

4.1.1Heading Section

4.1.2Detail Section

4.1.3Summary Section

4.2Message Structure

4.2.1Segment Table

4.2.2Branching Diagram

4.3Data Segment (Alphabetic Sequence)

c:\jnlwork\projects\path\edi-001.doc

EDI Messaging

Introduction

This specifications provides the definition of the medical Laboratory Service Report Message (PTHPRP) to be used on Electronic Data Interchange (EDI) between Pathology Laboratories and Services Requestors according to UN/EDIFACT standards.

1Scope

1.1Functional Definition

A message specifying one pathology test report.

1.2Field of Application

The medical Laboratory Report Message (PTHPRP) may be used nationally for reports on pathology tests. This will be dependant on the acceptance of this message by the South African Bureau of Standards (SABS) and the international health community under the auspices of the United Nations.

1.3Principles

A pathology laboratory report message is a response to a previously requested test by a requestor.

2References

Representative Association of Medical Schemes (RAMS)

See UNTDID, Part 4, Section 2.5, UN/ECE UNSM - General

Introduction, Section 1

3.Terms and Definitions

The service Requestor may be a medical practitioner, a hospital or another pathology

laboratory.

The Service Provider is a pathology laboratory.

The Message may contain only one laboratory test report.

See UNTDID, Part 4, Section 2.5, UN/ECE UNSM - General Introduction, Section 2.

3.1Data Formats

All numeric fields must be "USAGE DISPLAY".

All negative numeric fields must be LEADING SIGNED.

All monetary values must be expressed in CENTS (i.e. two decimal places of rand are assumed.)

There may be no embedded points or commas.

All numeric fields must be left-justified.

4Message Definition

4.1Data Segment Clarification

This section should be read in conjunction with the Branching Diagram and the Segment Table which indicates mandatory, conditional and repeating requirements.

4.1.1Heading Section - pages 4 to 13

4.1.2Detail Section - pages 4 to 13

UNH SEGMENTMessage HeaderMandatoryOccurrence 1

Function:To head, identify and specify a message.

0062 MESSAGE REFERENCE NUMBERM an..14See Notes

S009 MESSAGE IDENTIFIERM

0065 Message type identifierM an..6PTHPRP

0052 Message type version numberM an..30

0054 Message type release numberM an..3912

0051 Controlling agencyM an..2ZA

0057 Association assigned codeC an..6000201

0068 COMMON ACCESS REFERENCEC an..35

S010 STATUS OF THE TRANSFERC

0070 Sequence message transfer numberM n..2

0073 First/last sequence message transfer indicationC a1

NOTES:0062:Made up of the Practice Number of Laboratory sending the report.

0057:Used here for Actual Version Number

BGM SEGMENT Beginning of MessageMandatoryOccurrence 1

Function:To indicate the beginning of a message and to transmit identifying number, type and

date of a message.

C002 DOCUMENT/MESSAGE NAMECNOT USED

1001 Document/message name, codedC an..3

1131 Code list qualifierC an..3

3055 Code list responsible agency, codedC an..3

1000 Document/message nameC an..35

1004 DOCUMENT/MESSAGE NUMBERC an..35NOT USED

C507 DATE/TIME/PERIODCNOT USED

2005 Date/time/period qualifierM an..3

2380 Date/time/periodM an..35

2379 Date/time/period format qualifierM an..3

1225 MESSAGE FUNCTION, CODEDC an..3NOT USED

C506 REFERENCECSEE NOTES

1153 Reference qualifierM an..3

1154 Reference numberC an..35

1156 Line numberC an..6

C507 DATE/TIME/PERIODCSEE NOTES

2005 Date/time/period qualifierM an..3

2380 Date/time/periodM an..35

2379 Date/time/period format qualifierM an..3

4343 RESPONSE TYPE, CODEDC an..3NOT USED

NOTES:C506:Mandatory

1153:"FIN"- for Final Report

"COR"- for Corrected Report

"INT" - for Interim Report

"RPR"- for Reprint/Copy

1154:(M) Laboratory Reference Number

1156:NOT USED

C507Mandatory

2005:"294"- for report Date and Time

2380: Actual Date and Time

2379:"203" - for CCYYMMDDHHMM format

RFF SEGMENT ReferenceMandatoryOccurrence 1

Function: To specify the identifying number associated with a party or transaction.

C506 REFERENCEMSEE NOTES

1153 Reference qualifierM an..3

1154 Reference numberC an..35

1156 Line numberC an..6

C507 DATE/TIME/PERIODCSEE NOTES

2005 Date/time/period qualifierM an..3

2380 Date/time/periodM an..35

2379 Date/time/period format qualifierM an..3

NOTES:C506:Mandatory

1153:"REQ"- for Requestor Reference Number (ie Policy Number)

"NSP"- for Not Specified

1154: Reference Number

1156:NOT USED

C507Mandatory

2005:"293"- for Requested Date and Time

2380: Actual Date and Time

2379:"203"- for CCYYMMDDHHMM format

NAD SEGMENTName and AddressMandatoryOccurrence 99

Function: To specify the name/address and their related function, either by C082 only

and/or unstructured by C058 or structured by C080 thru 3207.

3035 PARTY QUALIFIERM an..3SEE NOTES

C082 PARTY IDENTIFICATION DETAILSCSEE NOTES #2 #3

3039 Party id identificationM an..17

1131 Code list qualifierC an..3

3055 Code list responsible agency, codedC an..3

C058 NAME AND ADDRESSCSEE NOTE #1

3124 Name and address lineM an..35

3124 Name and address lineC an..35

3124 Name and address lineC an..35

3124 Name and address lineC an..35

3124 Name and address lineC an..35

C080 PARTY NAMECSEE NOTES #4

3036 Party nameM an..35

3036 Party nameC an..35

3036 Party nameC an..35

C059 STREETCSEE NOTE #5

3042 Street and number/P.O. BoxM an..35

3042 Street and number/P.O. BoxC an..35

3042 Street and number/P.O. BoxC an..35

3164 CITY NAMEC an..35NOT USED

3229 COUNTRY SUBENTITY IDENTIFICATIONC an..9NOT USED

3251 POSTCODE IDENTIFICATIONC an..9NOT USED

3207 COUNTRY, CODEDC an..3NOT USED

NOTES:3035:"REN"- for Requestor Name and AddressC..1#1

"REP"- for Requestor Practice NumberC..1#2

"REL"- for Requestor LanguageC..1#3

"RLB"- for Reference Lab Name and AddressC..1#1

"PTS" - for Patient SurnameM..1#4

"PTF" - for Patient First Name/InitialsM..1#4

"PTT" - for Patient TitleM..1#4

"PID" - for Patient ID NumberM..1#2

"SEX" - for Patient SexM..1#3

"AGE" - for Patient AgeM..1#2

"AGU" - for Patient Age Units (Y/M/D)M..1#3

"PPA" - for Patient AddressM..1#5

"PTL" - for Patient LanguageM..1#3

"PTH" - for Patient Home Telephone NumberC..1#2

"PTW" - for Patient Work Telephone NumberC..1#2

"RDR"- for Referring Doctor Name & AddressM..1#1

"RDP" - for Referring Doctor Practice NumberM..1#2

"RDL" - for Referring Doctor LanguageM..1#3

"CDR" - for Copy Doctor Name & AddressC..99#1

"CDP" - for Copy Doctor Practice NumberC..99#2

"CDL" - for Copy Doctor LanguageC..99#3

"EPN" - for Employer Name & AddressC..1#1

"IPN" - for Insurance Proposal NumberC..1#2

"IBN" - for Insurance Broker Name/CodeC..1#4

"IBB" - for Insurance Company Branch Name &C..1#1

"IBP" - for Insurance Broker Phone NumberC..1#2

"IDT" - for Identification TypeC..1#2

"ICF" - for Insurance Consent FormC..1#2

"CCF" - for Client Consent FormC..1#2

"VSS" - for Venisectionist SignatureC..1#2

"CCD" - for Insurance Control CodeC..1#2

"IRP" - for Insurance Report TypeC..1#2

"IDN" - for Clinic NotificationC..1#2

"DTN"- for Drug Trial NumberC..1#4

"DTV" - for Drug Trial Visit NumberC..1#3

"DTR" - for Drug trial Reference NumberC..1#3

"DCN" - for Drug Trial Centre NumberC..1#4

"HOS" - for Hospital/Ward Indicator CodeC..1#2

(Code List)

"DPT"- for DepartmentC..1#4

"SGN"- for Authorization NameC..1#4

"PRT" - for Result PriorityC..1#4

"PRS" - for Phoned ResultsC..1#4

"PHB" - for Result Phoned Out ByC..1#4

"PHT" - for Result Phoned ToC..1#4

"DCP' - for Department Contact PersonC..1#4

"DPN" - for Department Telephone NumberC..1#4

"MAA"- for Medical Aid Code (Code List)C..1#3

"MAN"- for Medical Aid NumberC..1#2

"GRN" - for Guarantor Name & AddressC..1#1

"GRL" - for Guarantor LanguageC..1#3

"GRH"- for Guarantor Home Telephone NumberC..1#2

"GRW"- for Guarantor Work Telephone NumberC..1#2

"ACC"- for Account NumberC..1#2

“VTP” – for Venisectionist TypeC..1#4

“VCD” – for Venisectionist Practice NumberC..1#1

#1 : Use C058

#2 : Use C082 / 3039

#3 : Use C082 / 1131

#4 : Use C080

#5 : Use C059

DTM SEGMENT Date/Time/Period MandatoryOccurrence 9

Function: To specify date, time, period.

C507 DATE/TIME/PERIOD MSEE NOTES

2005 Date/time/period qualifier M an..3

2380 Date/time/period M an..35

2379 Date/time/period format qualifier M an..3

NOTES:C507:Mandatory

2005:"285" - for Patient Date of Birth

"234" - for Collection Date and Time

"294" - for Date and Time of Result Phone Call

2380:Actual Date and Time

2379:"102" - for CCYYMMDD format

"203" - for CCYYMMDDHHMM format

2380:Actual Date and Time

2379:"203" - for CCYYMMDDHHMM format

FTX SEGMENT Free TextMandatoryOccurrence 1

Function: To provide free form or coded text information.

4451 TEXT SUBJECT QUALIFIER M an..3SEE NOTES

4453 TEXT FUNCTION, CODED C an..3NOT USED

C107 TEXT REFERENCE CNOT USED

4441 Free text, coded M an..3

1131 Code list qualifier C an..3

3055 Code list responsible agency, coded C an..3

C108 TEXT LITERAL CUSE

4440 Free text M an..70

4440 Free text C an..70

4440 Free text C an..70

4440 Free text C an..70

4440 Free text C an..70

3453 LANGUAGE, CODED C an..3NOT USED

NOTES:4451:Mandatory

"CLN" - for Clinical Data

"AID" - for Department Information

"ICM" - for Insurance Comment

LIN SEGMENT Line ItemMandatoryOccurrence 999

A segment group to identify the test results.

MandatoryOccurrence

Function: To specify the basic and most frequently used line item data for a transaction.

1233 RELATIONAL QUALIFIER M an..3Use "ZZZ"

1082 LINE ITEM NUMBER C n..6NOT USED

1229 ACTION REQUEST, CODED C an..3NOT USED

C511 ITEM IDENTIFICATION CSEE NOTES

7139 Item qualifier M an..3

7140 Item number C an..35

1131 Code list qualifier C an..3

3055 Code list responsible agency, coded C an..3

7143 Item number type, coded C an..3

1131 Code list qualifier C an..3

3055 Code list responsible agency, coded C an..3

C186 QUANTITY DETAILS CNOT USED

6063 Quantity qualifier M an..3

6060 Quantity M n..15

6411 Measure unit qualifier C an..3

C509 PRICE INFORMATION CNOT USED

5125 Price qualifier M an..3

5118 Price C n..15

5375 Price type, coded C an..3

5387 Price type qualifier C an..3

5284 Unit price basis C n..9

6411 Measure unit qualifier C an..3

C523 NUMBER OF UNIT DETAILS CNOT USED

6350 Number of units C n..15

6353 Number of units qualifier C an..3

C516 MONETARY AMOUNT CNOT USED

5025 Monetary amount type qualifier M an..3

5004 Monetary amount C n..18

6345 Currency, coded C an..3

6343 Currency qualifier C an..3

4405 Status, coded C an..3

LIN SEGMENT cont...

C509 PRICE INFORMATION CNOT USED

5125 Price qualifier M an..3

5118 Price C n..15

5375 Price type, coded C an..3

5387 Price type qualifier C an..3

5284 Unit price basis C n..9

6411 Measure unit qualifier C an..3

C501 PERCENTAGE DETAILS CNOT USED

5245 Percentage qualifier M an..3

5482 Percentage M n..8

5249 Percentage basis qualifier C an..3

1222 CONFIGURATION LEVEL C n..2NOT USED

7083 CONFIGURATION, CODED C an..3NOT USED

5213 SUBLINE PRICE CHANGE, CODED C an..3NOT USED

NOTES:C511:Mandatory

7139:"TUM"- for Test Mnemonic

"RSL" - for Result

"RUN" - for Result Units

"ABN" - for Abnormality Indicator

('HI'gh/'LO'w/'NO'rmal/'OM'itted)

"LRR" - for LowReferenceRange

"HRR" - for HighReferenceRange

"PRO" - for Procedure Code

"ATI" - for Assay technologist Identifier

"DEC" - for Decimal Indicator (Applies to '$')

"COM"- for Comment

"CRP" - for Result Comment

"CTI" - for Calculated Result (Y/N)

"CHC" - for Charge Code Mnemonic

7140:USE

1131:NOT USED

3055:NOT USED

7143:NOT USED

1131:NOT USED

3055:NOT USED

FTX SEGMENT Free TextMandatoryOccurrence 999

Function: To provide free form or coded text information.

4451 TEXT SUBJECT QUALIFIER M an..3SEE NOTES

4453 TEXT FUNCTION, CODED C an..3NOT USED

C107 TEXT REFERENCE CNOT USED

4441 Free text, coded M an..3

1131 Code list qualifier C an..3

3055 Code list responsible agency, coded C an..3

C108 TEXT LITERAL CUSE

4440 Free text M an..70

4440 Free text C an..70

4440 Free text C an..70

4440 Free text C an..70

4440 Free text C an..70

3453 LANGUAGE, CODED C an..3

NOTES:1451:Mandatory

"AIR" - for Additional Information about the result

"BCT" - for Microbiology Report

"AIC" - for Additional Information about the charge

4.1.3Summary Section

CNT SEGMENT Control TotalsMandatoryOccurrence 1

Function: To provide message control totals.

C270 CONTROL MSEE NOTES

6069 Control qualifier M an..3

6066 Control value M n..18

6411 Measure unit qualifier C an..3

C270 CONTROL CSEE NOTES

6069 Control qualifier M an..3

6066 Control value M n..18

6411 Measure unit qualifier C an..3

C270 CONTROL CSEE NOTES

6069 Control qualifier M an..3

6066 Control value M n..18

6411 Measure unit qualifier C an..3

C270 CONTROL CSEE NOTES

6069 Control qualifier M an..3

6066 Control value M n..18

6411 Measure unit qualifier C an..3

C270 CONTROL CSEE NOTES

6069 Control qualifier M an..3

6066 Control value M n..18

6411 Measure unit qualifier C an..3

NOTES:C279 All are Mandatory

6069:"41" - for total number of tests

6066:USE

6411:NOT USED

UNT SEGMENT Message TrailerMandatoryOccurrence 1

Function: To end and check the completeness of a message.

0074 NUMBER OF SEGMENTS IN A MESSAGEM n..6 USE

0062 MESSAGE REFERENCE NUMBER M an..14USE

NOTES:See UNH

4.2Message Structure

4.2.1Message Segment Table

TAGNAMEReq.RepReq.Rep

UNHMessage HeaderM1

BGMBeginning of messageM1

RFFReferenceM1

NADName and addressM99

DTMDate/Time referencesM9

FTXFree TextC1

Segment Group 1 - (Test)M999

LINLine ItemM1

FTXFree textC999

CNTControl totalsM1

UNTMessage trailerM

4.2.2Message Branching Diagram

Level

0UNHBGMUNT

M 1M 1M 1

1RFFNADDTMFTXGrp1CNT

M 1M 99M 9C 1M 99M 1

2LIN

M 1

FTX

C999

4.3Data Segments (Alphabetic Sequence)

The following segments form part of the South African Pathology Test Report Message. The full definitions of these segments are to be found in the UN/EDIFACT Data Segments Directory (EDSD), Part V of the UNTDID, UN Trade Data Interchange Directory.

BGMBeginning of message

CNTControl totals

DTMDate/time reference

FTX Free text

LINLine items

NADName and address

RFFReferences

UNHMessage Header

UNTMessage Trailer

Change Notes for Documentation :

DateChange

2004-10-11Page 11 – Removed Duplicate C511 section

2004-10-11Page 12 – Corrected Notes C551: Mandatory to C511: Mandatory