{
  "template": {
    "code": "pregnancy_core",
    "name": "Pregnancy assessment",
    "category": "disease",
    "version": 1,
    "is_current": true,
    "is_active": true,
    "scoring_strategy": null,
    "description": "Gestational age, parity, risk factors, BP, foetal movement.",
    "meta": {
      "capture_roles": [
        "doctor",
        "nurse"
      ],
      "specialty": "obstetrics",
      "estimated_minutes": 8,
      "pathway_codes": [
        "pregnancy"
      ],
      "attribution": "Ladill Care Pregnancy assessment content pack (platform-authored clinical checklist)."
    }
  },
  "questions": [
    {
      "code": "ga_weeks",
      "section": "Pregnancy",
      "label": "Gestational age (weeks)",
      "answer_type": "number",
      "is_required": true,
      "sort_order": 10,
      "options": {
        "min": 0,
        "max": 45,
        "unit": "weeks"
      },
      "validation": {
        "min": 0,
        "max": 45
      }
    },
    {
      "code": "gravida",
      "section": "Obstetric history",
      "label": "Gravida",
      "answer_type": "number",
      "is_required": false,
      "sort_order": 20,
      "options": {
        "min": 0,
        "max": 20
      },
      "validation": {
        "min": 0,
        "max": 20
      }
    },
    {
      "code": "para",
      "section": "Obstetric history",
      "label": "Para",
      "answer_type": "number",
      "is_required": false,
      "sort_order": 30,
      "options": {
        "min": 0,
        "max": 20
      },
      "validation": {
        "min": 0,
        "max": 20
      }
    },
    {
      "code": "sbp",
      "section": "Vitals",
      "label": "BP systolic",
      "answer_type": "number",
      "is_required": false,
      "sort_order": 40,
      "options": {
        "min": 60,
        "max": 250,
        "unit": "mmHg"
      },
      "validation": {
        "min": 60,
        "max": 250
      }
    },
    {
      "code": "dbp",
      "section": "Vitals",
      "label": "BP diastolic",
      "answer_type": "number",
      "is_required": false,
      "sort_order": 50,
      "options": {
        "min": 30,
        "max": 150,
        "unit": "mmHg"
      },
      "validation": {
        "min": 30,
        "max": 150
      }
    },
    {
      "code": "risk_category",
      "section": "Risk",
      "label": "Risk category",
      "answer_type": "single_choice",
      "is_required": true,
      "sort_order": 60,
      "options": {
        "choices": [
          {
            "code": "low",
            "label": "Low"
          },
          {
            "code": "moderate",
            "label": "Moderate"
          },
          {
            "code": "high",
            "label": "High"
          }
        ]
      }
    },
    {
      "code": "foetal_movement",
      "section": "Foetal",
      "label": "Foetal movements",
      "answer_type": "single_choice",
      "is_required": false,
      "sort_order": 70,
      "options": {
        "choices": [
          {
            "code": "normal",
            "label": "Normal"
          },
          {
            "code": "reduced",
            "label": "Reduced"
          },
          {
            "code": "na",
            "label": "N/A early"
          },
          {
            "code": "unknown",
            "label": "Unknown"
          }
        ]
      }
    },
    {
      "code": "notes",
      "section": "Notes",
      "label": "Notes",
      "answer_type": "textarea",
      "is_required": false,
      "sort_order": 100,
      "validation": {
        "max": 5000
      }
    }
  ]
}
