XUND API Documentation

ReportAddedSymptom

Model definition

Property name

Property type

Property description

id

string

Identifier of the symptom

name

string (localized text)

Name of the symptom

questions

ReportAskedQuestion[]

List of questions asked about the symptom during the check

umlsCodes

string[]

Deprecated. Don’t use

Examples

Click to expand...

Symptom with questions

JSON
{
    "id": "5e63f95e-ef3b-42ce-9027-ff6e021e19ef",
    "name": "Abdominal pain",
    "umlsCodes": [
        "C0000737",
        "C0232493",
        "C0740433"
    ],
    "questions": [
        {
            "text": "Where exactly do you have pain in your abdomen?",
            "options": [
                {
                    "text": "Lateral Abdomen",
                    "isSelected": false
                },
                {
                    "text": "Lower-right abdomen",
                    "isSelected": false
                },
                {
                    "text": "Navel",
                    "isSelected": false
                },
                {
                    "text": "Upper-right abdomen",
                    "isSelected": false
                },
                {
                    "text": "Everywhere",
                    "isSelected": false
                },
                {
                    "text": "Lower-left abdomen",
                    "isSelected": true
                },
                {
                    "text": "Lower-central abdomen",
                    "isSelected": false
                },
                {
                    "text": "Lower abdomen",
                    "isSelected": false
                },
                {
                    "text": "Upper abdomen",
                    "isSelected": false
                },
                {
                    "text": "Left upper abdomen",
                    "isSelected": false
                },
                {
                    "text": "Upper-central abdomen",
                    "isSelected": false
                }
            ]
        },
        {
            "text": "How severe is your abdominal pain?",
            "options": [
                {
                    "text": "Light",
                    "isSelected": false
                },
                {
                    "text": "Strong",
                    "isSelected": true
                },
                {
                    "text": "Unbearable",
                    "isSelected": false
                }
            ]
        },
        {
            "text": "Will the pain be better if you lean forward?",
            "options": [
                {
                    "text": "Yes",
                    "isSelected": true
                },
                {
                    "text": "No",
                    "isSelected": false
                }
            ]
        },
        {
            "text": "Does any of these factors increase your abdominal pain?",
            "options": [
                {
                    "text": "Eating or drinking",
                    "isSelected": false
                },
                {
                    "text": "Movement or pressure",
                    "isSelected": true
                },
                {
                    "text": "None of these factors",
                    "isSelected": false
                }
            ]
        },
        {
            "text": "Does your abdominal pain also radiate into your back?",
            "options": [
                {
                    "text": "Yes",
                    "isSelected": true
                },
                {
                    "text": "No",
                    "isSelected": false
                }
            ]
        }
    ]
}


Symptom without questions

JSON
{
    "id": "efe4b7ea-882b-4ea9-a9b4-625ac92709dc",
    "name": "Pain when urinating",
    "umlsCodes": [
        "C0013428",
        "C0151830",
        "C0423736"
    ],
    "questions": []
}