{
  "phase_id": 18,
  "phase_name": "Clinical Trial Matching",
  "story_points": 38,
  "priority": "P1",
  "status": "COMPLETED",
  "progress_percentage": 100,
  "last_updated": "2025-10-31T20:38:57.787967",
  "last_execution": {
    "phase_info": {
      "phase_id": 18,
      "phase_name": "Clinical Trial Matching",
      "story_points": 38,
      "priority": "P1"
    },
    "execution_summary": {
      "trials_generated": 20,
      "trials_loaded": 20,
      "trials_searched": 1,
      "matches_found": 1,
      "top_match_score": 0.85
    },
    "matching_report": {
      "patient_id": "0fa2d601cf21b099",
      "patient_age": 62,
      "patient_gender": "M",
      "patient_conditions": [
        "Lung Cancer",
        "Hypertension"
      ],
      "timestamp": "2025-10-31T20:38:57.787802",
      "total_matches": 1,
      "matches": [
        {
          "patient_id": "0fa2d601cf21b099",
          "nct_id": "NCT10000000",
          "trial_title": "Study of Pembrolizumab for Lung Cancer",
          "match_score": 0.85,
          "eligibility_met": true,
          "matched_criteria": [
            "Age requirement met",
            "Gender requirement met (M)",
            "Condition match: Lung Cancer",
            "PDL1: 45.0 (in range 1.0-100.0)",
            "No exclusion criteria violated"
          ],
          "failed_criteria": [
            "Performance status too high (ECOG 1 > 0)"
          ],
          "recommendation": "Recommended"
        }
      ],
      "summary": {
        "highly_recommended": 0,
        "recommended": 1,
        "consider": 0,
        "average_score": 0.85,
        "top_trial": "Study of Pembrolizumab for Lung Cancer"
      }
    },
    "status": "SUCCESS",
    "timestamp": "2025-10-31T20:38:57.787846"
  }
}