CH EKM (R4)
0.0.1 - ci-build
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
| 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)
Element
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 | Template-extract carrier that builds a whole Extension via %factory.Extension | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | string, Expression | FhirPath expression URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext | |
![]() ![]() ![]() |
0..* | string | FhirPath expression URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue | |
![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-ekm/StructureDefinition/sdc-templateExtractExtension" | |
![]() ![]() |
0..0 | Value of extension | ||
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | Template-extract carrier that builds a whole Extension via %factory.Extension | |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | string, Expression | FhirPath expression URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext | |
![]() ![]() ![]() |
0..1 | string | FhirPath expression URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue | |
![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-ekm/StructureDefinition/sdc-templateExtractExtension" | |
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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | Template-extract carrier that builds a whole Extension via %factory.Extension | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | string, Expression | FhirPath expression URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext | |
![]() ![]() ![]() |
0..* | string | FhirPath expression URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue | |
![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-ekm/StructureDefinition/sdc-templateExtractExtension" | |
![]() ![]() |
0..0 | Value of extension | ||
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | Template-extract carrier that builds a whole Extension via %factory.Extension | |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | string, Expression | FhirPath expression URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext | |
![]() ![]() ![]() |
0..1 | string | FhirPath expression URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue | |
![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-ekm/StructureDefinition/sdc-templateExtractExtension" | |
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
| 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()
|