{
  "resourceType" : "Provenance",
  "id" : "ex-ai-duplicate-detection",
  "meta" : {
    "profile" : ["http://johnmoehrke.github.io/correction/StructureDefinition/CorrectionProvenanceProfile"],
    "security" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code" : "HTEST"
    }]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Provenance ex-ai-duplicate-detection</b></p><a name=\"ex-ai-duplicate-detection\"> </a><a name=\"hcex-ai-duplicate-detection\"> </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-CorrectionProvenanceProfile.html\">Provenance Profile for Corrections</a></p><p style=\"margin-bottom: 0px\">Security Label: test health data (Details: ActReason code HTEST = 'test health data')</p></div><p>Provenance for <a href=\"AllergyIntolerance-ex-allergy-corrected.html\">AllergyIntolerance Food intolerance</a></p><p>Summary</p><table class=\"grid\"><tr><td>Recorded</td><td>2024-06-01 15:00:00+0000</td></tr><tr><td>Activity</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActReason FIXDATA}\">error correction</span></td></tr></table><p><b>Agents</b></p><table class=\"grid\"><tr><td><b>Type</b></td><td><b>who</b></td></tr><tr><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/provenance-participant-type verifier}\">Verifier</span></td><td><a href=\"http:///example.org/Device/ex-ai-system\">http:///example.org/Device/ex-ai-system</a></td></tr></table></div>"
  },
  "target" : [{
    "reference" : "AllergyIntolerance/ex-allergy-corrected"
  }],
  "recorded" : "2024-06-01T15:00:00Z",
  "reason" : [{
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code" : "HQUALIMP"
    }]
  }],
  "activity" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code" : "FIXDATA"
    }]
  },
  "agent" : [{
    "type" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
        "code" : "verifier"
      }]
    },
    "who" : {
      "reference" : "http:///example.org/Device/ex-ai-system"
    }
  }],
  "entity" : [{
    "role" : "removal",
    "what" : {
      "reference" : "Observation/ex-observation-food",
      "identifier" : {
        "system" : "http://example.org/observation-identifiers",
        "value" : "obs-food-allergy-001"
      },
      "display" : "Duplicate Food Allergy Observation"
    }
  },
  {
    "role" : "revision",
    "what" : {
      "reference" : "AllergyIntolerance/ex-allergy-corrected",
      "identifier" : {
        "system" : "http://example.org/allergyintolerance-identifiers",
        "value" : "allergy-peanut-001"
      },
      "display" : "Revised AllergyIntolerance after Duplicate Detection"
    }
  }]
}