{
  "version": 4,
  "entity": "followup",
  "groups": [
    "Visit and identity",
    "Medical and food support",
    "Social and household support",
    "Housing repair",
    "Health and referrals",
    "Collection details"
  ],
  "fields": [
    {
      "key": "register_uuid",
      "label": "Parent registration",
      "source_label": "Linked registration",
      "source": "Application parent link",
      "group": "Visit and identity",
      "type": "uuid",
      "options": [],
      "required": true,
      "always_required": true,
      "hidden": true,
      "condition": null
    },
    {
      "key": "elderly_code",
      "label": "Elderly program ID",
      "source_label": "ID (Elderly program)",
      "source": "Fup_Checklist!A3",
      "group": "Visit and identity",
      "type": "text",
      "options": [],
      "required": false,
      "condition": null,
      "readonly": true,
      "hint": "Snapshot copied from the selected registration."
    },
    {
      "key": "visit_date",
      "label": "Visit date",
      "source_label": "Visited date\n(DD/MM/YYYY)",
      "source": "Fup_Checklist!B3",
      "group": "Visit and identity",
      "type": "date",
      "options": [],
      "required": true,
      "condition": null
    },
    {
      "key": "full_name",
      "label": "Name at visit",
      "source_label": "Name",
      "source": "Fup_Checklist!C3",
      "group": "Visit and identity",
      "type": "text",
      "options": [],
      "required": false,
      "condition": null,
      "readonly": true,
      "hint": "Snapshot copied from the selected registration."
    },
    {
      "key": "age",
      "label": "Age at visit in completed years",
      "source_label": "Age\n(Year)",
      "source": "Fup_Checklist!D3",
      "group": "Visit and identity",
      "type": "integer",
      "options": [],
      "required": false,
      "condition": null,
      "min": 0,
      "max": 130,
      "hint": "Age at this visit; update the copied registration age if needed."
    },
    {
      "key": "sex",
      "label": "Sex at visit",
      "source_label": "Sex",
      "source": "Fup_Checklist!E3",
      "group": "Visit and identity",
      "type": "enum",
      "options": [
        {
          "value": "M",
          "label": "M"
        },
        {
          "value": "F",
          "label": "F"
        }
      ],
      "required": false,
      "condition": null
    },
    {
      "key": "address",
      "label": "Address, including any change",
      "source_label": "နေရပ်လိပ်စာ \n(ယခင်လိပ်စာမှ အပြောင်းအလဲရှိပါက) ",
      "source": "Fup_Checklist!F3",
      "group": "Visit and identity",
      "type": "textarea",
      "options": [],
      "required": false,
      "condition": null
    },
    {
      "key": "phone",
      "label": "Contact phone at visit",
      "source_label": "ဆက်သွယ်နိုင်‌သော ဖုန်းနံပါတ်\n(09-xxxxxxxxx)",
      "source": "Fup_Checklist!G3",
      "group": "Visit and identity",
      "type": "text",
      "options": [],
      "required": false,
      "condition": null
    },
    {
      "key": "medical_checkup_needed",
      "label": "MAM medical check-up needed",
      "source_label": "MAM တွင် ကျန်းမာရေးစစ်ဆေးခြင်း ",
      "source": "Fup_Checklist!H3",
      "group": "Medical and food support",
      "type": "enum",
      "options": [
        {
          "value": 1,
          "label": "လိုအပ်သည်",
          "legacy_values": [
            "လိုအပ်သည်"
          ]
        },
        {
          "value": 2,
          "label": "မလိုအပ်ပါ",
          "legacy_values": [
            "မလိုအပ်ပါ"
          ]
        }
      ],
      "required": false,
      "condition": null,
      "binary": true
    },
    {
      "key": "medical_attendance",
      "label": "Regularly attends / does not attend",
      "source_label": "လိုအပ်ပါက",
      "source": "Fup_Checklist!I3",
      "group": "Medical and food support",
      "type": "enum",
      "options": [
        {
          "value": 1,
          "label": "ပုံမှန်ပြသနေသည်",
          "legacy_values": [
            "ပုံမှန်ပြသနေသည်"
          ]
        },
        {
          "value": 2,
          "label": "မပြဖြစ်ပါ",
          "legacy_values": [
            "မပြဖြစ်ပါ"
          ]
        }
      ],
      "required": false,
      "condition": {
        "field": "medical_checkup_needed",
        "value": 1
      },
      "binary": true
    },
    {
      "key": "medical_nonattendance_reason",
      "label": "Reason for not attending",
      "source_label": "မပြဖြစ်ပါကအကြောင်းပြချက်",
      "source": "Fup_Checklist!J3",
      "group": "Medical and food support",
      "type": "textarea",
      "options": [],
      "required": false,
      "condition": {
        "field": "medical_attendance",
        "value": 2
      }
    },
    {
      "key": "food_support_type",
      "label": "Food support type received",
      "source_label": "အစားအစာထောက်ပံ့မှု",
      "source": "Fup_Checklist!K3",
      "group": "Medical and food support",
      "type": "enum",
      "options": [
        {
          "value": "ငွေသား",
          "label": "ငွေသား"
        },
        {
          "value": "ရိက္ခာအထုတ်",
          "label": "ရိက္ခာအထုတ်"
        },
        {
          "value": "အနီးနားဝန်းကျင်တွင်ရှိသော ထမင်းဆိုင်များနှင့် ချိတ်ဆက်ခြင်း",
          "label": "အနီးနားဝန်းကျင်တွင်ရှိသော ထမင်းဆိုင်များနှင့် ချိတ်ဆက်ခြင်း"
        }
      ],
      "required": false,
      "condition": null
    },
    {
      "key": "social_support_needed",
      "label": "Social support needed",
      "source_label": "လူမှုရေးရာ ထောက်ပံ့မှု ",
      "source": "Fup_Checklist!L3",
      "group": "Social and household support",
      "type": "enum",
      "options": [
        {
          "value": 1,
          "label": "လိုအပ်သည်",
          "legacy_values": [
            "လိုအပ်သည်"
          ]
        },
        {
          "value": 2,
          "label": "မလိုအပ်ပါ",
          "legacy_values": [
            "မလိုအပ်ပါ"
          ]
        }
      ],
      "required": false,
      "condition": null,
      "binary": true
    },
    {
      "key": "social_support_received",
      "label": "Social support received",
      "source_label": "လိုအပ်ပါက ",
      "source": "Fup_Checklist!M3",
      "group": "Social and household support",
      "type": "enum",
      "options": [
        {
          "value": 1,
          "label": "ရရှိပါသည်",
          "legacy_values": [
            "ရရှိပါသည်"
          ]
        },
        {
          "value": 2,
          "label": "မရရှိပါ",
          "legacy_values": [
            "မရရှိပါ"
          ]
        }
      ],
      "required": false,
      "condition": {
        "field": "social_support_needed",
        "value": 1
      },
      "binary": true
    },
    {
      "key": "social_support_not_received_reason",
      "label": "Reason social support not received",
      "source_label": "မရရှိပါကအကြောင်းပြချက်",
      "source": "Fup_Checklist!N3",
      "group": "Social and household support",
      "type": "textarea",
      "options": [],
      "required": false,
      "condition": {
        "field": "social_support_received",
        "value": 2
      }
    },
    {
      "key": "household_package_needed",
      "label": "Basic-needs household package needed",
      "source_label": "အခြေခံလိုအပ်ချက်အတွက် ထောက်ပံ့မှု ပစ္စည်းအထုတ် ",
      "source": "Fup_Checklist!O3",
      "group": "Social and household support",
      "type": "enum",
      "options": [
        {
          "value": 1,
          "label": "လိုအပ်သည်",
          "legacy_values": [
            "လိုအပ်သည်"
          ]
        },
        {
          "value": 2,
          "label": "မလိုအပ်ပါ",
          "legacy_values": [
            "မလိုအပ်ပါ"
          ]
        }
      ],
      "required": false,
      "condition": null,
      "binary": true
    },
    {
      "key": "household_package_received",
      "label": "Basic-needs household package received",
      "source_label": "လိုအပ်ပါက 2",
      "source": "Fup_Checklist!P3",
      "group": "Social and household support",
      "type": "enum",
      "options": [
        {
          "value": 1,
          "label": "ရရှိပါသည်",
          "legacy_values": [
            "ရရှိပါသည်"
          ]
        },
        {
          "value": 2,
          "label": "မရရှိပါ",
          "legacy_values": [
            "မရရှိပါ"
          ]
        }
      ],
      "required": false,
      "condition": {
        "field": "household_package_needed",
        "value": 1
      },
      "binary": true
    },
    {
      "key": "household_package_not_received_reason",
      "label": "Reason household package not received",
      "source_label": "မရရှိပါကအကြောင်းပြချက်3",
      "source": "Fup_Checklist!Q3",
      "group": "Social and household support",
      "type": "textarea",
      "options": [],
      "required": false,
      "condition": {
        "field": "household_package_received",
        "value": 2
      }
    },
    {
      "key": "housing_repair_needed",
      "label": "Housing repair needed",
      "source_label": "နေအိမ်ပြုပြင်ခြင်း",
      "source": "Fup_Checklist!R3",
      "group": "Housing repair",
      "type": "enum",
      "options": [
        {
          "value": 1,
          "label": "လိုအပ်သည်",
          "legacy_values": [
            "လိုအပ်သည်"
          ]
        },
        {
          "value": 2,
          "label": "မလိုအပ်ပါ",
          "legacy_values": [
            "မလိုအပ်ပါ"
          ]
        }
      ],
      "required": false,
      "condition": null,
      "binary": true
    },
    {
      "key": "housing_repair_received",
      "label": "Housing repair received",
      "source_label": "လိုအပ်ပါက 4",
      "source": "Fup_Checklist!S3",
      "group": "Housing repair",
      "type": "enum",
      "options": [
        {
          "value": 1,
          "label": "ရရှိပါသည်",
          "legacy_values": [
            "ရရှိပါသည်"
          ]
        },
        {
          "value": 2,
          "label": "မရရှိပါ",
          "legacy_values": [
            "မရရှိပါ"
          ]
        }
      ],
      "required": false,
      "condition": {
        "field": "housing_repair_needed",
        "value": 1
      },
      "binary": true
    },
    {
      "key": "housing_repair_not_received_reason",
      "label": "Reason housing repair not received",
      "source_label": "မရရှိပါကအကြောင်းပြချက်5",
      "source": "Fup_Checklist!T3",
      "group": "Housing repair",
      "type": "textarea",
      "options": [],
      "required": false,
      "condition": {
        "field": "housing_repair_received",
        "value": 2
      }
    },
    {
      "key": "new_or_worsening_symptoms",
      "label": "New or worsening symptoms present",
      "source_label": "ရောဂါလက္ခဏာအသစ်/ပိုဆိုးလာတဲ့အခြေအနေ    ",
      "source": "Fup_Checklist!U3",
      "group": "Health and referrals",
      "type": "enum",
      "options": [
        {
          "value": 1,
          "label": "ရှိ",
          "legacy_values": [
            "ရှိ",
            "ရှိပါသည်",
            "ရှိပါသည််"
          ]
        },
        {
          "value": 2,
          "label": "မရှိ",
          "legacy_values": [
            "မရှိ"
          ]
        }
      ],
      "required": false,
      "condition": null,
      "binary": true
    },
    {
      "key": "symptoms_detail",
      "label": "New or worsening symptom details",
      "source_label": "ရှိပါက ရောဂါလက္ခဏာအသေးစိတ်",
      "source": "IMG_5.jpg",
      "group": "Health and referrals",
      "type": "textarea",
      "options": [],
      "required": false,
      "condition": {
        "field": "new_or_worsening_symptoms",
        "value": 1
      }
    },
    {
      "key": "hospital_referral",
      "label": "Referred to a hospital",
      "source_label": "ဆေးရုံသို့ လွှဲပြောင်းခဲ့ခြင်း",
      "source": "Fup_Checklist!V3",
      "group": "Health and referrals",
      "type": "enum",
      "options": [
        {
          "value": 1,
          "label": "ရှိ",
          "legacy_values": [
            "ရှိ",
            "ရှိပါသည်",
            "ရှိပါသည််"
          ]
        },
        {
          "value": 2,
          "label": "မရှိ",
          "legacy_values": [
            "မရှိ"
          ]
        }
      ],
      "required": false,
      "condition": null,
      "binary": true
    },
    {
      "key": "hospital_referral_detail",
      "label": "Hospital referral details",
      "source_label": "ရှိပါက ဆေးရုံသို့ လွှဲပြောင်းခဲ့ခြင်း အသေးစိတ်",
      "source": "IMG_5.jpg",
      "group": "Health and referrals",
      "type": "textarea",
      "options": [],
      "required": false,
      "condition": {
        "field": "hospital_referral",
        "value": 1
      }
    },
    {
      "key": "mam_clinic_referral",
      "label": "Referred to a MAM clinic",
      "source_label": "MAM clinic သို့ လွှဲပြောင်းခဲ့ခြင်း",
      "source": "Fup_Checklist!W3",
      "group": "Health and referrals",
      "type": "enum",
      "options": [
        {
          "value": 1,
          "label": "ရှိ",
          "legacy_values": [
            "ရှိ",
            "ရှိပါသည်",
            "ရှိပါသည််"
          ]
        },
        {
          "value": 2,
          "label": "မရှိ",
          "legacy_values": [
            "မရှိ"
          ]
        }
      ],
      "required": false,
      "condition": null,
      "binary": true
    },
    {
      "key": "general_id",
      "label": "General / clinic ID at visit",
      "source_label": "General ID",
      "source": "Fup_Checklist!X3",
      "group": "Health and referrals",
      "type": "text",
      "options": [],
      "required": false,
      "condition": null,
      "digits_only": true,
      "minlength": 10,
      "maxlength": 12,
      "hint": "Enter 10, 11 or 12 digits. Leading zeros are preserved."
    },
    {
      "key": "food_package_amount",
      "label": "Food package amount",
      "source_label": "Food Pkt - Amount",
      "source": "Fup_Checklist!Y3",
      "group": "Collection details",
      "type": "integer",
      "options": [],
      "required": false,
      "condition": null,
      "min": 1,
      "max": 999,
      "hint": "Removed from follow-up entry. Previously saved values are retained for sync, reports and source-compatible exports. Historical source instruction: Enter the source amount (1–999). Record its unit in Remarks; no currency or package unit is assumed.",
      "hidden": true,
      "retired": true
    },
    {
      "key": "food_package_date",
      "label": "Food package distribution date",
      "source_label": "Food Pkt - Distributed Date",
      "source": "Fup_Checklist!Z3",
      "group": "Collection details",
      "type": "date",
      "options": [],
      "required": false,
      "condition": null,
      "hidden": true,
      "retired": true,
      "hint": "Removed from follow-up entry. Previously saved values are retained for sync, reports and source-compatible exports."
    },
    {
      "key": "household_package_amount",
      "label": "Household package amount",
      "source_label": "HH Pkt - Amount",
      "source": "Fup_Checklist!AA3",
      "group": "Collection details",
      "type": "integer",
      "options": [],
      "required": false,
      "condition": null,
      "min": 1,
      "max": 999,
      "hint": "Removed from follow-up entry. Previously saved values are retained for sync, reports and source-compatible exports. Historical source instruction: Enter the source amount (1–999). Record its unit in Remarks; no currency or package unit is assumed.",
      "hidden": true,
      "retired": true
    },
    {
      "key": "household_package_date",
      "label": "Household package distribution date",
      "source_label": "HH Pkt - Distributed Date",
      "source": "Fup_Checklist!AB3",
      "group": "Collection details",
      "type": "date",
      "options": [],
      "required": false,
      "condition": null,
      "hidden": true,
      "retired": true,
      "hint": "Removed from follow-up entry. Previously saved values are retained for sync, reports and source-compatible exports."
    },
    {
      "key": "distributor",
      "label": "Distributor",
      "source_label": "Distributor",
      "source": "Fup_Checklist!AC3",
      "group": "Collection details",
      "type": "text",
      "options": [],
      "required": false,
      "condition": null,
      "hidden": true,
      "retired": true,
      "hint": "Removed from follow-up entry. Previously saved values are retained for sync, reports and source-compatible exports."
    },
    {
      "key": "remarks",
      "label": "Remarks",
      "source_label": "မှတ်ချက်",
      "source": "Fup_Checklist!AD3",
      "group": "Collection details",
      "type": "textarea",
      "options": [],
      "required": false,
      "condition": null
    },
    {
      "key": "assessment_date",
      "label": "Data collection date",
      "source_label": "အချက်အလက်ကောက်ခံခဲ့သည့် နေ့စွဲ",
      "source": "Fup_Checklist!AE3",
      "group": "Collection details",
      "type": "date",
      "options": [],
      "required": false,
      "condition": null
    },
    {
      "key": "collector_name_signature",
      "label": "Collector name",
      "source_label": "အချက်အလက်ကောက်ခံခဲ့သူ၏ အမည်နှင့် လက်မှတ်",
      "source": "Fup_Checklist!AF3",
      "group": "Collection details",
      "type": "text",
      "options": [],
      "required": false,
      "condition": null
    },
    {
      "key": "collector_role_department",
      "label": "Collector role and department",
      "source_label": "တာဝန်နှင့် တာဝန်ကျဌာန",
      "source": "Fup_Checklist!AG3",
      "group": "Collection details",
      "type": "text",
      "options": [],
      "required": false,
      "condition": null
    }
  ]
}
