Skip to main content

Diagnosis

Body Request

If you need to analyze an image to obtain the probability of the detected pathologies, you can send a follow up request to the API.

An example of the body of the request can be the following:

{
"requestId": "90925097-820b-403d-a75d-4cd989903df1",
"data": {
"content": "base64 image"
}
}

You can also include more information to improve the accuracy of the algorithm:

{
"requestId": "90925097-820b-403d-a75d-4cd989903df1",
"data": {
"type": "image",
"modality": "clinical",
"operator": "Practitioner",
"bodySite": "ARM_LEFT",
"subject": {
"identifier": "6ec724a0-6fa3-11eb-a15f-0242ac160004",
"gender": "m",
"height": 175,
"weight": 71,
"birthdate": "1986-10-21",
"generalPractitioner": {
"identifier": "44f89a8c-6f8a-11eb-9c8a-0242ac160004"
},
"managingOrganization": {
"identifier": "b13cd636-327b-11ec-86b0-0242ac180004",
"display": "Hospital Central"
}
},
"content": "base64 image"
}
}

This is the description of the relevant properties of the body request:

  • bodySite is the body site code identifying the zone where the photo was taken. You can find the available list with all the admitted codes here.

Response

{
"category": [
{
"coding": [
{
"code": "250171008",
"display": "Clinical history and observation finding",
"system": "http://snomed.info/sct"
}
]
}
],
"code": {
"coding": [
{
"code": "10206-1",
"display": "Physical findings of Skin Narrative",
"system": "http://loinc.org"
}
]
},
"conclusions": [
{
"code": {
"code": "DA04.5",
"codeSystem": "ICD-11"
},
"name": "Mucous cyst",
"probability": 87.77
},
{
"code": {
"code": "2F20.2",
"codeSystem": "ICD-11"
},
"name": "Congenital nevus",
"probability": 6.11
},
{
"code": {
"code": "XH4L78",
"codeSystem": "ICD-11"
},
"name": "Nevus",
"probability": 2.16
},
{
"code": {
"code": "ED63.0",
"codeSystem": "ICD-11"
},
"name": "Vitiligo",
"probability": 1.92
}
],
"detectedModality": "Clinical",
"device": {
"deviceName": {
"name": "Legit.Health",
"type": "user-friendly-name"
},
"manufacturer": "AI LABS GROUP SL",
"resourceType": "Device",
"type": {
"code": "string",
"display": "Dermatology picture archiving and communication system application software",
"system": "http://snomed.info/sct"
}
},
"evolution": {},
"explainabilityMedia": {
"content": "",
"modality": "Clinical",
"resourceType": "Media",
"type": "image"
},
"mediaValidity": {
"isValid": true,
"metrics": {
"hasEnoughQuality": true,
"isDermatologyDomain": true
},
"score": 66.0
},
"metrics": {
"category": "calculation",
"resourceType": "DeviceMetric",
"sensitivity": 99.56,
"specificity": 93.99
},
"preliminaryFindings": {
"hasConditionSuspicion": 99.2,
"isMalignantSuspicion": 0,
"isPreMalignantSuspicion": 0.6000000000000001,
"needsBiopsySuspicion": 0,
"needsSpecialistsAttention": 3.86
},
"resourceType": "DiagnosticReport",
"status": "preliminary",
"time": 1.6485424041748047
}