# getDrugDetails

**Identifier:** `vidal_getDrugDetails`

**Provider:** [VIDAL France](https://kirha.com/providers/vidal.md)

Retrieve full data for a drug (product/package/UCD/VMP) in one call: composition, ATC, indications, contraindications, side effects, routes, packages, UCDs, ALDs, pricing. Call searchDrugs or searchTherapeutics first to obtain drugUri.

## Run it with the CLI

```bash
kirha tools run vidal_getDrugDetails \
  --input '{
    "drugUri": "<drugUri>"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "vidal_getDrugDetails",
  "input": {
    "drugUri": "<drugUri>"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "drugUri": {
      "description": "From searchDrugs.uris[] or searchTherapeutics.productUris[]",
      "pattern": "^vidal:\\/\\/(product|package|ucd|vmp)\\/[A-Za-z0-9_-]+$",
      "type": "string"
    }
  },
  "required": [
    "drugUri"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "activePrinciples": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "alds": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "uri": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "ammType": {
      "type": "string"
    },
    "atcClassification": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "uri": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "beCareful": {
      "type": "boolean"
    },
    "bestDocType": {
      "type": "string"
    },
    "cis": {
      "type": "string"
    },
    "company": {
      "type": "string"
    },
    "container": {
      "additionalProperties": false,
      "properties": {
        "label": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        }
      },
      "type": "object"
    },
    "context": {
      "type": "string"
    },
    "contraindications": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "dispensationPlace": {
      "type": "string"
    },
    "divisibility": {
      "type": "number"
    },
    "drugInSport": {
      "type": "boolean"
    },
    "entityType": {
      "type": "string"
    },
    "exceptional": {
      "type": "boolean"
    },
    "galenicForm": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "number"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "genericType": {
      "type": "string"
    },
    "hasPublishedDoc": {
      "type": "boolean"
    },
    "indications": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "uri": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "indicators": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "patientFieldRequired": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "name",
          "patientFieldRequired"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "itemType": {
      "type": "string"
    },
    "marketStatus": {
      "type": "string"
    },
    "maxUcdRangePrice": {
      "type": "number"
    },
    "midwife": {
      "type": "boolean"
    },
    "minUcdRangePrice": {
      "type": "number"
    },
    "molecules": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "isActivePrinciple": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "strength": {
            "type": "string"
          },
          "uri": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "name": {
      "type": "string"
    },
    "offMarketDate": {
      "type": "string"
    },
    "onMarketDate": {
      "type": "string"
    },
    "packages": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "cip13": {
            "type": "string"
          },
          "marketStatus": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "publicPrice": {
            "type": "number"
          },
          "ucdPrice": {
            "type": "number"
          },
          "uri": {
            "type": "string"
          }
        },
        "required": [
          "uri",
          "name"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "perVolume": {
      "type": "string"
    },
    "refundRate": {
      "type": "string"
    },
    "restrictedPrescriptions": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "retrocession": {
      "type": "boolean"
    },
    "routes": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "outOfSpc": {
            "type": "boolean"
          },
          "ranking": {
            "type": "number"
          },
          "uri": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "safetyAlert": {
      "type": "boolean"
    },
    "sideEffects": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "apparatus": {
            "type": "string"
          },
          "frequency": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "uri": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "storage": {
      "additionalProperties": false,
      "properties": {
        "duration": {
          "type": "string"
        },
        "maxC": {
          "type": "number"
        },
        "minC": {
          "type": "number"
        },
        "precaution": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "unpacked": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "summary": {
      "type": "string"
    },
    "ucds": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "uri": {
            "type": "string"
          }
        },
        "required": [
          "uri",
          "name"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "units": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "uri": {
      "type": "string"
    },
    "vmp": {
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string"
        },
        "uri": {
          "type": "string"
        }
      },
      "required": [
        "uri",
        "name"
      ],
      "type": "object"
    },
    "withoutPrescription": {
      "type": "boolean"
    }
  },
  "required": [
    "context",
    "uri",
    "entityType",
    "name"
  ],
  "type": "object"
}
```

## Related tools

Other VIDAL France tools that this tool refers to, or that refer to it.

- [`searchDrugs`](https://kirha.com/providers/vidal/searchDrugs.md)
- [`searchTherapeutics`](https://kirha.com/providers/vidal/searchTherapeutics.md)
- [`getCompanyPortfolio`](https://kirha.com/providers/vidal/getCompanyPortfolio.md)

-----

[All VIDAL France tools](https://kirha.com/providers/vidal.md) · [< Back to tools list](https://kirha.com/tools.md)