Science 37 FHIR Implementation-Guide
1.0.0-S37 - ci-build United States of America flag

Science 37 FHIR Implementation-Guide - Local Development build (v1.0.0-S37). See the Directory of published versions

Extension: Extension : Questionnaire - Device

Official URL: https://science37.github.io/FHIR-FSH-Implementation-Guide/StructureDefinition/device Version: 1.0.0-S37
Active as of 2022-08-01 Computable Name: Device

The intent of device is to be reused between both Questionniare and Questionnaire.item.
A device has details that consist of:
type : The device type (string)
reportField: field used for mapping data from the device report.
Questionnaire utilizes the type field to idenfity the type of device used within the Questionniare.
Questionniare.item utilizes reportField unless Questionnaire contains more then one device then Questionniare.item.device.detail must contain the device type

Context of Use

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

  • Questionnaire

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: 5 elements
Prohibited: 5 elements

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension : Questionnaire - Device
... extension 1..*ExtensionExtension
... extension:type 1..1Extensiondevice type
.... extension 0..0
.... url 1..1uri"type"
.... value[x] 0..1stringValue of extension
... extension:map 0..*Extensionfield mappings list
.... extension:source 0..1Extensionsource field mapping
..... extension 0..0
..... url 1..1uri"source"
..... value[x] 0..1stringValue of extension
.... extension:target 0..1Extensiontarget field mapping
..... extension 0..0
..... url 1..1uri"target"
..... value[x] 0..1stringValue of extension
.... url 1..1uri"map"
.... value[x] 0..0
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension : Questionnaire - Device
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:type 1..1Extensiondevice type
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"type"
.... value[x] 0..1stringValue of extension
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:source 0..1Extensionsource field mapping
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"source"
..... value[x] 0..1stringValue of extension
.... extension:target 0..1Extensiontarget field mapping
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"target"
..... value[x] 0..1stringValue of extension
.... url 1..1uri"map"
... url 1..1uri"https://science37.github.io/FHIR-FSH-Implementation-Guide/StructureDefinition/device"

doco Documentation for this format

This structure is derived from Extension

Summary

Mandatory: 2 elements
Fixed Value: 5 elements
Prohibited: 5 elements

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension : Questionnaire - Device
... extension 1..*ExtensionExtension
... extension:type 1..1Extensiondevice type
.... extension 0..0
.... url 1..1uri"type"
.... value[x] 0..1stringValue of extension
... extension:map 0..*Extensionfield mappings list
.... extension:source 0..1Extensionsource field mapping
..... extension 0..0
..... url 1..1uri"source"
..... value[x] 0..1stringValue of extension
.... extension:target 0..1Extensiontarget field mapping
..... extension 0..0
..... url 1..1uri"target"
..... value[x] 0..1stringValue of extension
.... url 1..1uri"map"
.... value[x] 0..0
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension : Questionnaire - Device
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:type 1..1Extensiondevice type
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"type"
.... value[x] 0..1stringValue of extension
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:source 0..1Extensionsource field mapping
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"source"
..... value[x] 0..1stringValue of extension
.... extension:target 0..1Extensiontarget field mapping
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"target"
..... value[x] 0..1stringValue of extension
.... url 1..1uri"map"
... url 1..1uri"https://science37.github.io/FHIR-FSH-Implementation-Guide/StructureDefinition/device"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Constraints

IdGradePathDetailsRequirements
ele-1errorExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extension:typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.extension:typeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extension:type.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.extension:mapAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.extension:mapMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extension:map.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.extension:map.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extension:map.extension:sourceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.extension:map.extension:sourceMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extension:map.extension:source.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.extension:map.extension:targetAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.extension:map.extension:targetMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extension:map.extension:target.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())