{
  "_id": "5a57eba0942c6d1e61d33b6a",
  "bundle_id": "5a57e977942c6d1e61d32f14",
  "category": "Miscellaneous",
  "cms_id": "CMS177v6",
  "complexity": {
    "variables": [
      {
        "name": "Patient",
        "complexity": 1
      },
      {
        "name": "SDE Ethnicity",
        "complexity": 1
      },
      {
        "name": "SDE Payer",
        "complexity": 1
      },
      {
        "name": "SDE Race",
        "complexity": 1
      },
      {
        "name": "SDE Sex",
        "complexity": 1
      },
      {
        "name": "Encounter with Major Depressive Disorder Diagnosis",
        "complexity": 2
      },
      {
        "name": "Initial Population",
        "complexity": 2
      },
      {
        "name": "Denominator",
        "complexity": 1
      },
      {
        "name": "Numerator",
        "complexity": 1
      }
    ]
  },
  "continuous_variable": false,
  "cql": [
    "library ChildandAdolescentMajorDepressiveDisorderMDDSuicideRiskAssessment version '6.0.002'\r\n\r\nusing QDM version '5.3'\r\n\r\nvalueset \"ONC Administrative Sex\": 'urn:oid:2.16.840.1.113762.1.4.1'\r\nvalueset \"Race\": 'urn:oid:2.16.840.1.114222.4.11.836'\r\nvalueset \"Ethnicity\": 'urn:oid:2.16.840.1.114222.4.11.837'\r\nvalueset \"Payer\": 'urn:oid:2.16.840.1.114222.4.11.3591'\r\nvalueset \"Face-to-Face Interaction\": 'urn:oid:2.16.840.1.113883.3.464.1003.101.12.1048'\r\nvalueset \"Group Psychotherapy\": 'urn:oid:2.16.840.1.113883.3.526.3.1187'\r\nvalueset \"Major Depressive Disorder-Active\": 'urn:oid:2.16.840.1.113883.3.526.3.1491'\r\nvalueset \"Office Visit\": 'urn:oid:2.16.840.1.113883.3.464.1003.101.12.1001'\r\nvalueset \"Outpatient Consultation\": 'urn:oid:2.16.840.1.113883.3.464.1003.101.12.1008'\r\nvalueset \"Psych Visit - Diagnostic Evaluation\": 'urn:oid:2.16.840.1.113883.3.526.3.1492'\r\nvalueset \"Psych Visit - Family Psychotherapy\": 'urn:oid:2.16.840.1.113883.3.526.3.1018'\r\nvalueset \"Psych Visit - Psychotherapy\": 'urn:oid:2.16.840.1.113883.3.526.3.1496'\r\nvalueset \"Psychoanalysis\": 'urn:oid:2.16.840.1.113883.3.526.3.1141'\r\nvalueset \"Suicide Risk Assessment\": 'urn:oid:2.16.840.1.113883.3.526.3.1484'\r\n\r\nparameter \"Measurement Period\" Interval<DateTime>\r\n\r\ncontext Patient\r\n\r\ndefine \"SDE Ethnicity\":\r\n\t[\"Patient Characteristic Ethnicity\": \"Ethnicity\"]\r\n\r\ndefine \"SDE Payer\":\r\n\t[\"Patient Characteristic Payer\": \"Payer\"]\r\n\r\ndefine \"SDE Race\":\r\n\t[\"Patient Characteristic Race\": \"Race\"]\r\n\r\ndefine \"SDE Sex\":\r\n\t[\"Patient Characteristic Sex\": \"ONC Administrative Sex\"]\r\n\r\ndefine \"Denominator\":\r\n\t\"Initial Population\"\r\n\r\ndefine \"Numerator\":\r\n\t\"Encounter with Major Depressive Disorder Diagnosis\" Enc\r\n\t\twith [\"Intervention, Performed\": \"Suicide Risk Assessment\"] Intervention\r\n\t\t\tsuch that Intervention.relevantPeriod during Enc.relevantPeriod\r\n\r\ndefine \"Encounter with Major Depressive Disorder Diagnosis\":\r\n\t( [\"Encounter, Performed\": \"Office Visit\"]\r\n\t\tunion [\"Encounter, Performed\": \"Outpatient Consultation\"]\r\n\t\tunion [\"Encounter, Performed\": \"Face-to-Face Interaction\"]\r\n\t\tunion [\"Encounter, Performed\": \"Psych Visit - Diagnostic Evaluation\"]\r\n\t\tunion [\"Encounter, Performed\": \"Psych Visit - Family Psychotherapy\"]\r\n\t\tunion [\"Encounter, Performed\": \"Psych Visit - Psychotherapy\"]\r\n\t\tunion [\"Encounter, Performed\": \"Psychoanalysis\"]\r\n\t\tunion [\"Encounter, Performed\": \"Group Psychotherapy\"] ) Enc\r\n\t\twhere exists ( Enc.diagnoses Diagnosis\r\n\t\t\t\twhere Diagnosis in \"Major Depressive Disorder-Active\"\r\n\t\t)\r\n\t\t\tand Enc.relevantPeriod during \"Measurement Period\"\r\n\r\ndefine \"Initial Population\":\r\n\t\"Encounter with Major Depressive Disorder Diagnosis\" Enc\r\n\t\twhere AgeInYearsAt(start of \"Measurement Period\")>= 6\r\n\t\t\tand AgeInYearsAt(start of \"Measurement Period\")< 17\r\n"
  ],
  "cql_statement_dependencies": {
    "ChildandAdolescentMajorDepressiveDisorderMDDSuicideRiskAssessment": {
      "Patient": [

      ],
      "SDE Ethnicity": [

      ],
      "SDE Payer": [

      ],
      "SDE Race": [

      ],
      "SDE Sex": [

      ],
      "Encounter with Major Depressive Disorder Diagnosis": [

      ],
      "Initial Population": [
        {
          "library_name": "ChildandAdolescentMajorDepressiveDisorderMDDSuicideRiskAssessment",
          "statement_name": "Encounter with Major Depressive Disorder Diagnosis"
        }
      ],
      "Denominator": [
        {
          "library_name": "ChildandAdolescentMajorDepressiveDisorderMDDSuicideRiskAssessment",
          "statement_name": "Initial Population"
        }
      ],
      "Numerator": [
        {
          "library_name": "ChildandAdolescentMajorDepressiveDisorderMDDSuicideRiskAssessment",
          "statement_name": "Encounter with Major Depressive Disorder Diagnosis"
        }
      ]
    }
  },
  "created_at": "2018-01-11T22:56:32.118Z",
  "data_criteria": {
    "Face_to_FaceInteraction_EncounterPerformed_40280381_3d61_56a7_013e_5d9034ec707c": {
      "title": "Face-to-FaceInteraction",
      "description": "Encounter, Performed: Face-to-FaceInteraction",
      "code_list_id": "2.16.840.1.113883.3.464.1003.101.12.1048",
      "type": "encounters",
      "definition": "encounter",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "Face_to_FaceInteraction_EncounterPerformed_40280381_3d61_56a7_013e_5d9034ec707c_source",
      "variable": false
    },
    "Payer_PatientCharacteristicPayer_017dc6d3_9c8e_49de_8ffd_10a2b6194af1": {
      "title": "Payer",
      "description": "Patient Characteristic Payer: Payer",
      "code_list_id": "2.16.840.1.114222.4.11.3591",
      "property": "payer",
      "type": "characteristic",
      "definition": "patient_characteristic_payer",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "Payer_PatientCharacteristicPayer_017dc6d3_9c8e_49de_8ffd_10a2b6194af1_source",
      "variable": false,
      "inline_code_list": {
        "Source of Payment Typology": [
          "1",
          "11",
          "111",
          "112",
          "113",
          "119",
          "12",
          "121",
          "122",
          "123",
          "129",
          "13",
          "14",
          "19",
          "191",
          "2",
          "21",
          "211",
          "212",
          "213",
          "219",
          "22",
          "23",
          "24",
          "25",
          "26",
          "29",
          "291",
          "3",
          "31",
          "311",
          "3111",
          "3112",
          "3113",
          "3114",
          "3115",
          "3116",
          "3119",
          "312",
          "3121",
          "3122",
          "3123",
          "313",
          "32",
          "321",
          "3211",
          "3212",
          "32121",
          "32122",
          "32123",
          "32124",
          "32125",
          "32126",
          "322",
          "3221",
          "3222",
          "3223",
          "3229",
          "33",
          "331",
          "332",
          "333",
          "334",
          "34",
          "341",
          "342",
          "343",
          "349",
          "35",
          "36",
          "361",
          "362",
          "369",
          "37",
          "371",
          "3711",
          "3712",
          "3713",
          "372",
          "379",
          "38",
          "381",
          "3811",
          "3812",
          "3813",
          "3819",
          "382",
          "389",
          "39",
          "4",
          "41",
          "42",
          "43",
          "44",
          "5",
          "51",
          "511",
          "512",
          "513",
          "514",
          "515",
          "516",
          "519",
          "52",
          "521",
          "522",
          "523",
          "529",
          "53",
          "54",
          "55",
          "56",
          "561",
          "562",
          "59",
          "6",
          "61",
          "611",
          "612",
          "613",
          "619",
          "62",
          "63",
          "64",
          "69",
          "7",
          "71",
          "72",
          "73",
          "79",
          "8",
          "81",
          "82",
          "821",
          "822",
          "823",
          "83",
          "84",
          "85",
          "89",
          "9",
          "91",
          "92",
          "93",
          "94",
          "95",
          "951",
          "953",
          "954",
          "959",
          "96",
          "97",
          "98",
          "99",
          "9999"
        ]
      }
    },
    "ONCAdministrativeSex_PatientCharacteristicSex_9875ed53_df03_4176_b93c_722d680ad79b": {
      "title": "ONCAdministrativeSex",
      "description": "Patient Characteristic Sex: ONCAdministrativeSex",
      "code_list_id": "2.16.840.1.113762.1.4.1",
      "property": "gender",
      "type": "characteristic",
      "definition": "patient_characteristic_gender",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "ONCAdministrativeSex_PatientCharacteristicSex_9875ed53_df03_4176_b93c_722d680ad79b_source",
      "variable": false,
      "value": {
        "type": "CD",
        "system": "Administrative Sex",
        "code": "F"
      }
    },
    "OutpatientConsultation_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb7070": {
      "title": "OutpatientConsultation",
      "description": "Encounter, Performed: OutpatientConsultation",
      "code_list_id": "2.16.840.1.113883.3.464.1003.101.12.1008",
      "type": "encounters",
      "definition": "encounter",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "OutpatientConsultation_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb7070_source",
      "variable": false
    },
    "PsychVisit_DiagnosticEvaluation_EncounterPerformed_40280381_3d61_56a7_013e_9046741b6c87": {
      "title": "PsychVisit-DiagnosticEvaluation",
      "description": "Encounter, Performed: PsychVisit-DiagnosticEvaluation",
      "code_list_id": "2.16.840.1.113883.3.526.3.1492",
      "type": "encounters",
      "definition": "encounter",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "PsychVisit_DiagnosticEvaluation_EncounterPerformed_40280381_3d61_56a7_013e_9046741b6c87_source",
      "variable": false
    },
    "PsychVisit_Psychotherapy_EncounterPerformed_40280381_3d61_56a7_013e_5d9034ec708d": {
      "title": "PsychVisit-Psychotherapy",
      "description": "Encounter, Performed: PsychVisit-Psychotherapy",
      "code_list_id": "2.16.840.1.113883.3.526.3.1496",
      "type": "encounters",
      "definition": "encounter",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "PsychVisit_Psychotherapy_EncounterPerformed_40280381_3d61_56a7_013e_5d9034ec708d_source",
      "variable": false
    },
    "GroupPsychotherapy_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb706b": {
      "title": "GroupPsychotherapy",
      "description": "Encounter, Performed: GroupPsychotherapy",
      "code_list_id": "2.16.840.1.113883.3.526.3.1187",
      "type": "encounters",
      "definition": "encounter",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "GroupPsychotherapy_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb706b_source",
      "variable": false
    },
    "PsychVisit_FamilyPsychotherapy_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb7074": {
      "title": "PsychVisit-FamilyPsychotherapy",
      "description": "Encounter, Performed: PsychVisit-FamilyPsychotherapy",
      "code_list_id": "2.16.840.1.113883.3.526.3.1018",
      "type": "encounters",
      "definition": "encounter",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "PsychVisit_FamilyPsychotherapy_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb7074_source",
      "variable": false
    },
    "Ethnicity_PatientCharacteristicEthnicity_37c22a2d_a1d9_43f1_ae5b_c6fb2041c530": {
      "title": "Ethnicity",
      "description": "Patient Characteristic Ethnicity: Ethnicity",
      "code_list_id": "2.16.840.1.114222.4.11.837",
      "property": "ethnicity",
      "type": "characteristic",
      "definition": "patient_characteristic_ethnicity",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "Ethnicity_PatientCharacteristicEthnicity_37c22a2d_a1d9_43f1_ae5b_c6fb2041c530_source",
      "variable": false,
      "inline_code_list": {
        "CDC Race": [
          "2135-2",
          "2186-5"
        ]
      }
    },
    "Psychoanalysis_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb7076": {
      "title": "Psychoanalysis",
      "description": "Encounter, Performed: Psychoanalysis",
      "code_list_id": "2.16.840.1.113883.3.526.3.1141",
      "type": "encounters",
      "definition": "encounter",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "Psychoanalysis_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb7076_source",
      "variable": false
    },
    "Race_PatientCharacteristicRace_f4f79a4e_4a9e_456a_ae10_c7826e5bdca6": {
      "title": "Race",
      "description": "Patient Characteristic Race: Race",
      "code_list_id": "2.16.840.1.114222.4.11.836",
      "property": "race",
      "type": "characteristic",
      "definition": "patient_characteristic_race",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "Race_PatientCharacteristicRace_f4f79a4e_4a9e_456a_ae10_c7826e5bdca6_source",
      "variable": false,
      "inline_code_list": {
        "CDC Race": [
          "1002-5",
          "2028-9",
          "2054-5",
          "2076-8",
          "2106-3",
          "2131-1"
        ]
      }
    },
    "SuicideRiskAssessment_InterventionPerformed_40280381_3d61_56a7_013e_5d9034ec708a": {
      "title": "SuicideRiskAssessment",
      "description": "Intervention, Performed: SuicideRiskAssessment",
      "code_list_id": "2.16.840.1.113883.3.526.3.1484",
      "type": "interventions",
      "definition": "intervention",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "SuicideRiskAssessment_InterventionPerformed_40280381_3d61_56a7_013e_5d9034ec708a_source",
      "variable": false
    },
    "OfficeVisit_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb706f": {
      "title": "OfficeVisit",
      "description": "Encounter, Performed: OfficeVisit",
      "code_list_id": "2.16.840.1.113883.3.464.1003.101.12.1001",
      "type": "encounters",
      "definition": "encounter",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "OfficeVisit_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb706f_source",
      "variable": false
    }
  },
  "description": "Percentage of patient visits for those patients aged 6 through 17 years with a\ndiagnosis of major depressive disorder with an assessment for suicide risk",
  "elm": [
    {
      "library": {
        "identifier": {
          "id": "ChildandAdolescentMajorDepressiveDisorderMDDSuicideRiskAssessment",
          "version": "6.0.002"
        },
        "schemaIdentifier": {
          "id": "urn:hl7-org:elm",
          "version": "r1"
        },
        "usings": {
          "def": [
            {
              "localIdentifier": "System",
              "uri": "urn:hl7-org:elm-types:r1"
            },
            {
              "localId": "1",
              "locator": "3:1-3:23",
              "localIdentifier": "QDM",
              "uri": "urn:healthit-gov:qdm:v5_3",
              "version": "5.3"
            }
          ]
        },
        "parameters": {
          "def": [
            {
              "localId": "18",
              "locator": "22:1-22:49",
              "name": "Measurement Period",
              "accessLevel": "Public",
              "parameterTypeSpecifier": {
                "localId": "17",
                "locator": "22:32-22:49",
                "type": "IntervalTypeSpecifier",
                "pointType": {
                  "localId": "16",
                  "locator": "22:41-22:48",
                  "name": "{urn:hl7-org:elm-types:r1}DateTime",
                  "type": "NamedTypeSpecifier"
                }
              }
            }
          ]
        },
        "valueSets": {
          "def": [
            {
              "localId": "2",
              "locator": "6:1-6:68",
              "name": "ONC Administrative Sex",
              "id": "2.16.840.1.113762.1.4.1",
              "accessLevel": "Public"
            },
            {
              "localId": "3",
              "locator": "7:1-7:53",
              "name": "Race",
              "id": "2.16.840.1.114222.4.11.836",
              "accessLevel": "Public"
            },
            {
              "localId": "4",
              "locator": "8:1-8:58",
              "name": "Ethnicity",
              "id": "2.16.840.1.114222.4.11.837",
              "accessLevel": "Public"
            },
            {
              "localId": "5",
              "locator": "9:1-9:55",
              "name": "Payer",
              "id": "2.16.840.1.114222.4.11.3591",
              "accessLevel": "Public"
            },
            {
              "localId": "6",
              "locator": "10:1-10:87",
              "name": "Face-to-Face Interaction",
              "id": "2.16.840.1.113883.3.464.1003.101.12.1048",
              "accessLevel": "Public"
            },
            {
              "localId": "7",
              "locator": "11:1-11:72",
              "name": "Group Psychotherapy",
              "id": "2.16.840.1.113883.3.526.3.1187",
              "accessLevel": "Public"
            },
            {
              "localId": "8",
              "locator": "12:1-12:85",
              "name": "Major Depressive Disorder-Active",
              "id": "2.16.840.1.113883.3.526.3.1491",
              "accessLevel": "Public"
            },
            {
              "localId": "9",
              "locator": "13:1-13:75",
              "name": "Office Visit",
              "id": "2.16.840.1.113883.3.464.1003.101.12.1001",
              "accessLevel": "Public"
            },
            {
              "localId": "10",
              "locator": "14:1-14:86",
              "name": "Outpatient Consultation",
              "id": "2.16.840.1.113883.3.464.1003.101.12.1008",
              "accessLevel": "Public"
            },
            {
              "localId": "11",
              "locator": "15:1-15:88",
              "name": "Psych Visit - Diagnostic Evaluation",
              "id": "2.16.840.1.113883.3.526.3.1492",
              "accessLevel": "Public"
            },
            {
              "localId": "12",
              "locator": "16:1-16:87",
              "name": "Psych Visit - Family Psychotherapy",
              "id": "2.16.840.1.113883.3.526.3.1018",
              "accessLevel": "Public"
            },
            {
              "localId": "13",
              "locator": "17:1-17:80",
              "name": "Psych Visit - Psychotherapy",
              "id": "2.16.840.1.113883.3.526.3.1496",
              "accessLevel": "Public"
            },
            {
              "localId": "14",
              "locator": "18:1-18:67",
              "name": "Psychoanalysis",
              "id": "2.16.840.1.113883.3.526.3.1141",
              "accessLevel": "Public"
            },
            {
              "localId": "15",
              "locator": "19:1-19:76",
              "name": "Suicide Risk Assessment",
              "id": "2.16.840.1.113883.3.526.3.1484",
              "accessLevel": "Public"
            }
          ]
        },
        "statements": {
          "def": [
            {
              "locator": "24:1-24:15",
              "name": "Patient",
              "context": "Patient",
              "expression": {
                "type": "SingletonFrom",
                "operand": {
                  "locator": "24:1-24:15",
                  "dataType": "{urn:healthit-gov:qdm:v5_3}Patient",
                  "templateId": "Patient",
                  "type": "Retrieve"
                }
              }
            },
            {
              "localId": "20",
              "locator": "26:1-27:50",
              "name": "SDE Ethnicity",
              "context": "Patient",
              "accessLevel": "Public",
              "annotation": [
                {
                  "type": "Annotation",
                  "s": {
                    "r": "20",
                    "s": [
                      {
                        "value": [
                          "define ",
                          "\"SDE Ethnicity\"",
                          ":\n\t"
                        ]
                      },
                      {
                        "r": "19",
                        "s": [
                          {
                            "value": [
                              "[",
                              "\"Patient Characteristic Ethnicity\"",
                              ": "
                            ]
                          },
                          {
                            "s": [
                              {
                                "value": [
                                  "\"Ethnicity\""
                                ]
                              }
                            ]
                          },
                          {
                            "value": [
                              "]"
                            ]
                          }
                        ]
                      }
                    ]
                  }
                }
              ],
              "expression": {
                "localId": "19",
                "locator": "27:2-27:50",
                "dataType": "{urn:healthit-gov:qdm:v5_3}PatientCharacteristicEthnicity",
                "codeProperty": "code",
                "type": "Retrieve",
                "codes": {
                  "name": "Ethnicity",
                  "type": "ValueSetRef"
                }
              }
            },
            {
              "localId": "22",
              "locator": "29:1-30:42",
              "name": "SDE Payer",
              "context": "Patient",
              "accessLevel": "Public",
              "annotation": [
                {
                  "type": "Annotation",
                  "s": {
                    "r": "22",
                    "s": [
                      {
                        "value": [
                          "define ",
                          "\"SDE Payer\"",
                          ":\n\t"
                        ]
                      },
                      {
                        "r": "21",
                        "s": [
                          {
                            "value": [
                              "[",
                              "\"Patient Characteristic Payer\"",
                              ": "
                            ]
                          },
                          {
                            "s": [
                              {
                                "value": [
                                  "\"Payer\""
                                ]
                              }
                            ]
                          },
                          {
                            "value": [
                              "]"
                            ]
                          }
                        ]
                      }
                    ]
                  }
                }
              ],
              "expression": {
                "localId": "21",
                "locator": "30:2-30:42",
                "dataType": "{urn:healthit-gov:qdm:v5_3}PatientCharacteristicPayer",
                "codeProperty": "code",
                "type": "Retrieve",
                "codes": {
                  "name": "Payer",
                  "type": "ValueSetRef"
                }
              }
            },
            {
              "localId": "24",
              "locator": "32:1-33:40",
              "name": "SDE Race",
              "context": "Patient",
              "accessLevel": "Public",
              "annotation": [
                {
                  "type": "Annotation",
                  "s": {
                    "r": "24",
                    "s": [
                      {
                        "value": [
                          "define ",
                          "\"SDE Race\"",
                          ":\n\t"
                        ]
                      },
                      {
                        "r": "23",
                        "s": [
                          {
                            "value": [
                              "[",
                              "\"Patient Characteristic Race\"",
                              ": "
                            ]
                          },
                          {
                            "s": [
                              {
                                "value": [
                                  "\"Race\""
                                ]
                              }
                            ]
                          },
                          {
                            "value": [
                              "]"
                            ]
                          }
                        ]
                      }
                    ]
                  }
                }
              ],
              "expression": {
                "localId": "23",
                "locator": "33:2-33:40",
                "dataType": "{urn:healthit-gov:qdm:v5_3}PatientCharacteristicRace",
                "codeProperty": "code",
                "type": "Retrieve",
                "codes": {
                  "name": "Race",
                  "type": "ValueSetRef"
                }
              }
            },
            {
              "localId": "26",
              "locator": "35:1-36:57",
              "name": "SDE Sex",
              "context": "Patient",
              "accessLevel": "Public",
              "annotation": [
                {
                  "type": "Annotation",
                  "s": {
                    "r": "26",
                    "s": [
                      {
                        "value": [
                          "define ",
                          "\"SDE Sex\"",
                          ":\n\t"
                        ]
                      },
                      {
                        "r": "25",
                        "s": [
                          {
                            "value": [
                              "[",
                              "\"Patient Characteristic Sex\"",
                              ": "
                            ]
                          },
                          {
                            "s": [
                              {
                                "value": [
                                  "\"ONC Administrative Sex\""
                                ]
                              }
                            ]
                          },
                          {
                            "value": [
                              "]"
                            ]
                          }
                        ]
                      }
                    ]
                  }
                }
              ],
              "expression": {
                "localId": "25",
                "locator": "36:2-36:57",
                "dataType": "{urn:healthit-gov:qdm:v5_3}PatientCharacteristicSex",
                "codeProperty": "code",
                "type": "Retrieve",
                "codes": {
                  "name": "ONC Administrative Sex",
                  "type": "ValueSetRef"
                }
              }
            },
            {
              "localId": "56",
              "locator": "46:1-58:53",
              "name": "Encounter with Major Depressive Disorder Diagnosis",
              "context": "Patient",
              "accessLevel": "Public",
              "annotation": [
                {
                  "type": "Annotation",
                  "s": {
                    "r": "56",
                    "s": [
                      {
                        "value": [
                          "define ",
                          "\"Encounter with Major Depressive Disorder Diagnosis\"",
                          ":\n\t"
                        ]
                      },
                      {
                        "r": "55",
                        "s": [
                          {
                            "s": [
                              {
                                "r": "42",
                                "s": [
                                  {
                                    "r": "41",
                                    "s": [
                                      {
                                        "value": [
                                          "( "
                                        ]
                                      },
                                      {
                                        "r": "41",
                                        "s": [
                                          {
                                            "r": "39",
                                            "s": [
                                              {
                                                "r": "37",
                                                "s": [
                                                  {
                                                    "r": "35",
                                                    "s": [
                                                      {
                                                        "r": "33",
                                                        "s": [
                                                          {
                                                            "r": "31",
                                                            "s": [
                                                              {
                                                                "r": "29",
                                                                "s": [
                                                                  {
                                                                    "r": "27",
                                                                    "s": [
                                                                      {
                                                                        "value": [
                                                                          "[",
                                                                          "\"Encounter, Performed\"",
                                                                          ": "
                                                                        ]
                                                                      },
                                                                      {
                                                                        "s": [
                                                                          {
                                                                            "value": [
                                                                              "\"Office Visit\""
                                                                            ]
                                                                          }
                                                                        ]
                                                                      },
                                                                      {
                                                                        "value": [
                                                                          "]"
                                                                        ]
                                                                      }
                                                                    ]
                                                                  },
                                                                  {
                                                                    "value": [
                                                                      "\n\t\tunion "
                                                                    ]
                                                                  },
                                                                  {
                                                                    "r": "28",
                                                                    "s": [
                                                                      {
                                                                        "value": [
                                                                          "[",
                                                                          "\"Encounter, Performed\"",
                                                                          ": "
                                                                        ]
                                                                      },
                                                                      {
                                                                        "s": [
                                                                          {
                                                                            "value": [
                                                                              "\"Outpatient Consultation\""
                                                                            ]
                                                                          }
                                                                        ]
                                                                      },
                                                                      {
                                                                        "value": [
                                                                          "]"
                                                                        ]
                                                                      }
                                                                    ]
                                                                  }
                                                                ]
                                                              },
                                                              {
                                                                "value": [
                                                                  "\n\t\tunion "
                                                                ]
                                                              },
                                                              {
                                                                "r": "30",
                                                                "s": [
                                                                  {
                                                                    "value": [
                                                                      "[",
                                                                      "\"Encounter, Performed\"",
                                                                      ": "
                                                                    ]
                                                                  },
                                                                  {
                                                                    "s": [
                                                                      {
                                                                        "value": [
                                                                          "\"Face-to-Face Interaction\""
                                                                        ]
                                                                      }
                                                                    ]
                                                                  },
                                                                  {
                                                                    "value": [
                                                                      "]"
                                                                    ]
                                                                  }
                                                                ]
                                                              }
                                                            ]
                                                          },
                                                          {
                                                            "value": [
                                                              "\n\t\tunion "
                                                            ]
                                                          },
                                                          {
                                                            "r": "32",
                                                            "s": [
                                                              {
                                                                "value": [
                                                                  "[",
                                                                  "\"Encounter, Performed\"",
                                                                  ": "
                                                                ]
                                                              },
                                                              {
                                                                "s": [
                                                                  {
                                                                    "value": [
                                                                      "\"Psych Visit - Diagnostic Evaluation\""
                                                                    ]
                                                                  }
                                                                ]
                                                              },
                                                              {
                                                                "value": [
                                                                  "]"
                                                                ]
                                                              }
                                                            ]
                                                          }
                                                        ]
                                                      },
                                                      {
                                                        "value": [
                                                          "\n\t\tunion "
                                                        ]
                                                      },
                                                      {
                                                        "r": "34",
                                                        "s": [
                                                          {
                                                            "value": [
                                                              "[",
                                                              "\"Encounter, Performed\"",
                                                              ": "
                                                            ]
                                                          },
                                                          {
                                                            "s": [
                                                              {
                                                                "value": [
                                                                  "\"Psych Visit - Family Psychotherapy\""
                                                                ]
                                                              }
                                                            ]
                                                          },
                                                          {
                                                            "value": [
                                                              "]"
                                                            ]
                                                          }
                                                        ]
                                                      }
                                                    ]
                                                  },
                                                  {
                                                    "value": [
                                                      "\n\t\tunion "
                                                    ]
                                                  },
                                                  {
                                                    "r": "36",
                                                    "s": [
                                                      {
                                                        "value": [
                                                          "[",
                                                          "\"Encounter, Performed\"",
                                                          ": "
                                                        ]
                                                      },
                                                      {
                                                        "s": [
                                                          {
                                                            "value": [
                                                              "\"Psych Visit - Psychotherapy\""
                                                            ]
                                                          }
                                                        ]
                                                      },
                                                      {
                                                        "value": [
                                                          "]"
                                                        ]
                                                      }
                                                    ]
                                                  }
                                                ]
                                              },
                                              {
                                                "value": [
                                                  "\n\t\tunion "
                                                ]
                                              },
                                              {
                                                "r": "38",
                                                "s": [
                                                  {
                                                    "value": [
                                                      "[",
                                                      "\"Encounter, Performed\"",
                                                      ": "
                                                    ]
                                                  },
                                                  {
                                                    "s": [
                                                      {
                                                        "value": [
                                                          "\"Psychoanalysis\""
                                                        ]
                                                      }
                                                    ]
                                                  },
                                                  {
                                                    "value": [
                                                      "]"
                                                    ]
                                                  }
                                                ]
                                              }
                                            ]
                                          },
                                          {
                                            "value": [
                                              "\n\t\tunion "
                                            ]
                                          },
                                          {
                                            "r": "40",
                                            "s": [
                                              {
                                                "value": [
                                                  "[",
                                                  "\"Encounter, Performed\"",
                                                  ": "
                                                ]
                                              },
                                              {
                                                "s": [
                                                  {
                                                    "value": [
                                                      "\"Group Psychotherapy\""
                                                    ]
                                                  }
                                                ]
                                              },
                                              {
                                                "value": [
                                                  "]"
                                                ]
                                              }
                                            ]
                                          }
                                        ]
                                      },
                                      {
                                        "value": [
                                          " )"
                                        ]
                                      }
                                    ]
                                  },
                                  {
                                    "value": [
                                      " ",
                                      "Enc"
                                    ]
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "value": [
                              "\n\t\t"
                            ]
                          },
                          {
                            "r": "54",
                            "s": [
                              {
                                "value": [
                                  "where "
                                ]
                              },
                              {
                                "r": "54",
                                "s": [
                                  {
                                    "r": "49",
                                    "s": [
                                      {
                                        "value": [
                                          "exists "
                                        ]
                                      },
                                      {
                                        "r": "48",
                                        "s": [
                                          {
                                            "value": [
                                              "( "
                                            ]
                                          },
                                          {
                                            "r": "48",
                                            "s": [
                                              {
                                                "s": [
                                                  {
                                                    "r": "44",
                                                    "s": [
                                                      {
                                                        "r": "43",
                                                        "s": [
                                                          {
                                                            "s": [
                                                              {
                                                                "value": [
                                                                  "Enc",
                                                                  ".",
                                                                  "diagnoses"
                                                                ]
                                                              }
                                                            ]
                                                          }
                                                        ]
                                                      },
                                                      {
                                                        "value": [
                                                          " ",
                                                          "Diagnosis"
                                                        ]
                                                      }
                                                    ]
                                                  }
                                                ]
                                              },
                                              {
                                                "value": [
                                                  "\n\t\t\t\t"
                                                ]
                                              },
                                              {
                                                "r": "47",
                                                "s": [
                                                  {
                                                    "value": [
                                                      "where "
                                                    ]
                                                  },
                                                  {
                                                    "r": "47",
                                                    "s": [
                                                      {
                                                        "r": "45",
                                                        "s": [
                                                          {
                                                            "value": [
                                                              "Diagnosis"
                                                            ]
                                                          }
                                                        ]
                                                      },
                                                      {
                                                        "value": [
                                                          " in "
                                                        ]
                                                      },
                                                      {
                                                        "r": "46",
                                                        "s": [
                                                          {
                                                            "value": [
                                                              "\"Major Depressive Disorder-Active\""
                                                            ]
                                                          }
                                                        ]
                                                      }
                                                    ]
                                                  }
                                                ]
                                              }
                                            ]
                                          },
                                          {
                                            "value": [
                                              "\n\t\t)"
                                            ]
                                          }
                                        ]
                                      }
                                    ]
                                  },
                                  {
                                    "value": [
                                      "\n\t\t\tand "
                                    ]
                                  },
                                  {
                                    "r": "53",
                                    "s": [
                                      {
                                        "r": "51",
                                        "s": [
                                          {
                                            "r": "50",
                                            "s": [
                                              {
                                                "value": [
                                                  "Enc"
                                                ]
                                              }
                                            ]
                                          },
                                          {
                                            "value": [
                                              "."
                                            ]
                                          },
                                          {
                                            "r": "51",
                                            "s": [
                                              {
                                                "value": [
                                                  "relevantPeriod"
                                                ]
                                              }
                                            ]
                                          }
                                        ]
                                      },
                                      {
                                        "value": [
                                          " ",
                                          "during",
                                          " "
                                        ]
                                      },
                                      {
                                        "r": "52",
                                        "s": [
                                          {
                                            "value": [
                                              "\"Measurement Period\""
                                            ]
                                          }
                                        ]
                                      }
                                    ]
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                }
              ],
              "expression": {
                "localId": "55",
                "locator": "47:2-58:53",
                "type": "Query",
                "source": [
                  {
                    "localId": "42",
                    "locator": "47:2-54:61",
                    "alias": "Enc",
                    "expression": {
                      "localId": "41",
                      "locator": "47:2-54:57",
                      "type": "Union",
                      "operand": [
                        {
                          "localId": "39",
                          "locator": "47:4-53:50",
                          "type": "Union",
                          "operand": [
                            {
                              "localId": "37",
                              "locator": "47:4-52:63",
                              "type": "Union",
                              "operand": [
                                {
                                  "localId": "35",
                                  "locator": "47:4-51:70",
                                  "type": "Union",
                                  "operand": [
                                    {
                                      "localId": "33",
                                      "locator": "47:4-50:71",
                                      "type": "Union",
                                      "operand": [
                                        {
                                          "localId": "31",
                                          "locator": "47:4-49:60",
                                          "type": "Union",
                                          "operand": [
                                            {
                                              "localId": "29",
                                              "locator": "47:4-48:59",
                                              "type": "Union",
                                              "operand": [
                                                {
                                                  "localId": "27",
                                                  "locator": "47:4-47:43",
                                                  "dataType": "{urn:healthit-gov:qdm:v5_3}PositiveEncounterPerformed",
                                                  "templateId": "PositiveEncounterPerformed",
                                                  "codeProperty": "code",
                                                  "type": "Retrieve",
                                                  "codes": {
                                                    "name": "Office Visit",
                                                    "type": "ValueSetRef"
                                                  }
                                                },
                                                {
                                                  "localId": "28",
                                                  "locator": "48:9-48:59",
                                                  "dataType": "{urn:healthit-gov:qdm:v5_3}PositiveEncounterPerformed",
                                                  "templateId": "PositiveEncounterPerformed",
                                                  "codeProperty": "code",
                                                  "type": "Retrieve",
                                                  "codes": {
                                                    "name": "Outpatient Consultation",
                                                    "type": "ValueSetRef"
                                                  }
                                                }
                                              ]
                                            },
                                            {
                                              "localId": "30",
                                              "locator": "49:9-49:60",
                                              "dataType": "{urn:healthit-gov:qdm:v5_3}PositiveEncounterPerformed",
                                              "templateId": "PositiveEncounterPerformed",
                                              "codeProperty": "code",
                                              "type": "Retrieve",
                                              "codes": {
                                                "name": "Face-to-Face Interaction",
                                                "type": "ValueSetRef"
                                              }
                                            }
                                          ]
                                        },
                                        {
                                          "localId": "32",
                                          "locator": "50:9-50:71",
                                          "dataType": "{urn:healthit-gov:qdm:v5_3}PositiveEncounterPerformed",
                                          "templateId": "PositiveEncounterPerformed",
                                          "codeProperty": "code",
                                          "type": "Retrieve",
                                          "codes": {
                                            "name": "Psych Visit - Diagnostic Evaluation",
                                            "type": "ValueSetRef"
                                          }
                                        }
                                      ]
                                    },
                                    {
                                      "localId": "34",
                                      "locator": "51:9-51:70",
                                      "dataType": "{urn:healthit-gov:qdm:v5_3}PositiveEncounterPerformed",
                                      "templateId": "PositiveEncounterPerformed",
                                      "codeProperty": "code",
                                      "type": "Retrieve",
                                      "codes": {
                                        "name": "Psych Visit - Family Psychotherapy",
                                        "type": "ValueSetRef"
                                      }
                                    }
                                  ]
                                },
                                {
                                  "localId": "36",
                                  "locator": "52:9-52:63",
                                  "dataType": "{urn:healthit-gov:qdm:v5_3}PositiveEncounterPerformed",
                                  "templateId": "PositiveEncounterPerformed",
                                  "codeProperty": "code",
                                  "type": "Retrieve",
                                  "codes": {
                                    "name": "Psych Visit - Psychotherapy",
                                    "type": "ValueSetRef"
                                  }
                                }
                              ]
                            },
                            {
                              "localId": "38",
                              "locator": "53:9-53:50",
                              "dataType": "{urn:healthit-gov:qdm:v5_3}PositiveEncounterPerformed",
                              "templateId": "PositiveEncounterPerformed",
                              "codeProperty": "code",
                              "type": "Retrieve",
                              "codes": {
                                "name": "Psychoanalysis",
                                "type": "ValueSetRef"
                              }
                            }
                          ]
                        },
                        {
                          "localId": "40",
                          "locator": "54:9-54:55",
                          "dataType": "{urn:healthit-gov:qdm:v5_3}PositiveEncounterPerformed",
                          "templateId": "PositiveEncounterPerformed",
                          "codeProperty": "code",
                          "type": "Retrieve",
                          "codes": {
                            "name": "Group Psychotherapy",
                            "type": "ValueSetRef"
                          }
                        }
                      ]
                    }
                  }
                ],
                "relationship": [

                ],
                "where": {
                  "localId": "54",
                  "locator": "55:3-58:53",
                  "type": "And",
                  "operand": [
                    {
                      "localId": "49",
                      "locator": "55:9-57:3",
                      "type": "Exists",
                      "operand": {
                        "localId": "48",
                        "locator": "55:16-57:3",
                        "type": "Query",
                        "source": [
                          {
                            "localId": "44",
                            "locator": "55:18-55:40",
                            "alias": "Diagnosis",
                            "expression": {
                              "localId": "43",
                              "locator": "55:18-55:30",
                              "path": "diagnoses",
                              "scope": "Enc",
                              "type": "Property"
                            }
                          }
                        ],
                        "relationship": [

                        ],
                        "where": {
                          "localId": "47",
                          "locator": "56:5-56:57",
                          "type": "InValueSet",
                          "code": {
                            "localId": "45",
                            "locator": "56:11-56:19",
                            "name": "Diagnosis",
                            "type": "AliasRef"
                          },
                          "valueset": {
                            "localId": "46",
                            "locator": "56:24-56:57",
                            "name": "Major Depressive Disorder-Active"
                          }
                        }
                      }
                    },
                    {
                      "localId": "53",
                      "locator": "58:8-58:53",
                      "type": "IncludedIn",
                      "operand": [
                        {
                          "localId": "51",
                          "locator": "58:8-58:25",
                          "path": "relevantPeriod",
                          "scope": "Enc",
                          "type": "Property"
                        },
                        {
                          "localId": "52",
                          "locator": "58:34-58:53",
                          "name": "Measurement Period",
                          "type": "ParameterRef"
                        }
                      ]
                    }
                  ]
                }
              }
            },
            {
              "localId": "71",
              "locator": "60:1-63:54",
              "name": "Initial Population",
              "context": "Patient",
              "accessLevel": "Public",
              "annotation": [
                {
                  "type": "Annotation",
                  "s": {
                    "r": "71",
                    "s": [
                      {
                        "value": [
                          "define ",
                          "\"Initial Population\"",
                          ":\n\t"
                        ]
                      },
                      {
                        "r": "70",
                        "s": [
                          {
                            "s": [
                              {
                                "r": "58",
                                "s": [
                                  {
                                    "r": "57",
                                    "s": [
                                      {
                                        "s": [
                                          {
                                            "value": [
                                              "\"Encounter with Major Depressive Disorder Diagnosis\""
                                            ]
                                          }
                                        ]
                                      }
                                    ]
                                  },
                                  {
                                    "value": [
                                      " ",
                                      "Enc"
                                    ]
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "value": [
                              "\n\t\t"
                            ]
                          },
                          {
                            "r": "69",
                            "s": [
                              {
                                "value": [
                                  "where "
                                ]
                              },
                              {
                                "r": "69",
                                "s": [
                                  {
                                    "r": "63",
                                    "s": [
                                      {
                                        "r": "61",
                                        "s": [
                                          {
                                            "value": [
                                              "AgeInYearsAt",
                                              "("
                                            ]
                                          },
                                          {
                                            "r": "60",
                                            "s": [
                                              {
                                                "value": [
                                                  "start of "
                                                ]
                                              },
                                              {
                                                "r": "59",
                                                "s": [
                                                  {
                                                    "value": [
                                                      "\"Measurement Period\""
                                                    ]
                                                  }
                                                ]
                                              }
                                            ]
                                          },
                                          {
                                            "value": [
                                              ")"
                                            ]
                                          }
                                        ]
                                      },
                                      {
                                        "value": [
                                          ">=",
                                          " ",
                                          "6"
                                        ]
                                      }
                                    ]
                                  },
                                  {
                                    "value": [
                                      "\n\t\t\tand "
                                    ]
                                  },
                                  {
                                    "r": "68",
                                    "s": [
                                      {
                                        "r": "66",
                                        "s": [
                                          {
                                            "value": [
                                              "AgeInYearsAt",
                                              "("
                                            ]
                                          },
                                          {
                                            "r": "65",
                                            "s": [
                                              {
                                                "value": [
                                                  "start of "
                                                ]
                                              },
                                              {
                                                "r": "64",
                                                "s": [
                                                  {
                                                    "value": [
                                                      "\"Measurement Period\""
                                                    ]
                                                  }
                                                ]
                                              }
                                            ]
                                          },
                                          {
                                            "value": [
                                              ")"
                                            ]
                                          }
                                        ]
                                      },
                                      {
                                        "value": [
                                          "<",
                                          " ",
                                          "17"
                                        ]
                                      }
                                    ]
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                }
              ],
              "expression": {
                "localId": "70",
                "locator": "61:2-63:54",
                "type": "Query",
                "source": [
                  {
                    "localId": "58",
                    "locator": "61:2-61:57",
                    "alias": "Enc",
                    "expression": {
                      "localId": "57",
                      "locator": "61:2-61:53",
                      "name": "Encounter with Major Depressive Disorder Diagnosis",
                      "type": "ExpressionRef"
                    }
                  }
                ],
                "relationship": [

                ],
                "where": {
                  "localId": "69",
                  "locator": "62:3-63:54",
                  "type": "And",
                  "operand": [
                    {
                      "localId": "63",
                      "locator": "62:9-62:55",
                      "type": "GreaterOrEqual",
                      "operand": [
                        {
                          "localId": "61",
                          "locator": "62:9-62:51",
                          "precision": "Year",
                          "type": "CalculateAgeAt",
                          "operand": [
                            {
                              "path": "birthDatetime",
                              "type": "Property",
                              "source": {
                                "name": "Patient",
                                "type": "ExpressionRef"
                              }
                            },
                            {
                              "localId": "60",
                              "locator": "62:22-62:50",
                              "type": "Start",
                              "operand": {
                                "localId": "59",
                                "locator": "62:31-62:50",
                                "name": "Measurement Period",
                                "type": "ParameterRef"
                              }
                            }
                          ]
                        },
                        {
                          "localId": "62",
                          "locator": "62:55",
                          "valueType": "{urn:hl7-org:elm-types:r1}Integer",
                          "value": "6",
                          "type": "Literal"
                        }
                      ]
                    },
                    {
                      "localId": "68",
                      "locator": "63:8-63:54",
                      "type": "Less",
                      "operand": [
                        {
                          "localId": "66",
                          "locator": "63:8-63:50",
                          "precision": "Year",
                          "type": "CalculateAgeAt",
                          "operand": [
                            {
                              "path": "birthDatetime",
                              "type": "Property",
                              "source": {
                                "name": "Patient",
                                "type": "ExpressionRef"
                              }
                            },
                            {
                              "localId": "65",
                              "locator": "63:21-63:49",
                              "type": "Start",
                              "operand": {
                                "localId": "64",
                                "locator": "63:30-63:49",
                                "name": "Measurement Period",
                                "type": "ParameterRef"
                              }
                            }
                          ]
                        },
                        {
                          "localId": "67",
                          "locator": "63:53-63:54",
                          "valueType": "{urn:hl7-org:elm-types:r1}Integer",
                          "value": "17",
                          "type": "Literal"
                        }
                      ]
                    }
                  ]
                }
              }
            },
            {
              "localId": "73",
              "locator": "38:1-39:21",
              "name": "Denominator",
              "context": "Patient",
              "accessLevel": "Public",
              "annotation": [
                {
                  "type": "Annotation",
                  "s": {
                    "r": "73",
                    "s": [
                      {
                        "value": [
                          "define ",
                          "\"Denominator\"",
                          ":\n\t"
                        ]
                      },
                      {
                        "r": "72",
                        "s": [
                          {
                            "value": [
                              "\"Initial Population\""
                            ]
                          }
                        ]
                      }
                    ]
                  }
                }
              ],
              "expression": {
                "localId": "72",
                "locator": "39:2-39:21",
                "name": "Initial Population",
                "type": "ExpressionRef"
              }
            },
            {
              "localId": "85",
              "locator": "41:1-44:66",
              "name": "Numerator",
              "context": "Patient",
              "accessLevel": "Public",
              "annotation": [
                {
                  "type": "Annotation",
                  "s": {
                    "r": "85",
                    "s": [
                      {
                        "value": [
                          "define ",
                          "\"Numerator\"",
                          ":\n\t"
                        ]
                      },
                      {
                        "r": "84",
                        "s": [
                          {
                            "s": [
                              {
                                "r": "75",
                                "s": [
                                  {
                                    "r": "74",
                                    "s": [
                                      {
                                        "s": [
                                          {
                                            "value": [
                                              "\"Encounter with Major Depressive Disorder Diagnosis\""
                                            ]
                                          }
                                        ]
                                      }
                                    ]
                                  },
                                  {
                                    "value": [
                                      " ",
                                      "Enc"
                                    ]
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "value": [
                              "\n\t\t"
                            ]
                          },
                          {
                            "r": "83",
                            "s": [
                              {
                                "value": [
                                  "with "
                                ]
                              },
                              {
                                "r": "77",
                                "s": [
                                  {
                                    "r": "76",
                                    "s": [
                                      {
                                        "r": "76",
                                        "s": [
                                          {
                                            "value": [
                                              "[",
                                              "\"Intervention, Performed\"",
                                              ": "
                                            ]
                                          },
                                          {
                                            "s": [
                                              {
                                                "value": [
                                                  "\"Suicide Risk Assessment\""
                                                ]
                                              }
                                            ]
                                          },
                                          {
                                            "value": [
                                              "]"
                                            ]
                                          }
                                        ]
                                      }
                                    ]
                                  },
                                  {
                                    "value": [
                                      " ",
                                      "Intervention"
                                    ]
                                  }
                                ]
                              },
                              {
                                "value": [
                                  "\n\t\t\tsuch that "
                                ]
                              },
                              {
                                "r": "82",
                                "s": [
                                  {
                                    "r": "79",
                                    "s": [
                                      {
                                        "r": "78",
                                        "s": [
                                          {
                                            "value": [
                                              "Intervention"
                                            ]
                                          }
                                        ]
                                      },
                                      {
                                        "value": [
                                          "."
                                        ]
                                      },
                                      {
                                        "r": "79",
                                        "s": [
                                          {
                                            "value": [
                                              "relevantPeriod"
                                            ]
                                          }
                                        ]
                                      }
                                    ]
                                  },
                                  {
                                    "value": [
                                      " ",
                                      "during",
                                      " "
                                    ]
                                  },
                                  {
                                    "r": "81",
                                    "s": [
                                      {
                                        "r": "80",
                                        "s": [
                                          {
                                            "value": [
                                              "Enc"
                                            ]
                                          }
                                        ]
                                      },
                                      {
                                        "value": [
                                          "."
                                        ]
                                      },
                                      {
                                        "r": "81",
                                        "s": [
                                          {
                                            "value": [
                                              "relevantPeriod"
                                            ]
                                          }
                                        ]
                                      }
                                    ]
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                }
              ],
              "expression": {
                "localId": "84",
                "locator": "42:2-44:66",
                "type": "Query",
                "source": [
                  {
                    "localId": "75",
                    "locator": "42:2-42:57",
                    "alias": "Enc",
                    "expression": {
                      "localId": "74",
                      "locator": "42:2-42:53",
                      "name": "Encounter with Major Depressive Disorder Diagnosis",
                      "type": "ExpressionRef"
                    }
                  }
                ],
                "relationship": [
                  {
                    "localId": "83",
                    "locator": "43:3-44:66",
                    "alias": "Intervention",
                    "type": "With",
                    "expression": {
                      "localId": "76",
                      "locator": "43:8-43:61",
                      "dataType": "{urn:healthit-gov:qdm:v5_3}PositiveInterventionPerformed",
                      "templateId": "PositiveInterventionPerformed",
                      "codeProperty": "code",
                      "type": "Retrieve",
                      "codes": {
                        "name": "Suicide Risk Assessment",
                        "type": "ValueSetRef"
                      }
                    },
                    "suchThat": {
                      "localId": "82",
                      "locator": "44:14-44:66",
                      "type": "IncludedIn",
                      "operand": [
                        {
                          "localId": "79",
                          "locator": "44:14-44:40",
                          "path": "relevantPeriod",
                          "scope": "Intervention",
                          "type": "Property"
                        },
                        {
                          "localId": "81",
                          "locator": "44:49-44:66",
                          "path": "relevantPeriod",
                          "scope": "Enc",
                          "type": "Property"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    }
  ],
  "elm_annotations": {
    "ChildandAdolescentMajorDepressiveDisorderMDDSuicideRiskAssessment": {
      "statements": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "text": "define \"SDE Ethnicity\":\n  "
                    }
                  ]
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "text": "[\"Patient Characteristic Ethnicity\": "
                        }
                      ]
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "text": "\"Ethnicity\""
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "children": [
                        {
                          "text": "]"
                        }
                      ]
                    }
                  ],
                  "node_type": "Retrieve",
                  "ref_id": "19"
                }
              ],
              "ref_id": "20"
            }
          ],
          "define_name": "SDE Ethnicity"
        },
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "text": "define \"SDE Payer\":\n  "
                    }
                  ]
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "text": "[\"Patient Characteristic Payer\": "
                        }
                      ]
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "text": "\"Payer\""
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "children": [
                        {
                          "text": "]"
                        }
                      ]
                    }
                  ],
                  "node_type": "Retrieve",
                  "ref_id": "21"
                }
              ],
              "ref_id": "22"
            }
          ],
          "define_name": "SDE Payer"
        },
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "text": "define \"SDE Race\":\n  "
                    }
                  ]
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "text": "[\"Patient Characteristic Race\": "
                        }
                      ]
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "text": "\"Race\""
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "children": [
                        {
                          "text": "]"
                        }
                      ]
                    }
                  ],
                  "node_type": "Retrieve",
                  "ref_id": "23"
                }
              ],
              "ref_id": "24"
            }
          ],
          "define_name": "SDE Race"
        },
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "text": "define \"SDE Sex\":\n  "
                    }
                  ]
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "text": "[\"Patient Characteristic Sex\": "
                        }
                      ]
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "text": "\"ONC Administrative Sex\""
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "children": [
                        {
                          "text": "]"
                        }
                      ]
                    }
                  ],
                  "node_type": "Retrieve",
                  "ref_id": "25"
                }
              ],
              "ref_id": "26"
            }
          ],
          "define_name": "SDE Sex"
        },
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "text": "define \"Encounter with Major Depressive Disorder Diagnosis\":\n  "
                    }
                  ]
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "children": [
                                {
                                  "children": [
                                    {
                                      "text": "( "
                                    }
                                  ]
                                },
                                {
                                  "children": [
                                    {
                                      "children": [
                                        {
                                          "children": [
                                            {
                                              "children": [
                                                {
                                                  "children": [
                                                    {
                                                      "children": [
                                                        {
                                                          "children": [
                                                            {
                                                              "children": [
                                                                {
                                                                  "children": [
                                                                    {
                                                                      "text": "[\"Encounter, Performed\": "
                                                                    }
                                                                  ]
                                                                },
                                                                {
                                                                  "children": [
                                                                    {
                                                                      "children": [
                                                                        {
                                                                          "text": "\"Office Visit\""
                                                                        }
                                                                      ]
                                                                    }
                                                                  ]
                                                                },
                                                                {
                                                                  "children": [
                                                                    {
                                                                      "text": "]"
                                                                    }
                                                                  ]
                                                                }
                                                              ],
                                                              "node_type": "Retrieve",
                                                              "ref_id": "27"
                                                            },
                                                            {
                                                              "children": [
                                                                {
                                                                  "text": "\n    union "
                                                                }
                                                              ]
                                                            },
                                                            {
                                                              "children": [
                                                                {
                                                                  "children": [
                                                                    {
                                                                      "text": "[\"Encounter, Performed\": "
                                                                    }
                                                                  ]
                                                                },
                                                                {
                                                                  "children": [
                                                                    {
                                                                      "children": [
                                                                        {
                                                                          "text": "\"Outpatient Consultation\""
                                                                        }
                                                                      ]
                                                                    }
                                                                  ]
                                                                },
                                                                {
                                                                  "children": [
                                                                    {
                                                                      "text": "]"
                                                                    }
                                                                  ]
                                                                }
                                                              ],
                                                              "node_type": "Retrieve",
                                                              "ref_id": "28"
                                                            }
                                                          ],
                                                          "node_type": "Union",
                                                          "ref_id": "29"
                                                        },
                                                        {
                                                          "children": [
                                                            {
                                                              "text": "\n    union "
                                                            }
                                                          ]
                                                        },
                                                        {
                                                          "children": [
                                                            {
                                                              "children": [
                                                                {
                                                                  "text": "[\"Encounter, Performed\": "
                                                                }
                                                              ]
                                                            },
                                                            {
                                                              "children": [
                                                                {
                                                                  "children": [
                                                                    {
                                                                      "text": "\"Face-to-Face Interaction\""
                                                                    }
                                                                  ]
                                                                }
                                                              ]
                                                            },
                                                            {
                                                              "children": [
                                                                {
                                                                  "text": "]"
                                                                }
                                                              ]
                                                            }
                                                          ],
                                                          "node_type": "Retrieve",
                                                          "ref_id": "30"
                                                        }
                                                      ],
                                                      "node_type": "Union",
                                                      "ref_id": "31"
                                                    },
                                                    {
                                                      "children": [
                                                        {
                                                          "text": "\n    union "
                                                        }
                                                      ]
                                                    },
                                                    {
                                                      "children": [
                                                        {
                                                          "children": [
                                                            {
                                                              "text": "[\"Encounter, Performed\": "
                                                            }
                                                          ]
                                                        },
                                                        {
                                                          "children": [
                                                            {
                                                              "children": [
                                                                {
                                                                  "text": "\"Psych Visit - Diagnostic Evaluation\""
                                                                }
                                                              ]
                                                            }
                                                          ]
                                                        },
                                                        {
                                                          "children": [
                                                            {
                                                              "text": "]"
                                                            }
                                                          ]
                                                        }
                                                      ],
                                                      "node_type": "Retrieve",
                                                      "ref_id": "32"
                                                    }
                                                  ],
                                                  "node_type": "Union",
                                                  "ref_id": "33"
                                                },
                                                {
                                                  "children": [
                                                    {
                                                      "text": "\n    union "
                                                    }
                                                  ]
                                                },
                                                {
                                                  "children": [
                                                    {
                                                      "children": [
                                                        {
                                                          "text": "[\"Encounter, Performed\": "
                                                        }
                                                      ]
                                                    },
                                                    {
                                                      "children": [
                                                        {
                                                          "children": [
                                                            {
                                                              "text": "\"Psych Visit - Family Psychotherapy\""
                                                            }
                                                          ]
                                                        }
                                                      ]
                                                    },
                                                    {
                                                      "children": [
                                                        {
                                                          "text": "]"
                                                        }
                                                      ]
                                                    }
                                                  ],
                                                  "node_type": "Retrieve",
                                                  "ref_id": "34"
                                                }
                                              ],
                                              "node_type": "Union",
                                              "ref_id": "35"
                                            },
                                            {
                                              "children": [
                                                {
                                                  "text": "\n    union "
                                                }
                                              ]
                                            },
                                            {
                                              "children": [
                                                {
                                                  "children": [
                                                    {
                                                      "text": "[\"Encounter, Performed\": "
                                                    }
                                                  ]
                                                },
                                                {
                                                  "children": [
                                                    {
                                                      "children": [
                                                        {
                                                          "text": "\"Psych Visit - Psychotherapy\""
                                                        }
                                                      ]
                                                    }
                                                  ]
                                                },
                                                {
                                                  "children": [
                                                    {
                                                      "text": "]"
                                                    }
                                                  ]
                                                }
                                              ],
                                              "node_type": "Retrieve",
                                              "ref_id": "36"
                                            }
                                          ],
                                          "node_type": "Union",
                                          "ref_id": "37"
                                        },
                                        {
                                          "children": [
                                            {
                                              "text": "\n    union "
                                            }
                                          ]
                                        },
                                        {
                                          "children": [
                                            {
                                              "children": [
                                                {
                                                  "text": "[\"Encounter, Performed\": "
                                                }
                                              ]
                                            },
                                            {
                                              "children": [
                                                {
                                                  "children": [
                                                    {
                                                      "text": "\"Psychoanalysis\""
                                                    }
                                                  ]
                                                }
                                              ]
                                            },
                                            {
                                              "children": [
                                                {
                                                  "text": "]"
                                                }
                                              ]
                                            }
                                          ],
                                          "node_type": "Retrieve",
                                          "ref_id": "38"
                                        }
                                      ],
                                      "node_type": "Union",
                                      "ref_id": "39"
                                    },
                                    {
                                      "children": [
                                        {
                                          "text": "\n    union "
                                        }
                                      ]
                                    },
                                    {
                                      "children": [
                                        {
                                          "children": [
                                            {
                                              "text": "[\"Encounter, Performed\": "
                                            }
                                          ]
                                        },
                                        {
                                          "children": [
                                            {
                                              "children": [
                                                {
                                                  "text": "\"Group Psychotherapy\""
                                                }
                                              ]
                                            }
                                          ]
                                        },
                                        {
                                          "children": [
                                            {
                                              "text": "]"
                                            }
                                          ]
                                        }
                                      ],
                                      "node_type": "Retrieve",
                                      "ref_id": "40"
                                    }
                                  ],
                                  "node_type": "Union",
                                  "ref_id": "41"
                                },
                                {
                                  "children": [
                                    {
                                      "text": " )"
                                    }
                                  ]
                                }
                              ],
                              "node_type": "Union",
                              "ref_id": "41"
                            },
                            {
                              "children": [
                                {
                                  "text": " Enc"
                                }
                              ]
                            }
                          ],
                          "ref_id": "42"
                        }
                      ]
                    },
                    {
                      "children": [
                        {
                          "text": "\n    "
                        }
                      ]
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "text": "where "
                            }
                          ]
                        },
                        {
                          "children": [
                            {
                              "children": [
                                {
                                  "children": [
                                    {
                                      "text": "exists "
                                    }
                                  ]
                                },
                                {
                                  "children": [
                                    {
                                      "children": [
                                        {
                                          "text": "( "
                                        }
                                      ]
                                    },
                                    {
                                      "children": [
                                        {
                                          "children": [
                                            {
                                              "children": [
                                                {
                                                  "children": [
                                                    {
                                                      "children": [
                                                        {
                                                          "children": [
                                                            {
                                                              "text": "Enc.diagnoses"
                                                            }
                                                          ]
                                                        }
                                                      ]
                                                    }
                                                  ],
                                                  "node_type": "Property",
                                                  "ref_id": "43"
                                                },
                                                {
                                                  "children": [
                                                    {
                                                      "text": " Diagnosis"
                                                    }
                                                  ]
                                                }
                                              ],
                                              "ref_id": "44"
                                            }
                                          ]
                                        },
                                        {
                                          "children": [
                                            {
                                              "text": "\n        "
                                            }
                                          ]
                                        },
                                        {
                                          "children": [
                                            {
                                              "children": [
                                                {
                                                  "text": "where "
                                                }
                                              ]
                                            },
                                            {
                                              "children": [
                                                {
                                                  "children": [
                                                    {
                                                      "children": [
                                                        {
                                                          "text": "Diagnosis"
                                                        }
                                                      ]
                                                    }
                                                  ],
                                                  "ref_id": "45"
                                                },
                                                {
                                                  "children": [
                                                    {
                                                      "text": " in "
                                                    }
                                                  ]
                                                },
                                                {
                                                  "children": [
                                                    {
                                                      "children": [
                                                        {
                                                          "text": "\"Major Depressive Disorder-Active\""
                                                        }
                                                      ]
                                                    }
                                                  ],
                                                  "ref_id": "46"
                                                }
                                              ],
                                              "ref_id": "47"
                                            }
                                          ],
                                          "ref_id": "47"
                                        }
                                      ],
                                      "node_type": "Query",
                                      "ref_id": "48"
                                    },
                                    {
                                      "children": [
                                        {
                                          "text": "\n    )"
                                        }
                                      ]
                                    }
                                  ],
                                  "node_type": "Query",
                                  "ref_id": "48"
                                }
                              ],
                              "node_type": "Exists",
                              "ref_id": "49"
                            },
                            {
                              "children": [
                                {
                                  "text": "\n      and "
                                }
                              ]
                            },
                            {
                              "children": [
                                {
                                  "children": [
                                    {
                                      "children": [
                                        {
                                          "children": [
                                            {
                                              "text": "Enc"
                                            }
                                          ]
                                        }
                                      ],
                                      "ref_id": "50"
                                    },
                                    {
                                      "children": [
                                        {
                                          "text": "."
                                        }
                                      ]
                                    },
                                    {
                                      "children": [
                                        {
                                          "children": [
                                            {
                                              "text": "relevantPeriod"
                                            }
                                          ]
                                        }
                                      ],
                                      "node_type": "Property",
                                      "ref_id": "51"
                                    }
                                  ],
                                  "node_type": "Property",
                                  "ref_id": "51"
                                },
                                {
                                  "children": [
                                    {
                                      "text": " during "
                                    }
                                  ]
                                },
                                {
                                  "children": [
                                    {
                                      "children": [
                                        {
                                          "text": "\"Measurement Period\""
                                        }
                                      ]
                                    }
                                  ],
                                  "node_type": "ParameterRef",
                                  "ref_id": "52"
                                }
                              ],
                              "node_type": "IncludedIn",
                              "ref_id": "53"
                            }
                          ],
                          "ref_id": "54"
                        }
                      ],
                      "ref_id": "54"
                    }
                  ],
                  "node_type": "Query",
                  "ref_id": "55"
                }
              ],
              "ref_id": "56"
            }
          ],
          "define_name": "Encounter with Major Depressive Disorder Diagnosis"
        },
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "text": "define \"Initial Population\":\n  "
                    }
                  ]
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "children": [
                                {
                                  "children": [
                                    {
                                      "children": [
                                        {
                                          "text": "\"Encounter with Major Depressive Disorder Diagnosis\""
                                        }
                                      ]
                                    }
                                  ]
                                }
                              ],
                              "node_type": "ExpressionRef",
                              "ref_id": "57"
                            },
                            {
                              "children": [
                                {
                                  "text": " Enc"
                                }
                              ]
                            }
                          ],
                          "ref_id": "58"
                        }
                      ]
                    },
                    {
                      "children": [
                        {
                          "text": "\n    "
                        }
                      ]
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "text": "where "
                            }
                          ]
                        },
                        {
                          "children": [
                            {
                              "children": [
                                {
                                  "children": [
                                    {
                                      "children": [
                                        {
                                          "text": "AgeInYearsAt("
                                        }
                                      ]
                                    },
                                    {
                                      "children": [
                                        {
                                          "children": [
                                            {
                                              "text": "start of "
                                            }
                                          ]
                                        },
                                        {
                                          "children": [
                                            {
                                              "children": [
                                                {
                                                  "text": "\"Measurement Period\""
                                                }
                                              ]
                                            }
                                          ],
                                          "node_type": "ParameterRef",
                                          "ref_id": "59"
                                        }
                                      ],
                                      "node_type": "Start",
                                      "ref_id": "60"
                                    },
                                    {
                                      "children": [
                                        {
                                          "text": ")"
                                        }
                                      ]
                                    }
                                  ],
                                  "node_type": "CalculateAgeAt",
                                  "ref_id": "61"
                                },
                                {
                                  "children": [
                                    {
                                      "text": "&gt;= 6"
                                    }
                                  ]
                                }
                              ],
                              "node_type": "GreaterOrEqual",
                              "ref_id": "63"
                            },
                            {
                              "children": [
                                {
                                  "text": "\n      and "
                                }
                              ]
                            },
                            {
                              "children": [
                                {
                                  "children": [
                                    {
                                      "children": [
                                        {
                                          "text": "AgeInYearsAt("
                                        }
                                      ]
                                    },
                                    {
                                      "children": [
                                        {
                                          "children": [
                                            {
                                              "text": "start of "
                                            }
                                          ]
                                        },
                                        {
                                          "children": [
                                            {
                                              "children": [
                                                {
                                                  "text": "\"Measurement Period\""
                                                }
                                              ]
                                            }
                                          ],
                                          "node_type": "ParameterRef",
                                          "ref_id": "64"
                                        }
                                      ],
                                      "node_type": "Start",
                                      "ref_id": "65"
                                    },
                                    {
                                      "children": [
                                        {
                                          "text": ")"
                                        }
                                      ]
                                    }
                                  ],
                                  "node_type": "CalculateAgeAt",
                                  "ref_id": "66"
                                },
                                {
                                  "children": [
                                    {
                                      "text": "&lt; 17"
                                    }
                                  ]
                                }
                              ],
                              "node_type": "Less",
                              "ref_id": "68"
                            }
                          ],
                          "ref_id": "69"
                        }
                      ],
                      "ref_id": "69"
                    }
                  ],
                  "node_type": "Query",
                  "ref_id": "70"
                }
              ],
              "ref_id": "71"
            }
          ],
          "define_name": "Initial Population"
        },
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "text": "define \"Denominator\":\n  "
                    }
                  ]
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "text": "\"Initial Population\""
                        }
                      ]
                    }
                  ],
                  "node_type": "ExpressionRef",
                  "ref_id": "72"
                }
              ],
              "ref_id": "73"
            }
          ],
          "define_name": "Denominator"
        },
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "text": "define \"Numerator\":\n  "
                    }
                  ]
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "children": [
                                {
                                  "children": [
                                    {
                                      "children": [
                                        {
                                          "text": "\"Encounter with Major Depressive Disorder Diagnosis\""
                                        }
                                      ]
                                    }
                                  ]
                                }
                              ],
                              "node_type": "ExpressionRef",
                              "ref_id": "74"
                            },
                            {
                              "children": [
                                {
                                  "text": " Enc"
                                }
                              ]
                            }
                          ],
                          "ref_id": "75"
                        }
                      ]
                    },
                    {
                      "children": [
                        {
                          "text": "\n    "
                        }
                      ]
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "text": "with "
                            }
                          ]
                        },
                        {
                          "children": [
                            {
                              "children": [
                                {
                                  "children": [
                                    {
                                      "children": [
                                        {
                                          "text": "[\"Intervention, Performed\": "
                                        }
                                      ]
                                    },
                                    {
                                      "children": [
                                        {
                                          "children": [
                                            {
                                              "text": "\"Suicide Risk Assessment\""
                                            }
                                          ]
                                        }
                                      ]
                                    },
                                    {
                                      "children": [
                                        {
                                          "text": "]"
                                        }
                                      ]
                                    }
                                  ],
                                  "node_type": "Retrieve",
                                  "ref_id": "76"
                                }
                              ],
                              "node_type": "Retrieve",
                              "ref_id": "76"
                            },
                            {
                              "children": [
                                {
                                  "text": " Intervention"
                                }
                              ]
                            }
                          ],
                          "ref_id": "77"
                        },
                        {
                          "children": [
                            {
                              "text": "\n      such that "
                            }
                          ]
                        },
                        {
                          "children": [
                            {
                              "children": [
                                {
                                  "children": [
                                    {
                                      "children": [
                                        {
                                          "text": "Intervention"
                                        }
                                      ]
                                    }
                                  ],
                                  "ref_id": "78"
                                },
                                {
                                  "children": [
                                    {
                                      "text": "."
                                    }
                                  ]
                                },
                                {
                                  "children": [
                                    {
                                      "children": [
                                        {
                                          "text": "relevantPeriod"
                                        }
                                      ]
                                    }
                                  ],
                                  "node_type": "Property",
                                  "ref_id": "79"
                                }
                              ],
                              "node_type": "Property",
                              "ref_id": "79"
                            },
                            {
                              "children": [
                                {
                                  "text": " during "
                                }
                              ]
                            },
                            {
                              "children": [
                                {
                                  "children": [
                                    {
                                      "children": [
                                        {
                                          "text": "Enc"
                                        }
                                      ]
                                    }
                                  ],
                                  "ref_id": "80"
                                },
                                {
                                  "children": [
                                    {
                                      "text": "."
                                    }
                                  ]
                                },
                                {
                                  "children": [
                                    {
                                      "children": [
                                        {
                                          "text": "relevantPeriod"
                                        }
                                      ]
                                    }
                                  ],
                                  "node_type": "Property",
                                  "ref_id": "81"
                                }
                              ],
                              "node_type": "Property",
                              "ref_id": "81"
                            }
                          ],
                          "node_type": "IncludedIn",
                          "ref_id": "82"
                        }
                      ],
                      "ref_id": "83"
                    }
                  ],
                  "node_type": "Query",
                  "ref_id": "84"
                }
              ],
              "ref_id": "85"
            }
          ],
          "define_name": "Numerator"
        }
      ],
      "identifier": {
        "id": "ChildandAdolescentMajorDepressiveDisorderMDDSuicideRiskAssessment",
        "version": "6.0.002"
      }
    }
  },
  "episode_ids": null,
  "episode_of_care": true,
  "hqmf_id": "40280382-5FA6-FE85-0160-0498BA791EE8",
  "hqmf_set_id": "848D09DE-7E6B-43C4-BEDD-5A2957CCFFE3",
  "hqmf_version_number": 0,
  "id": "5a57eba0942c6d1e61d33b6a",
  "main_cql_library": "ChildandAdolescentMajorDepressiveDisorderMDDSuicideRiskAssessment",
  "measure_attributes": [
    {
      "code": "OTH",
      "value": "177",
      "name": "eCQM Identifier (Measure Authoring Tool)",
      "code_obj": {
        "type": "CD",
        "null_flavor": "OTH",
        "original_text": "eCQM Identifier (Measure Authoring Tool)"
      },
      "value_obj": {
        "type": "ED",
        "value": "177",
        "media_type": "text/plain"
      }
    },
    {
      "code": "OTH",
      "value": "1365",
      "name": "NQF Number",
      "code_obj": {
        "type": "CD",
        "null_flavor": "OTH",
        "original_text": "NQF Number"
      },
      "value_obj": {
        "type": "ED",
        "value": "1365",
        "media_type": "text/plain"
      }
    },
    {
      "code": "COPY",
      "value": "Copyright 2017 PCPI(R) Foundation and American Medical Association. All Rights Reserved.",
      "name": "Copyright",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "COPY",
        "title": "Copyright"
      },
      "value_obj": {
        "type": "ED",
        "value": "Copyright 2017 PCPI(R) Foundation and American Medical Association. All Rights Reserved.",
        "media_type": "text/plain"
      }
    },
    {
      "code": "DISC",
      "value": "The Measures are not clinical guidelines, do not establish a standard of medical care, and have not been tested for all potential applications. \n\nThe Measures, while copyrighted, can be reproduced and distributed, without modification, for noncommercial purposes, eg, use by health care providers in connection with their practices. Commercial use is defined as the sale, license, or distribution of the Measures for commercial gain, or incorporation of the Measures into a product or service that is sold, licensed or distributed for commercial gain. \n\nCommercial uses of the Measures require a license agreement between the user and the PCPI(R) Foundation (PCPI[R]) or the American Medical Association (AMA). Neither the American Medical Association (AMA), nor the AMA-convened Physician Consortium for Performance Improvement(R) (AMA-PCPI), nor PCPI, nor their members shall be responsible for any use of the Measures.\n\nAMA and PCPI encourage use of the Measures by other health care professionals, where appropriate.\n\nTHE MEASURES AND SPECIFICATIONS ARE PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND.\n\nLimited proprietary coding is contained in the Measure specifications for convenience. Users of the proprietary code sets should obtain all necessary licenses from the owners of these code sets. The AMA, the PCPI and its members and former members of the AMA-PCPI disclaim all liability for use or accuracy of any Current Procedural Terminology (CPT[R]) or other coding contained in the specifications. \n\nCPT(R) contained in the Measure specifications is copyright 2004-2016 American Medical Association. LOINC(R) is copyright 2004-2016 Regenstrief Institute, Inc. This material contains SNOMED CLINICAL TERMS (SNOMED CT[R]) copyright 2004-2016 International Health Terminology Standards Development Organisation (IHTSDO). ICD-10 is copyright 2016 World Health Organization. All Rights Reserved.\n\nDue to technical limitations, registered trademarks are indicated by (R) or [R].",
      "name": "Disclaimer",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "DISC",
        "title": "Disclaimer"
      },
      "value_obj": {
        "type": "ED",
        "value": "The Measures are not clinical guidelines, do not establish a standard of medical care, and have not been tested for all potential applications. \n\nThe Measures, while copyrighted, can be reproduced and distributed, without modification, for noncommercial purposes, eg, use by health care providers in connection with their practices. Commercial use is defined as the sale, license, or distribution of the Measures for commercial gain, or incorporation of the Measures into a product or service that is sold, licensed or distributed for commercial gain. \n\nCommercial uses of the Measures require a license agreement between the user and the PCPI(R) Foundation (PCPI[R]) or the American Medical Association (AMA). Neither the American Medical Association (AMA), nor the AMA-convened Physician Consortium for Performance Improvement(R) (AMA-PCPI), nor PCPI, nor their members shall be responsible for any use of the Measures.\n\nAMA and PCPI encourage use of the Measures by other health care professionals, where appropriate.\n\nTHE MEASURES AND SPECIFICATIONS ARE PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND.\n\nLimited proprietary coding is contained in the Measure specifications for convenience. Users of the proprietary code sets should obtain all necessary licenses from the owners of these code sets. The AMA, the PCPI and its members and former members of the AMA-PCPI disclaim all liability for use or accuracy of any Current Procedural Terminology (CPT[R]) or other coding contained in the specifications. \n\nCPT(R) contained in the Measure specifications is copyright 2004-2016 American Medical Association. LOINC(R) is copyright 2004-2016 Regenstrief Institute, Inc. This material contains SNOMED CLINICAL TERMS (SNOMED CT[R]) copyright 2004-2016 International Health Terminology Standards Development Organisation (IHTSDO). ICD-10 is copyright 2016 World Health Organization. All Rights Reserved.\n\nDue to technical limitations, registered trademarks are indicated by (R) or [R].",
        "media_type": "text/plain"
      }
    },
    {
      "code": "MSRSCORE",
      "name": "Measure Scoring",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "MSRSCORE",
        "title": "Measure Scoring"
      },
      "value_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.1.11.20367",
        "code": "PROPOR",
        "title": "Proportion"
      }
    },
    {
      "code": "MSRTYPE",
      "name": "Measure Type",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "MSRTYPE",
        "title": "Measure Type"
      },
      "value_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.1.11.20368",
        "code": "PROCESS",
        "title": "PROCESS"
      }
    },
    {
      "code": "STRAT",
      "value": "None",
      "name": "Stratification",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "STRAT",
        "title": "Stratification"
      },
      "value_obj": {
        "type": "ED",
        "value": "None",
        "media_type": "text/plain"
      }
    },
    {
      "code": "MSRADJ",
      "value": "None",
      "name": "Risk Adjustment",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "MSRADJ",
        "title": "Risk Adjustment"
      },
      "value_obj": {
        "type": "ED",
        "value": "None",
        "media_type": "text/plain"
      }
    },
    {
      "code": "MSRAGG",
      "value": "None",
      "name": "Rate Aggregation",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "MSRAGG",
        "title": "Rate Aggregation"
      },
      "value_obj": {
        "type": "ED",
        "value": "None",
        "media_type": "text/plain"
      }
    },
    {
      "code": "RAT",
      "value": "Research has shown that patients with major depressive disorder are at a high risk for suicide, which makes this assessment an important aspect of care that should be assessed at each visit.  According to a study analyzing the quality of health care in the United States, only about 25.8% of patients with depression had documentation of the presence or absence of suicidal ideation during the first or second diagnostic visit.  76.11% of those patients who have suicidality were asked if they have specific plans to carry out suicide.  A 2003 study reviewed medical records to assess the degree to which providers adhered to depression guidelines in a VA primary care setting.  Providers documented exploration for suicidal ideation in 57% of the records.",
      "name": "Rationale",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "RAT",
        "title": "Rationale"
      },
      "value_obj": {
        "type": "ED",
        "value": "Research has shown that patients with major depressive disorder are at a high risk for suicide, which makes this assessment an important aspect of care that should be assessed at each visit.  According to a study analyzing the quality of health care in the United States, only about 25.8% of patients with depression had documentation of the presence or absence of suicidal ideation during the first or second diagnostic visit.  76.11% of those patients who have suicidality were asked if they have specific plans to carry out suicide.  A 2003 study reviewed medical records to assess the degree to which providers adhered to depression guidelines in a VA primary care setting.  Providers documented exploration for suicidal ideation in 57% of the records.",
        "media_type": "text/plain"
      }
    },
    {
      "code": "CRS",
      "value": "The evaluation must include assessment for the presence of harm to self or others (MS). (AACAP, 2007)\n\nSuicidal behavior exists along a continuum from passive thoughts of death to a clearly developed plan and intent to carry out that plan.  Because depression is closely associated with suicidal thoughts and behavior, it is imperative to evaluate these symptoms at the initial and subsequent assessments.  For this purpose, low burden tools to track suicidal ideation and behavior such as the Columbia-Suicidal Severity Rating Scale can be used. Also, it is crucial to evaluate the risk (eg, age, sex, stressors, comorbid conditions, hopelessness, impulsivity) and protective factors (eg, religious belief, concern not to hurt family) that might influence the desire to attempt suicide.  The risk for suicidal behavior increases if there is a history of suicide attempts, comorbid psychiatric disorders (eg, disruptive disorders, substance abuse), impulsivity and aggression, availability of lethal agents (eg, firearms), exposure to negative events (eg, physical or sexual abuse, violence), and a family history of suicidal behavior. (AACAP, 2007)\n\nA careful and ongoing evaluation of suicide risk is necessary for all patients with major depressive disorder (Category I).  Such an assessment includes specific inquiry about suicidal thoughts, intent, plans, means, and behaviors; identification of specific psychiatric symptoms (eg, psychosis, severe anxiety, substance use) or general medical conditions that may increase the likelihood of acting on suicidal ideas; assessment of past and, particularly, recent suicidal behavior; delineation of current stressors and potential protective factors (eg, positive reasons for living, strong social support); and identification of any family history of suicide or mental illness (Category I). (APA, 2010)",
      "name": "Clinical Recommendation Statement",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "CRS",
        "title": "Clinical Recommendation Statement"
      },
      "value_obj": {
        "type": "ED",
        "value": "The evaluation must include assessment for the presence of harm to self or others (MS). (AACAP, 2007)\n\nSuicidal behavior exists along a continuum from passive thoughts of death to a clearly developed plan and intent to carry out that plan.  Because depression is closely associated with suicidal thoughts and behavior, it is imperative to evaluate these symptoms at the initial and subsequent assessments.  For this purpose, low burden tools to track suicidal ideation and behavior such as the Columbia-Suicidal Severity Rating Scale can be used. Also, it is crucial to evaluate the risk (eg, age, sex, stressors, comorbid conditions, hopelessness, impulsivity) and protective factors (eg, religious belief, concern not to hurt family) that might influence the desire to attempt suicide.  The risk for suicidal behavior increases if there is a history of suicide attempts, comorbid psychiatric disorders (eg, disruptive disorders, substance abuse), impulsivity and aggression, availability of lethal agents (eg, firearms), exposure to negative events (eg, physical or sexual abuse, violence), and a family history of suicidal behavior. (AACAP, 2007)\n\nA careful and ongoing evaluation of suicide risk is necessary for all patients with major depressive disorder (Category I).  Such an assessment includes specific inquiry about suicidal thoughts, intent, plans, means, and behaviors; identification of specific psychiatric symptoms (eg, psychosis, severe anxiety, substance use) or general medical conditions that may increase the likelihood of acting on suicidal ideas; assessment of past and, particularly, recent suicidal behavior; delineation of current stressors and potential protective factors (eg, positive reasons for living, strong social support); and identification of any family history of suicide or mental illness (Category I). (APA, 2010)",
        "media_type": "text/plain"
      }
    },
    {
      "code": "IDUR",
      "value": "Higher score indicates better quality",
      "name": "Improvement Notation",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "IDUR",
        "title": "Improvement Notation"
      },
      "value_obj": {
        "type": "ED",
        "value": "Higher score indicates better quality",
        "media_type": "text/plain"
      }
    },
    {
      "code": "REF",
      "value": "American Academy of Child and Adolescent Psychiatry (AACAP). Practice parameters for the assessment and treatment of children and adolescents with depressive disorders. J. Am. Acad. Child Adolesc. Psychiatry, 2007;\n46(11):1503-1526. Available at: \nhttp://www.aacap.org/App_Themes/AACAP/docs/practice_parameters/depressive_disorders_practice_parameter.pdf",
      "name": "Reference",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "REF",
        "title": "Reference"
      },
      "value_obj": {
        "type": "ED",
        "value": "American Academy of Child and Adolescent Psychiatry (AACAP). Practice parameters for the assessment and treatment of children and adolescents with depressive disorders. J. Am. Acad. Child Adolesc. Psychiatry, 2007;\n46(11):1503-1526. Available at: \nhttp://www.aacap.org/App_Themes/AACAP/docs/practice_parameters/depressive_disorders_practice_parameter.pdf",
        "media_type": "text/plain"
      }
    },
    {
      "code": "REF",
      "value": "Gelenberg AJ, Freeman MP, Markowitz JC, et al; American Psychiatric Association Work Group on Major Depressive Disorder.  Practice guideline for the treatment of patients with major depressive disorder.  3rd ed.  http://www.psychiatryonline.com/pracGuide/pracGuideTopic_7.aspx.  Published October 2010.  Accessed November 24, 2010.",
      "name": "Reference",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "REF",
        "title": "Reference"
      },
      "value_obj": {
        "type": "ED",
        "value": "Gelenberg AJ, Freeman MP, Markowitz JC, et al; American Psychiatric Association Work Group on Major Depressive Disorder.  Practice guideline for the treatment of patients with major depressive disorder.  3rd ed.  http://www.psychiatryonline.com/pracGuide/pracGuideTopic_7.aspx.  Published October 2010.  Accessed November 24, 2010.",
        "media_type": "text/plain"
      }
    },
    {
      "code": "REF",
      "value": "Zimmerman M, Galione J. Psychiatrists' and Nonpsychiatrist Physicians' Reported Use of the DSM-IV Criteria for Major Depressive Disorder.  J Clin Psychiatry. 2010;71:235-238.",
      "name": "Reference",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "REF",
        "title": "Reference"
      },
      "value_obj": {
        "type": "ED",
        "value": "Zimmerman M, Galione J. Psychiatrists' and Nonpsychiatrist Physicians' Reported Use of the DSM-IV Criteria for Major Depressive Disorder.  J Clin Psychiatry. 2010;71:235-238.",
        "media_type": "text/plain"
      }
    },
    {
      "code": "REF",
      "value": "Dobscha SK, Gerrity MS, Corson K, Bahr A, Cuilwik NM. Measuring adherence to depression treatment guidelines in a VA primary care clinic. Gen Hosp Psychiatry. 2003;25:230-7.",
      "name": "Reference",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "REF",
        "title": "Reference"
      },
      "value_obj": {
        "type": "ED",
        "value": "Dobscha SK, Gerrity MS, Corson K, Bahr A, Cuilwik NM. Measuring adherence to depression treatment guidelines in a VA primary care clinic. Gen Hosp Psychiatry. 2003;25:230-7.",
        "media_type": "text/plain"
      }
    },
    {
      "code": "REF",
      "value": "McGlynn EA, Asch SM, Adams J, Keesey J, Hicks J, DeCristofaro A, Kerr EA.  The quality of health care delivered to adults in the United States. New England Journal of Medicine.  2003;348(26):2635-2645.",
      "name": "Reference",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "REF",
        "title": "Reference"
      },
      "value_obj": {
        "type": "ED",
        "value": "McGlynn EA, Asch SM, Adams J, Keesey J, Hicks J, DeCristofaro A, Kerr EA.  The quality of health care delivered to adults in the United States. New England Journal of Medicine.  2003;348(26):2635-2645.",
        "media_type": "text/plain"
      }
    },
    {
      "code": "DEF",
      "value": "Numerator Definition: The specific type and magnitude of the suicide risk assessment is intended to be at the discretion of the individual clinician and should be specific to the needs of the patient. At a minimum, suicide risk assessment should evaluate:\n1. Risk (eg, age, sex, stressors, comorbid conditions, hopelessness, impulsivity) and protective factors (eg, religious belief, concern not to hurt family) that may influence the desire to attempt suicide.\n2. Current severity of suicidality.\n3. Most severe point of suicidality in episode and lifetime.\n \nLow burden tools to track suicidal ideation and behavior such as the Columbia-Suicidal Severity Rating Scale can also be used.",
      "name": "Definition",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "DEF",
        "title": "Definition"
      },
      "value_obj": {
        "type": "ED",
        "value": "Numerator Definition: The specific type and magnitude of the suicide risk assessment is intended to be at the discretion of the individual clinician and should be specific to the needs of the patient. At a minimum, suicide risk assessment should evaluate:\n1. Risk (eg, age, sex, stressors, comorbid conditions, hopelessness, impulsivity) and protective factors (eg, religious belief, concern not to hurt family) that may influence the desire to attempt suicide.\n2. Current severity of suicidality.\n3. Most severe point of suicidality in episode and lifetime.\n \nLow burden tools to track suicidal ideation and behavior such as the Columbia-Suicidal Severity Rating Scale can also be used.",
        "media_type": "text/plain"
      }
    },
    {
      "code": "GUIDE",
      "value": "A suicide risk assessment should be performed at every visit for major depressive disorder during the measurement period. \n\nThis measure is an episode-of-care measure; the level of analysis for this measure is every visit for major depressive disorder during the measurement period. For example, at every visit for MDD, the patient should have a suicide risk assessment.\n\nUse of a standardized tool or instrument to assess suicide risk will meet numerator performance.  Standardized tools can be mapped to the concept \"Intervention, Performed: Suicide Risk Assessment\" included in the numerator logic below.",
      "name": "Guidance",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "GUIDE",
        "title": "Guidance"
      },
      "value_obj": {
        "type": "ED",
        "value": "A suicide risk assessment should be performed at every visit for major depressive disorder during the measurement period. \n\nThis measure is an episode-of-care measure; the level of analysis for this measure is every visit for major depressive disorder during the measurement period. For example, at every visit for MDD, the patient should have a suicide risk assessment.\n\nUse of a standardized tool or instrument to assess suicide risk will meet numerator performance.  Standardized tools can be mapped to the concept \"Intervention, Performed: Suicide Risk Assessment\" included in the numerator logic below.",
        "media_type": "text/plain"
      }
    },
    {
      "code": "TRANF",
      "value": "TBD",
      "name": "Transmission Format",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "TRANF",
        "title": "Transmission Format"
      },
      "value_obj": {
        "type": "ED",
        "value": "TBD",
        "media_type": "text/plain"
      }
    },
    {
      "code": "IPOP",
      "value": "All patient visits for those patients aged 6 through 17 years with a diagnosis of major depressive disorder",
      "name": "Initial Population",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "IPOP",
        "title": "Initial Population"
      },
      "value_obj": {
        "type": "ED",
        "value": "All patient visits for those patients aged 6 through 17 years with a diagnosis of major depressive disorder",
        "media_type": "text/plain"
      }
    },
    {
      "code": "DENOM",
      "value": "Equals Initial Population",
      "name": "Denominator",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "DENOM",
        "title": "Denominator"
      },
      "value_obj": {
        "type": "ED",
        "value": "Equals Initial Population",
        "media_type": "text/plain"
      }
    },
    {
      "code": "DENEX",
      "value": "None",
      "name": "Denominator Exclusions",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "DENEX",
        "title": "Denominator Exclusions"
      },
      "value_obj": {
        "type": "ED",
        "value": "None",
        "media_type": "text/plain"
      }
    },
    {
      "code": "NUMER",
      "value": "Patient visits with an assessment for suicide risk",
      "name": "Numerator",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "NUMER",
        "title": "Numerator"
      },
      "value_obj": {
        "type": "ED",
        "value": "Patient visits with an assessment for suicide risk",
        "media_type": "text/plain"
      }
    },
    {
      "code": "NUMEX",
      "value": "Not Applicable",
      "name": "Numerator Exclusions",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "NUMEX",
        "title": "Numerator Exclusions"
      },
      "value_obj": {
        "type": "ED",
        "value": "Not Applicable",
        "media_type": "text/plain"
      }
    },
    {
      "code": "DENEXCEP",
      "value": "None",
      "name": "Denominator Exceptions",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "DENEXCEP",
        "title": "Denominator Exceptions"
      },
      "value_obj": {
        "type": "ED",
        "value": "None",
        "media_type": "text/plain"
      }
    },
    {
      "code": "SDE",
      "value": "For every patient evaluated by this measure also identify payer, race, ethnicity and sex",
      "name": "Supplemental Data Elements",
      "code_obj": {
        "type": "CD",
        "system": "2.16.840.1.113883.5.4",
        "code": "SDE",
        "title": "Supplemental Data Elements"
      },
      "value_obj": {
        "type": "ED",
        "value": "For every patient evaluated by this measure also identify payer, race, ethnicity and sex",
        "media_type": "text/plain"
      }
    }
  ],
  "measure_id": "40280382-5FA6-FE85-0160-0498BA791EE8",
  "measure_period": {
    "type": "IVL_TS",
    "low": {
      "type": "TS",
      "value": "201201010000",
      "inclusive?": true,
      "derived?": false
    },
    "high": {
      "type": "TS",
      "value": "201212312359",
      "inclusive?": true,
      "derived?": false
    },
    "width": {
      "type": "PQ",
      "unit": "a",
      "value": "1",
      "inclusive?": true,
      "derived?": false
    }
  },
  "needs_finalize": false,
  "observations": [

  ],
  "population_criteria": {
    "IPP": {
      "conjunction?": true,
      "type": "IPP",
      "hqmf_id": "814DC710-4366-4E53-8747-EA68A1D82146",
      "preconditions": [
        {
          "id": 2,
          "preconditions": [
            {
              "id": 1,
              "reference": "ChildandAdolescentMajorDepressiveDisorderMDDSuicideRiskAssessment__Initial_Population__1544087D_9E0F_4F91_9366_A9163A4B55D6"
            }
          ],
          "conjunction_code": "allTrue"
        }
      ]
    },
    "DENOM": {
      "conjunction?": true,
      "type": "DENOM",
      "hqmf_id": "FB9470CF-9D17-4D21-A56C-DD50333C41DB",
      "preconditions": [
        {
          "id": 4,
          "preconditions": [
            {
              "id": 3,
              "reference": "ChildandAdolescentMajorDepressiveDisorderMDDSuicideRiskAssessment__Denominator__1544087D_9E0F_4F91_9366_A9163A4B55D6"
            }
          ],
          "conjunction_code": "allTrue"
        }
      ]
    },
    "NUMER": {
      "conjunction?": true,
      "type": "NUMER",
      "hqmf_id": "487BEADB-29B5-43D7-8E33-F0E40184E27B",
      "preconditions": [
        {
          "id": 6,
          "preconditions": [
            {
              "id": 5,
              "reference": "ChildandAdolescentMajorDepressiveDisorderMDDSuicideRiskAssessment__Numerator__1544087D_9E0F_4F91_9366_A9163A4B55D6"
            }
          ],
          "conjunction_code": "allTrue"
        }
      ]
    }
  },
  "populations": [
    {
      "IPP": "IPP",
      "DENOM": "DENOM",
      "NUMER": "NUMER",
      "id": "PopulationCriteria1",
      "title": "Population Criteria Section"
    }
  ],
  "populations_cql_map": {
    "IPP": [
      "Initial Population"
    ],
    "DENOM": [
      "Denominator"
    ],
    "NUMER": [
      "Numerator"
    ]
  },
  "publish_date": null,
  "published": null,
  "record_ids": [

  ],
  "source_data_criteria": {
    "Face_to_FaceInteraction_EncounterPerformed_40280381_3d61_56a7_013e_5d9034ec707c_source": {
      "title": "Face-to-FaceInteraction",
      "description": "Encounter, Performed: Face-to-FaceInteraction",
      "code_list_id": "2.16.840.1.113883.3.464.1003.101.12.1048",
      "type": "encounters",
      "definition": "encounter",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "Face_to_FaceInteraction_EncounterPerformed_40280381_3d61_56a7_013e_5d9034ec707c_source",
      "variable": false
    },
    "Payer_PatientCharacteristicPayer_017dc6d3_9c8e_49de_8ffd_10a2b6194af1_source": {
      "title": "Payer",
      "description": "Patient Characteristic Payer: Payer",
      "code_list_id": "2.16.840.1.114222.4.11.3591",
      "property": "payer",
      "type": "characteristic",
      "definition": "patient_characteristic_payer",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "Payer_PatientCharacteristicPayer_017dc6d3_9c8e_49de_8ffd_10a2b6194af1_source",
      "variable": false,
      "inline_code_list": {
        "Source of Payment Typology": [
          "1",
          "11",
          "111",
          "112",
          "113",
          "119",
          "12",
          "121",
          "122",
          "123",
          "129",
          "13",
          "14",
          "19",
          "191",
          "2",
          "21",
          "211",
          "212",
          "213",
          "219",
          "22",
          "23",
          "24",
          "25",
          "26",
          "29",
          "291",
          "3",
          "31",
          "311",
          "3111",
          "3112",
          "3113",
          "3114",
          "3115",
          "3116",
          "3119",
          "312",
          "3121",
          "3122",
          "3123",
          "313",
          "32",
          "321",
          "3211",
          "3212",
          "32121",
          "32122",
          "32123",
          "32124",
          "32125",
          "32126",
          "322",
          "3221",
          "3222",
          "3223",
          "3229",
          "33",
          "331",
          "332",
          "333",
          "334",
          "34",
          "341",
          "342",
          "343",
          "349",
          "35",
          "36",
          "361",
          "362",
          "369",
          "37",
          "371",
          "3711",
          "3712",
          "3713",
          "372",
          "379",
          "38",
          "381",
          "3811",
          "3812",
          "3813",
          "3819",
          "382",
          "389",
          "39",
          "4",
          "41",
          "42",
          "43",
          "44",
          "5",
          "51",
          "511",
          "512",
          "513",
          "514",
          "515",
          "516",
          "519",
          "52",
          "521",
          "522",
          "523",
          "529",
          "53",
          "54",
          "55",
          "56",
          "561",
          "562",
          "59",
          "6",
          "61",
          "611",
          "612",
          "613",
          "619",
          "62",
          "63",
          "64",
          "69",
          "7",
          "71",
          "72",
          "73",
          "79",
          "8",
          "81",
          "82",
          "821",
          "822",
          "823",
          "83",
          "84",
          "85",
          "89",
          "9",
          "91",
          "92",
          "93",
          "94",
          "95",
          "951",
          "953",
          "954",
          "959",
          "96",
          "97",
          "98",
          "99",
          "9999"
        ]
      }
    },
    "ONCAdministrativeSex_PatientCharacteristicSex_9875ed53_df03_4176_b93c_722d680ad79b_source": {
      "title": "ONCAdministrativeSex",
      "description": "Patient Characteristic Sex: ONCAdministrativeSex",
      "code_list_id": "2.16.840.1.113762.1.4.1",
      "property": "gender",
      "type": "characteristic",
      "definition": "patient_characteristic_gender",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "ONCAdministrativeSex_PatientCharacteristicSex_9875ed53_df03_4176_b93c_722d680ad79b_source",
      "variable": false,
      "value": {
        "type": "CD",
        "system": "Administrative Sex",
        "code": "F"
      }
    },
    "OutpatientConsultation_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb7070_source": {
      "title": "OutpatientConsultation",
      "description": "Encounter, Performed: OutpatientConsultation",
      "code_list_id": "2.16.840.1.113883.3.464.1003.101.12.1008",
      "type": "encounters",
      "definition": "encounter",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "OutpatientConsultation_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb7070_source",
      "variable": false
    },
    "PsychVisit_DiagnosticEvaluation_EncounterPerformed_40280381_3d61_56a7_013e_9046741b6c87_source": {
      "title": "PsychVisit-DiagnosticEvaluation",
      "description": "Encounter, Performed: PsychVisit-DiagnosticEvaluation",
      "code_list_id": "2.16.840.1.113883.3.526.3.1492",
      "type": "encounters",
      "definition": "encounter",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "PsychVisit_DiagnosticEvaluation_EncounterPerformed_40280381_3d61_56a7_013e_9046741b6c87_source",
      "variable": false
    },
    "PsychVisit_Psychotherapy_EncounterPerformed_40280381_3d61_56a7_013e_5d9034ec708d_source": {
      "title": "PsychVisit-Psychotherapy",
      "description": "Encounter, Performed: PsychVisit-Psychotherapy",
      "code_list_id": "2.16.840.1.113883.3.526.3.1496",
      "type": "encounters",
      "definition": "encounter",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "PsychVisit_Psychotherapy_EncounterPerformed_40280381_3d61_56a7_013e_5d9034ec708d_source",
      "variable": false
    },
    "GroupPsychotherapy_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb706b_source": {
      "title": "GroupPsychotherapy",
      "description": "Encounter, Performed: GroupPsychotherapy",
      "code_list_id": "2.16.840.1.113883.3.526.3.1187",
      "type": "encounters",
      "definition": "encounter",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "GroupPsychotherapy_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb706b_source",
      "variable": false
    },
    "PsychVisit_FamilyPsychotherapy_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb7074_source": {
      "title": "PsychVisit-FamilyPsychotherapy",
      "description": "Encounter, Performed: PsychVisit-FamilyPsychotherapy",
      "code_list_id": "2.16.840.1.113883.3.526.3.1018",
      "type": "encounters",
      "definition": "encounter",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "PsychVisit_FamilyPsychotherapy_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb7074_source",
      "variable": false
    },
    "Ethnicity_PatientCharacteristicEthnicity_37c22a2d_a1d9_43f1_ae5b_c6fb2041c530_source": {
      "title": "Ethnicity",
      "description": "Patient Characteristic Ethnicity: Ethnicity",
      "code_list_id": "2.16.840.1.114222.4.11.837",
      "property": "ethnicity",
      "type": "characteristic",
      "definition": "patient_characteristic_ethnicity",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "Ethnicity_PatientCharacteristicEthnicity_37c22a2d_a1d9_43f1_ae5b_c6fb2041c530_source",
      "variable": false,
      "inline_code_list": {
        "CDC Race": [
          "2135-2",
          "2186-5"
        ]
      }
    },
    "Psychoanalysis_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb7076_source": {
      "title": "Psychoanalysis",
      "description": "Encounter, Performed: Psychoanalysis",
      "code_list_id": "2.16.840.1.113883.3.526.3.1141",
      "type": "encounters",
      "definition": "encounter",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "Psychoanalysis_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb7076_source",
      "variable": false
    },
    "Race_PatientCharacteristicRace_f4f79a4e_4a9e_456a_ae10_c7826e5bdca6_source": {
      "title": "Race",
      "description": "Patient Characteristic Race: Race",
      "code_list_id": "2.16.840.1.114222.4.11.836",
      "property": "race",
      "type": "characteristic",
      "definition": "patient_characteristic_race",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "Race_PatientCharacteristicRace_f4f79a4e_4a9e_456a_ae10_c7826e5bdca6_source",
      "variable": false,
      "inline_code_list": {
        "CDC Race": [
          "1002-5",
          "2028-9",
          "2054-5",
          "2076-8",
          "2106-3",
          "2131-1"
        ]
      }
    },
    "SuicideRiskAssessment_InterventionPerformed_40280381_3d61_56a7_013e_5d9034ec708a_source": {
      "title": "SuicideRiskAssessment",
      "description": "Intervention, Performed: SuicideRiskAssessment",
      "code_list_id": "2.16.840.1.113883.3.526.3.1484",
      "type": "interventions",
      "definition": "intervention",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "SuicideRiskAssessment_InterventionPerformed_40280381_3d61_56a7_013e_5d9034ec708a_source",
      "variable": false
    },
    "OfficeVisit_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb706f_source": {
      "title": "OfficeVisit",
      "description": "Encounter, Performed: OfficeVisit",
      "code_list_id": "2.16.840.1.113883.3.464.1003.101.12.1001",
      "type": "encounters",
      "definition": "encounter",
      "status": "performed",
      "hard_status": false,
      "negation": false,
      "source_data_criteria": "OfficeVisit_EncounterPerformed_40280381_3d61_56a7_013e_5d9034eb706f_source",
      "variable": false
    }
  },
  "title": "Child and Adolescent Major Depressive Disorder (MDD): Suicide Risk Assessment",
  "type": "ep",
  "updated_at": "2018-01-11T22:56:32.118Z",
  "user_id": "5a57e975942c6d1e61d32f13",
  "value_set_oid_version_objects": [
    {
      "oid": "2.16.840.1.113762.1.4.1",
      "version": "Draft-848D09DE-7E6B-43C4-BEDD-5A2957CCFFE3"
    },
    {
      "oid": "2.16.840.1.114222.4.11.836",
      "version": "Draft-848D09DE-7E6B-43C4-BEDD-5A2957CCFFE3"
    },
    {
      "oid": "2.16.840.1.114222.4.11.837",
      "version": "Draft-848D09DE-7E6B-43C4-BEDD-5A2957CCFFE3"
    },
    {
      "oid": "2.16.840.1.114222.4.11.3591",
      "version": "Draft-848D09DE-7E6B-43C4-BEDD-5A2957CCFFE3"
    },
    {
      "oid": "2.16.840.1.113883.3.464.1003.101.12.1048",
      "version": "Draft-848D09DE-7E6B-43C4-BEDD-5A2957CCFFE3"
    },
    {
      "oid": "2.16.840.1.113883.3.526.3.1187",
      "version": "Draft-848D09DE-7E6B-43C4-BEDD-5A2957CCFFE3"
    },
    {
      "oid": "2.16.840.1.113883.3.526.3.1491",
      "version": "Draft-848D09DE-7E6B-43C4-BEDD-5A2957CCFFE3"
    },
    {
      "oid": "2.16.840.1.113883.3.464.1003.101.12.1001",
      "version": "Draft-848D09DE-7E6B-43C4-BEDD-5A2957CCFFE3"
    },
    {
      "oid": "2.16.840.1.113883.3.464.1003.101.12.1008",
      "version": "Draft-848D09DE-7E6B-43C4-BEDD-5A2957CCFFE3"
    },
    {
      "oid": "2.16.840.1.113883.3.526.3.1492",
      "version": "Draft-848D09DE-7E6B-43C4-BEDD-5A2957CCFFE3"
    },
    {
      "oid": "2.16.840.1.113883.3.526.3.1018",
      "version": "Draft-848D09DE-7E6B-43C4-BEDD-5A2957CCFFE3"
    },
    {
      "oid": "2.16.840.1.113883.3.526.3.1496",
      "version": "Draft-848D09DE-7E6B-43C4-BEDD-5A2957CCFFE3"
    },
    {
      "oid": "2.16.840.1.113883.3.526.3.1141",
      "version": "Draft-848D09DE-7E6B-43C4-BEDD-5A2957CCFFE3"
    },
    {
      "oid": "2.16.840.1.113883.3.526.3.1484",
      "version": "Draft-848D09DE-7E6B-43C4-BEDD-5A2957CCFFE3"
    }
  ],
  "value_set_oids": [
    "2.16.840.1.113762.1.4.1",
    "2.16.840.1.114222.4.11.836",
    "2.16.840.1.114222.4.11.837",
    "2.16.840.1.114222.4.11.3591",
    "2.16.840.1.113883.3.464.1003.101.12.1048",
    "2.16.840.1.113883.3.526.3.1187",
    "2.16.840.1.113883.3.526.3.1491",
    "2.16.840.1.113883.3.464.1003.101.12.1001",
    "2.16.840.1.113883.3.464.1003.101.12.1008",
    "2.16.840.1.113883.3.526.3.1492",
    "2.16.840.1.113883.3.526.3.1018",
    "2.16.840.1.113883.3.526.3.1496",
    "2.16.840.1.113883.3.526.3.1141",
    "2.16.840.1.113883.3.526.3.1484"
  ],
  "version": null
}