CH EMED (R4)
4.0.0-ballot - ballot Switzerland flag

This page is part of the CH EMED (R4) (v4.0.0-ballot: STU 4 Ballot 1) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Extension: CH EMED Extension Pharmaceutical Advice

Official URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-pharmaceuticaladvice Version: 4.0.0-ballot
Active as of 2023-06-29 Computable Name: CHEMEDExtPharmaceuticalAdvice

Copyright/Legal: CC0-1.0

Extension to reference an external Observation and the Pharmaceutical Advice 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

Cannot invoke "org.hl7.fhir.r5.model.ElementDefinition.getSliceName()" because "defn" is null

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionCH EMED Extension
... extension 2..*ExtensionExtension
... extension:id 1..1ExtensionIdentifier of the referenced external Observation
.... extension 0..0
.... url 1..1uri"id"
.... Slices for value[x] 0..1IdentifierValue of extension
Slice: Unordered, Open by type:$this
..... value[x]:valueIdentifier 0..1IdentifierValue of extension
... extension:externalDocumentId 1..1ExtensionIdentifier of the referenced external Pharmaceutical Advice document
.... extension 0..0
.... url 1..1uri"externalDocumentId"
.... Slices for value[x] 0..1IdentifierValue of extension
Slice: Unordered, Open by type:$this
..... value[x]:valueIdentifier 0..1IdentifierValue of extension
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionCH EMED Extension
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:id 1..1ExtensionIdentifier of the referenced external Observation
.... id 0..1stringUnique id for inter-element referencing
.... 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
.... 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-pharmaceuticaladvice"

doco Documentation for this format

This structure is derived from Extension

Cannot invoke "org.hl7.fhir.r5.model.ElementDefinition.getSliceName()" because "defn" is null

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionCH EMED Extension
... extension 2..*ExtensionExtension
... extension:id 1..1ExtensionIdentifier of the referenced external Observation
.... extension 0..0
.... url 1..1uri"id"
.... Slices for value[x] 0..1IdentifierValue of extension
Slice: Unordered, Open by type:$this
..... value[x]:valueIdentifier 0..1IdentifierValue of extension
... extension:externalDocumentId 1..1ExtensionIdentifier of the referenced external Pharmaceutical Advice document
.... extension 0..0
.... url 1..1uri"externalDocumentId"
.... Slices for value[x] 0..1IdentifierValue of extension
Slice: Unordered, Open by type:$this
..... value[x]:valueIdentifier 0..1IdentifierValue of extension
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionCH EMED Extension
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:id 1..1ExtensionIdentifier of the referenced external Observation
.... id 0..1stringUnique id for inter-element referencing
.... 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
.... 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-pharmaceuticaladvice"

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