Get Drug Contraindications

This endpoint retrieves a list of contraindications associated with a specific drug. A contraindication is a condition or factor that serves as a reason to withhold a certain medical treatment due to the harm that it would cause the patient.

HTTP Request

GET https://www.britelink.io/api/v1/drugs/{drugId}/contraindications

URL Parameters

ParameterDescription
drugIdThe unique identifier of the drug.

Response Format

The response is a JSON array where each element represents a contraindication associated with the drug. Each contraindication includes routes, dose forms, hypersensitivity data, lab values, recommended actions, and patient conditions.

Response JSON Structure

[
  {
    "route": [String],
    "dose_form": [String],
    "hypersensitivity": [String],
    "lab_values": [String],
    "recommended_actions": String,
    "patient_conditions": [
      {
        "name": String,
        "modification_of": {
          "condition_status": String,
          "base": {
            "name": String,
            "britelinkId": String
          },
          "severity": {
            "includes": [String],
            "excludes": [String]
          }
        }
      }
    ]
  },
  ...
]

Example Request

curl -L 'https://www.britelink.io/api/v1/drugs/${drugId}/contraindications' \
-H 'Authorization: Bearer yourapikey'

Example Response

[
  {
    "route": [],
    "dose_form": [],
    "hypersensitivity": ["true"],
    "lab_values": ["Liver enzyme levels"],
    "recommended_actions": "Monitor liver function",
    "patient_conditions": [
      {
        "name": "Severe, active Liver Disease",
        "modification_of": {
          "condition_status": "active",
          "base": {
            "name": "Liver Disease",
            "britelinkId": "12345678"
          },
          "severity": {
            "includes": ["severe"],
            "excludes": []
          }
        }
      }
    ]
  }
]

Use Case

This endpoint can be primarily used by healthcare professionals and medical systems to retrieve vital contraindication information for a given drug. It helps in making informed decisions about drug prescriptions and managing patient safety by identifying conditions under which a drug should not be used.