@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 -------------------------------------------------------------------

<http://hl7.org/fhir/CodeSystem/provenance-entity-role> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "provenance-entity-role"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2026-06-11T13:08:54.712+00:00"^^xsd:dateTime ]
  ] ; # 
  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: CodeSystem provenance-entity-role</b></p><a name=\"provenance-entity-role\"> </a><a name=\"hcprovenance-entity-role\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/provenance-entity-role</code> defines the following codes in a Is-A hierarchy:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">revision<a name=\"provenance-entity-role-revision\"> </a></td><td>Revision</td><td>An entity that is used by the activity to produce a new version of that entity.</td></tr><tr><td style=\"white-space:nowrap\">quotation<a name=\"provenance-entity-role-quotation\"> </a></td><td>Quotation</td><td>An entity that is copied in full or part by an agent that is not the author of the entity.</td></tr><tr><td style=\"white-space:nowrap\">source<a name=\"provenance-entity-role-source\"> </a></td><td>Source</td><td>An entity that is used as input to the activity that produced the target.</td></tr><tr><td style=\"white-space:nowrap\">instantiates<a name=\"provenance-entity-role-instantiates\"> </a></td><td>Instantiates</td><td>The record resulting from this event adheres to the protocol, guideline, order set or other definition represented by this entity.</td></tr><tr><td style=\"white-space:nowrap\">removal<a name=\"provenance-entity-role-removal\"> </a></td><td>Removal</td><td>An entity that is removed from accessibility, usually through the DELETE operator.</td></tr><tr><td style=\"white-space:nowrap\">other<a name=\"provenance-entity-role-other\"> </a></td><td>Other</td><td>The authoring/source system knows that none of the codes apply. An extension may elaboration on the way the data was used.</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "sec"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "normative"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 6
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/provenance-entity-role"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/provenance-entity-role>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.437" ]
  ] [
     fhir:use [ fhir:v "old" ] ;
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.428" ]
  ] [
     fhir:use [ fhir:v "old" ] ;
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.2.247" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot4"] ; # 
  fhir:name [ fhir:v "ProvenanceEntityRole"] ; # 
  fhir:title [ fhir:v "Provenance Entity Role"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2025-11-01"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International / Security"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/secure" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "fhir@lists.hl7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "How an entity was used in an activity."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
         fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>
       ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/provenance-entity-role"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/provenance-entity-role>
  ] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "revision" ] ;
     fhir:display [ fhir:v "Revision" ] ;
     fhir:definition [ fhir:v "An entity that is used by the activity to produce a new version of that entity." ]
  ] [
     fhir:code [ fhir:v "quotation" ] ;
     fhir:display [ fhir:v "Quotation" ] ;
     fhir:definition [ fhir:v "An entity that is copied in full or part by an agent that is not the author of the entity." ]
  ] [
     fhir:code [ fhir:v "source" ] ;
     fhir:display [ fhir:v "Source" ] ;
     fhir:definition [ fhir:v "An entity that is used as input to the activity that produced the target." ]
  ] [
     fhir:code [ fhir:v "instantiates" ] ;
     fhir:display [ fhir:v "Instantiates" ] ;
     fhir:definition [ fhir:v "The record resulting from this event adheres to the protocol, guideline, order set or other definition represented by this entity." ]
  ] [
     fhir:code [ fhir:v "removal" ] ;
     fhir:display [ fhir:v "Removal" ] ;
     fhir:definition [ fhir:v "An entity that is removed from accessibility, usually through the DELETE operator." ]
  ] [
     fhir:code [ fhir:v "other" ] ;
     fhir:display [ fhir:v "Other" ] ;
     fhir:definition [ fhir:v "The authoring/source system knows that none of the codes apply. An extension may elaboration on the way the data was used." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

