DHIS2 Example FHIR Implementation Guide
1.0.0 - ci-build International flag

DHIS2 Example FHIR Implementation Guide, published by DHIS2. This is not an authorized publication; it is the continuous build for version 1.0.0). This version is based on the current content of https://github.com/JohanGHole/alldevs-demo-ig and changes regularly. See the Directory of published versions

Extension: MDAttributeValue

Official URL: https://dhis2.org/StructureDefinition/AttributeValue Version: 1.0.0
Draft as of 2023-09-28 Computable Name: AttributeValue

MDAttributeValue Extension

Context of Use

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

  • Element ID Element

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: MDAttributeValue Extension

  • attribute: Coding: An Extension
  • value: string: An Extension

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionMDAttributeValue
... extension 2..*ExtensionExtension
... extension:attribute S1..1ExtensionMDAttribute UID
.... extension 0..0
.... url 1..1uri"attribute"
.... value[x] 0..1CodingValue of extension
... extension:value S1..1ExtensionMDAttribute Value
.... extension 0..0
.... url 1..1uri"value"
.... value[x] 0..1stringValue of extension
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionMDAttributeValue
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:attribute S1..1ExtensionMDAttribute UID
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"attribute"
.... value[x] 0..1CodingValue of extension
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"value"
.... value[x] 0..1stringValue of extension
... url 1..1uri"https://dhis2.org/StructureDefinition/AttributeValue"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: MDAttributeValue Extension

  • attribute: Coding: An Extension
  • value: string: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionMDAttributeValue
... extension 2..*ExtensionExtension
... extension:attribute S1..1ExtensionMDAttribute UID
.... extension 0..0
.... url 1..1uri"attribute"
.... value[x] 0..1CodingValue of extension
... extension:value S1..1ExtensionMDAttribute Value
.... extension 0..0
.... url 1..1uri"value"
.... value[x] 0..1stringValue of extension
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionMDAttributeValue
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:attribute S1..1ExtensionMDAttribute UID
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"attribute"
.... value[x] 0..1CodingValue of extension
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"value"
.... value[x] 0..1stringValue of extension
... url 1..1uri"https://dhis2.org/StructureDefinition/AttributeValue"

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