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
Official URL: http://fhir.tiro.health/StructureDefinition/narrative-generation | Version: 0.1.0 | |||
Draft as of 2025-10-16 | Computable Name: NarrativeGeneration |
This extension is used to define the narrative generation based on the QuestionnaireResponse.
Context of Use
This extension may be used on the following element(s)
Questionnaire
Questionnaire.item
Usage info
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Extension | Narrative Generation | |
![]() ![]() ![]() |
2..* | Extension | Extension | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
S | 1..1 | Extension | Default text generation for the answer. |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "default" | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Expression | Value of extension | |
![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Text generation if no answer is given. |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "empty" | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Expression | Value of extension | |
![]() ![]() ![]() ![]() |
1..* | Extension | Text generation for specific answer options. | |
![]() ![]() ![]() ![]() ![]() |
2..* | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Template for the answer option | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "template" | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Expression | Value of extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Answer option | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "answer" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "answerOption" | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..1 | Extension | Aggregator for multiple answers. Only used if `repeats` is set to `true`. | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "aggregator" | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Value of extension | |
![]() ![]() ![]() |
1..1 | uri | "http://fhir.tiro.health/StructureDefinition/narrative-generation" | |
![]() ![]() ![]() |
0..0 | |||
![]() |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Extension | Narrative Generation | |
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
S | 1..1 | Extension | Default text generation for the answer. |
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "default" | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Expression | Value of extension | |
![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Text generation if no answer is given. |
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "empty" | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Expression | Value of extension | |
![]() ![]() ![]() ![]() |
1..* | Extension | Text generation for specific answer options. | |
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Template for the answer option | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "template" | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Expression | Value of extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Answer option | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "answer" | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Value of extension | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
base64Binary | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
canonical(Any) | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
code | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
date | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
id | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
instant | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
integer64 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
markdown | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
oid | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
positiveInt | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
time | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
unsignedInt | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
url | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
uuid | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Address | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Age | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Annotation | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
CodeableReference | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ContactPoint | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Count | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Distance | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Duration | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
HumanName | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Identifier | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Money | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Ratio | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
RatioRange | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Reference(Any) | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SampledData | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Signature | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Timing | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ContactDetail | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
DataRequirement | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Expression | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ParameterDefinition | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
RelatedArtifact | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
TriggerDefinition | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
UsageContext | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Availability | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ExtendedContactDetail | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Dosage | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Meta | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "answerOption" | |
![]() ![]() ![]() ![]() |
0..1 | Extension | Aggregator for multiple answers. Only used if `repeats` is set to `true`. | |
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "aggregator" | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Value of extension | |
![]() ![]() ![]() |
1..1 | uri | "http://fhir.tiro.health/StructureDefinition/narrative-generation" | |
![]() |
This structure is derived from Extension
Summary
Complex Extension: This extension is used to define the narrative generation based on the QuestionnaireResponse.
Differential View
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Extension | Narrative Generation | |
![]() ![]() ![]() |
2..* | Extension | Extension | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
S | 1..1 | Extension | Default text generation for the answer. |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "default" | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Expression | Value of extension | |
![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Text generation if no answer is given. |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "empty" | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Expression | Value of extension | |
![]() ![]() ![]() ![]() |
1..* | Extension | Text generation for specific answer options. | |
![]() ![]() ![]() ![]() ![]() |
2..* | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Template for the answer option | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "template" | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Expression | Value of extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Answer option | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "answer" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "answerOption" | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..1 | Extension | Aggregator for multiple answers. Only used if `repeats` is set to `true`. | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "aggregator" | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Value of extension | |
![]() ![]() ![]() |
1..1 | uri | "http://fhir.tiro.health/StructureDefinition/narrative-generation" | |
![]() ![]() ![]() |
0..0 | |||
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Extension | Narrative Generation | |
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
S | 1..1 | Extension | Default text generation for the answer. |
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "default" | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Expression | Value of extension | |
![]() ![]() ![]() ![]() |
S | 0..1 | Extension | Text generation if no answer is given. |
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "empty" | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Expression | Value of extension | |
![]() ![]() ![]() ![]() |
1..* | Extension | Text generation for specific answer options. | |
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Template for the answer option | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "template" | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Expression | Value of extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Answer option | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "answer" | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Value of extension | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
base64Binary | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
canonical(Any) | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
code | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
date | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
id | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
instant | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
integer64 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
markdown | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
oid | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
positiveInt | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
time | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
unsignedInt | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
url | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
uuid | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Address | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Age | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Annotation | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
CodeableReference | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ContactPoint | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Count | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Distance | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Duration | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
HumanName | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Identifier | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Money | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Ratio | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
RatioRange | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Reference(Any) | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SampledData | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Signature | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Timing | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ContactDetail | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
DataRequirement | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Expression | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ParameterDefinition | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
RelatedArtifact | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
TriggerDefinition | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
UsageContext | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Availability | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ExtendedContactDetail | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Dosage | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Meta | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "answerOption" | |
![]() ![]() ![]() ![]() |
0..1 | Extension | Aggregator for multiple answers. Only used if `repeats` is set to `true`. | |
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "aggregator" | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Value of extension | |
![]() ![]() ![]() |
1..1 | uri | "http://fhir.tiro.health/StructureDefinition/narrative-generation" | |
![]() |
This structure is derived from Extension
Summary
Complex Extension: This extension is used to define the narrative generation based on the QuestionnaireResponse.
Other representations of profile: CSV, Excel, Schematron
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()
|