Skip to content
APIsAPI ReferenceAnalysisContraindications

Analysis of contraindications

Introduction

The getContraindications query allows you to retrieve contraindications linked to a clinical drug (aka virtual drug), a branded drug (CIS) or a packaged drug (CIP).

Entry point

post/aort/v1/graphql

HTTP headers

NameValue
Content-Typeapplication/json
AuthorizationBearer <token>

Variables

To enter drugs, use autocomplete with entity_type=DRUG.
To enter conditions, use the autocomplete with entity_type=CONTRAINDICATION_TERRAIN.

VariesInput fieldTypeDescription
drugsDrugInput[]List of drugs to analyze. Drug can be clinical, branded or packaged drug.
patientageGroupsAgeGroup[]The age group(s) the patient belongs to.
patientbirthDateDatePatient’s date of birth.
patientconcurrentTreatmentsTreatmentInputPre-existing treatments in the patient.
patientconditionsConditionInput[]Patient Pathologies and Conditions (SNOMED).
patientsexGenderBiological sex of the patient.
patientcontinuousCriteriaContinuousCriterionInput[]Patient biological parameters.
typesAlertType[]Alert type and level.
snomedInferrenceBooleanParameter allowing you to search for alerts on nearby conditions via inferences allowed by SNOMED.

ContinuousCriterionInput

Input fieldTypeDescription
typeStringType of biological parameter
unitStringUnit of biological parameter
minFloatLower bound of the biological parameter
maxFloatUpper bound of the biological parameter
valueFloatAbsolute value of the biological parameter

ConcurrentTreatment

Input fieldTypeDescription
ingredientsString[]Ingredients of pre-existing medications in the patient
proceduresString[]Procedures and Operations in Patient History
therapeuticClassesString[]Therapeutic classes of treatments taken by the patient

Result

The API returns an object of type AlertResult.

AlertResult

AttributesTypeDescription
designationStringThe designation of the contraindication. The designation contains the two trigger groups separated by <>
typeAlertTypeType of contraindication (Precaution for use, Contraindication, Association NOT RECOMMENDED, …)
conditionConditionMedical condition concerned
patientPatientPatient criteria for contraindication
warningsWarning[]List of warnings
drugDrugDrug responsible for the contraindication
commentStringAdditional information to understand the contraindication
sourceSourceSource of contraindication

Drug

AttributesTypeDescription
clinicalDrugCodingWithInnClinical drug coding
brandedDrugCodingWithInnBranded drug coding
packagedDrugCodingWithInnPackaged drug coding

Coding

AttributesTypeDescription
codeStringCode of this entity in terminology
labelStringLabel of this entity in terminology
terminologyStringTerminology identifier, valid across the database

CodingWithInn

AttributesTypeDescription
codestringCode of this entity in terminology
labelstringLabel of this entity in terminology
terminologystringTerminology identifier, valid across the database
innstringInn identifier for the coding

Warning

AttributesTypeDescription
riskStringRisk of interaction
guidelinesString[]What to do

Source

AttributesTypeDescription
urlStringSearchable URL for this source
authorStringAuthor responsible for this source

Condition

Medical conditions encompass all situations or specific health states of an individual, whether they are pathologies, particular medical conditions (such as pregnancy or immunodeficiency), or even symptoms, adverse effects linked to taking medication

AttributesTypeDescription
designationStringMedical Condition Name
associatedConditionsAssociatedCondition[]Associated condition concomitant with or specifying the main condition. Associated conditions have a designation and can be linked to one or more modifiers, as well as have one or more codings.
modifiersString[]Object specifying the severity, state, intensity, chronology or location of a condition. This object is an Enum.
codingsCoding[]Codes specifying medical conditions. The terminologies available are SNOMED, ICD10 and Meddra. For long-term conditions specific codes are included in this list.

Patient

Purpose specifying the patient criteria, it makes it possible to specify the conditions of use of a treatment for an indication in a particular population, or to specify in which population a treatment is contraindicated or even in which population an adverse effect occurs.

AttributesTypeDescription
genderGenderSex biology of the patient. This object is an Enum with possible value Male or Female
ageGroupsAgeGroup[]Age category concerned. The different possible values are: Premature, Newborn (0 to 1 month), Infant (1 to 24 months), Child (0 months to 18 years), Adolescent (12 to 18 years), Adult (> 17 years) and Senior (> 64 years old).
concurrentTreatmentsTreatment[]Treatments taken by the patient.
continuousCriteriaContinuousCriterion[]Measure describing the patient’s condition.

Treatment

Purpose allowing to specify different treatments taken or to be taken by a patient.

AttributesTypeDescription
ingredientsString[]Substance attached to the Treatment object. The format of this object is described in Ingredient.
proceduresString[]Procedure attached to the Treatment object. This object has the form of a Coding whose terminology is Meddra.
therapeuticClassesString[]Therapeutic classes attached to the Treatment object. This object has the form of a Coding whose terminology is ATC.

Continuous Criterion

A continuous criterion designates a measurement or variable that can take on an infinite number of values in a given interval. Continuous criteria are often used to describe quantitative characteristics, such as height, weight, creatinine clearance, etc.

AttributesTypeDescription
typeStringType of biological parameter
unitStringUnit of biological parameter
minFloatLower bound of the biological parameter
maxFloatUpper bound of the biological parameter

Example

Contre-indications

query getContraindications($drugs: [DrugInput], $patient: PatientInput) {
  getContraindications(drugs: $drugs, patient: $patient) {
    designation
    type
    source {
      author
      url
    }
    drug {
      clinicalDrug {
        code
        inn
        label
        terminology
      }
    }
    condition {
      designation
      modifiers
      associatedConditions {
        designation
        modifiers
      }
    }
    patient {
      ageGroups
      continuousCriteria {
        type
        unit
        min
        max
      }
    }
    warnings {
      modifiers
      guidelines
      risk
    }
  }
}

Contre-indications-variables

{
  "drugs": [
    { "clinicalDrug": {"code": "MV00003202", "terminology": "posos"}
  }],
  "patient": {
    "conditions": [
      {
        "coding": {
          "code": "289908002"
        }
      }
    ]
  }
}

RĂ©ponse

{
  "data": {
    "getContraindications": [
      {
        "designation": "Grossesse",
        "type": "Contre-indication Absolue",
        "source": {
          "author": "RCP",
          "url": "http://ec.europa.eu/health/documents/community-register/2022/20220902156865/anx_156865_fr.pdf"
        },
        "drug": {
          "clinicalDrug": {
            "code": "MV00003202",
            "inn": "sitagliptine",
            "label": "Sitagliptine (phosphate) 50 mg comprimé",
            "terminology": "posos"
          }
        },
        "condition": {
          "designation": "Grossesse",
          "modifiers": [],
          "associatedConditions": []
        },
        "patient": {
          "ageGroups": [],
          "continuousCriteria": []
        },
        "warnings": []
      }
    ]
  }
}

Enums

AlertType

VariableDescription
ABSOLUTE_CONTRAINDICATION Absolute contraindication
RELATIVE_CONTRAINDICATIONRelative contraindication
PRECAUTIONPrecaution of use
WARNINGWarning

Gender

VariableDescription
MMale
FFemale

AgeGroup

VariableDescription
NEWBORNNewborn
SENIORSenior
CHILDChild
ADOLESCENTAdolescent
PREMATUREPremature
INFANTInfant
ADULTAdult

Response codes

CodeDescription
200OK
400One of the parameters passed in the request is invalid