{
  "source_table": "smr04",
  "transformation_type": "count",
  "grouping_column": "id",
  "absent_default_value": 0,
  "output_feature_name": "num_psychotherapy_episodes",
  "filter": {
    "column": "specialty",
    "type": "in",
    "value": [
      "G6",
      "G61",
      "G62",
      "G63"
    ]
  }
}
