{
  "contractVersion": "harness.catalyst-notebook.http-exchange.v1",
  "request": {
    "method": "POST",
    "path": "/v1/catalyst/workbench/versions/b75f7703-2190-4b7a-b5f8-18a6ee441420/execute",
    "body": {
      "contractVersion": "catalyst.workbench.execute.request.v1",
      "versionId": "b75f7703-2190-4b7a-b5f8-18a6ee441420",
      "queryDigest": "79c3c92f6d8cf38eb82f1373a2dbd6b245fa04846fec98a14a5c12cb855b9daf",
      "idempotencyKey": "harness-notebook-9f84eb47-6799-43be-9ceb-e135538c297c"
    }
  },
  "response": {
    "httpStatus": 200,
    "body": {
      "contractVersion": "catalyst.workbench.execution.v1",
      "queryDigest": "79c3c92f6d8cf38eb82f1373a2dbd6b245fa04846fec98a14a5c12cb855b9daf",
      "idempotencyKey": "harness-notebook-9f84eb47-6799-43be-9ceb-e135538c297c",
      "validationStatus": "valid",
      "query": {
        "sql": "SELECT medication_name, COUNT(*) AS count FROM analytics.hiv_medication_request_fact_v1 WHERE patient_gender = :gender AND do_not_perform = false GROUP BY medication_name ORDER BY count DESC",
        "parameters": [
          {
            "name": "gender",
            "type": "string",
            "source": "question",
            "value": "female"
          }
        ]
      },
      "statementTimeoutMs": 10000,
      "maxRows": 100,
      "replayed": false,
      "status": "succeeded",
      "result": {
        "columns": [
          {
            "ordinal": 0,
            "name": "medication_name",
            "databaseType": "text",
            "typeOid": 25,
            "logicalType": "string"
          },
          {
            "ordinal": 1,
            "name": "count",
            "databaseType": "int8",
            "typeOid": 20,
            "logicalType": "integer"
          }
        ],
        "rows": [
          [
            {
              "type": "string",
              "value": "Lamivudine"
            },
            {
              "type": "integer",
              "value": 6600
            }
          ],
          [
            {
              "type": "string",
              "value": "Stavudine"
            },
            {
              "type": "integer",
              "value": 6516
            }
          ],
          [
            {
              "type": "string",
              "value": "Nevirapine"
            },
            {
              "type": "integer",
              "value": 5928
            }
          ],
          [
            {
              "type": "string",
              "value": "Trimethoprim and sulfamethoxazole"
            },
            {
              "type": "integer",
              "value": 3305
            }
          ],
          [
            {
              "type": "string",
              "value": "Isoniazid"
            },
            {
              "type": "integer",
              "value": 1359
            }
          ],
          [
            {
              "type": "string",
              "value": "Efavirenz"
            },
            {
              "type": "integer",
              "value": 948
            }
          ],
          [
            {
              "type": "string",
              "value": "Diphtheria tetanus and pertussis vaccination"
            },
            {
              "type": "integer",
              "value": 434
            }
          ],
          [
            {
              "type": "string",
              "value": "Polio vaccination, oral"
            },
            {
              "type": "integer",
              "value": 415
            }
          ],
          [
            {
              "type": "string",
              "value": "Hepatitis B vaccination"
            },
            {
              "type": "integer",
              "value": 388
            }
          ],
          [
            {
              "type": "string",
              "value": "Hemophilus influenza B vaccine"
            },
            {
              "type": "integer",
              "value": 380
            }
          ],
          [
            {
              "type": "string",
              "value": "Lamivudine / zidovudine"
            },
            {
              "type": "integer",
              "value": 367
            }
          ],
          [
            {
              "type": "string",
              "value": "Measles vaccination"
            },
            {
              "type": "integer",
              "value": 354
            }
          ],
          [
            {
              "type": "string",
              "value": "Lopinavir / ritonavir"
            },
            {
              "type": "integer",
              "value": 290
            }
          ],
          [
            {
              "type": "string",
              "value": "Ethambutol and isoniazid"
            },
            {
              "type": "integer",
              "value": 283
            }
          ],
          [
            {
              "type": "string",
              "value": "Didanosine"
            },
            {
              "type": "integer",
              "value": 235
            }
          ],
          [
            {
              "type": "string",
              "value": "Retrovir"
            },
            {
              "type": "integer",
              "value": 234
            }
          ],
          [
            {
              "type": "string",
              "value": "Abacavir"
            },
            {
              "type": "integer",
              "value": 145
            }
          ],
          [
            {
              "type": "string",
              "value": "Dapsone"
            },
            {
              "type": "integer",
              "value": 110
            }
          ],
          [
            {
              "type": "string",
              "value": "Lamivudine / nevirapine / stavudine"
            },
            {
              "type": "integer",
              "value": 101
            }
          ],
          [
            {
              "type": "string",
              "value": "Rifampicin isoniazid pyrazinamide and ethambutol"
            },
            {
              "type": "integer",
              "value": 86
            }
          ],
          [
            {
              "type": "string",
              "value": "Fluconazole"
            },
            {
              "type": "integer",
              "value": 76
            }
          ],
          [
            {
              "type": "string",
              "value": "Isoniazid / pyrazinamide / rifampin"
            },
            {
              "type": "integer",
              "value": 61
            }
          ],
          [
            {
              "type": "string",
              "value": "Nelfinavir"
            },
            {
              "type": "integer",
              "value": 60
            }
          ],
          [
            {
              "type": "string",
              "value": "Infant formula"
            },
            {
              "type": "integer",
              "value": 55
            }
          ],
          [
            {
              "type": "string",
              "value": "Ethambutol"
            },
            {
              "type": "integer",
              "value": 49
            }
          ],
          [
            {
              "type": "string",
              "value": "Total maternal to child transmission prophylaxis"
            },
            {
              "type": "integer",
              "value": 39
            }
          ],
          [
            {
              "type": "string",
              "value": "Rifampicin and isoniazid"
            },
            {
              "type": "integer",
              "value": 26
            }
          ],
          [
            {
              "type": "string",
              "value": "Streptomycin"
            },
            {
              "type": "integer",
              "value": 12
            }
          ],
          [
            {
              "type": "string",
              "value": "Tenofovir"
            },
            {
              "type": "integer",
              "value": 9
            }
          ],
          [
            {
              "type": "string",
              "value": "Rifadin"
            },
            {
              "type": "integer",
              "value": 1
            }
          ]
        ],
        "rowCount": {
          "returned": 30,
          "truncated": false,
          "truncationReason": null
        },
        "warnings": []
      },
      "durationMs": 133,
      "executionId": "ac4a67e4-65af-490c-92cb-7becd57d8a65",
      "sessionId": "d71a5f6f-7aa6-4be0-89d3-015cfe650eb3",
      "versionId": "b75f7703-2190-4b7a-b5f8-18a6ee441420",
      "ordinal": 1,
      "completedAt": "2026-08-25T00:15:00.688555Z"
    }
  },
  "elapsedMs": 153
}
