{
  "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"
    }]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation ExampleAIPrediction</b></p><a name=\"ExampleAIPrediction\"> </a><a name=\"hcExampleAIPrediction\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ai-prediction.html\">AI Prediction</a></p><p style=\"margin-bottom: 0px\">Security Label: artificial intelligence asserted (Details: ObservationValue code AIAST = 'artificial intelligence asserted')</p></div><p><b>status</b>: Preliminary</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category imaging}\">Imaging</span>, <span title=\"Codes:{https://annotatemd.com/fhir/ig/CodeSystem/annotation-type dermatology-annotation}\">Dermatology Annotation</span></p><p><b>code</b>: <span title=\"Codes:{https://annotatemd.com/fhir/ig/CodeSystem/annotation-type lesion-classification}\">Lesion Classification</span></p><p><b>subject</b>: <a href=\"Patient-example-patient.html\">Jane Smith  Female, DoB: 1975-06-15</a></p><p><b>effective</b>: 2026-03-27 14:29:00+0000</p><p><b>method</b>: <span title=\"Codes:{https://annotatemd.com/fhir/ig/CodeSystem/annotation-method ai-inference}\">AI Model Inference</span></p><p><b>device</b>: <a href=\"Device-example-derm-ai-model.html\">Device: manufacturer = Annotate MD</a></p><p><b>derivedFrom</b>: <a href=\"DocumentReference-example-clinical-photo.html\">DocumentReference: status = current; type = Photographic image</a></p><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 106076001}\">Skin finding</span></p><p><b>value</b>: <span title=\"Codes:{http://snomed.info/sct 372244006}\">Malignant melanoma</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{https://annotatemd.com/fhir/ig/CodeSystem/annotation-type prediction-confidence}\">Prediction Confidence</span></p><p><b>value</b>: 0.89 score<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code1 = '1')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{https://annotatemd.com/fhir/ig/CodeSystem/annotation-type inference-time-ms}\">Inference Time</span></p><p><b>value</b>: 245 milliseconds<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codems = 'ms')</span></p></blockquote></div>"
  },
  "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"
    }
  }]
}