Workflows π¦
In this section, we present practical examples of workflows that can be integrated into your systems, utilizing the data provided by our device's API.
We recognize that incorporating data from our API into your existing systems can be a complex task, particularly if this is your organization's first experience with such a device. These examples are designed to assist and guide you through this integration process.
Please note that the flexibility of our API allows for a wide range of workflow implementations. The examples here are not exhaustive and should not be interpreted as the only methods or as endorsements of particular practices. Each organization has unique needs and requirements. Consequently, it's crucial for managing organizations to develop workflows that align with their internal best practices and adhere to the guidelines set forth by their medical professionals.
Puzzle piecesβ
Consider the output from our device akin to pieces of a puzzle. The device generates a JSON file, abundant in data, organized under various keys. These keys serve as fundamental elements in your workflow design process. You can envision each key as a distinct branch in a decision-making tree or, more creatively, as a unique puzzle piece. This analogy highlights the flexibility and adaptability of the data; you can arrange and integrate these pieces in numerous configurations to suit your specific workflow needs.
Please read the Output section of the Instructions For Use for more info.
The API returns more than 100 rows of data, and these examples are only using 6 keys from the output. This means that there are way more puzzle pieces, that may be more useful to your organisation. Feel free to reach out to us to ask about what endpoints may be suited to your use case.
Arranging the puzzleβ
Let's delve into some practical examples showcasing how you can assemble the puzzle pieces to formulate an effective workflow.
Primary vs. secondary careβ
In this scenario, we demonstrate a workflow that bifurcates into two distinct paths: Primary Care
and Secondary Care
. The decision between these outcomes is illustrated in the following table:
Primary care | 1 |
---|---|
Secondary care | 2 |
Building upon this, a potential workflow might incorporate specific puzzle pieces that assist an organization in refining and enhancing the efficiency of its referral process:
To determine the thresholds, the organisation must take into account two things:
- What are the possible outcomes of the workflow?
- What is the sensitivity and specificity of the parameter?
In this case, the outcome of the flowchart always includes seeing a healthcare practitioner. Due to this, if the organisation is looking to reduce patient waiting lists to increase patient safety, it may be a good idea to establish a high threshold.
You can find more information on this topic in the Thresholding section, where we explain the confusion matrix of some parameters.
Remote vs. in-person consultationβ
An organization may aim to enhance its consultation process by efficiently determining the most suitable method for each case, be it remote or in-person consultation.
For this example, we continue with the two established outcomes: Primary Care
and Secondary Care
. We expand this decision-making process by adding the dimension of consultation type: Remote
or In-Person
, as depicted in the following table:
π€³ Remote | π₯πΆ In-person | |
---|---|---|
Primary care | R1 | P1 |
Secondary care | R2 | P2 |
Why this mattersβ
Implementing a strategy to improve the efficiency of consultations and minimize patient wait times could involve directing more cases to primary care physicians or leveraging quicker consultation methods. The table below shows the desired direction for each care level and consultation type:
π€³ Remote | π₯πΆ In-person | |
---|---|---|
Primary care | Goal: Increase β | - |
Secondary care | - | Goal: Decrease β |
Workflow exampleβ
The workflow designed to achieve these objectives could be structured as follows:
This can be complemented with condition-specific questionnaires such as the 7-point checklist (7PC). The 7-point checklist (7PCL) has been recommended by NICE (2005) for routine use in UK general practice to identify clinically significant lesions which require urgent referral.
In the following flowchart, the output of the IsMalignantSuspicion
is followed by the 7PC questionnaire, to further specify the right method for consultations.
To determine the thresholds, the organisation must take into account two things:
- What are the possible outcomes of the workflow?
- What is the sensitivity and specificity of the parameter?
In this case, the outcome of the flowchart always includes seeing a healthcare practitioner. Due to this, if the organisation is looking to reduce patient waiting lists to increase patient safety, it may be a good idea to establish a high threshold.
You can find more information on this topic in the Thresholding section, where we explain the confusion matrix of some parameters.
Refining communication methods for consultationβ
To further optimize the consultation process, we can specify different methods for both remote and in-person consultations, aligning them with specific objectives:
π€³ Remote | π₯πΆ In-person | |||
---|---|---|---|---|
Chat consult | Video consult | Internal team | External team | |
Primary care | Goal: Increase β | - | - | - |
Secondary care | - | - | Goal: Decrease β | Goal: Decrease β |
Chronic patient follow-upβ
Organizations may aim to enhance remote monitoring of chronic patients to improve patient oversight and evaluate treatment effectiveness.
In this instance, we continue to differentiate between Primary Care
and Secondary Care
. However, we now factor in the status of the patient's condition, categorized as either Progressing as Expected
or displaying an Anomaly
, as illustrated below:
Progressing as expected | OK |
---|---|
Anomaly | ! |
While the device does not explicitly state if a patient's condition is evolving as expected, it does provide a scoreCategorySeverity
score. This score, comprising values 0
, 1
, 2
, and 3
, indicates the level of condition impact, with 2
and 3
representing moderate or severe conditions.
Please read the Output section of the Instructions For Use for more info.
Based on this, an organization might implement the following workflow:
Thresholdingβ
As you can see, the puzzle pieces sometimes require deciding on a threshold from which different actions may be taken. Different use cases may require different thresholds, usually depending on the possible outputs of the workflow.
How to decide a thresholdβ
To measure what is the appropriate threshold for a parameter, we use confusion matrixes.
A confusion matrix is a fundamental tool in statistical classification and machine learning. It is a specific table layout that allows visualization of the performance of an algorithm, typically a classifier. The matrix compares the actual target values with those predicted by the model, providing insight into not only the performance of the classifier but also the types of errors it is making.
The confusion matrix is typically a 2x2 matrix for binary classification tasks:
- True Positives (TP): These are cases where the classifier correctly predicts the positive class.
- True Negatives (TN): These are cases where the classifier correctly predicts the negative class.
- False Positives (FP): These are cases where the classifier incorrectly predicts the positive class (also known as Type I error).
- False Negatives (FN): These are cases where the classifier incorrectly predicts the negative class (also known as Type II error).
In a classification task, especially in probabilistic classifiers, the threshold is a concept that must be correctly understood. In essence: a threshold is the point at which the probability of a data point being in one class over another is decided.
- When the model's predicted probability for a class is higher than the threshold, it classifies the data point into that class.
- Conversely, if the probability is lower than the threshold, it classifies the data point into the other class.
The confusion matrix is provided by us, as it is the result of the extensive testing and validation of the device. This value is usually expressed in terms of specificity and sensibility. May vary from one task to another. For instance, the image quality has a different value than the classification of a condition.
With the information of sensitivity and specificity, each organisation may decide on a specific threshold, depending on their use case.