Drug Visual Analysis

B064-1 Create drug monitoring

Drug monitoring

post/synapse/alert/drug_search/create

Request

Request body

langstring required

Language setting, supports: CN (Chinese), EN (English)

titlestring required

Alert title

Example request

{
  "events": [
    {
      "name": "query_result",
      "subEvent": [
        "QUERY_RESULT"
      ]
    },
    {
      "name": "drug_dev_status",
      "subEvent": [
        "DISCOVERY",
        "PRECLINICAL",
        "PHASE_1",
        "APPROVED"
      ]
    },
    {
      "name": "clinical_trial",
      "subEvent": [
        "CLINICAL_TRIAL_FIRST_POSTED",
        "CLINICAL_TRIAL_RESULT_PUBLISHED"
      ]
    },
    {
      "name": "patent",
      "subEvent": [
        "PATENT_PUBLISHED",
        "PATENT_GRANTED"
      ]
    }
  ],
  "frequency": {
    "date": 1,
    "type": "WEEKLY"
  },
  "lang": "CN",
  "query": {
    "limit": 10,
    "drug": {
      "condition": "OR",
      "value": [
        "945fa31ebe9e41ae912e493aa3324576"
      ]
    },
    "target": {
      "condition": "OR",
      "value": [
        "9786d32e3d244a688ec6a60d2fe1b10b"
      ]
    },
    "disease": {
      "condition": "OR",
      "value": [
        "3beea980d93a4cc0abc864e27514601c"
      ]
    },
    "organization": {
      "condition": "OR",
      "value": [
        "6a8c172f1efc649035845f94c31a9c1e"
      ]
    },
    "mechanism_action": {
      "condition": "OR",
      "value": [
        "4dd338b149b3ecd0ee860e1fb379b44f"
      ]
    },
    "drug_type": {
      "condition": "OR",
      "value": [
        "c38eb408d6b842f487d6a27484156633"
      ]
    },
    "global_highest_dev_status": [
      "Approved"
    ],
    "exist_deal": true,
    "dev_status": [
      "Approved"
    ],
    "country": [
      "US",
      "EU"
    ],
    "organization_type": [
      "Company"
    ],
    "employee_number": [
      "GREATER_THAN_500"
    ],
    "sort": [
      {
        "sort_field": "DRUG_TYPE_SORT",
        "sort_order": "desc"
      },
      {
        "sort_field": "GLOBAL_HIGHEST_DEV_STATUS_RANK",
        "sort_order": "desc"
      },
      {
        "sort_field": "FIRST_APPROVED_DATE",
        "sort_order": "desc"
      }
    ]
  },
  "title": "我的药物预警"
}

Response

Successful b064-1 create drug monitoring response.

statusboolean required

Status

error_msgstring

Error Message

error_codeinteger required

Error Code

Example response

{
  "data": {
    "alert_id": "561a206a-25c5-4883-be9a-b48eb55edba2"
  },
  "error_msg": "The request parameter format is incorrect!"
}

Changes

No recorded changes to this operation across all 1 revision of this API.