{
    "resourceType": "Questionnaire",
    "title": "Personal Health Details",
    "status": "draft",
    "item": [
        {
            "linkId": "firstname",
            "text": "Firstname",
            "definition": "Expecting firsname",
            "type": "string",
            "required": true,
            "repeats": true,
            "readonly": false
        },
        {
            "linkId": "lastname",
            "text": "Lastname",
            "definition": "Expecting lastname",
            "type": "string",
            "required": true,
            "repeats": false,
            "readonly": false,
            "enableWhen": [
                {
                    "question": "firstname",
                    "answerString": "deepak",
                    "operator": "="
                }
            ],
            "enableBehavior": "any"
        },
        {
            "linkId": "address",
            "text": "Address",
            "definition": "Expecting address",
            "type": "text",
            "required": true,
            "repeats": false,
            "readonly": false,
            "maxLength": 50
        },
        {
            "linkId": "Dialysismethod",
            "text": "Dialysis method",
            "definition": "Expecting Dialysis method",
            "type": "string",
            "required": true,
            "repeats": false,
            "readonly": false,
            "maxLength": 10,
            "item": [
                {
                    "linkId": "Bodyheight",
                    "text": "Body height",
                    "definition": "Expecting Body height",
                    "type": "string",
                    "required": true,
                    "repeats": false,
                    "readonly": false,
                    "maxLength": 10,
                    "item": [
                        {
                            "linkId": "Bodyheight1",
                            "text": "Body height 1",
                            "definition": "Expecting Body height 1",
                            "type": "string",
                            "required": true,
                            "repeats": false,
                            "readonly": false,
                            "maxLength": 10,
                            "item": [
                                {
                                    "linkId": "Bodyheight2",
                                    "text": "Body height 2",
                                    "definition": "Expecting Body height 2",
                                    "type": "string",
                                    "required": true,
                                    "repeats": true,
                                    "readonly": false,
                                    "maxLength": 10
                                },
                                {
                                    "linkId":"time",
                                    "text":"Time",
                                    "definition":"Expecting time",
                                    "type":"time",
                                    "required":true,
                                    "repeats":false,
                                    "readonly":false,
                                    "maxLength":10
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}