<?xml version="1.0" encoding="UTF-8"?>

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