ERA FHIR specification
1.0.0 - draft

ERA FHIR specification - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Extension: Document Format

Official URL: https://eradocumentation.atostek.com/StructureDefinition/extension/documentFormat Version: 1.0.0
Draft as of 2026-10-28 Computable Name: DocumentFormat

The document format produced for all outputs of this Task (e.g. CDA R2). Constant across all DocumentReferences generated within a single Task.

Context of Use

    This extension may be used on the following element(s)

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: doco
Extension 0..* Extension Document Format
Extension.extension 0..0 Extension
Extension.url 1..1 uri "https://eradocumentation.atostek.com/StructureDefinition/extension/documentFormat"
Extension.value[x] 1..1 Coding Value of extension
Extension.value[x].system 0..1 uri Identity of the terminology system
Fixed Value: https://eradocumentation.atostek.com/CodeSystem/documentFormatType (no extensions allowed)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Extension 0..* Extension Document Format
Extension.id 0..1 string Unique id for inter-element referencing
Extension.extension 0..0 Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Extension.url 1..1 uri "https://eradocumentation.atostek.com/StructureDefinition/extension/documentFormat"
Extension.value[x] 1..1 Coding Value of extension
Extension.value[x].id 0..1 string Unique id for inter-element referencing
Extension.value[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Extension.value[x].system This element is included in summaries. 0..1 uri Identity of the terminology system
Fixed Value: https://eradocumentation.atostek.com/CodeSystem/documentFormatType (no extensions allowed)
Extension.value[x].version This element is included in summaries. 0..1 string Version of the system - if relevant
Extension.value[x].code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Extension.value[x].display This element is included in summaries. 0..1 string Representation defined by the system
Extension.value[x].userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Coding: The document format produced for all outputs of this Task (e.g. CDA R2). Constant across all DocumentReferences generated within a single Task.

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Extension 0..* Extension Document Format
Extension.extension 0..0 Extension
Extension.url 1..1 uri "https://eradocumentation.atostek.com/StructureDefinition/extension/documentFormat"
Extension.value[x] 1..1 Coding Value of extension
Extension.value[x].system 0..1 uri Identity of the terminology system
Fixed Value: https://eradocumentation.atostek.com/CodeSystem/documentFormatType (no extensions allowed)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Extension 0..* Extension Document Format
Extension.id 0..1 string Unique id for inter-element referencing
Extension.extension 0..0 Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Extension.url 1..1 uri "https://eradocumentation.atostek.com/StructureDefinition/extension/documentFormat"
Extension.value[x] 1..1 Coding Value of extension
Extension.value[x].id 0..1 string Unique id for inter-element referencing
Extension.value[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Extension.value[x].system This element is included in summaries. 0..1 uri Identity of the terminology system
Fixed Value: https://eradocumentation.atostek.com/CodeSystem/documentFormatType (no extensions allowed)
Extension.value[x].version This element is included in summaries. 0..1 string Version of the system - if relevant
Extension.value[x].code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Extension.value[x].display This element is included in summaries. 0..1 string Representation defined by the system
Extension.value[x].userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Coding: The document format produced for all outputs of this Task (e.g. CDA R2). Constant across all DocumentReferences generated within a single Task.

 

Other representations of profile: CSV, Excel, Schematron

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()