CH EKM (R4)
0.0.1 - ci-build Switzerland flag

CH EKM (R4), published by Federal Office of Public Health FOPH. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/ahdis/ch-ekm/ and changes regularly. See the Directory of published versions

Extension: SDC Template Extract Extension (carrier)

Official URL: http://fhir.ch/ig/ch-ekm/StructureDefinition/sdc-templateExtractExtension Version: 0.0.1
Draft as of 2026-08-05 Computable Name: SdcTemplateExtractExtension

Copyright/Legal: CC0-1.0

Carrier/placeholder extension used only inside an SDC template-based $extract template to build a whole FHIR Extension via %factory.Extension at a location a value directive cannot reach (e.g. a primitive element's _element.extension). Its %factory.Extension result replaces this carrier during extraction, so it never appears in extracted output.

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: Filtersdoco
.. Extension 0..* Extension Template-extract carrier that builds a whole Extension via %factory.Extension
... Slices for extension Content/Rules for all slices
.... extension:context 0..1 string, Expression FhirPath expression
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
.... extension:value 0..* string FhirPath expression
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
... url 1..1 uri "http://fhir.ch/ig/ch-ekm/StructureDefinition/sdc-templateExtractExtension"
... value[x] 0..0 Value of extension

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Template-extract carrier that builds a whole Extension via %factory.Extension
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:context 0..1 string, Expression FhirPath expression
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
.... extension:value 0..1 string FhirPath expression
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
... url 1..1 uri "http://fhir.ch/ig/ch-ekm/StructureDefinition/sdc-templateExtractExtension"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Carrier/placeholder extension used only inside an SDC template-based $extract template to build a whole FHIR Extension via %factory.Extension at a location a value directive cannot reach (e.g. a primitive element's _element.extension). Its %factory.Extension result replaces this carrier during extraction, so it never appears in extracted output.

    Differential View

    This structure is derived from Extension

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension Template-extract carrier that builds a whole Extension via %factory.Extension
    ... Slices for extension Content/Rules for all slices
    .... extension:context 0..1 string, Expression FhirPath expression
    URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
    .... extension:value 0..* string FhirPath expression
    URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    ... url 1..1 uri "http://fhir.ch/ig/ch-ekm/StructureDefinition/sdc-templateExtractExtension"
    ... value[x] 0..0 Value of extension

    doco Documentation for this format

    Snapshot View

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension Template-extract carrier that builds a whole Extension via %factory.Extension
    ... id 0..1 string Unique id for inter-element referencing
    ... Slices for extension 0..* Extension Additional content defined by implementations
    Slice: Unordered, Open by value:url
    .... extension:context 0..1 string, Expression FhirPath expression
    URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
    .... extension:value 0..1 string FhirPath expression
    URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    ... url 1..1 uri "http://fhir.ch/ig/ch-ekm/StructureDefinition/sdc-templateExtractExtension"

    doco Documentation for this format

    This structure is derived from Extension

    Summary

    Complex Extension: Carrier/placeholder extension used only inside an SDC template-based $extract template to build a whole FHIR Extension via %factory.Extension at a location a value directive cannot reach (e.g. a primitive element's _element.extension). Its %factory.Extension result replaces this carrier during extraction, so it never appears in extracted output.

       

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