{
	"fillkite": 1,
	"exported": "2026-10-07T00:00:00+00:00",
	"forms": [
		{
			"title": "Doctor appointment by department",
			"status": "published",
			"schema": {
				"schemaVersion": 1,
				"fields": [
					{
						"id": "f_your_name",
						"type": "name",
						"label": "Your name",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full"
					},
					{
						"id": "f_phone",
						"type": "phone",
						"label": "Phone",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full"
					},
					{
						"id": "f_dep",
						"type": "select",
						"label": "Department",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"options": [
							{
								"label": "General",
								"value": "General"
							},
							{
								"label": "Paediatrics",
								"value": "Paediatrics"
							},
							{
								"label": "Dermatology",
								"value": "Dermatology"
							},
							{
								"label": "Cardiology",
								"value": "Cardiology"
							}
						]
					},
					{
						"id": "f_child_s_age",
						"type": "number",
						"label": "Child’s age",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"min": 0,
						"max": 17,
						"logic": {
							"action": "show",
							"match": "all",
							"rules": [
								{
									"field": "f_dep",
									"operator": "is",
									"value": "Paediatrics"
								}
							]
						}
					},
					{
						"id": "f_where_is_the_skin_problem",
						"type": "select",
						"label": "Where is the skin problem?",
						"placeholder": "",
						"helpText": "",
						"required": false,
						"width": "full",
						"options": [
							{
								"label": "Face",
								"value": "Face"
							},
							{
								"label": "Hands",
								"value": "Hands"
							},
							{
								"label": "Body",
								"value": "Body"
							},
							{
								"label": "Scalp",
								"value": "Scalp"
							}
						],
						"logic": {
							"action": "show",
							"match": "all",
							"rules": [
								{
									"field": "f_dep",
									"operator": "is",
									"value": "Dermatology"
								}
							]
						}
					},
					{
						"id": "f_chest",
						"type": "radio",
						"label": "Do you have chest pain right now?",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"options": [
							{
								"label": "Yes",
								"value": "Yes"
							},
							{
								"label": "No",
								"value": "No"
							}
						],
						"logic": {
							"action": "show",
							"match": "all",
							"rules": [
								{
									"field": "f_dep",
									"operator": "is",
									"value": "Cardiology"
								}
							]
						}
					},
					{
						"id": "f_notice_1497040870",
						"type": "html",
						"label": "Notice",
						"placeholder": "",
						"helpText": "",
						"required": false,
						"width": "full",
						"content": "<p><strong>Chest pain can be an emergency. Please call your local emergency number now instead of using this form.</strong></p>",
						"logic": {
							"action": "show",
							"match": "all",
							"rules": [
								{
									"field": "f_chest",
									"operator": "is",
									"value": "Yes"
								}
							]
						}
					},
					{
						"id": "f_preferred_date",
						"type": "date",
						"label": "Preferred date",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full"
					}
				],
				"submit": {
					"label": "Request appointment",
					"align": "left"
				}
			},
			"settings": {
				"confirmation": {
					"type": "message",
					"message": "Thanks! The clinic will call to confirm.",
					"redirectUrl": "",
					"downloadUrl": "",
					"downloadLabel": ""
				}
			}
		}
	]
}
