@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/86947806-47fb-4165-b655-f5045c5e0cd6> a fhir:Provenance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "86947806-47fb-4165-b655-f5045c5e0cd6"] ;
  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 86947806-47fb-4165-b655-f5045c5e0cd6</b></p><a name=\"86947806-47fb-4165-b655-f5045c5e0cd6\"> </a><a name=\"hc86947806-47fb-4165-b655-f5045c5e0cd6\"> </a><p>Provenance pour : </p><ul><li><a href=\"CodeSystem-dm-omop-cdm-v20240229-cs.html\">CodeSystem Observational Medical Outcomes Partnership (OMOP)</a></li><li><a href=\"ValueSet-omop-gender-vs.html\">ValueSet ValueSet of gender of OHDSI</a></li><li><a href=\"ConceptMap-hl7-gender-to-ohdsi-gender.html\">ConceptMap HL7 Gender to OHDSI Gender</a></li></ul><p>Résumé</p><table class=\"grid\"><tr><td>Occurrence</td><td>2025-06-10</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/CodeSystem/dm-omop-cdm-v20240229-cs> ;
     fhir:Reference.reference [ fhir:value "CodeSystem/dm-omop-cdm-v20240229-cs" ]
  ], [
     fhir:index 1 ;
     fhir:link <https://aphp.github.io/IG-fhir-dm/ValueSet/omop-gender-vs> ;
     fhir:Reference.reference [ fhir:value "ValueSet/omop-gender-vs" ]
  ], [
     fhir:index 2 ;
     fhir:link <https://aphp.github.io/IG-fhir-dm/ConceptMap/hl7-gender-to-ohdsi-gender> ;
     fhir:Reference.reference [ fhir:value "ConceptMap/hl7-gender-to-ohdsi-gender" ]
  ] ;
  fhir:Provenance.occurredDateTime [ fhir:value "2025-06-10"^^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 OMOP CDM v5.4.2024-03-01 CodeSystem, its gender ValueSet, and the ConceptMap aligning HL7 administrative-gender to OHDSI gender concept ids were first committed together 2025-06-10 per git history, to support FHIR-to-OMOP mapping (CoreFHIR2OMOPPerson.fml)." ]
  ] ;
  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/86947806-47fb-4165-b655-f5045c5e0cd6.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

