Tiro.health Implementation Guide
0.1.0 - ci-build

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

Extension: Narrative Template

Official URL: http://fhir.tiro.health/StructureDefinition/narrative-template Version: 0.1.0
Draft as of 2025-10-16 Computable Name: NarrativeTemplate

FHIR Extension for narrative templates used in Questionnaires. This extension contains a template that is used to dynamically generate the narrative content of a Questionnaire based on provided data.

Attach a narrative template to a Questionnaire to generate a narrative for the QuestionnaireResponse.

Context of Use

Usage info

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Narrative Template
... extension 0..0
... url 1..1 uri "http://fhir.tiro.health/StructureDefinition/narrative-template"
... value[x] 0..1 Expression Value of extension
.... language 0..1 code text/cql | text/fhirpath | application/x-fhir-query | etc.
Binding: Template Languages (required)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Narrative Template
... id 0..1 id Unique id for inter-element referencing
... extension 0..0
... url 1..1 uri "http://fhir.tiro.health/StructureDefinition/narrative-template"
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... description Σ 0..1 string Natural language description of the condition
.... name ΣC 0..1 code Short name assigned to expression for reuse
.... language Σ 0..1 code text/cql | text/fhirpath | application/x-fhir-query | etc.
Binding: Template Languages (required)
Additional BindingsPurpose
MimeTypes Max Binding
.... expression ΣC 0..1 string Expression in specified language
.... reference ΣC 0..1 uri Where the expression is found

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Expression: FHIR Extension for narrative templates used in Questionnaires. This extension contains a template that is used to dynamically generate the narrative content of a Questionnaire based on provided data.

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Narrative Template
... extension 0..0
... url 1..1 uri "http://fhir.tiro.health/StructureDefinition/narrative-template"
... value[x] 0..1 Expression Value of extension
.... language 0..1 code text/cql | text/fhirpath | application/x-fhir-query | etc.
Binding: Template Languages (required)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Narrative Template
... id 0..1 id Unique id for inter-element referencing
... extension 0..0
... url 1..1 uri "http://fhir.tiro.health/StructureDefinition/narrative-template"
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... description Σ 0..1 string Natural language description of the condition
.... name ΣC 0..1 code Short name assigned to expression for reuse
.... language Σ 0..1 code text/cql | text/fhirpath | application/x-fhir-query | etc.
Binding: Template Languages (required)
Additional BindingsPurpose
MimeTypes Max Binding
.... expression ΣC 0..1 string Expression in specified language
.... reference ΣC 0..1 uri Where the expression is found

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Expression: FHIR Extension for narrative templates used in Questionnaires. This extension contains a template that is used to dynamically generate the narrative content of a Questionnaire based on provided data.

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

Path Status Usage ValueSet Version Source
Extension.value[x].language Base required Template Languages 📦0.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()