CH ALIS (R4)
0.3.0 - CI build Switzerland flag

CH ALIS (R4), published by ALIS-Connect. This guide is not an authorized publication; it is the continuous build for version 0.3.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/ahdis/ch-alis/ and changes regularly. See the Directory of published versions

Extension: CH ALIS Extension Termination

Official URL: http://fhir.ch/ig/ch-alis/StructureDefinition/ch-alis-ext-termination Version: 0.3.0
Draft as of 2020-11-26 Computable Name: ChAlisExtensionTermination

Copyright/Legal: not-open-source

This extension describes the TerminationVisit and TerminationReason.

Context of Use

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

  • Element ID Encounter

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: This extension describes the TerminationVisit and TerminationReason.

  • TerminationVisit: date: An Extension
  • TerminationReason: string: An Extension

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension CH ALIS Extension Termination
... Slices for extension Content/Rules for all slices
.... extension:TerminationVisit 0..1 Extension TerminationVisit
..... extension 0..0
..... url 1..1 uri "TerminationVisit"
..... Slices for value[x] 1..1 date Value of extension
Slice: Unordered, Open by type:$this
...... value[x]:valueDate 1..1 date TerminationVisit
.... extension:TerminationReason 0..1 Extension TerminationReason
..... extension 0..0
..... url 1..1 uri "TerminationReason"
..... Slices for value[x] 1..1 string Value of extension
Slice: Unordered, Open by type:$this
...... value[x]:valueString 1..1 string TerminationReason
... url 1..1 uri "http://fhir.ch/ig/ch-alis/StructureDefinition/ch-alis-ext-termination"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension CH ALIS Extension Termination
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:TerminationVisit 0..1 Extension TerminationVisit
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "TerminationVisit"
..... Slices for value[x] 1..1 date Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueDate 1..1 date TerminationVisit
.... extension:TerminationReason 0..1 Extension TerminationReason
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "TerminationReason"
..... Slices for value[x] 1..1 string Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueString 1..1 string TerminationReason
... url 1..1 uri "http://fhir.ch/ig/ch-alis/StructureDefinition/ch-alis-ext-termination"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: This extension describes the TerminationVisit and TerminationReason.

  • TerminationVisit: date: An Extension
  • TerminationReason: string: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension CH ALIS Extension Termination
... Slices for extension Content/Rules for all slices
.... extension:TerminationVisit 0..1 Extension TerminationVisit
..... extension 0..0
..... url 1..1 uri "TerminationVisit"
..... Slices for value[x] 1..1 date Value of extension
Slice: Unordered, Open by type:$this
...... value[x]:valueDate 1..1 date TerminationVisit
.... extension:TerminationReason 0..1 Extension TerminationReason
..... extension 0..0
..... url 1..1 uri "TerminationReason"
..... Slices for value[x] 1..1 string Value of extension
Slice: Unordered, Open by type:$this
...... value[x]:valueString 1..1 string TerminationReason
... url 1..1 uri "http://fhir.ch/ig/ch-alis/StructureDefinition/ch-alis-ext-termination"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension CH ALIS Extension Termination
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:TerminationVisit 0..1 Extension TerminationVisit
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "TerminationVisit"
..... Slices for value[x] 1..1 date Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueDate 1..1 date TerminationVisit
.... extension:TerminationReason 0..1 Extension TerminationReason
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "TerminationReason"
..... Slices for value[x] 1..1 string Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueString 1..1 string TerminationReason
... url 1..1 uri "http://fhir.ch/ig/ch-alis/StructureDefinition/ch-alis-ext-termination"

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