{
  "sessionId":   "0f9ea092-c774-4624-bb10-8910ec03d1db",
  "instanceId":  "his-eoc-2026-06-01-12345",
  "eventType":   "case.coded",
  "occurredAt":  "2026-06-01T19:42:11Z",
  "cases": [
    {
      "format":        "spiges",
      "schemaVersion": "SPIGES-1.5",
      "data": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<spiges xmlns=\"https://www.bfs.admin.ch/xmlns/spiges/1.5\">\n  <Fall fall_id=\"F001\">\n    <Diagnose diagnose_code=\"K35.2\" diagnose_katalog=\"ICD-10-GM\" ist_hauptdiagnose=\"true\"/>\n    <Behandlung behandlung_code=\"47.01\" behandlung_katalog=\"CHOP\"/>\n  </Fall>\n</spiges>",
      "codingResult": {
        "caseId":              "F001",
        "tariff":              "SWISSDRG",
        "drg":                 "G22C",
        "drgDescription":      "Appendektomie ohne komplexe Diagnose",
        "mdc":                 "06",
        "partition":           "Surgical",
        "pccl":                3,
        "costWeight":          0.976,
        "baseCostWeight":      0.976,
        "effectiveCostWeight": 0.976,
        "los":                 5,
        "ltp":                 2,
        "htp":                 14,
        "alos":                4.8,
        "dayRate":             0.0,
        "transferDiscount":    false,
        "diagnoses":           [{ "code": "K35.2", "catalog": "ICD-10-GM", "isHauptdiagnose": true }],
        "procedures":          [{ "code": "47.01", "catalog": "CHOP", "performedAt": "2026-06-01T11:30:00Z" }],
        "supplements":         [],
        "warnings":            [],
        "flags":               [],
        "grouperVersion":      "SwissDRG-15.0",
        "grouperStatus":       "OK",
        "groupingSuccess":     true,
        "groupedAt":           "2026-06-01T19:42:09Z"
      }
    }
  ],
  "stats": {
    "startedAt":       "2026-06-01T19:42:08Z",
    "finishedAt":      "2026-06-01T19:42:11Z",
    "durationMs":      3142,
    "casesProcessed":  1,
    "diagnosesCount":  1,
    "treatmentsCount": 1,
    "sitesCount":      1,
    "enterpriseId":    100000001,
    "spiGesVersion":   "SPIGES-1.5",
    "success":         true,
    "warnings":        []
  }
}
