For clean Markdown of any page, append .md to the page URL. For a complete documentation index, see https://api-doc-new.gideononline.com/gideon-api-1-0/drugs/llms.txt. For full documentation content, see https://api-doc-new.gideononline.com/gideon-api-1-0/drugs/llms-full.txt.

# /drugs/{drug_code}/general

GET https://api.gideononline.com/drugs/%7Bdrug_code%7D/general

Returns the general information of a selected drug. The generation information may include:
- mechanism of action.
- typical adult dosage
- typical pediatric doage
- CSF penetration (inflamed meninges)
- Typical drug dosing for renal dysfunction. This is represented in the json response as:
  - renal_80: >80
  - renal_50_80: 50-80
  - renal_10_50: 10-50
  - renal_10: < 10
  
- Dosage interval for creatinine clearance
- Additional dose given following Hemodialysis
- Dosage given during continuous peritoneal dialysis
- References



The dosages listed represent “typical” regimens for patients with normal renal and hepatic function, and may not be applicable to a specific patient. Pediatric dosage schedules do not necessarily apply to infants. Where indicated, infant dosages apply to full-term babies with birth weight over 2,000 g.

The penetrability of drugs into cerebrospinal fluid (in the presence of meningeal inflammation) is displayed. These data do not imply an indication for any specific agent in cases of meningitis.

Dosage adjustments for patients with various levels of creatinine clearance are also displayed. These dosages should be viewed as initial guidelines, and must be adjusted according to serum levels as possible. In some cases, drugs having alternative routes of excretion and lacking in potential nephrotoxicity may be preferable.

Reference: https://api-doc-new.gideononline.com/gideon-api-1-0/drugs/drugs-drug-code-general

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /drugs/%7Bdrug_code%7D/general:
    get:
      operationId: drugs-drug-code-general
      summary: /drugs/{drug_code}/general
      description: >-
        Returns the general information of a selected drug. The generation
        information may include:

        - mechanism of action.

        - typical adult dosage

        - typical pediatric doage

        - CSF penetration (inflamed meninges)

        - Typical drug dosing for renal dysfunction. This is represented in the
        json response as:
          - renal_80: >80
          - renal_50_80: 50-80
          - renal_10_50: 10-50
          - renal_10: < 10
          
        - Dosage interval for creatinine clearance

        - Additional dose given following Hemodialysis

        - Dosage given during continuous peritoneal dialysis

        - References




        The dosages listed represent “typical” regimens for patients with normal
        renal and hepatic function, and may not be applicable to a specific
        patient. Pediatric dosage schedules do not necessarily apply to infants.
        Where indicated, infant dosages apply to full-term babies with birth
        weight over 2,000 g.


        The penetrability of drugs into cerebrospinal fluid (in the presence of
        meningeal inflammation) is displayed. These data do not imply an
        indication for any specific agent in cases of meningitis.


        Dosage adjustments for patients with various levels of creatinine
        clearance are also displayed. These dosages should be viewed as initial
        guidelines, and must be adjusted according to serum levels as possible.
        In some cases, drugs having alternative routes of excretion and lacking
        in potential nephrotoxicity may be preferable.
      tags:
        - subpackage_drugs
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Drugs_/drugs/{drug_code}/general_Response_200
servers:
  - url: https://api.gideononline.com
  - url: https://api-test.gideononline.com
components:
  schemas:
    Drugs7BdrugCode7DGeneralGetResponsesContentApplicationJsonSchemaDataReferencesItems:
      type: object
      properties:
        citation:
          type: string
        short_citation:
          type: string
      required:
        - citation
        - short_citation
      title: >-
        Drugs7BdrugCode7DGeneralGetResponsesContentApplicationJsonSchemaDataReferencesItems
    Drugs7BdrugCode7DGeneralGetResponsesContentApplicationJsonSchemaData:
      type: object
      properties:
        drug:
          type: string
        renal_10:
          type: string
        renal_80:
          type: string
        synonyms:
          type: array
          items:
            type: string
        drug_code:
          type: integer
        references:
          type: array
          items:
            $ref: >-
              #/components/schemas/Drugs7BdrugCode7DGeneralGetResponsesContentApplicationJsonSchemaDataReferencesItems
        renal_10_50:
          type: string
        renal_50_80:
          type: string
        adult_dosage:
          type: string
        csf_penetration:
          type: string
        pediatric_dosage:
          type: string
        hemodialysis_dosage:
          type: string
        mechanism_of_action:
          type: string
        peritoneal_dialysis_dosage:
          type: string
      required:
        - drug
        - renal_10
        - renal_80
        - synonyms
        - drug_code
        - references
        - renal_10_50
        - renal_50_80
        - adult_dosage
        - csf_penetration
        - pediatric_dosage
        - hemodialysis_dosage
        - mechanism_of_action
        - peritoneal_dialysis_dosage
      title: Drugs7BdrugCode7DGeneralGetResponsesContentApplicationJsonSchemaData
    Drugs_/drugs/{drug_code}/general_Response_200:
      type: object
      properties:
        data:
          $ref: >-
            #/components/schemas/Drugs7BdrugCode7DGeneralGetResponsesContentApplicationJsonSchemaData
      required:
        - data
      title: Drugs_/drugs/{drug_code}/general_Response_200
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization

```

## SDK Code Examples

```python Drugs_/drugs/{drug_code}/general_example
import requests

url = "https://api.gideononline.com/drugs/%7Bdrug_code%7D/general"

headers = {"Authorization": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Drugs_/drugs/{drug_code}/general_example
const url = 'https://api.gideononline.com/drugs/%7Bdrug_code%7D/general';
const options = {method: 'GET', headers: {Authorization: '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Drugs_/drugs/{drug_code}/general_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.gideononline.com/drugs/%7Bdrug_code%7D/general"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Drugs_/drugs/{drug_code}/general_example
require 'uri'
require 'net/http'

url = URI("https://api.gideononline.com/drugs/%7Bdrug_code%7D/general")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Drugs_/drugs/{drug_code}/general_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.gideononline.com/drugs/%7Bdrug_code%7D/general")
  .header("Authorization", "<apiKey>")
  .asString();
```

```php Drugs_/drugs/{drug_code}/general_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.gideononline.com/drugs/%7Bdrug_code%7D/general', [
  'headers' => [
    'Authorization' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Drugs_/drugs/{drug_code}/general_example
using RestSharp;

var client = new RestClient("https://api.gideononline.com/drugs/%7Bdrug_code%7D/general");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Drugs_/drugs/{drug_code}/general_example
import Foundation

let headers = ["Authorization": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.gideononline.com/drugs/%7Bdrug_code%7D/general")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```