Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
3
3
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S42.343A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S62.608B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S82.151C" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: N39.0" }, { "role": "assistant", "content": "MS-DRG 006 — LIVER TRANSPLANT WITHOUT MCC\nRel...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S62.352B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S42.443B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: T32.71" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR INT...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: T23.731A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S82.122C" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S34.101A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S72.456C" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S02.832B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "MS-DRG: 866" }, { "role": "assistant", "content": "MS-DRG 866 — VIRAL ILLNESS WITHOUT MCC\nRelative Weight:...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: E11.630" }, { "role": "assistant", "content": "MS-DRG 002 — HEART TRANSPLANT OR IMPLANT OF ...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "MS-DRG: 675" }, { "role": "assistant", "content": "MS-DRG 675 — OTHER KIDNEY AND URINARY TRACT PROCEDURES W...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "MS-DRG: 115" }, { "role": "assistant", "content": "MS-DRG 115 — EXTRAOCULAR PROCEDURES EXCEPT ORBIT\nRelati...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S32.611B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S92.012B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S42.351A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S62.512B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S32.453B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: E11.52" }, { "role": "assistant", "content": "MS-DRG 002 — HEART TRANSPLANT OR IMPLANT OF H...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S52.136B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S02.630B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: O36.8193" }, { "role": "assistant", "content": "MS-DRG 003 — ECMO OR TRACHEOSTOMY WITH MV >...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S82.242B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S06.0X9A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: O35.7XX5" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S82.456B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "MS-DRG: 695" }, { "role": "assistant", "content": "MS-DRG 695 — KIDNEY AND URINARY TRACT SIGNS AND SYMPTOMS...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: T23.799A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S72.452C" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S06.4X2A" }, { "role": "assistant", "content": "MS-DRG 031 — VENTRICULAR SHUNT PROCEDURES W...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S32.16XS" }, { "role": "assistant", "content": "MS-DRG 003 — ECMO OR TRACHEOSTOMY WITH MV >...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S22.029A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S82.253C" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S92.145B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: T25.332A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "MS-DRG: 533" }, { "role": "assistant", "content": "MS-DRG 533 — FRACTURES OF FEMUR WITH MCC\nRelative Weigh...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S72.021A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S12.491A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: E11.10" }, { "role": "assistant", "content": "MS-DRG 002 — HEART TRANSPLANT OR IMPLANT OF H...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S82.56XB" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: Q99.811" }, { "role": "assistant", "content": "MS-DRG 001 — HEART TRANSPLANT OR IMPLANT OF ...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S52.539C" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S52.531C" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S52.512B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S82.851C" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S17.0XXA" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S82.141B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S32.599A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S62.642B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S22.082B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S59.012A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S22.040A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S06.334A" }, { "role": "assistant", "content": "MS-DRG 006 — LIVER TRANSPLANT WITHOUT MCC\n...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "MS-DRG: 091" }, { "role": "assistant", "content": "MS-DRG 091 — OTHER DISORDERS OF NERVOUS SYSTEM WITH MCC\...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S06.2X1A" }, { "role": "assistant", "content": "MS-DRG 030 — SPINAL PROCEDURES WITHOUT CC/M...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: T81.599A" }, { "role": "assistant", "content": "MS-DRG 001 — HEART TRANSPLANT OR IMPLANT OF...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S82.892B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S92.114B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S62.001B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "MS-DRG: 027" }, { "role": "assistant", "content": "MS-DRG 027 — CRANIOTOMY AND ENDOVASCULAR INTRACRANIAL PR...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S82.451C" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S12.111A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: L89.93" }, { "role": "assistant", "content": "MS-DRG 003 — ECMO OR TRACHEOSTOMY WITH MV >96...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S42.301B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S72.301B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S42.262B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: T22.312A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S49.019A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S72.115C" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S42.445A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "MS-DRG: 797" }, { "role": "assistant", "content": "MS-DRG 797 — VAGINAL DELIVERY WITH STERILIZATION AND/OR ...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S52.119A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S62.166B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S72.136C" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S52.389B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S42.466A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S62.024B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S32.465B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S72.114B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S59.241A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S82.091A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S32.411B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "MS-DRG: 629" }, { "role": "assistant", "content": "MS-DRG 629 — OTHER ENDOCRINE, NUTRITIONAL AND METABOLIC ...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S42.111B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S42.224B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: L89.021" }, { "role": "assistant", "content": "MS-DRG 001 — HEART TRANSPLANT OR IMPLANT OF ...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S24.131A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S52.133B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S72.011C" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: T24.799A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S42.352A" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S42.92XB" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: L89.212" }, { "role": "assistant", "content": "MS-DRG 002 — HEART TRANSPLANT OR IMPLANT OF ...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: T31.33" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR INT...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: O36.0932" }, { "role": "assistant", "content": "MS-DRG 002 — HEART TRANSPLANT OR IMPLANT OF...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: E10.3529" }, { "role": "assistant", "content": "MS-DRG 001 — HEART TRANSPLANT OR IMPLANT OF...
[ { "role": "system", "content": "You are a DRG grouper. Given ICD-10-CM codes, return the MS-DRG code, relative weight, and geometric mean LOS." }, { "role": "user", "content": "ICD-10-CM code: S52.501B" }, { "role": "assistant", "content": "MS-DRG 005 — LIVER TRANSPLANT WITH MCC OR I...
End of preview. Expand in Data Studio

ICD-10-CM to MS-DRG Mapper

Part of the AxisMapper Medical AI Suite — 16 domain-specific SFT datasets for fine-tuning medical LLMs.

Built by AmareshHebbar | Studio Ilios / Humanova Minds


What this dataset does

ICD-10-CM diagnosis codes → MS-DRG code, relative weight, and geometric mean LOS

Why download this

Hospital reimbursement prediction, DRG validation, revenue cycle automation. Critical for US hospital billing under the Medicare IPPS system.

Dataset stats

Split Rows
Train 617
Validation 77
Test 78
Total 772

Data format

Every row is a messages list in chat format — compatible with Unsloth, TRL SFTTrainer, LLaMA-Factory, and any OpenAI-style fine-tuning pipeline:

{
  "messages": [
    {"role": "system",    "content": "You are a ..."},
    {"role": "user",      "content": "ICD-10-CM code: I21.09"},
    {"role": "assistant", "content": "MS-DRG 280 — Acute Myocardial Infarction, Discharged Alive with MCC
Relative Weight: 2.8613
Geometric Mean LOS: 4.7 days"}
  ]
}

Data source

CMS MS-DRG v43.1 Definitions Manual + FY2026 Final Rule Table 5https://www.cms.gov/medicare/payment/prospective-payment-systems/acute-inpatient-pps

All data is extracted from authoritative public sources. No LLM-generated or synthetic content.

Who should use this

Hospital revenue cycle teams, healthcare finance analysts, health IT developers.

Quick start

from datasets import load_dataset

ds = load_dataset("AmareshHebbar/icd10-to-drg-sft")
print(ds["train"][0])

Fine-tuning example (Unsloth)

from unsloth import FastLanguageModel
from trl import SFTTrainer
from datasets import load_dataset

model, tokenizer = FastLanguageModel.from_pretrained(
    model_name="unsloth/Qwen2.5-3B-Instruct",
    max_seq_length=2048,
    load_in_4bit=True,
)

dataset = load_dataset("AmareshHebbar/icd10-to-drg-sft", split="train")

trainer = SFTTrainer(
    model=model,
    tokenizer=tokenizer,
    train_dataset=dataset,
    dataset_text_field="messages",
    max_seq_length=2048,
)
trainer.train()

Related datasets in this collection

Dataset Task Rows
icd10-coder-sft ICD-10-CM coding 74.7k
symptom-diagnoser-sft Symptom → diagnosis 119k
clinical-summarizer-sft SOAP summarization 30k
discharge-qa-sft Discharge summary QA 30k
pmjay-classifier-sft PM-JAY packages 11.1k
radiology-coder-sft Radiology coding 25k
medical-ner-sft Clinical NER 16.7k
hindi-medical-sft Hindi medical QA 19.7k

Citation

@misc{axiomapper2026,
  author    = {Hebbar, Amaresh},
  title     = {AxisMapper: Medical AI Fine-tuning Dataset Suite},
  year      = {2026},
  publisher = {HuggingFace},
  url       = {https://huggingface.co/collections/AmareshHebbar/axiomapper-medical-ai-suite}
}

AxisMapper is an open-source project. Star the repo, open issues, and contribute at GitHub.

Downloads last month
40

Models trained or fine-tuned on AmareshHebbar/icd10-to-drg-sft

Collection including AmareshHebbar/icd10-to-drg-sft