Agentic FHIR IG Authoring (Demo)
0.1.0 - ci-build International flag

Agentic FHIR IG Authoring (Demo), published by HL7 Switzerland. 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/hl7ch/agentic-ig/ and changes regularly. See the Directory of published versions

: Example authoring provenance - TTL Representation

Raw ttl | Download


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

<http://hl7.org/fhir/Provenance/ExampleAuthoringProvenance> a fhir:Provenance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExampleAuthoringProvenance"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.ch/fhir/ig/agentic-ig/StructureDefinition/agent-authoring-provenance" ;
       fhir:index 0 ;
       fhir:link <http://hl7.ch/fhir/ig/agentic-ig/StructureDefinition/agent-authoring-provenance>
     ] ;
     fhir:Meta.security [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ObservationValue" ] ;
       fhir:Coding.code [ fhir:value "AIAST" ]
     ]
  ] ;
  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>Generated Narrative: Provenance ExampleAuthoringProvenance</b></p><a name=\"ExampleAuthoringProvenance\"> </a><a name=\"hcExampleAuthoringProvenance\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-agent-authoring-provenance.html\">Agent Authoring Provenance</a></p><p style=\"margin-bottom: 0px\">Security Label: <a href=\"http://terminology.hl7.org/7.5.0/CodeSystem-v3-ObservationValue.html\">Artificial Intelligence asserted (Details: ObservationValue code AIAST = 'Artificial Intelligence asserted')</a></p></div><p>Provenance for: </p><ul><li><a href=\"StructureDefinition-ai-agent-device.html\">StructureDefinition AI Agent Device</a></li><li><a href=\"StructureDefinition-agent-authoring-provenance.html\">StructureDefinition Agent Authoring Provenance</a></li></ul><p>Summary</p><table class=\"grid\"><tr><td>Recorded</td><td>2026-11-18 18:00:00+0100</td></tr><tr><td>Activity</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-DataOperation CREATE}\">create</span></td></tr><tr><td>Reason</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationValue AIAST}\">Artificial Intelligence asserted</span></td></tr></table><p><b>Agents</b></p><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Role</b></td><td><b>who</b></td><td><b>On Behalf Of</b></td></tr><tr><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/provenance-participant-type author}\">Author</span></td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/AIdeviceTypeCS Artificial-Intelligence}\">All kinds of Artificial Intelligence</span></td><td><a href=\"Device-ExampleCodingAgent.html\">Device: extension = Coding agent; manufacturer = Anthropic; type = All kinds of Artificial Intelligence</a></td><td><a href=\"Practitioner-ExampleReviewer.html\">Example Reviewer</a></td></tr><tr><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/provenance-participant-type verifier}\">Verifier</span></td><td/><td><a href=\"Practitioner-ExampleReviewer.html\">Example Reviewer</a></td><td/></tr></table><p><b>Entities</b></p><table class=\"grid\"><tr><td><b>Role</b></td><td><b>What</b></td></tr><tr><td>Derivation</td><td><a href=\"DocumentReference-ExampleInputPrompt.html\">DocumentReference: status = current; type = AI Input Prompt; description = Prompts given to the coding agent while it drafted this implementation guide</a></td></tr></table></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "type" ] ;
       fhir:Extension.valueCode [ fhir:value "cli-tool" ]
     ], [
       fhir:index 1 ;
       fhir:Extension.url [ fhir:value "name" ] ;
       fhir:Extension.valueString [ fhir:value "SUSHI" ]
     ], [
       fhir:index 2 ;
       fhir:Extension.url [ fhir:value "source" ] ;
       fhir:Extension.valueUrl [ fhir:value "https://github.com/FHIR/sushi" ]
     ] ;
     fhir:Extension.url [ fhir:value "http://hl7.ch/fhir/ig/agentic-ig/StructureDefinition/agent-tool-used" ]
  ], [
     fhir:index 1 ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "type" ] ;
       fhir:Extension.valueCode [ fhir:value "cli-tool" ]
     ], [
       fhir:index 1 ;
       fhir:Extension.url [ fhir:value "name" ] ;
       fhir:Extension.valueString [ fhir:value "IG Publisher" ]
     ], [
       fhir:index 2 ;
       fhir:Extension.url [ fhir:value "source" ] ;
       fhir:Extension.valueUrl [ fhir:value "https://github.com/HL7/fhir-ig-publisher" ]
     ] ;
     fhir:Extension.url [ fhir:value "http://hl7.ch/fhir/ig/agentic-ig/StructureDefinition/agent-tool-used" ]
  ], [
     fhir:index 2 ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "type" ] ;
       fhir:Extension.valueCode [ fhir:value "instruction-file" ]
     ], [
       fhir:index 1 ;
       fhir:Extension.url [ fhir:value "name" ] ;
       fhir:Extension.valueString [ fhir:value "AGENTS.md" ]
     ] ;
     fhir:Extension.url [ fhir:value "http://hl7.ch/fhir/ig/agentic-ig/StructureDefinition/agent-tool-used" ]
  ] ;
  fhir:Provenance.target [
     fhir:index 0 ;
     fhir:link <http://hl7.org/fhir/StructureDefinition/ai-agent-device> ;
     fhir:Reference.reference [ fhir:value "StructureDefinition/ai-agent-device" ]
  ], [
     fhir:index 1 ;
     fhir:link <http://hl7.org/fhir/StructureDefinition/agent-authoring-provenance> ;
     fhir:Reference.reference [ fhir:value "StructureDefinition/agent-authoring-provenance" ]
  ] ;
  fhir:Provenance.recorded [ fhir:value "2026-11-18T18:00:00+01:00"^^xsd:dateTime] ;
  fhir:Provenance.reason [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ObservationValue" ] ;
       fhir:Coding.code [ fhir:value "AIAST" ]
     ]
  ] ;
  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.role [
       fhir:index 0 ;
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/AIdeviceTypeCS" ] ;
         fhir:Coding.code [ fhir:value "Artificial-Intelligence" ]
       ]
     ] ;
     fhir:Provenance.agent.who [
       fhir:link <http://hl7.org/fhir/Device/ExampleCodingAgent> ;
       fhir:Reference.reference [ fhir:value "Device/ExampleCodingAgent" ]
     ] ;
     fhir:Provenance.agent.onBehalfOf [
       fhir:link <http://hl7.org/fhir/Practitioner/ExampleReviewer> ;
       fhir:Reference.reference [ fhir:value "Practitioner/ExampleReviewer" ]
     ]
  ], [
     fhir:index 1 ;
     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 "verifier" ]
       ]
     ] ;
     fhir:Provenance.agent.who [
       fhir:link <http://hl7.org/fhir/Practitioner/ExampleReviewer> ;
       fhir:Reference.reference [ fhir:value "Practitioner/ExampleReviewer" ]
     ]
  ] ;
  fhir:Provenance.entity [
     fhir:index 0 ;
     fhir:Provenance.entity.role [ fhir:value "derivation" ] ;
     fhir:Provenance.entity.what [
       fhir:link <http://hl7.org/fhir/DocumentReference/ExampleInputPrompt> ;
       fhir:Reference.reference [ fhir:value "DocumentReference/ExampleInputPrompt" ]
     ]
  ] .

<http://hl7.org/fhir/StructureDefinition/ai-agent-device> a fhir:StructureDefinition .

<http://hl7.org/fhir/StructureDefinition/agent-authoring-provenance> a fhir:StructureDefinition .

<http://hl7.org/fhir/Device/ExampleCodingAgent> a fhir:Device .

<http://hl7.org/fhir/Practitioner/ExampleReviewer> a fhir:Practitioner .

<http://hl7.org/fhir/DocumentReference/ExampleInputPrompt> a fhir:DocumentReference .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Provenance/ExampleAuthoringProvenance.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Provenance/ExampleAuthoringProvenance.ttl> .