PUT
/
assessment
/
api
/
v1
/
submit
/
{hash}
curl --request PUT \
  --url https://api.eka.care/assessment/api/v1/submit/{hash} \
  --header 'auth: <auth>' \
  --header 'client-id: <client-id>'
{
  "explain": [
    {
      "id": "111864006",
      "label": "Chikungunya fever",
      "support": {
        "values": [
          {
            "id": "47172c6c-a65c-11eb-8d02-1e003a340630",
            "wt": 0.42,
            "label": "Stomach pain",
            "children": []
          },
          {
            "id": "4720607a-a65c-11eb-8d02-1e003a340630",
            "wt": 0.42,
            "label": "Headache",
            "children": []
          },
          {
            "id": "47258974-a65c-11eb-8d02-1e003a340630",
            "wt": 0.84,
            "label": "Fever",
            "children": [
              {
                "id": "472603f4-a65c-11eb-8d02-1e003a340630",
                "wt": 0.63,
                "label": "chills or rigors",
                "relation": "characteristic"
              }
            ]
          },
          {
            "id": "4728ddae-a65c-11eb-8d02-1e003a340630",
            "wt": 0.83,
            "label": "Joint pain",
            "children": [
              {
                "id": "47297d40-a65c-11eb-8d02-1e003a340630",
                "wt": 0.62,
                "label": "in multiple joints",
                "relation": "location"
              }
            ]
          },
          {
            "id": "242635009",
            "wt": 0.84,
            "label": "Frequent mosquito bites",
            "children": []
          }
        ]
      },
      "conflict": {
        "values": []
      }
    },
    {
      "id": "38362002",
      "label": "Dengue fever",
      "support": {
        "values": [
          {
            "id": "47172c6c-a65c-11eb-8d02-1e003a340630",
            "wt": 0.44,
            "label": "Stomach pain",
            "children": []
          },
          {
            "id": "4720607a-a65c-11eb-8d02-1e003a340630",
            "wt": 0.84,
            "label": "Headache",
            "children": []
          },
          {
            "id": "47258974-a65c-11eb-8d02-1e003a340630",
            "wt": 0.85,
            "label": "Fever",
            "children": [
              {
                "id": "4726183a-a65c-11eb-8d02-1e003a340630",
                "wt": 0.61,
                "label": "sweating",
                "relation": "characteristic"
              }
            ]
          },
          {
            "id": "4728ddae-a65c-11eb-8d02-1e003a340630",
            "wt": 0.81,
            "label": "Joint pain",
            "children": [
              {
                "id": "47297d40-a65c-11eb-8d02-1e003a340630",
                "wt": 0.81,
                "label": "in multiple joints",
                "relation": "location"
              }
            ]
          },
          {
            "id": "242635009",
            "wt": 0.8,
            "label": "Frequent mosquito bites",
            "children": []
          }
        ]
      },
      "conflict": {
        "values": [
          {
            "id": "4781f86c-a65c-11eb-8d02-1e003a340630",
            "wt": 0.6,
            "label": "Easy bruising",
            "children": []
          }
        ]
      }
    },
    {
      "id": "61462000",
      "label": "Malaria",
      "support": {
        "values": [
          {
            "id": "4720607a-a65c-11eb-8d02-1e003a340630",
            "wt": 0.81,
            "label": "Headache",
            "children": []
          },
          {
            "id": "47258974-a65c-11eb-8d02-1e003a340630",
            "wt": 0.82,
            "label": "Fever",
            "children": [
              {
                "id": "472603f4-a65c-11eb-8d02-1e003a340630",
                "wt": 0.63,
                "label": "chills or rigors",
                "relation": "characteristic"
              },
              {
                "id": "4726183a-a65c-11eb-8d02-1e003a340630",
                "wt": 0.82,
                "label": "sweating",
                "relation": "characteristic"
              }
            ]
          },
          {
            "id": "4728ddae-a65c-11eb-8d02-1e003a340630",
            "wt": 0.65,
            "label": "Joint pain",
            "children": [
              {
                "id": "47297d40-a65c-11eb-8d02-1e003a340630",
                "wt": 0.43,
                "label": "in multiple joints",
                "relation": "location"
              }
            ]
          },
          {
            "id": "242635009",
            "wt": 0.83,
            "label": "Frequent mosquito bites",
            "children": []
          }
        ]
      },
      "conflict": {
        "values": [
          {
            "id": "47172c6c-a65c-11eb-8d02-1e003a340630",
            "wt": 0.02,
            "label": "Stomach pain",
            "children": []
          }
        ]
      }
    }
  ],
  "likelihood": [
    {
      "id": "111864006",
      "desc": "It is a viral fever caused by Chikungunya virus and is spreads by the bite of mosquitoes that carry this virus. Keeping mosquitoes away can help avoiding the spread of this disease ",
      "text": "Chikungunya fever",
      "explain": {
        "support": {
          "values": [
            {
              "id": "47172c6c-a65c-11eb-8d02-1e003a340630",
              "wt": 0.42,
              "label": "Stomach pain",
              "children": []
            },
            {
              "id": "4720607a-a65c-11eb-8d02-1e003a340630",
              "wt": 0.42,
              "label": "Headache",
              "children": []
            },
            {
              "id": "47258974-a65c-11eb-8d02-1e003a340630",
              "wt": 0.84,
              "label": "Fever",
              "children": [
                {
                  "id": "472603f4-a65c-11eb-8d02-1e003a340630",
                  "wt": 0.63,
                  "label": "chills or rigors",
                  "relation": "characteristic"
                }
              ]
            },
            {
              "id": "4728ddae-a65c-11eb-8d02-1e003a340630",
              "wt": 0.83,
              "label": "Joint pain",
              "children": [
                {
                  "id": "47297d40-a65c-11eb-8d02-1e003a340630",
                  "wt": 0.62,
                  "label": "in multiple joints",
                  "relation": "location"
                }
              ]
            },
            {
              "id": "242635009",
              "wt": 0.84,
              "label": "Frequent mosquito bites",
              "children": []
            }
          ]
        },
        "conflict": {
          "values": []
        }
      },
      "likelihood": "moderate",
      "relevant_doctor_specialities": [
        "Internal medicine specialist"
      ]
    },
    {
      "id": "38362002",
      "desc": "It is viral fever caused by the dengue virus. This virus is carried by a type of mosquito called Aedes egypti and transmitted by a mosquito bite. Damage to blood platelets which are need for proper clotting of blood is often seen in this type of fever. Keeping mosquitoes away can help in avoiding the spread of this disease.",
      "text": "Dengue fever",
      "explain": {
        "support": {
          "values": [
            {
              "id": "47172c6c-a65c-11eb-8d02-1e003a340630",
              "wt": 0.44,
              "label": "Stomach pain",
              "children": []
            },
            {
              "id": "4720607a-a65c-11eb-8d02-1e003a340630",
              "wt": 0.84,
              "label": "Headache",
              "children": []
            },
            {
              "id": "47258974-a65c-11eb-8d02-1e003a340630",
              "wt": 0.85,
              "label": "Fever",
              "children": [
                {
                  "id": "4726183a-a65c-11eb-8d02-1e003a340630",
                  "wt": 0.61,
                  "label": "sweating",
                  "relation": "characteristic"
                }
              ]
            },
            {
              "id": "4728ddae-a65c-11eb-8d02-1e003a340630",
              "wt": 0.81,
              "label": "Joint pain",
              "children": [
                {
                  "id": "47297d40-a65c-11eb-8d02-1e003a340630",
                  "wt": 0.81,
                  "label": "in multiple joints",
                  "relation": "location"
                }
              ]
            },
            {
              "id": "242635009",
              "wt": 0.8,
              "label": "Frequent mosquito bites",
              "children": []
            }
          ]
        },
        "conflict": {
          "values": [
            {
              "id": "4781f86c-a65c-11eb-8d02-1e003a340630",
              "wt": 0.6,
              "label": "Easy bruising",
              "children": []
            }
          ]
        }
      },
      "likelihood": "mild",
      "relevant_doctor_specialities": [
        "Internal medicine specialist"
      ]
    },
    {
      "id": "61462000",
      "desc": "Malaria is caused by a parasite called Plasmodium that is transmitted by the bite of Anopheles mosquito that carries this parasite. The parasites stays in the liver and red blood cells and causes damage to the red blood cells in the body.  Keeping mosquitoes away can help in avoiding spread of this disease.",
      "text": "Malaria",
      "explain": {
        "support": {
          "values": [
            {
              "id": "4720607a-a65c-11eb-8d02-1e003a340630",
              "wt": 0.81,
              "label": "Headache",
              "children": []
            },
            {
              "id": "47258974-a65c-11eb-8d02-1e003a340630",
              "wt": 0.82,
              "label": "Fever",
              "children": [
                {
                  "id": "472603f4-a65c-11eb-8d02-1e003a340630",
                  "wt": 0.63,
                  "label": "chills or rigors",
                  "relation": "characteristic"
                },
                {
                  "id": "4726183a-a65c-11eb-8d02-1e003a340630",
                  "wt": 0.82,
                  "label": "sweating",
                  "relation": "characteristic"
                }
              ]
            },
            {
              "id": "4728ddae-a65c-11eb-8d02-1e003a340630",
              "wt": 0.65,
              "label": "Joint pain",
              "children": [
                {
                  "id": "47297d40-a65c-11eb-8d02-1e003a340630",
                  "wt": 0.43,
                  "label": "in multiple joints",
                  "relation": "location"
                }
              ]
            },
            {
              "id": "242635009",
              "wt": 0.83,
              "label": "Frequent mosquito bites",
              "children": []
            }
          ]
        },
        "conflict": {
          "values": [
            {
              "id": "47172c6c-a65c-11eb-8d02-1e003a340630",
              "wt": 0.02,
              "label": "Stomach pain",
              "children": []
            }
          ]
        }
      },
      "likelihood": "mild",
      "relevant_doctor_specialities": [
        "General Physician"
      ]
    }
  ],
  "success": true
}

Headers

auth
string
required

The auth token of the user. It is used to authenticate the user.

client-id
string
required

The client id of the user. It is used to identify the user.

locale
string

The locale of the user. It is used to determine the language of the assessment. Supported locales are en, hi, kn for english, hindi and kannada respectively. Default value is en.

Content-Type
string

The content type of the request. It is used to determine the type of data being sent.

Response

200
application/json
OK

The assessment has been successfully submitted. The response contains the assessment summary. You can hit the Get Questionnaire Data API to get the questionnaire data for the submitted assessment.