Tiro.health Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
: User Input Provenance Example - 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 "prov-001"] ; #
fhir:meta [
( fhir:profile [
fhir:v "http://fhir.tiro.health/StructureDefinition/form-provenance"^^xsd:anyURI ;
fhir:l <http://fhir.tiro.health/StructureDefinition/form-provenance> ] )
] ; #
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 prov-001</b></p><a name=\"prov-001\"> </a><a name=\"hcprov-001\"> </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-form-provenance.html\">Form Provenance</a></p></div><p>Provenance for <a href=\"QuestionnaireResponse/qr-123\">QuestionnaireResponse/qr-123</a></p><p>Summary</p><table class=\"grid\"><tr><td>Recorded</td><td>2025-10-29 10:30:00+0000</td></tr><tr><td>Activity</td><td><span title=\"Codes:{http://fhir.tiro.health/CodeSystem/form-activity user}, {http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle originate}\">Manually entered data by the user</span></td></tr></table><p><b>Agents</b></p><table class=\"grid\"><tr><td><b>who</b></td></tr><tr><td><a href=\"Practitioner/pract-789\">Practitioner/pract-789</a></td></tr></table></div>"^^rdf:XMLLiteral ]
] ; #
fhir:target ( [
fhir:l fhir:QuestionnaireResponse/qr-123 ;
( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/targetElement"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/targetElement> ] ;
fhir:value [
a fhir:Uri ;
fhir:v "item-456"^^xsd:anyURI ;
fhir:l fhir:item-456 ] ] ) ;
fhir:reference [ fhir:v "QuestionnaireResponse/qr-123" ]
] ) ; #
fhir:recorded [ fhir:v "2025-10-29T10:30:00Z"^^xsd:dateTime] ; #
fhir:activity [
( fhir:coding [
fhir:system [
fhir:v "http://fhir.tiro.health/CodeSystem/form-activity"^^xsd:anyURI ;
fhir:l <http://fhir.tiro.health/CodeSystem/form-activity> ] ;
fhir:code [ fhir:v "user" ] ;
fhir:display [ fhir:v "User input" ] ] [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle> ] ;
fhir:code [ fhir:v "originate" ] ;
fhir:display [ fhir:v "Originate/Retain Record Lifecycle Event" ] ] ) ;
fhir:text [ fhir:v "Manually entered data by the user" ]
] ; #
fhir:agent ( [
fhir:who [
fhir:l fhir:Practitioner/pract-789 ;
fhir:reference [ fhir:v "Practitioner/pract-789" ] ]
] ) . #