# ExampleAIPrediction - Dermatology Image Annotation FHIR Implementation Guide v0.1.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **ExampleAIPrediction**

## Example Observation: ExampleAIPrediction

Profile: [AI Prediction](StructureDefinition-ai-prediction.md)

Security Label: artificial intelligence asserted (Details: ObservationValue code AIAST = 'artificial intelligence asserted')

**status**: Preliminary

**category**: Imaging, Dermatology Annotation

**code**: Lesion Classification

**subject**: [Jane Smith Female, DoB: 1975-06-15](Patient-example-patient.md)

**effective**: 2026-03-27 14:29:00+0000

**method**: AI Model Inference

**device**: [Device: manufacturer = Annotate MD](Device-example-derm-ai-model.md)

**derivedFrom**: [DocumentReference: status = current; type = Photographic image](DocumentReference-example-clinical-photo.md)

> **component****code**: Skin finding**value**: Malignant melanoma

> **component****code**: Prediction Confidence**value**: 0.89 score (Details: UCUM code1 = '1')

> **component****code**: Inference Time**value**: 245 milliseconds (Details: UCUM codems = 'ms')



## Resource Content

```json
{
  "resourceType" : "Observation",
  "id" : "ExampleAIPrediction",
  "meta" : {
    "profile" : ["https://annotatemd.com/fhir/ig/StructureDefinition/ai-prediction"],
    "security" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationValue",
      "code" : "AIAST",
      "display" : "artificial intelligence asserted"
    }]
  },
  "status" : "preliminary",
  "category" : [{
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
      "code" : "imaging"
    }]
  },
  {
    "coding" : [{
      "system" : "https://annotatemd.com/fhir/ig/CodeSystem/annotation-type",
      "code" : "dermatology-annotation"
    }]
  }],
  "code" : {
    "coding" : [{
      "system" : "https://annotatemd.com/fhir/ig/CodeSystem/annotation-type",
      "code" : "lesion-classification",
      "display" : "Lesion Classification"
    }]
  },
  "subject" : {
    "reference" : "Patient/example-patient"
  },
  "effectiveDateTime" : "2026-03-27T14:29:00Z",
  "method" : {
    "coding" : [{
      "system" : "https://annotatemd.com/fhir/ig/CodeSystem/annotation-method",
      "code" : "ai-inference",
      "display" : "AI Model Inference"
    }]
  },
  "device" : {
    "reference" : "Device/example-derm-ai-model"
  },
  "derivedFrom" : [{
    "reference" : "DocumentReference/example-clinical-photo"
  }],
  "component" : [{
    "code" : {
      "coding" : [{
        "system" : "http://snomed.info/sct",
        "code" : "106076001",
        "display" : "Skin finding"
      }]
    },
    "valueCodeableConcept" : {
      "coding" : [{
        "system" : "http://snomed.info/sct",
        "code" : "372244006",
        "display" : "Malignant melanoma"
      }]
    }
  },
  {
    "code" : {
      "coding" : [{
        "system" : "https://annotatemd.com/fhir/ig/CodeSystem/annotation-type",
        "code" : "prediction-confidence"
      }]
    },
    "valueQuantity" : {
      "value" : 0.89,
      "unit" : "score",
      "system" : "http://unitsofmeasure.org",
      "code" : "1"
    }
  },
  {
    "code" : {
      "coding" : [{
        "system" : "https://annotatemd.com/fhir/ig/CodeSystem/annotation-type",
        "code" : "inference-time-ms"
      }]
    },
    "valueQuantity" : {
      "value" : 245,
      "unit" : "milliseconds",
      "system" : "http://unitsofmeasure.org",
      "code" : "ms"
    }
  }]
}

```
