# getPosologyDescriptors

**Identifier:** `vidal_getPosologyDescriptors`

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

AMM posology descriptors for a drug (min/usual/max per unit, indication, route) in a patient context. Use to propose a starting dose; use analyzePrescription to validate one.

## Run it with the CLI

```bash
kirha tools run vidal_getPosologyDescriptors \
  --input '{
    "drugUri": "<drugUri>",
    "patient": {
      "dateOfBirth": "<dateOfBirth>",
      "gender": "MALE",
      "weightKg": 1,
      "heightCm": 1
    }
  }'
```

`--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_getPosologyDescriptors",
  "input": {
    "drugUri": "<drugUri>",
    "patient": {
      "dateOfBirth": "<dateOfBirth>",
      "gender": "MALE",
      "weightKg": 1,
      "heightCm": 1
    }
  }
}'
```

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": "vidal://product/<id> or vidal://vmp/<id>",
      "type": "string"
    },
    "patient": {
      "properties": {
        "dateOfBirth": {
          "description": "YYYY-MM-DD",
          "type": "string"
        },
        "gender": {
          "enum": [
            "MALE",
            "FEMALE"
          ],
          "type": "string"
        },
        "heightCm": {
          "exclusiveMinimum": 0,
          "maximum": 250,
          "type": "number"
        },
        "hepaticInsufficiency": {
          "default": "NONE",
          "enum": [
            "NONE",
            "MODERATE",
            "SEVERE"
          ],
          "type": "string"
        },
        "routeUri": {
          "description": "vidal://route/<id> — narrows to posologies for that route",
          "type": "string"
        },
        "weightKg": {
          "exclusiveMinimum": 0,
          "maximum": 300,
          "type": "number"
        }
      },
      "required": [
        "dateOfBirth",
        "gender",
        "weightKg",
        "heightCm"
      ],
      "type": "object"
    }
  },
  "required": [
    "drugUri",
    "patient"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "drug": {
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string"
        },
        "uri": {
          "type": "string"
        }
      },
      "required": [
        "uri"
      ],
      "type": "object"
    },
    "posologies": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "adaptations": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "description": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "doseRanges": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "description": {
                  "type": "string"
                },
                "maxAbsoluteDoseFrequencyUnitId": {
                  "type": "number"
                },
                "maxAbsoluteValue": {
                  "type": "number"
                },
                "maxDoseFrequencyUnitId": {
                  "type": "number"
                },
                "maxValue": {
                  "type": "number"
                },
                "minDoseFrequencyUnitId": {
                  "type": "number"
                },
                "minValue": {
                  "type": "number"
                },
                "unitNumeratorId": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "frequencyRange": {
            "additionalProperties": false,
            "properties": {
              "description": {
                "type": "string"
              },
              "frequencyUnitId": {
                "type": "number"
              },
              "maxValue": {
                "type": "number"
              },
              "minValue": {
                "type": "number"
              }
            },
            "type": "object"
          },
          "indications": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "name": {
                  "type": "string"
                },
                "uri": {
                  "type": "string"
                }
              },
              "required": [
                "name"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "route": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string"
              },
              "uri": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          "usualMaximumDoseAtOnce": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "description": {
                  "type": "string"
                },
                "unitNumeratorId": {
                  "type": "number"
                },
                "value": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "context",
    "drug",
    "posologies"
  ],
  "type": "object"
}
```

## Related tools

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

- [`analyzePrescription`](https://kirha.com/providers/vidal/analyzePrescription.md)

-----

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