The following examples demonstrate how an external application could execute some of the commonly used workflows within the VisualDx API. All of the following examples are written in Node.js.
This code block searches findings for the term “itchy”. Then, it builds a differential with the top 3 results and returns the top 3 diagnosis matches.
This code retrieves all findings in the “lesion” category and extracts the name for the top 3 results.
The following code demonstrates how to search for diagnoses and save 3 images from the top result.
For proper performance, make sure your images are loading asynchronously and not blocking.
This example shows how to send an image for analysis and use the results to build a differential.
This example searches diagnoses for the term “psoriasis” and fetches detailed write-ups for the top 3 results.