SP-009-006 Integration workflow helpers
This is a draft
This document is a draft version.
Iframe integration workflow
JSON Only integration workflow
Data flow using the Legit.Health API (JSON Only) for local severity assessment
Data flow using the Legit.Health API (JSON Only) for local severity assessment
Example of request for APASI severity assessment
{
"resourceType": "ServiceRequest",
"bodySite": "armLeft",
"payload": {
"contentAttachment": {
"title": "string",
"contentType": "image/png",
"data": "imageBase64String"
}
},
"knownCondition": {
"conclusion": {
"coding": [
{
"system": "https://icd.who.int/browse/2024-01/mms/en",
"systemDisplay": "ICD-11",
"version": null,
"code": "EA90",
"display": "Psoriasis"
}
],
"text": "Psoriasis"
}
},
"scoringSystem": {
"apasi": {
"questionnaireResponse": {
"item": {
"surface": 6
}
}
}
}
}
Example of request for APASI severity assessment
{
"resourceType": "ServiceRequest",
"bodySite": "armLeft",
"payload": {
"contentAttachment": {
"title": "string",
"contentType": "image/png",
"data": "imageBase64String"
}
},
"knownCondition": {
"conclusion": {
"coding": [
{
"system": "https://icd.who.int/browse/2024-01/mms/en",
"systemDisplay": "ICD-11",
"version": null,
"code": "EA89",
"display": "Eczematous dermatitis"
}
],
"text": "Eczematous dermatitis"
}
},
"scoringSystem": {
"aeasi": {
"questionnaireResponse": {
"item": {
"surface": 34,
"patientAge": 20 //only needed if age below 7 years or above 7 years
}
}
},
"ascorad": {
"questionnaireResponse": {
"item": {
"surface": 34,
"pruritus": 4,
"sleeplessness": 6
}
}
}
}
}
(TBC before sending) Example of request for APASI, EASI, ASCORAD severity assessment
{
"resourceType": "ServiceRequest",
"bodySite": "armLeft",
"payload": {
"contentAttachment": {
"title": "string",
"contentType": "image/png",
"data": "imageBase64String"
}
},
"knownCondition": {
"conclusion": {
"coding": [
{
"system": "https://icd.who.int/browse/2024-01/mms/en",
"systemDisplay": "ICD-11",
"version": null,
"code": "EA89",
"display": "Eczematous dermatitis"
}
],
"text": "Eczematous dermatitis"
}
},
"scoringSystem": {
"apasi": {
"questionnaireResponse": {
"item": {
"surface": 6
}
}
},
"aeasi": {
"questionnaireResponse": {
"item": {
"surface": 34,
"patientAge": 20 //only needed if age below 7 years or above 7 years
}
}
},
"ascorad": {
"questionnaireResponse": {
"item": {
"surface": 34,
"pruritus": 4,
"sleeplessness": 6
}
}
}
}
}