CH EMED (R4)
5.0.0-ci-build - ci-build Switzerland flag

CH EMED (R4), published by HL7 Switzerland. This guide is not an authorized publication; it is the continuous build for version 5.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/hl7ch/ch-emed/ and changes regularly. See the Directory of published versions

Extension: CH EMED Extension Treatment Plan

Official URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan Version: 5.0.0-ci-build
Active as of 2024-10-22 Computable Name: CHEMEDExtTreatmentPlan

Copyright/Legal: CC0-1.0

Extension to reference an external MedicationStatement and the Medication Treatment Plan document that contains it

Context of Use

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

  • Element ID MedicationRequest
  • Element ID MedicationDispense
  • Element ID MedicationStatement
  • Element ID Observation

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: Extension to reference an external MedicationStatement and the Medication Treatment Plan document that contains it

  • id: Identifier: An Extension
  • externalDocumentId: Identifier: An Extension

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension CH EMED Extension
... extension 2..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:id 1..1 Extension Identifier of the referenced external MedicationStatement
..... extension 0..0
..... url 1..1 uri "id"
..... value[x] 0..1 Identifier Value of extension
.... extension:externalDocumentId 1..1 Extension Identifier of the referenced external Medication Treatment Plan document
..... extension 0..0
..... url 1..1 uri "externalDocumentId"
..... value[x] 0..1 Identifier Value of extension
... url 1..1 uri "http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan"

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension CH EMED Extension
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:id 1..1 Extension Identifier of the referenced external MedicationStatement
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "id"
..... value[x] 0..1 Identifier Value of extension
.... extension:externalDocumentId 1..1 Extension Identifier of the referenced external Medication Treatment Plan document
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "externalDocumentId"
..... value[x] 0..1 Identifier Value of extension
... url 1..1 uri "http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Extension to reference an external MedicationStatement and the Medication Treatment Plan document that contains it

  • id: Identifier: An Extension
  • externalDocumentId: Identifier: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension CH EMED Extension
... extension 2..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:id 1..1 Extension Identifier of the referenced external MedicationStatement
..... extension 0..0
..... url 1..1 uri "id"
..... value[x] 0..1 Identifier Value of extension
.... extension:externalDocumentId 1..1 Extension Identifier of the referenced external Medication Treatment Plan document
..... extension 0..0
..... url 1..1 uri "externalDocumentId"
..... value[x] 0..1 Identifier Value of extension
... url 1..1 uri "http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan"

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension CH EMED Extension
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:id 1..1 Extension Identifier of the referenced external MedicationStatement
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "id"
..... value[x] 0..1 Identifier Value of extension
.... extension:externalDocumentId 1..1 Extension Identifier of the referenced external Medication Treatment Plan document
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "externalDocumentId"
..... value[x] 0..1 Identifier Value of extension
... url 1..1 uri "http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan"

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