{
  "contractVersion": "harness.catalyst-notebook.http-exchange.v1",
  "request": {
    "method": "POST",
    "path": "/v1/catalyst/workbench/versions/bf90b391-375f-4136-88cd-f6bfd8cc6e48/execute",
    "body": {
      "contractVersion": "catalyst.workbench.execute.request.v1",
      "versionId": "bf90b391-375f-4136-88cd-f6bfd8cc6e48",
      "queryDigest": "cf81808c2ef7a45e2a96b8f6dfc8a6b276a818b8ba249a5a1efa4db3a4bddb09",
      "idempotencyKey": "harness-notebook-c8bcee07-858e-44e3-9533-541d9743fb97"
    }
  },
  "response": {
    "httpStatus": 200,
    "body": {
      "contractVersion": "catalyst.workbench.execution.v1",
      "queryDigest": "cf81808c2ef7a45e2a96b8f6dfc8a6b276a818b8ba249a5a1efa4db3a4bddb09",
      "idempotencyKey": "harness-notebook-c8bcee07-858e-44e3-9533-541d9743fb97",
      "validationStatus": "valid",
      "query": {
        "sql": "SELECT medication_name, COUNT(*) AS request_count FROM analytics.hiv_medication_request_fact_v1 WHERE patient_gender = :gender AND do_not_perform = false GROUP BY medication_name ORDER BY request_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": "request_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": 158,
      "executionId": "14606a37-a161-46f5-b7af-c3912a88cbc8",
      "sessionId": "0225c04b-57c4-4408-b56f-f37593cadd1e",
      "versionId": "bf90b391-375f-4136-88cd-f6bfd8cc6e48",
      "ordinal": 1,
      "completedAt": "2026-08-25T00:51:03.008802Z"
    }
  },
  "elapsedMs": 183
}
