Nictiz FHIR NL R4 Zib2020
0.9.0 - CI Build

Nictiz FHIR NL R4 Zib2020 - Local Development build (v0.9.0). See the Directory of published versions

Extension: ext FreedomRestrictingIntervention.LegallyCapable

Official URL: http://nictiz.nl/fhir/StructureDefinition/ext-FreedomRestrictingIntervention.LegallyCapable Version: 0.9.0
Draft as of 2023-10-17 Computable Name: ExtFreedomRestrictingInterventionLegallyCapable

Copyright/Legal: Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.

An extension to indicate whether the patient is deemed capable of overseeing the consequences of a certain procedure, situation or decision, and to provide a comment on the decisions which the patient is legally capable of making.

This extension represents the LegallyCapable and LegallyCapableComment concepts of the Dutch zib (‘Zorginformatiebouwsteen’, i.e. Health and Care Information Model) FreedomRestrictingIntervention v1.0 (2020).

Context of Use

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

  • Element ID Procedure

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: An extension to indicate whether the patient is deemed capable of overseeing the consequences of a certain procedure, situation or decision, and to provide a comment on the decisions which the patient is legally capable of making.

  • legallyCapable: boolean: An Extension
  • legallyCapableComment: string: An Extension

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension C0..*ExtensionExtension
zib-FreedomRestrictingIntervention-01: If the patient is not legally capable, an explanation must be provided
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:legallyCapable C0..1ExtensionExtension
.... url 1..1uri"legallyCapable"
.... value[x] C0..1booleanLegallyCapable
... extension:legallyCapableComment C0..1ExtensionExtension
.... url 1..1uri"legallyCapableComment"
.... value[x] C0..1stringLegallyCapableComment
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension C0..*ExtensionExtension
zib-FreedomRestrictingIntervention-01: If the patient is not legally capable, an explanation must be provided
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:legallyCapable C0..1ExtensionExtension
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1uri"legallyCapable"
.... value[x] C0..1booleanLegallyCapable
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1uri"legallyCapableComment"
.... value[x] C0..1stringLegallyCapableComment
... url 1..1uri"http://nictiz.nl/fhir/StructureDefinition/ext-FreedomRestrictingIntervention.LegallyCapable"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: An extension to indicate whether the patient is deemed capable of overseeing the consequences of a certain procedure, situation or decision, and to provide a comment on the decisions which the patient is legally capable of making.

  • legallyCapable: boolean: An Extension
  • legallyCapableComment: string: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension C0..*ExtensionExtension
zib-FreedomRestrictingIntervention-01: If the patient is not legally capable, an explanation must be provided
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:legallyCapable C0..1ExtensionExtension
.... url 1..1uri"legallyCapable"
.... value[x] C0..1booleanLegallyCapable
... extension:legallyCapableComment C0..1ExtensionExtension
.... url 1..1uri"legallyCapableComment"
.... value[x] C0..1stringLegallyCapableComment
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension C0..*ExtensionExtension
zib-FreedomRestrictingIntervention-01: If the patient is not legally capable, an explanation must be provided
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:legallyCapable C0..1ExtensionExtension
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1uri"legallyCapable"
.... value[x] C0..1booleanLegallyCapable
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1uri"legallyCapableComment"
.... value[x] C0..1stringLegallyCapableComment
... url 1..1uri"http://nictiz.nl/fhir/StructureDefinition/ext-FreedomRestrictingIntervention.LegallyCapable"

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()
zib-FreedomRestrictingIntervention-01warningExtensionIf the patient is not legally capable, an explanation must be provided
: extension.where(url='legallyCapable').value = false implies extension.where(url='legallyCapableComment').value.exists()