@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://aphp.github.io/IG-fhir-dm/Provenance/ff2c79ce-8a97-4f4e-b830-710a12780fb0> a fhir:Provenance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ff2c79ce-8a97-4f4e-b830-710a12780fb0"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Narratif généré : Provenance ff2c79ce-8a97-4f4e-b830-710a12780fb0</b></p><a name=\"ff2c79ce-8a97-4f4e-b830-710a12780fb0\"> </a><a name=\"hcff2c79ce-8a97-4f4e-b830-710a12780fb0\"> </a><p>Provenance pour <a href=\"StructureDefinition-ehr.html\">StructureDefinition Electronic Health Record Data Model</a></p><p>Résumé</p><table class=\"grid\"><tr><td>Occurrence</td><td>2025-08-31</td></tr><tr><td>Enregistré</td><td>2026-08-05 12:00:00+0200</td></tr><tr><td>Activité</td><td><span title=\"Codes :{http://terminology.hl7.org/CodeSystem/v3-DataOperation CREATE}\">create</span></td></tr></table><p><b>Agents</b></p><table class=\"grid\"><tr><td><b>Type</b></td><td><b>qui</b></td></tr><tr><td><span title=\"Codes :{http://terminology.hl7.org/CodeSystem/provenance-participant-type author}\">Author</span></td><td>David Ouagne</td></tr></table></div>"
  ] ;
  fhir:Provenance.target [
     fhir:index 0 ;
     fhir:link <https://aphp.github.io/IG-fhir-dm/StructureDefinition/ehr> ;
     fhir:Reference.reference [ fhir:value "StructureDefinition/ehr" ]
  ] ;
  fhir:Provenance.occurredDateTime [ fhir:value "2025-08-31"^^xsd:date] ;
  fhir:Provenance.recorded [ fhir:value "2026-08-05T12:00:00.000+02:00"^^xsd:dateTime] ;
  fhir:Provenance.reason [
     fhir:index 0 ;
     fhir:CodeableConcept.text [ fhir:value "Backfilled retrospectively (2026-08-05 compliance remediation): the EHR Logical Model, generated from input/sql/applications/ehr/questionnaire-core-ddl.sql, first committed 2025-08-31 per git history. Represents the comprehensive EDSH core-variable EHR data structure that StructureMap-EHR2FSL.fml transforms into the FHIR Semantic Layer." ]
  ] ;
  fhir:Provenance.activity [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-DataOperation" ] ;
       fhir:Coding.code [ fhir:value "CREATE" ]
     ]
  ] ;
  fhir:Provenance.agent [
     fhir:index 0 ;
     fhir:Provenance.agent.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
         fhir:Coding.code [ fhir:value "author" ]
       ]
     ] ;
     fhir:Provenance.agent.who [
       fhir:Reference.display [ fhir:value "David Ouagne" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://aphp.github.io/IG-fhir-dm/Provenance/ff2c79ce-8a97-4f4e-b830-710a12780fb0.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

