CHMED Implementation Guide
3.0.0-ci-build - ci-build Switzerland flag

CHMED Implementation Guide, published by IG eMediplan. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/ahdis/chmed/ and changes regularly. See the Directory of published versions

Extension: CHMED Extension

Official URL: http://chmed.emediplan.ch/fhir/StructureDefinition/chmed-extension Version: 3.0.0-ci-build
Active as of 2024-04-24 Computable Name: CHMEDExtension

Copyright/Legal: CC0-1.0

CHMED extension can be used to include additional information. NOTE: The extension can include itself as a nested extension (see example).

Context of Use

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

  • Element ID Composition
  • Element ID Composition.section
  • Element ID Patient
  • Element ID MedicationStatement
  • Element ID MedicationRequest
  • Extension URL http://chmed.emediplan.ch/fhir/StructureDefinition/chmed-extension

Usage info

Usage:

Formal Views of Extension Content

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

This structure is derived from Extension

Summary

Complex Extension: CHMED extension can be used to include additional information. NOTE: The extension can include itself as a nested extension (see example).

  • nm: string: An Extension
  • val: string: An Extension
  • schema: string: An Extension

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension CHMED Extension
... extension 2..* Extension Extension
... extension:nm 1..1 Extension The name of the field
.... extension 0..0
.... url 1..1 uri "nm"
.... value[x] 1..1 string Value of extension
... extension:val 0..1 Extension The value of the field
.... extension 0..0
.... url 1..1 uri "val"
.... value[x] 1..1 string Value of extension
.... extension 0..0
.... url 1..1 uri "schema"
.... value[x] 1..1 string Value of extension
... url 1..1 uri "http://chmed.emediplan.ch/fhir/StructureDefinition/chmed-extension"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension CHMED Extension
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
... extension:nm 1..1 Extension The name of the field
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..0
.... url 1..1 uri "nm"
.... value[x] 1..1 string Value of extension
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..0
.... url 1..1 uri "val"
.... value[x] 1..1 string Value of extension
... extension:schema 1..1 Extension The schema can be any string and can be used to determine how to interpret the extension
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..0
.... url 1..1 uri "schema"
.... value[x] 1..1 string Value of extension
... url 1..1 uri "http://chmed.emediplan.ch/fhir/StructureDefinition/chmed-extension"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: CHMED extension can be used to include additional information. NOTE: The extension can include itself as a nested extension (see example).

  • nm: string: An Extension
  • val: string: An Extension
  • schema: string: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension CHMED Extension
... extension 2..* Extension Extension
... extension:nm 1..1 Extension The name of the field
.... extension 0..0
.... url 1..1 uri "nm"
.... value[x] 1..1 string Value of extension
... extension:val 0..1 Extension The value of the field
.... extension 0..0
.... url 1..1 uri "val"
.... value[x] 1..1 string Value of extension
.... extension 0..0
.... url 1..1 uri "schema"
.... value[x] 1..1 string Value of extension
... url 1..1 uri "http://chmed.emediplan.ch/fhir/StructureDefinition/chmed-extension"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension CHMED Extension
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
... extension:nm 1..1 Extension The name of the field
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..0
.... url 1..1 uri "nm"
.... value[x] 1..1 string Value of extension
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..0
.... url 1..1 uri "val"
.... value[x] 1..1 string Value of extension
... extension:schema 1..1 Extension The schema can be any string and can be used to determine how to interpret the extension
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..0
.... url 1..1 uri "schema"
.... value[x] 1..1 string Value of extension
... url 1..1 uri "http://chmed.emediplan.ch/fhir/StructureDefinition/chmed-extension"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()