<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "http://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="other" dtd-version="1.2" xml:lang="en">
    <front>
        <journal-meta>
            <journal-id journal-id-type="pmc">F1000Research</journal-id>
            <journal-title-group>
                <journal-title>F1000Research</journal-title>
            </journal-title-group>
            <issn pub-type="epub">2046-1402</issn>
            <publisher>
                <publisher-name>F1000 Research Limited</publisher-name>
                <publisher-loc>London, UK</publisher-loc>
            </publisher>
        </journal-meta>
        <article-meta>
            <article-id pub-id-type="doi">10.12688/f1000research.145700.1</article-id>
            <article-categories>
                <subj-group subj-group-type="heading">
                    <subject>Case Study</subject>
                </subj-group>
                <subj-group>
                    <subject>Articles</subject>
                </subj-group>
            </article-categories>
            <title-group>
                <article-title>Data-Driven Decision Support Tool Co-Development with a Primary Health Care Practice Based Learning Network</article-title>
                <fn-group content-type="pub-status">
                    <fn>
                        <p>[version 1; peer review: 1 approved, 1 approved with reservations]</p>
                    </fn>
                </fn-group>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author" corresp="yes">
                    <name>
                        <surname>Kueper</surname>
                        <given-names>Jacqueline</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Data Curation</role>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Funding Acquisition</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Project Administration</role>
                    <role content-type="http://credit.niso.org/">Visualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Original Draft Preparation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-6690-1552</uri>
                    <xref ref-type="corresp" rid="c1">a</xref>
                    <xref ref-type="aff" rid="a1">1</xref>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Rayner</surname>
                        <given-names>Jennifer</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Data Curation</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Project Administration</role>
                    <role content-type="http://credit.niso.org/">Resources</role>
                    <role content-type="http://credit.niso.org/">Supervision</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a3">3</xref>
                    <xref ref-type="aff" rid="a4">4</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Bhatti</surname>
                        <given-names>Sara</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Project Administration</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a3">3</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Angevaare</surname>
                        <given-names>Kelly</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a5">5</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Fitzpatrick</surname>
                        <given-names>Sandra</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a6">6</xref>
                    <xref ref-type="aff" rid="a7">7</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Lucamba</surname>
                        <given-names>Paulino</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a8">8</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Sutherland</surname>
                        <given-names>Eric</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a9">9</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Lizotte</surname>
                        <given-names>Daniel</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Funding Acquisition</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Project Administration</role>
                    <role content-type="http://credit.niso.org/">Resources</role>
                    <role content-type="http://credit.niso.org/">Software</role>
                    <role content-type="http://credit.niso.org/">Supervision</role>
                    <role content-type="http://credit.niso.org/">Visualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-9258-8619</uri>
                    <xref ref-type="aff" rid="a1">1</xref>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <aff id="a1">
                    <label>1</label>Department of Computer Science, Western University, London, Ontario, Canada</aff>
                <aff id="a2">
                    <label>2</label>Department of Epidemiology and Biostatistics, Western University, London, Ontario, Canada</aff>
                <aff id="a3">
                    <label>3</label>Department of Research and Evaluation, The Alliance for Healthier Communities, Toronto, Ontario, Canada</aff>
                <aff id="a4">
                    <label>4</label>Centre for Studies in Family Medicine, Western University, London, Ontario, Canada</aff>
                <aff id="a5">
                    <label>5</label>Health Information Systems Department, Compass Community Health, Hamilton, Ontario, Canada</aff>
                <aff id="a6">
                    <label>6</label>Toronto Diabetes Care Connect, Toronto, Ontario, Canada</aff>
                <aff id="a7">
                    <label>7</label>South Riverdale Community Health Centre, Toronto, Ontario, Canada</aff>
                <aff id="a8">
                    <label>8</label>Chatham-Kent Community Health Centres, Chatham, Ontario, Canada</aff>
                <aff id="a9">
                    <label>9</label>Expert in Digitalisation of Health Systems, Paris, France</aff>
            </contrib-group>
            <author-notes>
                <corresp id="c1">
                    <label>a</label>
                    <email xlink:href="mailto:jkueper@uwo.ca">jkueper@uwo.ca</email>
                </corresp>
                <fn fn-type="conflict">
                    <p>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>23</day>
                <month>4</month>
                <year>2024</year>
            </pub-date>
            <pub-date pub-type="collection">
                <year>2024</year>
            </pub-date>
            <volume>13</volume>
            <elocation-id>336</elocation-id>
            <history>
                <date date-type="accepted">
                    <day>29</day>
                    <month>3</month>
                    <year>2024</year>
                </date>
            </history>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2024 Kueper J et al.</copyright-statement>
                <copyright-year>2024</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <self-uri content-type="pdf" xlink:href="https://f1000research.com/articles/13-336/pdf"/>
            <abstract>
                <sec>
                    <title>Background</title>
                    <p>The Alliance for Healthier Communities is a learning health system that supports Community Health Centres (CHCs) across Ontario, Canada to provide team-based primary health care to people who otherwise experience barriers to care. This case study describes the ongoing process and lessons learned from the first Alliance for Healthier Communities&#x2019; Practice Based Learning Network (PBLN) data-driven decision support tool co-development project.</p>
                </sec>
                <sec>
                    <title>Methods</title>
                    <p>We employ an iterative approach to problem identification and methods development for the decision support tool, moving between discussion sessions and case studies with CHC electronic health record (EHR) data. We summarize our work to date in terms of six stages: population-level descriptive-exploratory study, PBLN team engagement, decision support tool problem selection, sandbox case study 1: individual-level risk predictions, sandbox case study 2: population-level planning predictions, project recap and next steps decision.</p>
                </sec>
                <sec>
                    <title>Results</title>
                    <p>The population-level study provided an initial point of engagement to consider how clients are (not) represented in EHR data and to inform problem selection and methodological decisions thereafter. We identified three initial meaningful types of decision support, with target application areas: risk prediction/screening, triaging specialized program referrals, and identifying care access needs. Based on feasibility and expected impact, we started with the goal to support earlier identification of mental health decline after diabetes diagnosis. As discussions deepened around clinical use cases associated with example prediction task set ups, the target problem evolved towards supporting the upstream task of organizational planning and advocacy for adequate mental health care service capacity to meet incoming needs.</p>
                </sec>
                <sec>
                    <title>Conclusions</title>
                    <p>This case study contributes towards a tool to support diabetes and mental health care, as well as lays groundwork for future CHC EHR-based decision support tool initiatives. We share lessons learned and reflections from our process that other primary health care organizations may use to inform their own co-development initiatives.</p>
                </sec>
            </abstract>
            <kwd-group kwd-group-type="author">
                <kwd>Primary Health Care</kwd>
                <kwd>Decision Support Tool</kwd>
                <kwd>Artificial Intelligence</kwd>
                <kwd>Machine Learning</kwd>
                <kwd>Diabetes</kwd>
                <kwd>Mental Health</kwd>
                <kwd>Descriptive Epidemiology</kwd>
                <kwd>Electronic Health Records</kwd>
            </kwd-group>
            <funding-group>
                <award-group id="fund-1" xlink:href="http://dx.doi.org/10.13039/501100000020">
                    <funding-source>Fields Institute for Research in Mathematical Sciences</funding-source>
                </award-group>
                <funding-statement>This project was supported by funding from the Fields Institute for Research in Mathematical Sciences Postdoctoral Fellowship. </funding-statement>
                <funding-statement>
                    <italic>The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.</italic>
                </funding-statement>
            </funding-group>
        </article-meta>
    </front>
    <body>
        <sec id="sec5" sec-type="intro">
            <title>Introduction</title>
            <sec id="sec6">
                <title>Background</title>
                <p>Increasing amounts of everyday data coupled with advancements in technology and artificial intelligence (AI) are transforming healthcare.
                    <sup>
                        <xref ref-type="bibr" rid="ref1">1</xref>
                    </sup>
                    <sup>&#x2013;</sup>
                    <sup>
                        <xref ref-type="bibr" rid="ref5">5</xref>
                    </sup> Primary health care settings have received less attention than other sectors, and there is a need for increased engagement of end-users in development of AI-enabled decision support tools.
                    <sup>
                        <xref ref-type="bibr" rid="ref6">6</xref>
                    </sup>
                    <sup>,</sup>
                    <sup>
                        <xref ref-type="bibr" rid="ref7">7</xref>
                    </sup> This case study describes the process and lessons learned thus far in co-developing a decision support tool with and for a primary health care organization in Ontario, Canada.</p>
            </sec>
            <sec id="sec7">
                <title>Setting</title>
                <p>The 
                    <ext-link ext-link-type="uri" xlink:href="https://www.allianceon.org/">Alliance for Healthier Communities</ext-link> (Alliance) supports team-based primary health care through 72 Community Health Centres (CHCs) across Ontario, Canada to people who otherwise experience barriers to care. In 2000, all CHCs moved towards a common electronic health record (EHR; Telus Practice Solutions, version code 5.23.100) with standardized data requirements; each client&#x2019;s EHR has structured fields for sociodemographic characteristics (e.g., sex, gender, education) and dynamic care encounter tables (e.g., 
                    <ext-link ext-link-type="uri" xlink:href="https://www.insite-fm.com/encode-fm">ENCODE-FM</ext-link> 
                    <italic toggle="yes">v7.2024</italic> or 
                    <ext-link ext-link-type="uri" xlink:href="https://www.who.int/standards/classifications/classification-of-diseases">ICD</ext-link>
                    <italic toggle="yes">-10</italic> codes to indicate diagnoses and procedures) that capture information from all providers in their care team. All CHCs follow a standardized opt-out consent process for the use of de-identified data in research that reports aggregate results, which the analyses in this report fall under. De-identified data with consent for research use were stored on a secure server, with access through encrypted channels granted only as needed to members of the research team. The project was approved by the Western University Health Science Research Ethics Board in March 2018 (ID 111353).</p>
            </sec>
            <sec id="sec8">
                <title>Report structure</title>
                <p>
                    <xref ref-type="fig" rid="f1">Figure 1</xref> summarizes our work completed thus far, with additional details for the six major stages of work presented below in terms of goals and associated activities. The discussion section summarizes overarching lessons learned and reflections.</p>
                <fig fig-type="figure" id="f1" orientation="portrait" position="float">
                    <label>Figure 1. </label>
                    <caption>
                        <title>Case study overview.</title>
                        <p>First six stages of decision support tool co-development project. Legend: Alliance = Alliance for Healthier Communities, CHC = Community Health Centre, EHR = Electronic Health Record.</p>
                    </caption>
                    <graphic id="gr1" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/159682/7cb67989-cfcb-453a-ac26-573f9e01d797_figure1.gif"/>
                </fig>
            </sec>
        </sec>
        <sec id="sec9">
            <title>Stages of work</title>
            <p>The Alliance has been heavily involved in setting quality EHR standards (including the collection and use of sociodemographic and race-based data) and in research studies, but this was their first EHR data-driven decision support tool co-development project. Thus, we started with a strategy to better understand how client characteristics and care patterns are represented in EHR data, and to motivate and facilitate initial brainstorming around meaningful challenges amenable to support with EHR-based data analysis tools.</p>
            <sec id="sec10">
                <title>Stage 1: Population-Level Descriptive-Exploratory Study</title>
                <p>
                    <underline>Goals</underline>
                    <list list-type="order">
                        <list-item>
                            <label>1.</label>
                            <p>To summarize sociodemographic, clinical, and health care use characteristics of ongoing primary care clients served through CHCs across Ontario from 2009 through 2019.</p>
                        </list-item>
                        <list-item>
                            <label>2.</label>
                            <p>To serve as a foundation for community engagement and to inform decision support tool problem selection and methodological decisions.</p>
                        </list-item>
                    </list>
                </p>
                <p>
                    <underline>Activities</underline>
                </p>
                <p>
                    <bold>Conduct study:</bold> This study (published elsewhere
                    <sup>
                        <xref ref-type="bibr" rid="ref8">8</xref>
                    </sup>) provided an overview of population health and care patterns by applying to EHR data both methods from traditional descriptive epidemiology (e.g., period prevalence of chronic conditions) and from unsupervised machine learning to explore more complex patterns (e.g., non-negative matrix factorization to examine care provider teams). Findings were shared with the Alliance community through a 
                    <ext-link ext-link-type="uri" xlink:href="https://www.allianceon.org/resource/Webinar-Finding-Meaning-Universe-Data-Exploring-Opportunities-Learning-Machines-Advance">Lunch &#x2018;n&#x2019; Learn Webinar</ext-link> in October 2022, and were revisited throughout the decision support tool project to inform problem selection and methodological decisions.</p>
            </sec>
            <sec id="sec11">
                <title>Stage 2: PBLN Team Engagement</title>
                <p>
                    <underline>Goals</underline>
                    <list list-type="order">
                        <list-item>
                            <label>1.</label>
                            <p>To engage the broader Alliance community in critical thinking and discussion around secondary uses of EHR data.</p>
                        </list-item>
                        <list-item>
                            <label>2.</label>
                            <p>To invite participation in the decision support tool co-development project.</p>
                        </list-item>
                    </list>
                </p>
                <p>
                    <underline>Activities</underline>
                </p>
                <p>
                    <bold>Population data assessment:</bold> The Lunch &#x2018;n&#x2019; Learn included an introduction to AI and decision support tools in addition to a summary of Stage 1 study findings. Embedded throughout the latter portion were polls and discussion points asking whether findings were consistent with expectations. Areas of inconsistency motivate further exploration to discern if the mismatch is an artifact due to data quality issues or methodological decisions, or if the mismatch is clinically relevant. Areas of potential concern (e.g., accurately high prevalence estimate) could be a good target for a decision support tool.</p>
                <p>
                    <bold>PBLN team formation:</bold> The Lunch &#x2018;n&#x2019; Learn was the launching point of the decision support tool project, with additional invitations to participate distributed through the general Alliance community e-mail list and the recently formed PBLN member e-mail list. The resulting core team of people involved in remaining stages of work, described by general roles:
                    <list list-type="bullet">
                        <list-item>
                            <label>&#x2022;</label>
                            <p>Alliance research leaders (Director of Research, Research and Evaluation Project Lead): Provide input towards project process and all content/decisions, as well as coordinate engagement with the PBLN.</p>
                        </list-item>
                        <list-item>
                            <label>&#x2022;</label>
                            <p>PBLN members (care providers, clinical staff, IS staff): Engage in critical discussion around the target problem and broader decision support tool initiatives, provide input towards methodological decisions, and review analysis findings.</p>
                        </list-item>
                        <list-item>
                            <label>&#x2022;</label>
                            <p>External researchers (professor, postdoctoral associate): Facilitate discussion sessions, lead analyses, and summarize findings.</p>
                        </list-item>
                    </list>
                </p>
            </sec>
            <sec id="sec12">
                <title>Stage 3: Decision Support Tool Problem Selection</title>
                <p>
                    <underline>Goal</underline>
                    <list list-type="order">
                        <list-item>
                            <label>1.</label>
                            <p>To identify meaningful challenges within CHCs that are amenable to support with data-driven decision support tools.</p>
                        </list-item>
                    </list>
                </p>
                <p>
                    <underline>Activities</underline>
                </p>
                <p>
                    <bold>PBLN meeting:</bold> In October 2022, the first PBLN meeting was held. We briefly reviewed descriptive epidemiology findings and discussed whether any outstanding questions needed to be answered to guide future steps. We then discussed data-driven decision support tools and brainstormed potential directions to pursue in the CHC context.</p>
                <p>
                    <bold>Discussion synthesis:</bold> Ideas were summarized into three &#x201c;types&#x201d; of decision support&#x2014;risk prediction or screening, triaging specialized program entry, and identifying care access needs&#x2014;with target conditions or application areas for each type (
                    <xref ref-type="table" rid="T1">Table 1</xref>).</p>
                <table-wrap id="T1" orientation="portrait" position="float">
                    <label>Table 1. </label>
                    <caption>
                        <title>Candidate project directions by type of decision support with envisioned use and target application areas.</title>
                    </caption>
                    <table content-type="article-table" frame="hsides">
                        <thead>
                            <tr>
                                <th align="left" colspan="1" rowspan="1" valign="top">Type of decision support</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">Example decision support tool use</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">Priority application areas</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">
                                    <bold>Risk prediction or screening</bold>
                                </td>
                                <td align="left" colspan="1" rowspan="1" valign="top">Passively run in background of EHR system to predict outcomes, with the option to alert when a client reaches a high-risk threshold</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">Diabetes and mental health</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">
                                    <bold>Triaging specialized program entry</bold>
                                </td>
                                <td align="left" colspan="1" rowspan="1" valign="top">Predict who may benefit most from any given program or care option, used to support decisions when there is limited capacity in the program or in a client's care regime</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">Case conferencing or social prescribing</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">
                                    <bold>Identifying care access needs</bold>
                                </td>
                                <td align="left" colspan="1" rowspan="1" valign="top">Identify outstanding care needs among the population of interest, for staff to initiate proactive engagement of clients to support appointment completion, scheduling, or referral</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">Missing continuity of care or provider type(s) to add to a client&#x2019;s care team</td>
                            </tr>
                        </tbody>
                    </table>
                </table-wrap>
                <p>
                    <bold>PBLN meeting:</bold> In December 2022, we reviewed the three candidate project directions and while all (and more!) were seen as potentially valuable we decided to focus on one while exploring how to best conduct this type of project: risk prediction for mental health decline after diabetes diagnosis. Rationale included i) 
                    <italic toggle="yes">expected impact</italic> (e.g., high prevalence of diabetes with known mental health comorbidities, coupled with the challenge of needing to choose between many possible care options upon a new diabetes diagnosis); ii) 
                    <italic toggle="yes">actionable</italic> (e.g., all CHCs provide mental health care resources that could help prevent mental health decline for people living with diabetes); and iii) 
                    <italic toggle="yes">feasibility</italic> (e.g., relevant care captured in the EHR, and heavy focus on risk prediction in machine learning methods advancements).</p>
                <p>
                    <bold>Follow-up action:</bold> We connected with 
                    <ext-link ext-link-type="uri" xlink:href="https://diabetesaction.ca/">Diabetes Action Canada</ext-link> to learn more about related work and potential collaborators. Given the early nature and CHC-specific focus of our project, we proceeded with risk prediction model development using an existing 11-year retrospective extract of CHC EHR data, with the intention to consider expansion or tighter external collaboration after more internal feasibility and impact assessments.</p>
            </sec>
            <sec id="sec13">
                <title>Stage 4: Sandbox Case Study 1 &#x2013; Individual-level risk predictions</title>
                <p>
                    <underline>Goal</underline>
                    <list list-type="order">
                        <list-item>
                            <label>1.</label>
                            <p>To gauge feasibility and deepen discussion around developing a decision support tool that predicts early mental health decline within a year of incident diabetes indication.</p>
                        </list-item>
                    </list>
                </p>
                <p>
                    <underline>Activities</underline>
                </p>
                <p>
                    <bold>Preliminary analysis:</bold> Candidate cohort summary characteristics, and an outline of potential predictor and outcome definitions and data sources.</p>
                <p>
                    <bold>PBLN meeting:</bold> In February 2023, we met to review the preliminary analysis and made initial decisions on the cohort and how to operationalize the outcome and predictors. This was done alongside further problem refinement and discussing clinical actions that could accompany a high-risk indication (Examples: brief educational discussion, noting down mental health to discuss in future appointments, referral to a specialized mental health provider, or referral to a CHC group program focused on mental health and/or diabetes).</p>
                <p>
                    <bold>Model development:</bold> The eligible cohort included 1,250 adult ongoing primary care clients receiving care at an East Toronto region CHC, who had at least one diabetes ICD-10 code
                    <sup>
                        <xref ref-type="bibr" rid="ref9">9</xref>
                    </sup> in 2011-2018, at least one year of follow-up care, and no mental health care or decline indication in the two years prior to their incident diabetes indication. Five candidate models ranging in complexity from simple linear (sklearn.linear_model.
                    <ext-link ext-link-type="uri" xlink:href="https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html">LogisticRegression</ext-link> v0.24.2) to complex machine learning techniques (
                    <ext-link ext-link-type="uri" xlink:href="https://catboost.ai/">CatBoost</ext-link> v0.26.1) were trained and compared using a five-fold nested cross validation procedure. Hyperparameters were selected on the inner loop using a grid search for the highest Area Under the Receiver Operating Characteristic Curve (AUROC).</p>
                <p>
                    <bold>Model performance:</bold> 
                    <xref ref-type="table" rid="T2">Table 2</xref> presents summary performance metrics, with additional methods and results details available upon request.</p>
                <table-wrap id="T2" orientation="portrait" position="float">
                    <label>Table 2. </label>
                    <caption>
                        <title>Numbers represent average performance across the five outer test folds.</title>
                    </caption>
                    <table content-type="article-table" frame="hsides">
                        <thead>
                            <tr>
                                <th align="left" colspan="1" rowspan="1" valign="top"/>
                                <th align="left" colspan="1" rowspan="1" valign="top">Logistic regression</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">Lasso logistic regression</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">CatBoost - features</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">CatBoost - encodes</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">Hybrid model</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">
                                    <bold>AUROC</bold>
                                </td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.60</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.65</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.68</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.67</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.63</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">
                                    <bold>AUPRC</bold>
                                </td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.14</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.15</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.15</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.15</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.15</td>
                            </tr>
                        </tbody>
                    </table>
                    <table-wrap-foot>
                        <p>Legend: AUROC = Area Under Receiver Operating Characteristics Curve (measure of discrimination, the ability to assign a higher risk score to someone randomly selected with the outcome than someone randomly selected without the outcome; higher is better), AUPRC = Area Under the Precision Recall Curve (measure of the tradeoff between precision and recall performance; higher is better), CatBoost-Features includes sociodemographic and preprocessed clinical features (e.g., count of chronic conditions), CatBoost-Encodes includes sociodemographic features and clinical information as more granular ENCODE-FM codes, Hybrid model = Hybrid feature and similarity based model
                            <sup>
                                <xref ref-type="bibr" rid="ref16">16</xref>
                            </sup> with sociodemographic features and kernel-based similarity of ENCODE-FM codes.</p>
                    </table-wrap-foot>
                </table-wrap>
                <p>
                    <bold>PBLN meeting:</bold> In April 2023, we met to review and revise the initial model development analyses. While we decided the predictive performance of the sandbox model was not clinically useful, the associated discussion surfaced ideas around how to better harness information from the data and around problem refinement. Example insights included broadening eligibility from incident to prevalent cases of diabetes, modifying how to identify active diabetes care, and surfacing the need to engage more people to better understand how different provider types code mental health care in the EHR (e.g., do ENCODE-FM codes for &#x201c;feeling anxious&#x201d; vs &#x201c;anxiety&#x201d; reliably distinguish symptoms vs. diagnosis or is this more indicative of different provider type scopes). In terms of features, medication and lab value data are expected to increase accuracy of individual-level predictions; these data are planned for integration with the BIRT system (supporting data access), but not yet readily available.</p>
                <p>
                    <bold>Follow-up actions:</bold> We sought further input on the case study and suggested next steps in three ways: a PBLN member lead a focus group at their CHC, a poster presentation was given at a primary care research gathering, and an email call out for further input was circulated through the Alliance email listserv.</p>
                <p>
                    <bold>Problem refinement:</bold> A strong discussion theme was that while all CHCs provide mental health services, these are already at or near capacity and implementation of the decision support tool may increase demand past a point that could be maintained. This highlighted potential value of instead developing a system-level decision support tool to address the upstream problem of how to plan or advocate for adequate capacity within CHCs to address future mental health care service needs.</p>
            </sec>
            <sec id="sec14">
                <title>Stage 5: Sandbox Case Study 2 &#x2013; Population-Level Planning Predictions</title>
                <p>
                    <underline>Goal</underline>
                    <list list-type="order">
                        <list-item>
                            <label>1.</label>
                            <p>To use what was learned in Stage 4 to develop a sandbox model to predict the number of ongoing primary care clients with prevalent diabetes indications who will have mental health care needs in the upcoming year.</p>
                        </list-item>
                    </list>
                </p>
                <p>
                    <underline>Activities</underline>
                </p>
                <p>
                    <bold>Model development:</bold> Example methodology changes from the Stage 4 case study were loosening eligibility criteria to include clients already receiving mental health care, broadening the outcome to include additional ENOCDE-FM codes (categories: emotional symptoms, symptoms involving appearance, suicidal ideation, affective disorder, and anxiety), and changing the missingness strategy for sociodemographic variables (collapsed not asked with no answer). We performed a similar five-fold nested CV procedure but restricted to feature-based models due to discussions (supported by case study 1 results) that preprocessed counts of chronic conditions should be more informative than granular codes.</p>
                <p>
                    <bold>Model performance:</bold> Of the 20,329 eligible clients with prevalent diabetes in 2016-2018, 22.2% had a mental health care outcome recorded in 2019. We used a na&#x00ef;ve 0.5 probability cut-off for the best performing model (
                    <ext-link ext-link-type="uri" xlink:href="https://catboost.ai/">CatBoost</ext-link> v0.26.1) across all outer test folds to demonstrate the type of information that could be made available from this type of model to support capacity-planning decisions or advocacy. Overall model accuracy was 86%; CHC-specific accuracy ranged from 64% to 97%, plus one CHC where there were no predicted or actual outcome cases (100% accuracy). The CHC-specific proportion of clients with diabetes predicted to have mental health care needs ranged from 46% (vs. actual 48%) to 1% (vs. actual 13%). Calibration performance is in 
                    <xref ref-type="fig" rid="f2">Figure 2</xref>, with additional metrics available upon request.</p>
                <fig fig-type="figure" id="f2" orientation="portrait" position="float">
                    <label>Figure 2. </label>
                    <caption>
                        <title>Outer fold calibration performance for population-level prediction results.</title>
                        <p>Legend: LR = Logistic Regression, LRP = LR with L1 penalty, CATB = CatBoost, F# = Fold number in cross validation procedure.</p>
                    </caption>
                    <graphic id="gr2" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/159682/7cb67989-cfcb-453a-ac26-573f9e01d797_figure2.gif"/>
                </fig>
                <p>
                    <bold>Follow-up actions:</bold> We presented on all stages of the project at the annual Alliance Conference,
                    <sup>
                        <xref ref-type="bibr" rid="ref10">10</xref>
                    </sup> and discussed the second case study at a PBLN meeting in July 2023. The sandbox model predictive performance showed promise and discussions further supported the idea that this type of advocacy and capacity planning tool would be a beneficial precursor to the individual-level tool in terms of actionability and associated clinical or system utility.</p>
            </sec>
            <sec id="sec15">
                <title>Stage 6: Project Recap and Next Steps Decision</title>
                <p>
                    <underline>Goal</underline>
                    <list list-type="order">
                        <list-item>
                            <label>1.</label>
                            <p>To review progress thus far and select which project direction to pursue next.</p>
                        </list-item>
                    </list>
                </p>
                <p>
                    <underline>Activities</underline>
                </p>
                <p>
                    <bold>PBLN meeting:</bold> In addition to discussing case study 2 results, 
                    <bold>t</bold>he July 2023 PBLN meeting included a review of project progress summarized into three points (
                    <xref ref-type="fig" rid="f3">Figure 3</xref>)&#x2014;project scoping and problem identification, case study 1, and case study 2&#x2014;alongside potential next steps with expected resource needs.</p>
                <fig fig-type="figure" id="f3" orientation="portrait" position="float">
                    <label>Figure 3. </label>
                    <caption>
                        <title>Summary of major progress and insights thus far.</title>
                        <p>Legend: Alliance = Alliance for Healthier Communities, CHC = Community Health Centre.</p>
                    </caption>
                    <graphic id="gr3" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/159682/7cb67989-cfcb-453a-ac26-573f9e01d797_figure3.gif"/>
                </fig>
                <p>
                    <bold>Next steps:</bold> Given the novelty of this project within the Alliance and the broader field of AI-enabled technologies for primary health care, the technical and process related progress made thus far towards a fully functional tool to support diabetes and mental health care additionally includes lessons that would benefit future projects of different focus. Therefore, we decided to pause to document our processes before revisiting the population-level planning tool direction.</p>
            </sec>
        </sec>
        <sec id="sec16" sec-type="discussion">
            <title>Discussion</title>
            <sec id="sec17">
                <title>Summary</title>
                <p>Our decision support tool co-development approach with and for the Alliance started with a large-scale epidemiological study to learn about health and care patterns of the population of interest and about how clients are represented in CHC EHR data. We identified a priority problem of supporting proactive mental health care for clients with diabetes, and iterated between sandbox case studies and discussion sessions to further understand the problem, how a data-driven decision support tool could provide support, and the feasibility of achieving a high-quality technical solution given readily available EHR data.</p>
            </sec>
            <sec id="sec18">
                <title>Reflections and lessons learned</title>
                <p>
                    <list list-type="bullet">
                        <list-item>
                            <label>&#x2022;</label>
                            <p>
                                <bold>Epidemiology as a foundation for innovation:</bold> We used epidemiology as a launching point to supplement clinical and organizational expertise in brainstorming meaningful problem selection. Example benefits: 1) provided an overview of population health and care patterns (e.g., diabetes and mental health prevalence estimates informed expected impact assessment), 2) supported understanding around data quality and how clients are represented in aggregate EHR data (e.g., reliably recorded data elements as part of feasibility assessment), and 3) informed methodological decisions during model development (e.g., the first year of care at a CHC has a distinct profile wherein incidence and prevalence are hard to parse). Furthermore, this rigorous population-level overview
                                <sup>
                                    <xref ref-type="bibr" rid="ref8">8</xref>
                                </sup> can inform multiple initiatives outside the current project scope, and provides a baseline for longer-term evaluation or monitoring of the impact of EHR-based tools over time and with continued use.</p>
                        </list-item>
                        <list-item>
                            <label>&#x2022;</label>
                            <p>
                                <bold>Importance of an interdisciplinary team:</bold> Our team included clinical, research, technical, IS, and organizational leadership expertise. This allowed for seeding discussions with examples, critically assessing meaningful or realistic use of candidate tool ideas in practice and in the context of the organization&#x2014;starting with direct envisioned uses (e.g., brainstorm clinical actions in response to X type of alert) and extending into how to follow through on those actions amidst competing demands at an individual client care level and at a system capacity and culture level. For example, moving from the problem of how to support individual level mental health and diabetes care to address the more pressing challenge of system-level advocacy for adequate resources to be able to follow-through on best care options that would otherwise result from the original tool idea. Including different perspectives further helped to scope the project in terms of what data are available and when, identify the best methodology to meet clinical goals, connect with internal and external collaborators, and support feasibility and continuity from a system-capacity perspective.</p>
                        </list-item>
                        <list-item>
                            <label>&#x2022;</label>
                            <p>
                                <bold>Sandbox case studies supported deeper discussion sessions:</bold> The impact of the sandbox case studies can be likened to how editing a manuscript often matures or builds on ideas relative to when writing the first draft. They were particularly valuable given the novelty of this type of project within the Alliance and the limited amount of research literature on co-development of AI-enabled decision support tools for primary health care settings. Even when predictive performance of a sandbox model was poor, the tangible example pushed discussions further than hypothetical scenarios or thought experiments could. Discussing why specific technical decisions did or did not line up with realistic or impactful clinical scenarios improved problem conceptualization, and the resulting methodological decisions can be applied to future projects. Of note, development of the &#x201c;real&#x201d; model intended for deployment will use a new data extract with more recent data.</p>
                        </list-item>
                        <list-item>
                            <label>&#x2022;</label>
                            <p>
                                <bold>Problem scoping around data availability:</bold> CHCs record rich EHR data that capture information about multiple domains of health; however, the target problem and methodology needs to consider what data are available and to what extent for the population and intended implementation sites of interest. For example, completeness of sociodemographic characteristics varies across CHCs and certain data types (e.g., medications, lab tests) flagged as potentially valuable for our first sandbox case study were scheduled to become available about a year out, which influenced our problem refinement.</p>
                        </list-item>
                        <list-item>
                            <label>&#x2022;</label>
                            <p>
                                <bold>Multiple engagement strategies are needed:</bold> The initial Lunch &#x2018;n&#x2019; Learn session coupled with email list invitations was effective for forming the core project team. In seeking further input towards the project, a PBLN member led focus group at their CHC was more effective than research poster presentations or further e-mail-based recruitment.</p>
                        </list-item>
                        <list-item>
                            <label>&#x2022;</label>
                            <p>
                                <bold>Working towards a broader decision support tool initiative:</bold> As experience is gained, tool development will become more efficient and effective. While there are hundreds of potential targets for decision support tools within the broad scope of primary health care, it will not be sustainable or beneficial to continue to create or implement these independently. A fragmented approach to tool integration poses risks such as exacerbating alert fatigue or disrupting instead of augmenting team-based, whole-person care. Rather, our broader vision is to support more seamless integration of multiple types of tools to benefit people (e.g., better health outcomes), providers (e.g., improved workflow and decisions support), and communities (e.g., sufficient resources to meet demands). An additional consideration for expansion will be when to maintain a tool consistently across all CHCs versus adapt it to the local CHC context and available data.</p>
                        </list-item>
                    </list>
                </p>
                <p>This project more generally furthers the Alliance&#x2019;s learning health system work at three levels: data analysis capacity, stakeholder engagement, and process refinement.
                    <sup>
                        <xref ref-type="bibr" rid="ref11">11</xref>
                    </sup>
                    <sup>&#x2013;</sup>
                    <sup>
                        <xref ref-type="bibr" rid="ref15">15</xref>
                    </sup> First, demonstrating the use of AI to make data more meaningful through large-scale descriptive and real-time, clinically relevant predictive insights that will ultimately improve care delivery. Second, providing new avenues for clinician and provider engagement in data-driven learning initiatives; future work will additionally be able to engage the newly formed Client and Community Research Partners Program. Third, by providing a baseline process for tool development that future projects can learn from and build upon (i.e., what stages of work to keep, modify, or replace). Each future decision support tool initiative will provide additional opportunities for bidirectional learning whereby data are harnessed through AI to tackle a specific clinical problem and improve care delivery, while simultaneously learning how to improve and adapt the processes to achieve that clinical goal for different types of decision support and application areas.</p>
            </sec>
        </sec>
        <sec id="sec19" sec-type="conclusions">
            <title>Conclusions</title>
            <p>This case study describes the ongoing process and lessons learned thus far in the first EHR-based decision support tool co-development project with and for CHCs in Ontario, Canada. The current focus is on diabetes and mental health care, with a vision of extending into a larger and longer-term decision support tool initiative that would integrate multiple types of tools with the CHC EHR system. Our processes and reflections may further inform or motivate other primary health care organizations at a similar stage of learning how to best harness value from EHR data.</p>
            <sec id="sec20">
                <title>Ethics and consent</title>
                <p>Consent for use of de-identified data for research purposes, whereby results are only made available in aggregate, was collected through a standardized opt-out procedure followed by the Community Health Centres where care was provided. Consent is collected via a written form, which is then scanned into the EMR. The need for additional consent specific to the research in this report was waived by the Western University Health Science Research Ethics board (ID 111353).</p>
            </sec>
        </sec>
    </body>
    <back>
        <sec id="sec23" sec-type="data-availability">
            <title>Data availability</title>
            <p>This project includes the following underlying data: 11 years of electronic health records for adult clients who had at least one encounter at an Ontario Community Health Centre in 2009-2019. The data extract includes a client characteristics table (e.g., date of birth, level of education completed) and dimension and fact tables including details about care encounters over time (e.g., diagnostic codes, providers involved, referrals). Due to their sensitive nature, the data are securely stored and not shareable for ethical reasons, as outlined by the Western University Research Ethics Board (ID11353). Inquiries about access for future research studies should be directed to the Department of Research and Evaluation, Alliance for Healthier Communities (
                <email xlink:href="mailto:lhs@allianceon.org">lhs@allianceon.org</email>).</p>
        </sec>
        <ack>
            <title>Acknowledgements</title>
            <p>We would like to thank members of the Alliance PBLN for their contributions to this project, whether for a single session, multiple sessions, or through to co-authorship of this report, and to thank Alliance staff members who helped support connections and ongoing engagement.</p>
        </ack>
        <ref-list>
            <title>References</title>
            <ref id="ref1">
                <label>1</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Jiang</surname>
                            <given-names>F</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Jiang</surname>
                            <given-names>Y</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Zhi</surname>
                            <given-names>H</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Artificial intelligence in healthcare: past, present and future.</article-title>
                    <source>

                        <italic toggle="yes">Stroke Vasc. Neurol.</italic>
</source>
                    <year>2017</year>;<volume>2</volume>(<issue>4</issue>):<fpage>230</fpage>&#x2013;<lpage>243</lpage>.
                    <pub-id pub-id-type="pmid">29507784</pub-id>
                    <pub-id pub-id-type="doi">10.1136/svn-2017-000101</pub-id>
                    <pub-id pub-id-type="pmcid">PMC5829945</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref2">
                <label>2</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Lin</surname>
                            <given-names>SY</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Mahoney</surname>
                            <given-names>MR</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Sinsky</surname>
                            <given-names>CA</given-names>
                        </name>
</person-group>:
                    <article-title>Ten ways artificial intelligence will transform primary care.</article-title>
                    <source>

                        <italic toggle="yes">J. Gen. Intern. Med.</italic>
</source>
                    <year>2019</year>;<volume>34</volume>(<issue>8</issue>):<fpage>1626</fpage>&#x2013;<lpage>1630</lpage>.
                    <pub-id pub-id-type="pmid">31090027</pub-id>
                    <pub-id pub-id-type="doi">10.1007/s11606-019-05035-1</pub-id>
                    <pub-id pub-id-type="pmcid">PMC6667610</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref3">
                <label>3</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Guo</surname>
                            <given-names>Y</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Hao</surname>
                            <given-names>Z</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Zhao</surname>
                            <given-names>S</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Artificial intelligence in health care: Bibliometric analysis.</article-title>
                    <source>

                        <italic toggle="yes">J. Med. Internet Res.</italic>
</source>
                    <year>2020</year>;<volume>22</volume>(<issue>7</issue>):<fpage>e18228</fpage>.
                    <pub-id pub-id-type="pmid">32723713</pub-id>
                    <pub-id pub-id-type="doi">10.2196/18228</pub-id>
                    <pub-id pub-id-type="pmcid">PMC7424481</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref4">
                <label>4</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Weissler</surname>
                            <given-names>EH</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Naumann</surname>
                            <given-names>T</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Andersson</surname>
                            <given-names>T</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>The role of machine learning in clinical research: transforming the future of evidence generation.</article-title>
                    <source>

                        <italic toggle="yes">Trials.</italic>
</source>
                    <year>2021</year>;<volume>22</volume>(<issue>1</issue>):<fpage>537</fpage>.
                    <pub-id pub-id-type="pmid">34399832</pub-id>
                    <pub-id pub-id-type="doi">10.1186/s13063-021-05489-x</pub-id>
                    <pub-id pub-id-type="pmcid">PMC8365941</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref5">
                <label>5</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Rajpurkar</surname>
                            <given-names>P</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Chen</surname>
                            <given-names>E</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Banerjee</surname>
                            <given-names>O</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>AI in health and medicine.</article-title>
                    <source>

                        <italic toggle="yes">Nat. Med.</italic>
</source>
                    <year>2022</year>;<volume>28</volume>(<issue>1</issue>):<fpage>31</fpage>&#x2013;<lpage>38</lpage>.
                    <pub-id pub-id-type="doi">10.1038/s41591-021-01614-0</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref6">
                <label>6</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Kueper</surname>
                            <given-names>JK</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Terry</surname>
                            <given-names>AL</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Zwarenstein</surname>
                            <given-names>M</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Artificial intelligence and primary care research: A scoping review.</article-title>
                    <source>

                        <italic toggle="yes">Ann. Fam. Med.</italic>
</source>
                    <year>2020</year>;<volume>18</volume>(<issue>3</issue>):<fpage>250</fpage>&#x2013;<lpage>258</lpage>.
                    <pub-id pub-id-type="pmid">32393561</pub-id>
                    <pub-id pub-id-type="doi">10.1370/afm.2518</pub-id>
                    <pub-id pub-id-type="pmcid">PMC7213996</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref7">
                <label>7</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Darcel</surname>
                            <given-names>K</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Upshaw</surname>
                            <given-names>T</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Craig-Neil</surname>
                            <given-names>A</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Implementing artificial intelligence in Canadian primary care: Barriers and strategies identified through a national deliberative dialogue.</article-title>
                    <source>

                        <italic toggle="yes">PLoS One.</italic>
</source>
                    <year>2023</year>;<volume>18</volume>(<issue>2</issue>):<fpage>e0281733</fpage>.
                    <pub-id pub-id-type="pmid">36848339</pub-id>
                    <pub-id pub-id-type="doi">10.1371/journal.pone.0281733</pub-id>
                    <pub-id pub-id-type="pmcid">PMC9970060</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref8">
                <label>8</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Kueper</surname>
                            <given-names>JK</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Rayner</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Zwarenstein</surname>
                            <given-names>M</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Describing a complex primary health care population to support future decision support initiatives.</article-title>
                    <source>

                        <italic toggle="yes">Int. J. Popul. Data Sci.</italic>
</source>
                    <year>2022</year>;<volume>7</volume>(<issue>1</issue>):<fpage>21</fpage>.
                    <pub-id pub-id-type="doi">10.23889/ijpds.v7i1.1756</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref9">
                <label>9</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Fortin</surname>
                            <given-names>M</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Almirall</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Nicholson</surname>
                            <given-names>K</given-names>
                        </name>
</person-group>:
                    <article-title>Development of a research tool to document self-reported chronic conditions in primary care.</article-title>
                    <source>

                        <italic toggle="yes">J. Comorbidity.</italic>
</source>
                    <year>2017</year>;<volume>7</volume>(<issue>1</issue>):<fpage>117</fpage>&#x2013;<lpage>123</lpage>.
                    <pub-id pub-id-type="pmid">29354597</pub-id>
                    <pub-id pub-id-type="doi">10.15256/joc.2017.7.122</pub-id>
                    <pub-id pub-id-type="pmcid">PMC5772378</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref10">
                <label>10</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Bhatti</surname>
                            <given-names>S</given-names>
                        </name>
</person-group>:
                    <article-title>Developing data-driven decision support tools with the Alliance Practice Based Learning Network.</article-title>
                    <source>

                        <italic toggle="yes">Presented at: Connected Communities: Building Equitable Integrated Healthcare Conference, Toronto, Ontario.</italic>
</source>
                    <year>2023</year>.</mixed-citation>
            </ref>
            <ref id="ref11">
                <label>11</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Nash</surname>
                            <given-names>DM</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Brown</surname>
                            <given-names>JB</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Thorpe</surname>
                            <given-names>C</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>The Alliance for Healthier Communities as a Learning Health System for primary care: A qualitative analysis in Ontario, Canada.</article-title>
                    <source>

                        <italic toggle="yes">J. Eval. Clin. Pract.</italic>
</source>
                    <year>2022</year>;<volume>28</volume>:<fpage>1106</fpage>&#x2013;<lpage>1112</lpage>.
                    <pub-id pub-id-type="doi">10.1111/jep.13692</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref12">
                <label>12</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Nash</surname>
                            <given-names>DM</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Rayner</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Bhatti</surname>
                            <given-names>S</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>The Alliance for Healthier Communities&#x2019; journey to a learning health system in primary care.</article-title>
                    <source>

                        <italic toggle="yes">Learn. Health Syst.</italic>
</source>
                    <year>2021</year>;<volume>7</volume>:<fpage>e10321</fpage>.
                    <pub-id pub-id-type="doi">10.1002/lrh2.10321</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref13">
                <label>13</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Delaney</surname>
                            <given-names>BC</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Peterson</surname>
                            <given-names>KA</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Speedie</surname>
                            <given-names>S</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Envisioning a Learning Health Care System: The Electronic Primary Care Research Network, a case study.</article-title>
                    <source>

                        <italic toggle="yes">Ann. Fam. Med.</italic>
</source>
                    <year>2012</year>;<volume>10</volume>(<issue>1</issue>):<fpage>54</fpage>&#x2013;<lpage>59</lpage>.
                    <pub-id pub-id-type="pmid">22230831</pub-id>
                    <pub-id pub-id-type="doi">10.1370/afm.1313</pub-id>
                    <pub-id pub-id-type="pmcid">PMC3262465</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref14">
                <label>14</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Lindsell</surname>
                            <given-names>CJ</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Gatto</surname>
                            <given-names>CL</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Dear</surname>
                            <given-names>ML</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Learning From What We Do, and Doing What We Learn: A Learning Health Care System in Action.</article-title>
                    <source>

                        <italic toggle="yes">Acad. Med.</italic>
</source>
                    <year>2021</year>;<volume>96</volume>(<issue>9</issue>):<fpage>1291</fpage>&#x2013;<lpage>1299</lpage>.
                    <pub-id pub-id-type="pmid">33635834</pub-id>
                    <pub-id pub-id-type="doi">10.1097/ACM.0000000000004021</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref15">
                <label>15</label>
                <mixed-citation publication-type="book">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Foley</surname>
                            <given-names>T</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Horwitz</surname>
                            <given-names>L</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Zahran</surname>
                            <given-names>R</given-names>
                        </name>
</person-group>:
                    <source>

                        <italic toggle="yes">Realising the Potential of Learning Health Systems.</italic>
</source>
                    <publisher-name>The Learning Healthcare Project</publisher-name>;<year>2021</year>;<fpage>101</fpage>. Accessed December 28, 2021.</mixed-citation>
            </ref>
            <ref id="ref16">
                <label>16</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Kueper</surname>
                            <given-names>JK</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Rayner</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Lizotte</surname>
                            <given-names>DJ</given-names>
                        </name>
</person-group>:
                    <article-title>Hybrid feature- and similarity-based models for joint prediction and interpretation.</article-title>
                    <source>

                        <italic toggle="yes">arXiv:2204.06076.</italic>
</source>
                    <year>February 11, 2023</year>.</mixed-citation>
            </ref>
        </ref-list>
    </back>
    <sub-article article-type="reviewer-report" id="report303167">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.159682.r303167</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>M White</surname>
                        <given-names>Nicole</given-names>
                    </name>
                    <xref ref-type="aff" rid="r303167a1">1</xref>
                    <role>Referee</role>
                </contrib>
                <aff id="r303167a1">
                    <label>1</label>Queensland University of Technology, Brisbane, Queensland, Australia</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>16</day>
                <month>8</month>
                <year>2024</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2024 M White N</copyright-statement>
                <copyright-year>2024</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport303167" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.145700.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve-with-reservations</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>This study reports on a multi-stage process for developing and refining a clinical decision-support tool using EHR primary care data. Six main stages are described, starting with an epidemiological study to motivate stakeholder discussions to identify areas that may benefit from decision support and tool development. Two case studies are presented, involving the use of different classification algorithms to predict mental health decline and population-level service demand, respectively.</p>
            <p> </p>
            <p> The framework is well designed and described throughout the manuscript. Strengths of the framework are stakeholder involvement in both development and refinement stages, and the use of data and preliminary results to motivate these discussions.</p>
            <p> </p>
            <p> Given the emphasis on end-user engagement, it would be beneficial to include some high-level data on engagement levels at different stages. This additional information could be described in the Stages of work section and/or Reflections and lessons learned section. For example, the authors provide information on which engagement strategies worked better than others &#x2013; how many participants were recruited from the &#x2018;best&#x2019; engagement strategy and were numbers above/below/in line with expectations?</p>
            <p> </p>
            <p> Whilst the model development itself is not the focus of this study, these sections would benefit from more information in the relevant stages of work (4, 5) and the Discussion. I noted that the metrics chosen to summarize model performance were not consistent between case studies. Making these metrics more consistent would strengthen the paper and reporting transparency. For model development in stage 4, some information on outcome prevalence would help to gauge the suitability of the stated sample size and its impact on model performance. Model developed information for Stage 5 would also benefit from clarifying the difference between the five-fold CV procedure and CHC-specific results. I interpreted the latter as being the results of internal-external model validation.</p>
            <p> </p>
            <p> In the Discussion, the study alludes to future work once more data are available. Whilst having more recent data may contribute to building a better model, data quality is equally important. It would be useful to include some comments on data quality in both case studies for context, and whether quality was a barrier. This is particularly pertinent to EHR data streams known to be of variable quality.</p>
            <p> </p>
            <p> As a minor comment, the terms &#x2018;AI&#x2019; and &#x2018;ML&#x2019; are used interchangeably throughout the manuscript. Whilst these disciplines are overlapping and complementary, using these terms interchangeably can make it difficult for the reader to understand what specific methods were used.</p>
            <p>Is the case presented with sufficient detail to be useful for teaching or other practitioners?</p>
            <p>Partly</p>
            <p>Is the work clearly and accurately presented and does it cite the current literature?</p>
            <p>Yes</p>
            <p>If applicable, is the statistical analysis and its interpretation appropriate?</p>
            <p>Partly</p>
            <p>Are all the source data underlying the results available to ensure full reproducibility?</p>
            <p>No</p>
            <p>Are the conclusions drawn adequately supported by the results?</p>
            <p>Yes</p>
            <p>Is the background of the case&#x2019;s history and progression described in sufficient detail?</p>
            <p>Yes</p>
            <p>Reviewer Expertise:</p>
            <p>Biostatistics, health services research</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above.</p>
        </body>
        <sub-article article-type="response" id="comment12965-303167">
            <front-stub>
                <contrib-group>
                    <contrib contrib-type="author">
                        <name>
                            <surname>Kueper</surname>
                            <given-names>Jacqueline</given-names>
                        </name>
                        <aff>Epidemiology and Biostatistics, Western University, London, Ontario, Canada</aff>
                    </contrib>
                </contrib-group>
                <author-notes>
                    <fn fn-type="conflict">
                        <p>
                            <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                    </fn>
                </author-notes>
                <pub-date pub-type="epub">
                    <day>14</day>
                    <month>12</month>
                    <year>2024</year>
                </pub-date>
            </front-stub>
            <body>
                <p>Dear Dr. Nicole M White,</p>
                <p> </p>
                <p> Thank you for your interest and review of our article. We appreciate your suggestions for improvement and have addressed them as summarized below, resulting in a more robust and transparent article.&#x00a0;</p>
                <p> </p>
                <p> Regarding end-user engagement levels, unfortunately we did not collect any formal attendance records or statistics. We have however added to the &#x2018;reflections and lessons learned&#x2019; section an approximate size of the team and more details about why the focus groups were considered successful.</p>
                <p> </p>
                <p> Regarding model development, we agree that additional details would be helpful and have broadened Table 2 to include performance metrics (AUROC, AUPRC) from both Stage 4 and Stage 5 so that they can be compared. We also followed your suggestion to add the outcome prevalence for the Stage 4 cohort (8.4%), and further clarified how the CHC-specific results were calculated (stratification by groups of clients belonging to each CHC, from the same data as for the overall metrics).</p>
                <p> </p>
                <p> Regarding data quality, we agree that data quality is as if not more important than recency. Working within limited space, we expanded the Reflections section on data availability to include both availability and quality, included some high level reflections from our experience that the relatively high quality of data from CHCs increased the feasibility of our study, and referenced a study that did a more in-depth assessment of data from CHCs as part of the organizations journey to being a learning health system.</p>
                <p> </p>
                <p> Finally, thank you for flagging the confusion between AI and machine learning throughout. We added to the opening sentence clarification that we refer to machine learning as a major subfield of AI and then updated remaining text about the stages and lessons learned to include machine learning as that is the family of techniques we used. One exception is we left AI in the final sentence of the lessons learned section as we wanted to capture the broader scope of methods that may be used in a learning health system and future projects, but added in machine learning to make it explicit we also mean to include the techniques described earlier.</p>
            </body>
        </sub-article>
    </sub-article>
    <sub-article article-type="reviewer-report" id="report283425">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.159682.r283425</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>De Marchi</surname>
                        <given-names>Ana</given-names>
                    </name>
                    <xref ref-type="aff" rid="r283425a1">1</xref>
                    <role>Referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-7704-3119</uri>
                </contrib>
                <contrib contrib-type="author">
                    <name>
                        <surname>Bellei</surname>
                        <given-names>Ericles</given-names>
                    </name>
                    <xref ref-type="aff" rid="r283425a2">2</xref>
                    <role>Co-referee</role>
                </contrib>
                <aff id="r283425a1">
                    <label>1</label>Institute of Health; Institute of Technology, University of Passo Fundo (Ringgold ID: 28129), Passo Fundo, State of Rio Grande do Sul, Brazil</aff>
                <aff id="r283425a2">
                    <label>2</label>Institute of Health, University of Passo Fundo (Ringgold ID: 28129), Passo Fundo, State of Rio Grande do Sul, Brazil</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>31</day>
                <month>5</month>
                <year>2024</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2024 De Marchi A and Bellei E</copyright-statement>
                <copyright-year>2024</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport283425" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.145700.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>The study demonstrates the development and application of a data-driven decision support tool within a primary health care setting, employing a methodologically sound iterative process that is both reflective and inclusive of stakeholder engagement. The use of both traditional epidemiological methods and advanced machine learning techniques enriches the analytical depth and application potential of the decision support tool, offering a comprehensive approach to addressing primary health care challenges. The documentation of the co-development process provides a valuable blueprint for similar future initiatives in health informatics.</p>
            <p> </p>
            <p> This study's dedication to including a wide range of stakeholders throughout the development process is one of its most noteworthy strengths. It guarantees that the tool is not only theoretically sound but also practically relevant and easy for clinical practitioners to utilize. This strategy increases the likelihood of acceptance and successful use in practical contexts, which is in line with the study's goals of enhancing primary healthcare delivery through cutting-edge technological innovations.</p>
            <p> </p>
            <p> However, as the authors mention that the project is ongoing, I suggest for the conclusion section (and by extension, the abstract) to provide more detail about the current status of the initiatives and planned future studies. This would offer a clearer understanding of the project&#x2019;s trajectory and ensure that the study&#x2019;s documentation keeps pace with its development, thereby reinforcing the relevance and timeliness of the research. This adjustment would help maintain a clear narrative through to the study's completion and beyond, as it progresses from methodology formulation to practical application.</p>
            <p> </p>
            <p> As a reviewer, I would like to point out that given the case study format of this research, it does not delve into detailed descriptions of the Population-Level Planning Predictions models. These models are likely to be more comprehensively detailed in a separate, dedicated study. Therefore, a deeper evaluation of these models is not feasible within the scope of this case study.</p>
            <p>Is the case presented with sufficient detail to be useful for teaching or other practitioners?</p>
            <p>Yes</p>
            <p>Is the work clearly and accurately presented and does it cite the current literature?</p>
            <p>Yes</p>
            <p>If applicable, is the statistical analysis and its interpretation appropriate?</p>
            <p>Not applicable</p>
            <p>Are all the source data underlying the results available to ensure full reproducibility?</p>
            <p>Partly</p>
            <p>Are the conclusions drawn adequately supported by the results?</p>
            <p>Yes</p>
            <p>Is the background of the case&#x2019;s history and progression described in sufficient detail?</p>
            <p>Yes</p>
            <p>Reviewer Expertise:</p>
            <p>Digital health; Participatory design; Primary care</p>
            <p>We confirm that we have read this submission and believe that we have an appropriate level of expertise to confirm that it is of an acceptable scientific standard.</p>
        </body>
        <sub-article article-type="response" id="comment12964-283425">
            <front-stub>
                <contrib-group>
                    <contrib contrib-type="author">
                        <name>
                            <surname>Kueper</surname>
                            <given-names>Jacqueline</given-names>
                        </name>
                        <aff>Epidemiology and Biostatistics, Western University, London, Ontario, Canada</aff>
                    </contrib>
                </contrib-group>
                <author-notes>
                    <fn fn-type="conflict">
                        <p>
                            <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                    </fn>
                </author-notes>
                <pub-date pub-type="epub">
                    <day>14</day>
                    <month>12</month>
                    <year>2024</year>
                </pub-date>
            </front-stub>
            <body>
                <p>Dear Dr. Ana De Marchi and Dr. Ericles Bellei,</p>
                <p> </p>
                <p> Thank you for your interest and review of our work. It is helpful to see what stands out as strengths from your perspective, and we appreciate the suggestion to include additional details about the ongoing project. Accordingly, in a revised version we added a sentence to the conclusion about how we are refining and validating the population-level model with updated data, and that we have held additional focus groups within the health system to get further insights. These focus groups lead to an updated outcome definition that is better tailored to mental health capacity planning as well as a broadening of the cohort eligibility from ongoing primary care clients to also including diabetes education center clients who may or may not also be primary care clients.</p>
            </body>
        </sub-article>
    </sub-article>
</article>
