John Moehrke Correction Example
0.1.0 - ci-build International flag

John Moehrke Correction Example, published by John Moehrke (Moehrke Research LLC). This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/JohnMoehrke/correction/ and changes regularly. See the Directory of published versions

: Provenance for AI Duplicate Detection - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Provenance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ex-ai-duplicate-detection"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://johnmoehrke.github.io/correction/StructureDefinition/CorrectionProvenanceProfile"^^xsd:anyURI ;
fhir:l <http://johnmoehrke.github.io/correction/StructureDefinition/CorrectionProvenanceProfile>     ] ) ;
    ( fhir:security [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActReason>       ] ;
fhir:code [ fhir:v "HTEST" ]     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<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>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:target ( [
fhir:l fhir:AllergyIntolerance/ex-allergy-corrected ;
fhir:reference [ fhir:v "AllergyIntolerance/ex-allergy-corrected" ]
  ] ) ; # 
  fhir:recorded [ fhir:v "2024-06-01T15:00:00Z"^^xsd:dateTime] ; # 
  fhir:reason ( [
    ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActReason>       ] ;
fhir:code [ fhir:v "HQUALIMP" ]     ] )
  ] ) ; # 
  fhir:activity [
    ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActReason>       ] ;
fhir:code [ fhir:v "FIXDATA" ]     ] )
  ] ; # 
  fhir:agent ( [
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/provenance-participant-type>         ] ;
fhir:code [ fhir:v "verifier" ]       ] )     ] ;
fhir:who [
fhir:l <http:///example.org/Device/ex-ai-system> ;
fhir:reference [ fhir:v "http:///example.org/Device/ex-ai-system" ]     ]
  ] ) ; # 
  fhir:entity ( [
fhir:role [ fhir:v "removal" ] ;
fhir:what [
fhir:l fhir:Observation/ex-observation-food ;
fhir:reference [ fhir:v "Observation/ex-observation-food" ] ;
fhir:identifier [
fhir:system [
fhir:v "http://example.org/observation-identifiers"^^xsd:anyURI ;
fhir:l <http://example.org/observation-identifiers>         ] ;
fhir:value [ fhir:v "obs-food-allergy-001" ]       ] ;
fhir:display [ fhir:v "Duplicate Food Allergy Observation" ]     ]
  ] [
fhir:role [ fhir:v "revision" ] ;
fhir:what [
fhir:l fhir:AllergyIntolerance/ex-allergy-corrected ;
fhir:reference [ fhir:v "AllergyIntolerance/ex-allergy-corrected" ] ;
fhir:identifier [
fhir:system [
fhir:v "http://example.org/allergyintolerance-identifiers"^^xsd:anyURI ;
fhir:l <http://example.org/allergyintolerance-identifiers>         ] ;
fhir:value [ fhir:v "allergy-peanut-001" ]       ] ;
fhir:display [ fhir:v "Revised AllergyIntolerance after Duplicate Detection" ]     ]
  ] ) . #