Skip to content
APIsAPI ReferenceAnalysisDrug-Indexed Decision Support Sytem (HAS)

Decision Support System Indexed by Drug (HAS)

Introduction

The getSam request retrieves alerts indexed to a clinical drug (aka virtual drug), a branded drug (CIS), a packaged drug or an ingredient linked by the French National Authority for Health (HAS).

Entry Point

post/aort/v1/graphql

HTTP Headers

NameValue
Content-Typeapplication/json
AuthorizationBearer <token>

Arguments

These results are obtained through the analysis API. You need to provide a list of drugs (clinical, branded or packaged drug) to the getSam request via the drugs argument.

ArgumentInput fieldTypeDescription
drugsDrugInput[]List of drugs to analyze
patientconditionsConditionInput[]Patient Pathologies and Conditions (SNOMED)
patientsexGenderBiological sex of the patient
patientbirthDateDatePatient’s date of birth
patientcontinuousCriteriaContinuousCriterionInput[]Patient biological parameters
patientconcurrentTreatmentsTreatmentInputPre-existing treatments in the patient
patientageGroupsAgeGroup[]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)
patientobservationsObservationInput[]List of observations for the patient
softwareTypesTargetedTherapySoftware[]List of types of software asking for the decision

Result

The API returns an object of type SamResult.

AttributesTypeDescription
alertAlertResultAlert corresponding to the translation of the triggering algorithm into patient criteria and drugs similar to other Alert objects
samSamObject containing all information of the concerned SAM

Example

SAM

query GetSAM($drugs: [DrugInputWithIngredient])
  {
    getSam(drugs: $drugs){
      sam {
        title
        identifier
        messagesForHealthProfessionals {
          softwareType
          text
        }
        alternativeDrug
        status
        source
        contact
        updateDate
        validationDate
        versionNumber
      }
      alert {
        designation
        patient {
          ageGroups
          sex
          continuousCriteria {
            max
            min
            type
            unit
          }
          concurrentTreatments {
            ingredients
            procedures
            therapeuticClasses
          }
        }
      }
    }
  }
}

SAM

{
  "drugs": [
    {
      "clinicalDrug": {
        "code": "MV00003831",
        "terminology": "posos"
      }
    }
  ]
}

Response

{
  "data": {
    "getSam": [
      {
        "sam": {
          "title": "Rendre disponible aux professionnels de santé la fiche médicament sur la prévention et la gestion des effets indésirables du Vismodégib",
          "identifier": "2019_0028_19",
          "messagesForHealthProfessionals": null,
          "alternativeDrug": null,
          "status": "Actif",
          "source": "https://www.e-cancer.fr/Professionnels-de-sante/Medicaments/Prevention-suivi-et-gestion-des-effets-indesirables/Molecules-de-S-a-Z-d.c.i/Vismodegib",
          "contact": "ggrosjean@institutcancer.fr",
          "updateDate": null,
          "validationDate": "2019-02-13",
          "versionNumber": "V1.0"
        },
        "alert": {
          "designation": "Rendre disponible aux professionnels de santé la fiche médicament sur la prévention et la gestion des effets indésirables du Vismodégib",
          "patient": {
            "ageGroups": [],
            "sex": null,
            "continuousCriteria": [],
            "concurrentTreatments": {
              "ingredients": [],
              "procedures": [],
              "therapeuticClasses": []
            }
          }
        }
      }
    ]
  }
}

Enums

Gender

VariableDescription
MMale
FFemale

AgeGroup

VariableDescription
NEWBORNNewborn
SENIORSenior
CHILDChild
ADOLESCENTAdolescent
PREMATUREPremature
INFANTInfant
ADULTAdult

Response Code

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