CH EMED (R4)
0.1.1 - CI build

CH EMED (R4), published by eHealth Suisse. This is not an authorized publication; it is the continuous build for version 0.1.1). 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: CHEMEDExtDispense

Extension to reference the medication dispense

The official URL for this extension is:

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

Status: draft
Extension maintained by: eHealth Suisse

Context of Use

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

  • {"type"=>"MedicationRequest"}
  • {"type"=>"MedicationDispense"}
  • {"type"=>"MedicationStatement"}
  • {"type"=>"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..1ExtensionID for Medication Dispense
... extension:id 1..1ExtensionID of a medication dispense
.... extension 0..0
.... url 1..1uri"id"
.... valueIdentifier 0..1IdentifierValue of extension
... extension:externalDocumentId 1..1ExtensionID of an 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-dispense"

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..1ExtensionID for Medication Dispense
... id 0..1stringUnique id for inter-element referencing
... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:id I1..1ExtensionID of a medication dispense
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..0
.... url 1..1uri"id"
.... value[x] I0..1(Slice Definition)Value of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueIdentifier I0..1IdentifierValue of extension
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..0
.... url 1..1uri"externalDocumentId"
.... value[x] I0..1(Slice Definition)Value of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueIdentifier I0..1IdentifierValue of extension
... url 1..1uri"http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-dispense"

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..1ExtensionID for Medication Dispense
... extension:id 1..1ExtensionID of a medication dispense
.... extension 0..0
.... url 1..1uri"id"
.... valueIdentifier 0..1IdentifierValue of extension
... extension:externalDocumentId 1..1ExtensionID of an 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-dispense"

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..1ExtensionID for Medication Dispense
... id 0..1stringUnique id for inter-element referencing
... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:id I1..1ExtensionID of a medication dispense
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..0
.... url 1..1uri"id"
.... value[x] I0..1(Slice Definition)Value of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueIdentifier I0..1IdentifierValue of extension
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..0
.... url 1..1uri"externalDocumentId"
.... value[x] I0..1(Slice Definition)Value of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueIdentifier I0..1IdentifierValue of extension
... url 1..1uri"http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-dispense"

doco Documentation for this format

 

Other representations of extension: Schematron

Terminology Bindings

Constraints

Constraints

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