XUND API Documentation

GET /v1/chatbot/overview/symptoms/:symptomId/questions

Get questions asked about a certain added symptom

Request

Request header additional fields

Parameter name

Parameter type

Parameter description

check-id

string

The ongoing check identifier

language

ClientLanguage

The expected language of the response

Request URL parameters

Parameter name

Parameter type

Parameter description

symptomId

string

Id of the symptom to get questions for

Response

The response is an array of Question models

Examples

Click to expand...
JSON
[
    {
        "detailedTypeData": {
            "linkedSymptom": {
                "id": "5e63f95e-ef3b-42ce-9027-ff6e021e19ef",
                "name": "Abdominal pain"
            },
            "gender": "MALE"
        },
        "id": "169b1764-4695-4d42-a562-4aaf75ee76d2",
        "text": "Where exactly do you have pain in your abdomen?",
        "isSkippable": true,
        "isAnswered": true,
        "type": "SINGLE_SELECT",
        "detailedType": "ABDOMINAL_ZOOM",
        "checkStateInfo": {
            "detailedState": "MAIN_SYMPTOM_SURVEY",
            "state": "MAIN_SYMPTOM"
        },
        "options": {
            "count": 9,
            "values": [
                {
                    "id": "uberall",
                    "text": "Everywhere",
                    "type": "ABDOMINAL_ZONE",
                    "isSelected": false,
                    "code": "uberall"
                },
                {
                    "id": "rechterOberbauch",
                    "text": "Upper-right abdomen",
                    "type": "ABDOMINAL_ZONE",
                    "isSelected": false,
                    "code": "rechterOberbauch"
                },
                {
                    "id": "oberbauchMittig",
                    "text": "Upper-central abdomen",
                    "type": "ABDOMINAL_ZONE",
                    "isSelected": false,
                    "code": "oberbauchMittig"
                },
                {
                    "id": "linkerOberbauch",
                    "text": "Left upper abdomen",
                    "type": "ABDOMINAL_ZONE",
                    "isSelected": false,
                    "code": "linkerOberbauch"
                },
                {
                    "id": "bauchSeitlich",
                    "text": "Lateral Abdomen",
                    "type": "ABDOMINAL_ZONE",
                    "isSelected": false,
                    "code": "bauchSeitlich"
                },
                {
                    "id": "nabel",
                    "text": "Navel",
                    "type": "ABDOMINAL_ZONE",
                    "isSelected": true,
                    "code": "nabel"
                },
                {
                    "id": "rechterUnterbauch",
                    "text": "Lower-right abdomen",
                    "type": "ABDOMINAL_ZONE",
                    "isSelected": false,
                    "code": "rechterUnterbauch"
                },
                {
                    "id": "unterbauchMittig",
                    "text": "Lower-central abdomen",
                    "type": "ABDOMINAL_ZONE",
                    "isSelected": false,
                    "code": "unterbauchMittig"
                },
                {
                    "id": "linkerUnterbauch",
                    "text": "Lower-left abdomen",
                    "type": "ABDOMINAL_ZONE",
                    "isSelected": false,
                    "code": "linkerUnterbauch"
                }
            ]
        }
    },
    {
        "detailedTypeData": {
            "linkedSymptom": {
                "id": "5e63f95e-ef3b-42ce-9027-ff6e021e19ef",
                "name": "Abdominal pain"
            },
            "gender": "MALE"
        },
        "id": "030b4ef8-0a63-4f4c-bf3b-28db1f08e6e8",
        "text": "How severe is your abdominal pain?",
        "isSkippable": true,
        "isAnswered": true,
        "type": "SINGLE_SELECT",
        "detailedType": "SCALE",
        "checkStateInfo": {
            "detailedState": "MAIN_SYMPTOM_SURVEY",
            "state": "MAIN_SYMPTOM"
        },
        "options": {
            "count": 3,
            "values": [
                {
                    "id": "a9e55b1a-dc16-48d9-bcd4-9e2d5b114a68",
                    "text": "Light",
                    "type": "SURVEY_ANSWER",
                    "isSelected": false,
                    "from": 1,
                    "to": 3
                },
                {
                    "id": "db907812-aab1-4e29-ba51-65157761a712",
                    "text": "Strong",
                    "type": "SURVEY_ANSWER",
                    "isSelected": true,
                    "from": 3,
                    "to": 7
                },
                {
                    "id": "112a356d-fd3b-4718-aaf4-6d3e730d2c2a",
                    "text": "Unbearable",
                    "type": "SURVEY_ANSWER",
                    "isSelected": false,
                    "from": 7,
                    "to": 10
                }
            ]
        }
    },
    {
        "detailedTypeData": {
            "linkedSymptom": {
                "id": "5e63f95e-ef3b-42ce-9027-ff6e021e19ef",
                "name": "Abdominal pain"
            },
            "gender": "MALE"
        },
        "id": "847074a7-2da6-410e-983f-0815fd0232b6",
        "text": "Will the pain be better if you lean forward?",
        "isSkippable": true,
        "isAnswered": true,
        "type": "SINGLE_SELECT",
        "detailedType": "SYMPTOM_SURVEY",
        "checkStateInfo": {
            "detailedState": "MAIN_SYMPTOM_SURVEY",
            "state": "MAIN_SYMPTOM"
        },
        "options": {
            "count": 2,
            "values": [
                {
                    "id": "327912a3-2eb2-42bd-9701-b1715bdecdff",
                    "text": "Yes",
                    "type": "SURVEY_ANSWER",
                    "isSelected": true
                },
                {
                    "id": "d97dfb72-5890-4e6b-935d-9b94304a9671",
                    "text": "No",
                    "type": "SURVEY_ANSWER",
                    "isSelected": false
                }
            ]
        }
    },
    {
        "detailedTypeData": {
            "linkedSymptom": {
                "id": "5e63f95e-ef3b-42ce-9027-ff6e021e19ef",
                "name": "Abdominal pain"
            },
            "gender": "MALE"
        },
        "id": "e0345bed-98f9-4149-9c97-6e4dfcc3778a",
        "text": "Does any of these factors increase your abdominal pain?",
        "isSkippable": true,
        "isAnswered": true,
        "type": "SINGLE_SELECT",
        "detailedType": "SYMPTOM_SURVEY",
        "checkStateInfo": {
            "detailedState": "MAIN_SYMPTOM_SURVEY",
            "state": "MAIN_SYMPTOM"
        },
        "options": {
            "count": 3,
            "values": [
                {
                    "id": "f341a1cf-0535-4024-83e6-27980f5dcbf9",
                    "text": "Eating or drinking",
                    "type": "SURVEY_ANSWER",
                    "isSelected": false
                },
                {
                    "id": "418ec3ca-f741-47c7-b25c-2127e3f61146",
                    "text": "Movement or pressure",
                    "type": "SURVEY_ANSWER",
                    "isSelected": true
                },
                {
                    "id": "4ae55789-5647-4af4-aeb5-17ec0227c5c0",
                    "text": "None of these factors",
                    "type": "SURVEY_ANSWER",
                    "isSelected": false
                }
            ]
        }
    },
    {
        "detailedTypeData": {
            "linkedSymptom": {
                "id": "5e63f95e-ef3b-42ce-9027-ff6e021e19ef",
                "name": "Abdominal pain"
            },
            "gender": "MALE"
        },
        "id": "2e8278a4-b6f9-4325-9bc9-e8f26dd0fa0c",
        "text": "Does your abdominal pain also radiate into your back?",
        "isSkippable": true,
        "isAnswered": true,
        "type": "SINGLE_SELECT",
        "detailedType": "SYMPTOM_SURVEY",
        "checkStateInfo": {
            "detailedState": "MAIN_SYMPTOM_SURVEY",
            "state": "MAIN_SYMPTOM"
        },
        "options": {
            "count": 2,
            "values": [
                {
                    "id": "74d999f5-d931-4b13-a08c-f62f233d12d4",
                    "text": "Yes",
                    "type": "SURVEY_ANSWER",
                    "isSelected": true
                },
                {
                    "id": "751a06ba-da3e-4194-9494-e03d00814b60",
                    "text": "No",
                    "type": "SURVEY_ANSWER",
                    "isSelected": false
                }
            ]
        }
    }
]