MajwareMAJWARE
DG1
Financial21 fields

DG1 — Diagnosis

Appears in ADT, ORM, and DFT messages. Multiple DG1 segments may appear for multiple diagnoses.

The DG1 segment carries patient diagnosis information coded using ICD-9, ICD-10, or other diagnosis code systems. Multiple DG1 segments are used for patients with multiple diagnoses, including admitting, working, and final diagnoses.

Real-World Context

DG1 diagnoses are what drive DRG assignment and billing. The diagnosis type in DG1.6 (A=Admitting, W=Working, F=Final) matters as much as the code itself — payers use final diagnoses for claim adjudication, not working diagnoses. Missing principal diagnosis in the first DG1 is the most common cause of clean claim failures on inpatient claims.

Field Reference

Click any row to see the full description, common values, and troubleshooting tip.

#Field NameTypeReqMax Len
1Set ID - DG1SIR4▶
2Diagnosis Coding MethodIDO2▶
3Diagnosis Code - DG1CEO250▶
4Diagnosis DescriptionSTO40▶
5Diagnosis Date/TimeTSO26▶
6Diagnosis TypeISO2▶
7Major Diagnostic CategoryCEO250▶
8Diagnostic Related GroupCEO250▶
9DRG Approval IndicatorIDO1▶
10DRG Grouper Review CodeISO2▶
11Outlier TypeCEO250▶
12Outlier DaysNMO3▶
13Outlier CostCPO12▶
14Grouper Version and TypeSTO4▶
15Diagnosis PriorityNMO2▶
16Diagnosing ClinicianXCNO250▶
17Diagnosis ClassificationISO3▶
18Confidential IndicatorIDO1▶
19Attestation Date/TimeTSO26▶
20Diagnosis IdentifierEIO427▶
21Diagnosis Action CodeIDO1▶

Example Segment

1DG1||1|I10|I21.0^ST-elevation MI involving LAD^ICD10|STEMI anterior|20260310143205|F||282^AMI with MCC|Y|||||||1|1234567890^JONES^ROBERT^^^MD^NPI|F|N|20260310200000

Related Segments

Used In Message Types

Parse messages with DG1 in real time

Paste any HL7 message into our free viewer. Decodes every segment and field instantly, client-side.

Open HL7 Message Viewer →

Need a message to test with?

Copy a realistic sample for any message type, or open it directly in the viewer. Free, no signup.

Browse HL7 Sample Messages →
← Back to HL7 Segment Reference