Skip to main content

Frequently asked questions

What is a condition?

A condition is a “pathology” in a “body site” of a “patient”. It has two extra properties:

  • "frequency", which specifies how often an encounter will be created automatically to track the condition.
  • "isTracked", that allows pausing or following up the condition.

Can I create an Episode Of Care without assigning it to a condition?

No, currently the platform only admits creating episodes of care with an assigned condition. This eases the tracking of the condition inside the application.

Where can I find the codes for specifying a body site or a pathology?

The Swagger contains the full list of codes for selecting a body site or a pathology in the description of the corresponding properties.

Can the application also accept .HEIC formats?

No, we do not accept images in .HEIC format. We accept .JPG and .PNG.

What is the minimum information in an API request? What would you recommend?

Only the image of the skin lesion is required for the API to return a value.

We do recommend also sending bodySite, gender, height, weight and birthdate, because for some features it may improve the output, but it's not really required.

At what threshold do you consider the "probability" of a diagnosis to be high enough to make a confident conclusion?

This way of thinking is not the best way to conceptualise the issue.

The conclusions object of the API returns an array of possible conditions. But you must keep in mind that conclusions is the output of a classification algorithm. In other words, the algorithm knows a list of around 300 classes, and when it looks at an image, it distributes 1 across the 300 classes.

As a result, a condition may have a probability of 0.000000001, and another one 0.9. The important thing is that, if you sum the probability of all conditions, you will get 1, because it is a distribution.

With this in mind, it may be true that, if a condition has a probability higher than 0.5, in a large number of cases, that will be the actual condition. But that is not the correct methodology of analysing a distribution, even if it works.

Classifying and diagnosing are different things. To diagnose, you must classify; but it is a separate process. Diagnosing means looking at the distribution of the probability, but also considering the context and understanding the relationship between the conditions.

In this regard, the API contains an object called preliminaryFindings, that outputs keys that utilise the array of conclusions and has clinical knowledge embedded. We call these 'indexes':

Preliminary findings
{
// ...
"preliminaryFindings": {
"hasConditionSuspicion": 99.2,
"isMalignantSuspicion": 0,
"isPreMalignantSuspicion": 0.6,
"needsBiopsySuspicion": 0,
"needsSpecialistsAttention": 3.86
}
// ...
}

For instance, isMalignantSuspicion and isPreMalignantSuspicion combine the probabilities of conditions that are considered malignant and pre-malignant. On the other hand, hasConditionSuspicion is an index that combines the probabilities of actual conditions, reflecting whether or not a picture of skin tissue has a condition.

You can find more information about this on the Workflows section of the documentation.

What is the performance of the classification neural network for each of the conditions?

To measure the performance of the classification algorithm, we use two metrics: Sensitivity and Specificity. In the following table, you will see the value for each condition on each of the metrics, and also the code of the condition according to ICD-11.

The method we follow to extract those metrics consists on running a set of images that are different to those used to train the algorithm through the algorithm. In other words: we have our training dataset, and our testing dataset. The training dataset is used to traing the algorithm, and the testing dataset is used to test it. Thus, the following metrics reflect the results of the internal testing that we perform with our testing dataset. It is worth noting that we always use the same testing dataset, so as to ensure that the algorithm is consistently improving in the right direction with every new version.

Pathology nameSensitivity (%)Specificity (%)ICD-11 code
Acanthosis nigricans86.7993.88ED51.0
Acne97.0597.52ED80
Acne fulminans10099.23ED80.40
Actinic cheilitis89.1399.38EK90.Y
Actinic elastosis85.7199.49EJ20.0
Actinic keratosis95.0490.63EK90.0, XH36H6
Actinic porokeratosis90.2499.39ED52
Allergic vasculitis76.1999.294A44.BZ
Alopecia93.4898.96ED70
Alopecia areata92.8687.77ED70.2
Amelanotic malignant melanoma94.1297.56XH3TK1
Amyloidosis91.6799.575D00
Androgenetic alopecia10099.47ED70.0, ED70.1
Anetoderma of Jadassohn Pellizzari7599.63EE41.1
Angiofibroma9097.97XH1JJ2
Angiokeratoma90.4898.75EF20.1, XH4KP7
Angioma86.2199.14XH5AW4
Angular cheilitis97.9296.2DA00.0
Aphthae90.9199.56DA01.10
Aplasia cutis congenita87.599.54LC60
Atopic dermatitis85.695.36EA80
Atrophoderma87.599.18EE7Y
Atypical nevus96.4999.022F20.1
Basal cell carcinoma96.6491.192C32, XH2615
Beau's lines10099.62EE10.1Y
Becker's nevus96.1599.24LC02
Behçet disease91.399.294A62
Benign keratosis72.594.27XH0S03
Blue nevus95.6598.912F20.Y, XH7QJ7
Bowenoid papulosis77.7899.671A95.1, 2E64.2
Brachyonychia10099.87EC22.0
Bullous pemphigoid80.8197.87EB41.0
Café au lait spot87.599.49EC23.0
Calciphylaxis10099.6EB90.42
Carcinoma86.3698.92XH63D2
Cellulitis7599.06
Cheilitis53.8599.45DA00.0
Cherry angioma81.8299.792F25
Chondrodermatitis nodularis helicis86.8499.79AA12
Chromomycosis81.8299.69XN066
Cicatricial alopecia7599.66ED70.5Z
Comedo81.4895.52ED80.0
Compound nevus90.7397.122F20.0Y, XH27A6
Condyloma acuminatum9698.741A95
Confluent and reticulated papillomatosis95.2498.92ED51.Y
Congenital nevus90.6398.842F20.2
Contact dermatitis83.4394.37EK00, EK01, EK02
Cornu cutaneum86.5498.73ME60.3
Cutaenous larva migrans86.9699.331F68.2
Cutaneous lupus erythematosus79.7196.44EB5Z
Cutis marmorata62.599.84ME66.Y
Cutis rhomboidalis77.7899.74EJ20.0
Cystic acne96.6795.33ED80.3
Darier's disease80.2898.85EC20.2
Dermal nevus85.7199.3XH2MQ5
Dermatitis85.8194.69EA8Z
Dermatitis herpetiformis78.4397.94EB44
Dermatofibroma93.4797.372F23.0
Dermatofibrosarcoma protuberans72.7399.49XH4QZ8
Dermatosis palmoplantaris juvenilis88.8999.59
Dermatosis papulosa nigra10099.952F21.0
Dermographism84.6299.71EB01.0
Desquamation10099.62
Diabetic foot ulcer99.0382.83BD54
Drug eruption68.1497.84EH6Z
Dyshidrosis91.1899EA85
Dyshidrotic eczema94.7499.78EA85.0
Dysplastic nevus96.9796.81XH9035
Dystrofic epidermolysis bullosa10099.61EC32
Eccrine poroma81.8299.66XH25Z9
Eczema90.3994.61EA80
Eczema herpeticum88.2499.111F00.03
Eosinophilic folliculitis10099.66ED9Y
Epidermal nevus85.7199.06LC00.0
Epidermodysplasia verruciformis81.8299.23x
Epidermoid cyst83.4597.86EK70.0
Epidermolysis bullosa84.5198.69EC3Z
Erysipelas87.198.971B70.0
Erythema ab igne7599.79EJ10
Erythema annulare centrifugum66.6799.16EB11
Erythema chronic migrans66.6799.221C1G.0
Erythema craquele10099.41
Erythema elevatum diutinum10099.55EF40.2Y
Erythema infectiosum66.6799.681F04
Erythema multiforme91.1897.78EB12
Erythema nodosum92.3199.64EB31
Erythrasma10099.371C44
Erythroderma88.8999.26EB10
Erythrokeratoderma figurata variabilis71.4399.59EC20.0Y
Exanthema68.7599.32
Excoriation disorder85.6196.936B25.1
Extramammary Paget disease93.3399.292E64.1
Favre Racouchot syndrome9099.6EJ20.0
Fibroma80.7799.34EK71.0
Filiform wart95.8398.91E80
Follicular mucinosis84.6299.61EB90.1Y
Folliculitis81.8299.11
Folliculitis decalvans83.3399.74ED70.50
Folliculitis keloidalis10099.79EE60.Y
Fordyce spots10099.85ED91.0
Furuncle73.3399.351B75.0
Geographic tongue92.3199.82DA03.1
Gougerot Carteaud syndrome10099.6ED51.Y
Granuloma annulare89.3697.84EE80.0
Grover's disease77.1499.27ED5Y
Guttate psoriasis90.5797.59EA90.1
Haemangioma89.0997.3XH5AW4
Hailey disease92.6899.51EC20.2
Halo nevus90.798.71XH5971
Henoch Schonlein purpura85.7199.824A44.92
Herpes85.1997.71F00.Z
Herpes simplex89.3697.731F00.00
Herpes zoster92.597.311E91.Z
Hidradenitis suppurativa98.8299.08ED92.0
Hidrocystoma88.2499.34EK70.3, XH7NR3
Histiocytoma10099.732F23.0, XH1UJ5
Ichthyosis85.5499.04SB73
Impetigo84.4297.141B72
Infestation or insect bite67.3198.72EK50.0
Intertrigo84.6299.49EK02.20
Intradermal nevus72.7399.26XH2MQ5, 2F20.0Y
Intraepidermal carcinoma92.0996.42E64.0Z
Junctional nevus94.4499.26XH1M79
Juvenile xanthogranuloma86.6799.212B31.0
Keloid85.7199.48EE60.0
Keloid acne86.6799.48EE60.Y
Keratoacanthoma91.6795.62C31.1
Keratoderma palmaris et plantaris94.4499.4EC20.32
Keratolysis exfoliativa85.7199.23ED53
Keratosis palmaris et plantaris92.8699.66EC20.32
Keratosis pilaris88.199.5ED56
Kerion80.7798.491F28.4
Koilonychia88.8999.72EE10.0
Leishmaniasis78.9598.031F54
Lentigo9295.012F20.0Y, XH88L0, XH7B58, EJ20.1
Leprosy89.3898.931B20
Leukonychia10099.63EC22.0, EE11.Y
Leukoplakia71.4399.35DA01.00
Lichen amyloidosis92.8699.875D00.0
Lichen nitidus92.5999.23EA92
Lichen planus89.0296.31EA91
Lichen sclerosus95.6598.59EB60
Lichen simplex chronicus87.3497.52EA83.0Z
Lichen striatus71.4399.71EA92
Linear IgA bullous dermatosis83.3399.64EB42
Lipodermatosclerosis90.9199.61BD74.2
Livedo reticularis10099.72EG00, EF50, 6C45.2Z
Lyell's syndrome92.8699.58EB13.1
Lymphangioma circunscriptum10099.37LA90.10
Lymphocytic infiltration93.7599.12EE90
Lymphocytoma77.7899.48EE91
Lymphoma62.599.63
Lymphomatoid papulosis7099.592B03.1, XH40C0
Malignant melanoma91.2991.26XH4846
Melanocytic nevus79.46982F20
Melasma92.3199.34ED60.1
Milia8499.48EK70.Y
Miliaria81.8299.44EE02
Molluscum contagiosum88.6298.31E76
Morphea9098.5EB61
Mucous cyst10099.23DA04.5
Mucous pemphigoid10099.76EB41.1
Myiasis8099.811G01
Myxoid cyst9099.74EK70.2
Necrobiosis lipoidica86.5499.08EE80.1
Neurodermatitis76.9299.34EA83.0Z
Neurofibromatosis91.4999.13LD2D.1Z
Nevus97.8195.88XH4L78
Nevus comedonicus54.5599.62LC01
Nevus incipiens92.3198.612F20.0Y
Nevus of Ota88.8991.42LC10
Nevus sebaceus of Jadassohn90.3299.33LC02
Nevus spilus8499.44XH40S8
Nodular prurigo89.3698.73EC91.0
Non-specific lesion99.4497.02
Norwegian scabies91.399.521G04.1
Onychodystrophy84.6299.08EE10.5
Onychogryphosis71.4399.52EE10.3
Onycholysis9599.18EE10.2
Onychomycosis9698.15EE12.1
Onychophagia9582.496B25.Y
Orf10099.581E75
Osler Weber Rendu disease81.2599.61LA90.00
Palmoplantar psoriasis96.0897.62EA90.42, EA90.5Y
Panniculitis9099.59EF00
Papular acrodermatitis79.3199.41EA12
Parapsoriasis10099.48EA95, EK91.0
Paronychia86.9699.571F23.13, EE12.0, EE13.2, 1F00.0Y
Pearly penile papule87.599.74EK71.Z
Pellagra94.1299.555B5C.0
Pemphigoid gestationis87.599.56JA65.10
Pemphigus72.7398.5EB40
Pemphigus foliaceus67.7498.86EB40.1
Pemphigus vegetans7599.46EB40.0Y
Perforating collagenosis87.599.78EE70.Y
Perifolliculitis capitis abscedens et suffodiens10099.88ED70.51
Pigmentation92.8699.32VV70
Pigmented purpura92.8699.53EF40.0
Pincer nail syndrome7599.81LD27.0Y
Pitted keratolysis90.9199.721C44
Pityriasis alba10099.73EA88.4
Pityriasis lichenoides83.3399.16EA93
Pityriasis rosea89.1197.83EA10
Pityriasis rubra pilaris77.1499.05EA94
Pityrosporum folliculitis90.796.741F2D.1
Plane wart9099.031E81
Plantar wart97.398.921E80.1
Plaque psoriasis91.0397.83EA90.0
Polymorphic light eruption6099.26EJ30.0
Porokeratosis82.4698.54ED52
Pressure ulcer97.9798.85EH90
Progressive symmetrical erythrokeratodermia10099.66EC20.0Y
Pseudofolliculitis90.4899.72ED9Y
Psoriasis88.6894.94EA90
Purpura73.3399.58EF40
Pustular psoriasis91.6797.73EA90.4
Pyoderma gangrenosum92.3199.33EB21
Pyogenic granuloma91.8998.012F26
Radiodermatitis66.6799.64EJ7Z
Reiter's syndrome10099.46FA11.2
Rhinophyma93.5599.08ED90.02
Rosacea95.1994.6ED90.0
Sarcoidosis84.2198.614B20
Scabies73.1598.341G04
Scalded skin syndrome10099.68EA50.2
Scar91.398.76EH94
Schamberg's disease97.2299.29EF40.0
Scleromyxedema7599.7EB90.11
Sebaceous gland hyperplasia83.8798.81ED91.1
Seborrheic dermatitis89.1497.77EA81
Seborrheic keratosis94.988.572F21.0
Sezary syndrome7599.612B02
Skin tag9298.77EK71
Spitz nevus93.1898.35XH2HG8
Squamous cell carcinoma8791.852C31, XH0945
Stasis dermatitis95.298.79EA86.0
Steatocystoma multiplex10099.642F22
Steroid acne73.6899.49EH76.2
Striae10099.63EE40.1
Stucco keratosis92.5998.962F21.Y
Syphilis82.0598.771A6Z
Syringoma77.1999.082F22, XH6325
Systemic scleroderma71.4399.84A42.Z
Telangiectasia78.5798.71EF20.Z
Tinea89.2995.971F28.Z
Tinea nigra96.4399.741F2D.4
Tinea versicolor94.2498.411F2D.0
Tophus7599.73
Toxic epidermal necrolysis10099.83EB13.1
Trichilemmal cyst10099.7EK70.1
Tuberculoid leprosy88.2498.471B20.0
Tuberculosis7099.5
Tyloma (callus)81.8299.2EH92.0Z
Urticaria93.2297.8EB05
Urticaria pigmentosa52.9498.992A21.10, XH8VS0
Urticarial vasculitis92.8699.66EF40.10
Varicella89.7498.821E90
Vascular lesion78.5799.69XH8KN7
Vasculitis88.8998.884A44
Venous leg ulcer97.9299.24BD74.3
Venous malformation63.6499.07LA90.2, LC51, XH23S6
Vitiligo89.2596.3ED63.0
Wart93.9695.774A00.Y
Wegener's granulomatosis90.9199.74A44.A1
Xanthoma94.8194.89EB90.2
Xeroderma pigmentosum85.7199.88LD27.1
Xerosis9099.79ED54