{
	"fillkite": 1,
	"exported": "2026-10-07T00:00:00+00:00",
	"forms": [
		{
			"title": "Patient registration with signature",
			"status": "published",
			"schema": {
				"schemaVersion": 1,
				"fields": [
					{
						"id": "f_your_name",
						"type": "name",
						"label": "Your name",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full"
					},
					{
						"id": "f_email",
						"type": "email",
						"label": "Email",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "half"
					},
					{
						"id": "f_phone",
						"type": "phone",
						"label": "Phone",
						"placeholder": "",
						"helpText": "",
						"required": false,
						"width": "half"
					},
					{
						"id": "f_date_of_birth",
						"type": "date",
						"label": "Date of birth",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full"
					},
					{
						"id": "f_step_medical_history",
						"type": "page_break",
						"label": "Medical history",
						"placeholder": "",
						"helpText": "",
						"required": false,
						"width": "full",
						"nextLabel": "",
						"backLabel": ""
					},
					{
						"id": "f_conditions",
						"type": "checkbox",
						"label": "Conditions",
						"placeholder": "",
						"helpText": "",
						"required": false,
						"width": "full",
						"options": [
							{
								"label": "Diabetes",
								"value": "Diabetes"
							},
							{
								"label": "Asthma",
								"value": "Asthma"
							},
							{
								"label": "High blood pressure",
								"value": "High blood pressure"
							},
							{
								"label": "Heart disease",
								"value": "Heart disease"
							},
							{
								"label": "None of these",
								"value": "None of these"
							}
						]
					},
					{
						"id": "f_meds",
						"type": "radio",
						"label": "Do you take medicine every day?",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"options": [
							{
								"label": "Yes",
								"value": "Yes"
							},
							{
								"label": "No",
								"value": "No"
							}
						]
					},
					{
						"id": "f_which_medicines",
						"type": "textarea",
						"label": "Which medicines?",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"logic": {
							"action": "show",
							"match": "all",
							"rules": [
								{
									"field": "f_meds",
									"operator": "is",
									"value": "Yes"
								}
							]
						}
					},
					{
						"id": "f_step_consent",
						"type": "page_break",
						"label": "Consent",
						"placeholder": "",
						"helpText": "",
						"required": false,
						"width": "full",
						"nextLabel": "",
						"backLabel": ""
					},
					{
						"id": "f_a_photo_of_your_id",
						"type": "file_upload",
						"label": "A photo of your ID",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"allowed": [
							"images",
							"pdf"
						],
						"maxSize": 3,
						"maxFiles": 1,
						"storage": "private"
					},
					{
						"id": "f_consent",
						"type": "consent",
						"label": "Consent",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"content": "I agree to treatment and to the storing of my details."
					},
					{
						"id": "f_sign_here",
						"type": "signature",
						"label": "Sign here",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full"
					}
				],
				"submit": {
					"label": "Register",
					"align": "left"
				}
			},
			"settings": {
				"confirmation": {
					"type": "message",
					"message": "Thanks! You are registered.",
					"redirectUrl": "",
					"downloadUrl": "",
					"downloadLabel": ""
				},
				"multiStep": {
					"progress": "steps",
					"firstTitle": "About you"
				}
			}
		}
	]
}
