{
  "success": true,
  "message": "Diagnostic report <xxx>",
  "data": {
    "resourceType": "DiagnosticReport",
    "id": "xxxx",
    "presentedForm": {
      "practitioner": {
        "url": "http:\/\/localhost:3000?",
        "pdf": "http:\/\/localhost"
      },
      "patient": {
        "url": null,
        "pdf": null
      }
    },
    "encounter": {
      "identifier": {
        "value": "xxxxF"
      }
    },
    "issued": "2025-01-29T12:46:57+01:00",
    "condition": {
      "pathology": null,
      "bodySite": {
        "coding": [
          {
            "system": "https:\/\/legit.health\/integration\/json-only\/codes\/body-sites",
            "code": "TRUNK_FRONT",
            "display": "Chest and belly"
          }
        ]
      }
    },
    "extraData": null,
    "anamnesisGeneral": {
      "resourceType": "QuestionnaireResponse",
      "status": "completed",
      "item": []
    },
    "macroscopicMedia": {
      "resourceType": "Media",
      "content": {
        "url": "https:\/\/..."
      },
      "type": "Image",
      "annotations": null
    },
    "result": {
      "id": "xxx",
      "performanceIndicators": {
        "resourceType": "Observation",
        "component": [
          {
            "code": {
              "coding": [
                {
                  "code": "sensitivity",
                  "display": "Sensitivity"
                }
              ]
            },
            "valueQuantity": {
              "value": 91.16,
              "unit": "%"
            }
          },
          {
            "code": {
              "coding": [
                {
                  "code": "specificity",
                  "display": "Specificity"
                }
              ]
            },
            "valueQuantity": {
              "value": 96.58,
              "unit": "%"
            }
          },
          {
            "code": {
              "coding": [
                {
                  "code": "entropy",
                  "display": "Entropy"
                }
              ]
            },
            "valueQuantity": {
              "value": null,
              "unit": "%"
            }
          }
        ]
      },
      "clinicalIndicators": {
        "resourceType": "Observation",
        "component": [
          {
            "code": {
              "coding": [
                {
                  "code": "hasCondition",
                  "display": "Has condition"
                }
              ]
            },
            "valueQuantity": {
              "value": 100.0,
              "unit": "%"
            }
          },
          {
            "code": {
              "coding": [
                {
                  "code": "malignancy",
                  "display": "Malignancy"
                }
              ]
            },
            "valueQuantity": {
              "value": 0.0,
              "unit": "%"
            }
          },
          {
            "code": {
              "coding": [
                {
                  "code": "adjustedMalignancy",
                  "display": "Adjusted malignancy"
                }
              ]
            },
            "valueQuantity": {
              "value": null,
              "unit": "%"
            }
          },
          {
            "code": {
              "coding": [
                {
                  "code": "pigmentedLesion",
                  "display": "Pigmented lesion"
                }
              ]
            },
            "valueQuantity": {
              "value": null,
              "unit": "%"
            }
          },
          {
            "code": {
              "coding": [
                {
                  "code": "urgentReferral",
                  "display": "Urgent referral"
                }
              ]
            },
            "valueQuantity": {
              "value": null,
              "unit": "%"
            }
          },
          {
            "code": {
              "coding": [
                {
                  "code": "highPriorityReferral",
                  "display": "High priority referral"
                }
              ]
            },
            "valueQuantity": {
              "value": null,
              "unit": "%"
            }
          }
        ]
      },
      "analysisDuration": 0.91670727729797,
      "observations": [
        {
          "media": {
            "resourceType": "Media",
            "content": {
              "url": "https:\/\/..."
            },
            "type": "Image",
            "modality": "Clinical",
            "diqaScore": 86.0
          }
        },
        {
          "media": {
            "resourceType": "Media",
            "content": {
              "url": "https:\/\/..."
            },
            "type": "Image",
            "modality": "Clinical",
            "diqaScore": 92.0
          }
        }
      ],
      "conclusions": [
        {
          "pathology": {
            "coding": [
              {
                "code": "Psoriasis",
                "display": "Psoriasis",
                "system": "https:\/\/legit.health\/integration\/json-only\/codes\/conditions"
              },
              {
                "code": "EA90",
                "display": "Psoriasis",
                "system": "ICD-11"
              }
            ]
          },
          "probability": 100.0
        }
      ],
      "questionnaires": [
        {
          "resourceType": "QuestionnaireResponse",
          "questionnaire": "APASI_LOCAL",
          "scoringSystem": {
            "text": "Local automatic psoriasis area and severity index",
            "coding": [
              {
                "code": "APASI_LOCAL",
                "display": "Local automatic psoriasis area and severity index"
              }
            ]
          },
          "score": {
            "valueQuantity": {
              "value": 6.3
            },
            "system": "http:\/\/unitsofmeasure.org",
            "unit": "points",
            "interpretation": {
              "coding": [
                {
                  "code": 3,
                  "display": "Severe"
                }
              ],
              "text": "Severe"
            },
            "interpretationCategories": [
              {
                "min": 0.0,
                "max": 0.0,
                "text": "None",
                "coding": [
                  {
                    "code": 1,
                    "display": "low"
                  }
                ]
              },
              {
                "min": 0.0,
                "max": 2.1,
                "text": "Mild",
                "coding": [
                  {
                    "code": 1,
                    "display": "low"
                  }
                ]
              },
              {
                "min": 2.1,
                "max": 4.5,
                "text": "Moderate",
                "coding": [
                  {
                    "code": 2,
                    "display": "moderate"
                  }
                ]
              },
              {
                "min": 4.5,
                "max": 21.6,
                "text": "Severe",
                "coding": [
                  {
                    "code": 3,
                    "display": "high"
                  }
                ]
              }
            ]
          },
          "explainabilityMedia": {
            "resourceType": "Media",
            "content": {
              "url": "https:\/\/..."
            },
            "annotations": [],
            "type": "Image"
          },
          "item": [
            {
              "linkId": 30,
              "text": "This value corresponds to the shedding intensity of the outermost layer of skin of the affected zone",
              "code": [
                {
                  "code": "Scaling",
                  "display": "Scaling"
                }
              ],
              "answer": [
                {
                  "valueCoding": {
                    "code": 2.0,
                    "display": "Moderate (2)"
                  }
                }
              ]
            },
            {
              "linkId": 27,
              "text": "This value corresponds to the redness intensity of the lesion",
              "code": [
                {
                  "code": "Erythema",
                  "display": "Erythema"
                }
              ],
              "answer": [
                {
                  "valueCoding": {
                    "code": 3.0,
                    "display": "Severe (3)"
                  }
                }
              ]
            },
            {
              "linkId": 29,
              "text": "This value corresponds to the hardening intensity of the lesion",
              "code": [
                {
                  "code": "Induration",
                  "display": "Induration"
                }
              ],
              "answer": [
                {
                  "valueCoding": {
                    "code": 2.0,
                    "display": "Moderate (2)"
                  }
                }
              ]
            },
            {
              "linkId": 52,
              "text": "This value corresponds to the percentage of involvement of the specific area of the body you are reporting",
              "code": [
                {
                  "code": "Affected area",
                  "display": "Affected area"
                }
              ],
              "answer": [
                {
                  "valueCoding": {
                    "code": 3.0,
                    "display": "50% (3)"
                  }
                }
              ]
            }
          ],
          "reduction": null,
          "history": null
        }
      ]
    }
  },
  "errorCode": null
}
