/pheno/symptoms/{cui}/disnet-diseases

  • Description

    Retrieve the list of diseases that present a certain symptom in their clinical picture. Optionally you can filter by source and snapshot.

  • URL (PATH)

    /pheno/symptoms/{cui}/disnet-diseases?source={source}&snapshot={snapshot}&token={token}

  • Method

    GET

  • Authentication

    Optional (token)

  • Request parameters & Path variables
    Parameter Description
    cui
    [alphanumeric]
    required
    A cui identifier corresponding to a symptom
    source
    [alphanumeric]
    optional
    always paired with snapshot
    Name of the information source
    snapshot
    [alphanumeric]
    optional
    always paired with source
    Date of the information extraction, with the the following format: “yyyy-mm-dd”
    token
    [alphanumeric]
    optional
    Optional access key to save the current query in your profile
  • Example request
                                         https://disnet.ctb.upm.es/api/disnet/pheno/symptoms/C0221198/disnet-diseases?source=wikipedia&snapshot=2020-01-01&token=eJtdWrIisOiJt...
                                    
  • Success response (application/json)
                                        {
      "token": null,
      "authorized": false,
      "authorizationMessage": null,
      "responseCode": "200",
      "responseMessage": "OK",
      "errorsFound": [],
      "data": [
        {
          "name": "Otic polyp",
          "diseaseId": "DIS000004"
        },
        {
          "name": "Cavernous hemangioma",
          "diseaseId": "DIS000072"
        },
        {
          "name": "Bluetongue disease",
          "diseaseId": "DIS000086"
        }
       ...  ]
    }
                                    
  • Error response (application/json)

    Common errors

    Source error

    Snapshot error

    Snapshot format error

    Symptom cui error