{"id":1810,"date":"2022-04-06T00:00:00","date_gmt":"2022-04-06T04:00:00","guid":{"rendered":"https:\/\/icesontario.wpengine.com\/journal-articles\/developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases\/"},"modified":"2023-06-14T19:58:07","modified_gmt":"2023-06-14T23:58:07","slug":"developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases","status":"publish","type":"journal_article","link":"https:\/\/www.ices.on.ca\/fr\/publications\/journal-articles\/developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases\/","title":{"rendered":"Developing a random forest algorithm to identify patent foramen ovale and atrial septal defects in Ontario administrative databases"},"content":{"rendered":"<p><strong>Purpose<\/strong> &#x2014; Routinely collected administrative data is widely used for population-based research. However, although clinically very different, atrial septal defects (ASD) and patent foramen ovale (PFO) share a single diagnostic code (ICD-9: 745.5, ICD-10: Q21.1). Using machine-learning based approaches, we developed and validated an algorithm to differentiate between PFO and ASD patient populations within healthcare administrative data.<\/p>\n<p><strong>Methods<\/strong> &#x2014; Using data housed at ICES, we identified patients who underwent transcatheter closure in Ontario between October 2002 and December 2017 using a Canadian Classification of Interventions code (1HN80GPFL, N = 4680). A novel random forest model was developed using demographic and clinical information to differentiate those who underwent transcatheter closure for PFO or ASD. Those patients who had undergone transcatheter closure and had records in the CorHealth Ontario cardiac procedure registry (N = 1482) were used as the reference standard. Several algorithms were tested and evaluated for accuracy, sensitivity, and specificity. Variable importance was examined via mean decrease in Gini index.<\/p>\n<p><strong>Results<\/strong> &#x2014; We tested 7 models in total. The final model included 24 variables, including demographic, comorbidity, and procedural information. After hyperparameter tuning, the final model achieved 0.76 accuracy, 0.76 sensitivity, and 0.75 specificity. Patient age group had the greatest influence on node impurity, and thus ranked highest in variable importance.<\/p>\n<p><strong>Conclusions<\/strong> &#x2014; Our random forest classification method achieved reasonable accuracy in identifying PFO and ASD closure in administrative data. The algorithm can now be applied to evaluate long term PFO and ASD closure outcomes in Ontario, pending future external validation studies to further test the algorithm.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Purpose &#x2014; Routinely collected administrative data is widely used for population-based research. However, although clinically very different, atrial septal defects (ASD) and patent foramen ovale (PFO) share a single diagnostic code (ICD-9: 745.5, ICD-10: Q21.1). Using machine-learning based approaches, we developed and validated an algorithm to differentiate between PFO and ASD patient populations within healthcare [&hellip;]<\/p>\n","protected":false},"template":"","migration-helper-automated":[],"migration-manual":[],"topic":[],"migration-helper-qa-sample-set":[],"class_list":["post-1810","journal_article","type-journal_article","status-publish","hentry"],"acf":{"citation":"Oliva L, Horlick E, Wang B, Huszti E, Hall R, Abrahamyan L. <em>BMC Med Inform Decis Mak<\/em>. 2022; 22(1):93. Epub 2022 Apr 6.","source_url":"https:\/\/bmcmedinformdecismak.biomedcentral.com\/articles\/10.1186\/s12911-022-01837-2","ices_scientist":[1270,17632],"site":[6733],"research_program":[6742],"news_release":[],"journal_article":[],"atlas":[],"research_report":[],"infographic":[],"video":[],"downloads":null,"links":null,"sitecore_item_id":"BCEE7B02-DA66-4F27-8B31-B512AFE9D6E8","sitecore_item_name":"Developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects","sitecore_field_values":"{\n  \"Title\": \"Developing a random forest algorithm to identify patent foramen ovale and atrial septal defects in Ontario administrative databases\",\n  \"Short title\": \"Developing a random forest algorithm to\",\n  \"Summary\": \"Using machine-learning based approaches, the researchers developed and validated an algorithm to differentiate between PFO and ASD patient populations within healthcare administrative data.\",\n  \"Citation\": \"<p>Oliva L, Horlick E, Wang B, Huszti E, Hall R, Abrahamyan L. <em>BMC Med Inform Decis Mak<\/em>. 2022; 22(1):93. Epub 2022 Apr 6. DOI: <a href=\"https:\/\/doi.org\/10.1186\/s12911-022-01837-2\" title=\"opens external link\">https:\/\/doi.org\/10.1186\/s12911-022-01837-2<\/a><\/p>\",\n  \"Abstract\": \"<p><strong>Purpose<\/strong> &mdash; Routinely collected administrative data is widely used for population-based research. However, although clinically very different, atrial septal defects (ASD) and patent foramen ovale (PFO) share a single diagnostic code (ICD-9: 745.5, ICD-10: Q21.1). Using machine-learning based approaches, we developed and validated an algorithm to differentiate between PFO and ASD patient populations within healthcare administrative data.<\/p>n<p><strong>Methods<\/strong> &mdash; Using data housed at ICES, we identified patients who underwent transcatheter closure in Ontario between October 2002 and December 2017 using a Canadian Classification of Interventions code (1HN80GPFL, N = 4680). A novel random forest model was developed using demographic and clinical information to differentiate those who underwent transcatheter closure for PFO or ASD. Those patients who had undergone transcatheter closure and had records in the CorHealth Ontario cardiac procedure registry (N = 1482) were used as the reference standard. Several algorithms were tested and evaluated for accuracy, sensitivity, and specificity. Variable importance was examined via mean decrease in Gini index.<\/p>n<p><strong>Results<\/strong> &mdash; We tested 7 models in total. The final model included 24 variables, including demographic, comorbidity, and procedural information. After hyperparameter tuning, the final model achieved 0.76 accuracy, 0.76 sensitivity, and 0.75 specificity. Patient age group had the greatest influence on node impurity, and thus ranked highest in variable importance.<\/p>n<p><strong>Conclusions<\/strong> &mdash; Our random forest classification method achieved reasonable accuracy in identifying PFO and ASD closure in administrative data. The algorithm can now be applied to evaluate long term PFO and ASD closure outcomes in Ontario, pending future external validation studies to further test the algorithm.<\/p>n<p><a href=\"https:\/\/bmcmedinformdecismak.biomedcentral.com\/articles\/10.1186\/s12911-022-01837-2\" title=\"opens external link\">View full text<\/a><\/p>\",\n  \"Research Programs\": \"{BEC72DE0-BA8C-42B8-ACE5-EE29FFB2CB3B}\",\n  \"ICES Locations\": \"{4FCAABBA-14A5-42E6-8F33-BC6C2F1D9908}\",\n  \"ICES Scientists\": \"{022FC99F-3A3E-4E00-ABB3-575615A81A9B}\",\n  \"Posted Date\": \"20220406T000000\",\n  \"Show on Publications Landing Page\": \"1\"\n}","previous_url":"https:\/\/www.ices.on.ca\/Publications\/Journal-Articles\/2022\/April\/Developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ICES | Developing a random forest algorithm to identify patent foramen ovale and atrial septal defects in Ontario administrative databases<\/title>\n<meta name=\"description\" content=\"Purpose &#x2014; Routinely collected administrative data is widely used for population-based research. However, although clinically very different, atrial\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ices.on.ca\/fr\/publications\/journal-articles\/developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ICES | Developing a random forest algorithm to identify patent foramen ovale and atrial septal defects in Ontario administrative databases\" \/>\n<meta property=\"og:description\" content=\"Purpose &#x2014; Routinely collected administrative data is widely used for population-based research. However, although clinically very different, atrial\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ices.on.ca\/fr\/publications\/journal-articles\/developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases\/\" \/>\n<meta property=\"og:site_name\" content=\"ICES\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ICESOntario\/\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-14T23:58:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ices.on.ca\/wp-content\/uploads\/2024\/11\/ic-es-data-discovery-better-health-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ices.on.ca\\\/fr\\\/publications\\\/journal-articles\\\/developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases\\\/\",\"url\":\"https:\\\/\\\/www.ices.on.ca\\\/fr\\\/publications\\\/journal-articles\\\/developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases\\\/\",\"name\":\"ICES | Developing a random forest algorithm to identify patent foramen ovale and atrial septal defects in Ontario administrative databases\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ices.on.ca\\\/fr\\\/#website\"},\"datePublished\":\"2022-04-06T04:00:00+00:00\",\"dateModified\":\"2023-06-14T23:58:07+00:00\",\"description\":\"Purpose &#x2014; Routinely collected administrative data is widely used for population-based research. However, although clinically very different, atrial\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ices.on.ca\\\/fr\\\/publications\\\/journal-articles\\\/developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.ices.on.ca\\\/fr\\\/publications\\\/journal-articles\\\/developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ices.on.ca\\\/fr\\\/publications\\\/journal-articles\\\/developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ices.on.ca\\\/fr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Journal Articles\",\"item\":\"https:\\\/\\\/www.ices.on.ca\\\/fr\\\/publications\\\/journal-articles\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Developing a random forest algorithm to identify patent foramen ovale and atrial septal defects in Ontario administrative databases\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ices.on.ca\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/www.ices.on.ca\\\/fr\\\/\",\"name\":\"ICES\",\"description\":\"POPULATION-BASED HEALTH RESEARCH THAT MAKES A DIFFERENCE\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ices.on.ca\\\/fr\\\/#organization\"},\"alternateName\":\"Institute for Clinical Evaluative Sciences\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.ices.on.ca\\\/fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.ices.on.ca\\\/fr\\\/#organization\",\"name\":\"ICES\",\"alternateName\":\"Institute for Clinical Evaluative Sciences\",\"url\":\"https:\\\/\\\/www.ices.on.ca\\\/fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/www.ices.on.ca\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.ices.on.ca\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/ices-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.ices.on.ca\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/ices-logo.png\",\"width\":\"676\",\"height\":\"618\",\"caption\":\"ICES\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ices.on.ca\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/ICESOntario\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/ices-research-institute\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ICES | Developing a random forest algorithm to identify patent foramen ovale and atrial septal defects in Ontario administrative databases","description":"Purpose &#x2014; Routinely collected administrative data is widely used for population-based research. However, although clinically very different, atrial","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ices.on.ca\/fr\/publications\/journal-articles\/developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases\/","og_locale":"fr_FR","og_type":"article","og_title":"ICES | Developing a random forest algorithm to identify patent foramen ovale and atrial septal defects in Ontario administrative databases","og_description":"Purpose &#x2014; Routinely collected administrative data is widely used for population-based research. However, although clinically very different, atrial","og_url":"https:\/\/www.ices.on.ca\/fr\/publications\/journal-articles\/developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases\/","og_site_name":"ICES","article_publisher":"https:\/\/www.facebook.com\/ICESOntario\/","article_modified_time":"2023-06-14T23:58:07+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/www.ices.on.ca\/wp-content\/uploads\/2024\/11\/ic-es-data-discovery-better-health-logo.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.ices.on.ca\/fr\/publications\/journal-articles\/developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases\/","url":"https:\/\/www.ices.on.ca\/fr\/publications\/journal-articles\/developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases\/","name":"ICES | Developing a random forest algorithm to identify patent foramen ovale and atrial septal defects in Ontario administrative databases","isPartOf":{"@id":"https:\/\/www.ices.on.ca\/fr\/#website"},"datePublished":"2022-04-06T04:00:00+00:00","dateModified":"2023-06-14T23:58:07+00:00","description":"Purpose &#x2014; Routinely collected administrative data is widely used for population-based research. However, although clinically very different, atrial","breadcrumb":{"@id":"https:\/\/www.ices.on.ca\/fr\/publications\/journal-articles\/developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ices.on.ca\/fr\/publications\/journal-articles\/developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ices.on.ca\/fr\/publications\/journal-articles\/developing-a-random-forest-algorithm-to-identify-patent-foramen-ovale-and-atrial-septal-defects-in-ontario-administrative-databases\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ices.on.ca\/fr\/"},{"@type":"ListItem","position":2,"name":"Journal Articles","item":"https:\/\/www.ices.on.ca\/fr\/publications\/journal-articles\/"},{"@type":"ListItem","position":3,"name":"Developing a random forest algorithm to identify patent foramen ovale and atrial septal defects in Ontario administrative databases"}]},{"@type":"WebSite","@id":"https:\/\/www.ices.on.ca\/fr\/#website","url":"https:\/\/www.ices.on.ca\/fr\/","name":"ICES","description":"POPULATION-BASED HEALTH RESEARCH THAT MAKES A DIFFERENCE","publisher":{"@id":"https:\/\/www.ices.on.ca\/fr\/#organization"},"alternateName":"Institute for Clinical Evaluative Sciences","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ices.on.ca\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/www.ices.on.ca\/fr\/#organization","name":"ICES","alternateName":"Institute for Clinical Evaluative Sciences","url":"https:\/\/www.ices.on.ca\/fr\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.ices.on.ca\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/www.ices.on.ca\/wp-content\/uploads\/2023\/04\/ices-logo.png","contentUrl":"https:\/\/www.ices.on.ca\/wp-content\/uploads\/2023\/04\/ices-logo.png","width":"676","height":"618","caption":"ICES"},"image":{"@id":"https:\/\/www.ices.on.ca\/fr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ICESOntario\/","https:\/\/www.linkedin.com\/company\/ices-research-institute\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.ices.on.ca\/fr\/wp-json\/wp\/v2\/journal_article\/1810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ices.on.ca\/fr\/wp-json\/wp\/v2\/journal_article"}],"about":[{"href":"https:\/\/www.ices.on.ca\/fr\/wp-json\/wp\/v2\/types\/journal_article"}],"acf:post":[{"embeddable":true,"href":"https:\/\/www.ices.on.ca\/fr\/wp-json\/wp\/v2\/research_program\/6742"},{"embeddable":true,"href":"https:\/\/www.ices.on.ca\/fr\/wp-json\/wp\/v2\/site\/6733"},{"embeddable":true,"href":"https:\/\/www.ices.on.ca\/fr\/wp-json\/wp\/v2\/ices_scientist\/17632"},{"embeddable":true,"href":"https:\/\/www.ices.on.ca\/fr\/wp-json\/wp\/v2\/ices_scientist\/1270"}],"wp:attachment":[{"href":"https:\/\/www.ices.on.ca\/fr\/wp-json\/wp\/v2\/media?parent=1810"}],"wp:term":[{"taxonomy":"migration-helper-automated","embeddable":true,"href":"https:\/\/www.ices.on.ca\/fr\/wp-json\/wp\/v2\/migration-helper-automated?post=1810"},{"taxonomy":"migration-manual","embeddable":true,"href":"https:\/\/www.ices.on.ca\/fr\/wp-json\/wp\/v2\/migration-manual?post=1810"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.ices.on.ca\/fr\/wp-json\/wp\/v2\/topic?post=1810"},{"taxonomy":"migration-helper-qa-sample-set","embeddable":true,"href":"https:\/\/www.ices.on.ca\/fr\/wp-json\/wp\/v2\/migration-helper-qa-sample-set?post=1810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}