CH EMED (R4)
2.0.0 - STU 2

This page is part of the CH EMED (R4) (v2.0.0: STU 2) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

Extension: CH EMED Extension Treatment Plan

Extension to represent the reference to the Medication Treatment Plan document

The official URL for this extension is:

http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan

Status: active
Extension maintained by: HL7 Switzerland

Context of Use

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

  • MedicationRequest
  • MedicationDispense
  • MedicationStatement
  • 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

Mandatory: 2 elements
Fixed Value: 3 elements
Prohibited: 3 elements

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionCH EMED Extension
... extension:id 1..1ExtensionID of the Medication Treatment Plan document
.... extension 0..0
.... url 1..1uri"id"
.... valueIdentifier 0..1IdentifierValue of extension
... extension:externalDocumentId 1..1ExtensionID of the external document
.... extension 0..0
.... url 1..1uri"externalDocumentId"
.... valueIdentifier 0..1IdentifierValue of extension
... url 1..1uri"http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan"

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionCH EMED Extension
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:id 1..1ExtensionID of the Medication Treatment Plan document
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"id"
.... Slices for value[x] 0..1IdentifierValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueIdentifier 0..1IdentifierValue of extension
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"externalDocumentId"
.... Slices for value[x] 0..1IdentifierValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueIdentifier 0..1IdentifierValue of extension
... url 1..1uri"http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan"

doco Documentation for this format

This structure is derived from Extension

Summary

Mandatory: 2 elements
Fixed Value: 3 elements
Prohibited: 3 elements

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionCH EMED Extension
... extension:id 1..1ExtensionID of the Medication Treatment Plan document
.... extension 0..0
.... url 1..1uri"id"
.... valueIdentifier 0..1IdentifierValue of extension
... extension:externalDocumentId 1..1ExtensionID of the external document
.... extension 0..0
.... url 1..1uri"externalDocumentId"
.... valueIdentifier 0..1IdentifierValue of extension
... url 1..1uri"http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan"

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionCH EMED Extension
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:id 1..1ExtensionID of the Medication Treatment Plan document
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"id"
.... Slices for value[x] 0..1IdentifierValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueIdentifier 0..1IdentifierValue of extension
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"externalDocumentId"
.... Slices for value[x] 0..1IdentifierValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueIdentifier 0..1IdentifierValue of extension
... url 1..1uri"http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Constraints

IdGradePathDetailsRequirements
ele-1errorExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extension:idAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.extension:idMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extension:id.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.extension:id.value[x]:valueIdentifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.extension:externalDocumentIdAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.extension:externalDocumentIdMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extension:externalDocumentId.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.extension:externalDocumentId.value[x]:valueIdentifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())