{
    "createdDate": 1719328330325,
    "tags": [],
    "name": "IQT-Pathways",
    "targetCohorts": [
        {
            "id": 1781666,
            "name": "T2DM Treatment group",
            "expression": {
                "cdmVersionRange": ">=5.0.0",
                "PrimaryCriteria": {
                    "CriteriaList": [
                        {
                            "ConditionEra": {
                                "CodesetId": 2
                            }
                        }
                    ],
                    "ObservationWindow": {
                        "PriorDays": 0,
                        "PostDays": 0
                    },
                    "PrimaryCriteriaLimit": {
                        "Type": "First"
                    }
                },
                "ConceptSets": [
                    {
                        "id": 0,
                        "name": "Drugs of Interest",
                        "expression": {
                            "items": [
                                {
                                    "concept": {
                                        "CONCEPT_ID": 21500148,
                                        "CONCEPT_NAME": "Diabetic Therapy",
                                        "STANDARD_CONCEPT": "C",
                                        "STANDARD_CONCEPT_CAPTION": "Classification",
                                        "INVALID_REASON": "V",
                                        "INVALID_REASON_CAPTION": "Valid",
                                        "CONCEPT_CODE": "00000148",
                                        "DOMAIN_ID": "Drug",
                                        "VOCABULARY_ID": "ETC",
                                        "CONCEPT_CLASS_ID": "ETC"
                                    },
                                    "isExcluded": false,
                                    "includeDescendants": true,
                                    "includeMapped": false
                                },
                                {
                                    "concept": {
                                        "CONCEPT_ID": 21600712,
                                        "CONCEPT_NAME": "DRUGS USED IN DIABETES",
                                        "STANDARD_CONCEPT": "C",
                                        "STANDARD_CONCEPT_CAPTION": "Classification",
                                        "INVALID_REASON": "V",
                                        "INVALID_REASON_CAPTION": "Valid",
                                        "CONCEPT_CODE": "A10",
                                        "DOMAIN_ID": "Drug",
                                        "VOCABULARY_ID": "ATC",
                                        "CONCEPT_CLASS_ID": "ATC 2nd"
                                    },
                                    "isExcluded": false,
                                    "includeDescendants": true,
                                    "includeMapped": false
                                }
                            ]
                        }
                    },
                    {
                        "id": 2,
                        "name": "diabetes mellitius",
                        "expression": {
                            "items": [
                                {
                                    "concept": {
                                        "CONCEPT_ID": 201820,
                                        "CONCEPT_NAME": "Diabetes mellitus",
                                        "STANDARD_CONCEPT": "S",
                                        "STANDARD_CONCEPT_CAPTION": "Standard",
                                        "INVALID_REASON": "V",
                                        "INVALID_REASON_CAPTION": "Valid",
                                        "CONCEPT_CODE": "73211009",
                                        "DOMAIN_ID": "Condition",
                                        "VOCABULARY_ID": "SNOMED",
                                        "CONCEPT_CLASS_ID": "Clinical Finding"
                                    },
                                    "isExcluded": false,
                                    "includeDescendants": true,
                                    "includeMapped": false
                                }
                            ]
                        }
                    }
                ],
                "QualifiedLimit": {
                    "Type": "First"
                },
                "ExpressionLimit": {
                    "Type": "First"
                },
                "InclusionRules": [],
                "EndStrategy": {
                    "DateOffset": {
                        "DateField": "StartDate",
                        "Offset": 1095
                    }
                },
                "CensoringCriteria": [],
                "CollapseSettings": {
                    "CollapseType": "ERA",
                    "EraPad": 0
                },
                "CensorWindow": {}
            }
        }
    ],
    "eventCohorts": [
        {
            "id": 1789987,
            "name": "Glipizide-txp",
            "expression": {
                "cdmVersionRange": ">=5.0.0",
                "PrimaryCriteria": {
                    "CriteriaList": [
                        {
                            "DrugEra": {
                                "CodesetId": 0
                            }
                        }
                    ],
                    "ObservationWindow": {
                        "PriorDays": 0,
                        "PostDays": 0
                    },
                    "PrimaryCriteriaLimit": {
                        "Type": "All"
                    }
                },
                "ConceptSets": [
                    {
                        "id": 0,
                        "name": "Glipizide",
                        "expression": {
                            "items": [
                                {
                                    "concept": {
                                        "CONCEPT_ID": 1560171,
                                        "CONCEPT_NAME": "Glipizide",
                                        "STANDARD_CONCEPT": "S",
                                        "STANDARD_CONCEPT_CAPTION": "Standard",
                                        "INVALID_REASON": "V",
                                        "INVALID_REASON_CAPTION": "Valid",
                                        "CONCEPT_CODE": "4821",
                                        "DOMAIN_ID": "Drug",
                                        "VOCABULARY_ID": "RxNorm",
                                        "CONCEPT_CLASS_ID": "Ingredient"
                                    },
                                    "isExcluded": false,
                                    "includeDescendants": true,
                                    "includeMapped": false
                                }
                            ]
                        }
                    }
                ],
                "QualifiedLimit": {
                    "Type": "First"
                },
                "ExpressionLimit": {
                    "Type": "All"
                },
                "InclusionRules": [],
                "EndStrategy": {
                    "DateOffset": {
                        "DateField": "EndDate",
                        "Offset": 0
                    }
                },
                "CensoringCriteria": [],
                "CollapseSettings": {
                    "CollapseType": "ERA",
                    "EraPad": 0
                },
                "CensorWindow": {}
            }
        },
        {
            "id": 1789986,
            "name": "Metformin-txp",
            "description": "Metformin cohort for TxPathways study",
            "expression": {
                "cdmVersionRange": ">=5.0.0",
                "PrimaryCriteria": {
                    "CriteriaList": [
                        {
                            "DrugEra": {
                                "CodesetId": 0
                            }
                        }
                    ],
                    "ObservationWindow": {
                        "PriorDays": 365,
                        "PostDays": 0
                    },
                    "PrimaryCriteriaLimit": {
                        "Type": "All"
                    }
                },
                "ConceptSets": [
                    {
                        "id": 0,
                        "name": "Metformin",
                        "expression": {
                            "items": [
                                {
                                    "concept": {
                                        "CONCEPT_ID": 1503297,
                                        "CONCEPT_NAME": "Metformin",
                                        "STANDARD_CONCEPT": "S",
                                        "STANDARD_CONCEPT_CAPTION": "Standard",
                                        "INVALID_REASON": "V",
                                        "INVALID_REASON_CAPTION": "Valid",
                                        "CONCEPT_CODE": "6809",
                                        "DOMAIN_ID": "Drug",
                                        "VOCABULARY_ID": "RxNorm",
                                        "CONCEPT_CLASS_ID": "Ingredient"
                                    },
                                    "isExcluded": false,
                                    "includeDescendants": true,
                                    "includeMapped": false
                                }
                            ]
                        }
                    }
                ],
                "QualifiedLimit": {
                    "Type": "First"
                },
                "ExpressionLimit": {
                    "Type": "All"
                },
                "InclusionRules": [
                    {
                        "name": "Type 2 Diabetes",
                        "expression": {
                            "Type": "AT_LEAST",
                            "Count": 1,
                            "CriteriaList": [],
                            "DemographicCriteriaList": [],
                            "Groups": []
                        }
                    }
                ],
                "EndStrategy": {
                    "CustomEra": {
                        "DrugCodesetId": 0,
                        "GapDays": 30,
                        "Offset": 0
                    }
                },
                "CensoringCriteria": [],
                "CollapseSettings": {
                    "CollapseType": "ERA",
                    "EraPad": 0
                },
                "CensorWindow": {}
            }
        },
        {
            "id": 1789985,
            "name": "Simvastatin-txp",
            "expression": {
                "cdmVersionRange": ">=5.0.0",
                "PrimaryCriteria": {
                    "CriteriaList": [
                        {
                            "DrugEra": {
                                "CodesetId": 0
                            }
                        }
                    ],
                    "ObservationWindow": {
                        "PriorDays": 0,
                        "PostDays": 0
                    },
                    "PrimaryCriteriaLimit": {
                        "Type": "All"
                    }
                },
                "ConceptSets": [
                    {
                        "id": 0,
                        "name": "Simvastatin",
                        "expression": {
                            "items": [
                                {
                                    "concept": {
                                        "CONCEPT_ID": 1539403,
                                        "CONCEPT_NAME": "Simvastatin",
                                        "STANDARD_CONCEPT": "S",
                                        "STANDARD_CONCEPT_CAPTION": "Standard",
                                        "INVALID_REASON": "V",
                                        "INVALID_REASON_CAPTION": "Valid",
                                        "CONCEPT_CODE": "36567",
                                        "DOMAIN_ID": "Drug",
                                        "VOCABULARY_ID": "RxNorm",
                                        "CONCEPT_CLASS_ID": "Ingredient"
                                    },
                                    "isExcluded": false,
                                    "includeDescendants": true,
                                    "includeMapped": false
                                }
                            ]
                        }
                    }
                ],
                "QualifiedLimit": {
                    "Type": "First"
                },
                "ExpressionLimit": {
                    "Type": "All"
                },
                "InclusionRules": [],
                "EndStrategy": {
                    "DateOffset": {
                        "DateField": "EndDate",
                        "Offset": 0
                    }
                },
                "CensoringCriteria": [],
                "CollapseSettings": {
                    "CollapseType": "ERA",
                    "EraPad": 0
                },
                "CensorWindow": {}
            }
        }
    ],
    "combinationWindow": 3,
    "minCellCount": 10,
    "maxDepth": 5,
    "allowRepeats": false
}