Structured Data Capture
4.0.0 - STU 4 International flag

Structured Data Capture, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 4.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/sdc/ and changes regularly. See the Directory of published versions

Logical Model: SDC Question Library ( Experimental )

Official URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/SdcQuestionLibrary Version: 4.0.0
Standards status: Informative Computable Name: SDCQuestionLibrary
Other Identifiers: OID:2.16.840.1.113883.4.642.40.17.42.75

An example library of questions showing how questions can be compiled into a library for use by modular questionnaires

Usages:

  • This Logical Model is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. SdcQuestionLibrary 0..* Base SDC Logical Question Library
... dob 0..1 date n/a
... sex 0..1 code n/a
Binding: AdministrativeGender (required)
... address 0..1 Element n/a
Constraints: ele-1
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... street 0..1 string n/a
.... city 0..1 string n/a
.... state 0..1 code n/a
Binding: Australian States - example value set (extensible)
.... postalCode C 1..1 string n/a
Constraints: sdc-ex-pcode
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... prefix 0..1 string n/a
.... first 0..1 string n/a
Max Length:100
.... last 0..1 string n/a
Max Length:100

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
SdcQuestionLibrary.sexrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender
From the FHIR Standard
SdcQuestionLibrary.address.stateextensibleAustralianStates
http://hl7.org/fhir/uv/sdc/ValueSet/sdc-question-library-states
From this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1errorSdcQuestionLibrary.address, SdcQuestionLibrary.address.extension, SdcQuestionLibrary.name, SdcQuestionLibrary.name.extensionAll 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()
sdc-ex-pcodeerrorSdcQuestionLibrary.address.postalCodePostal code must be 4 digits
: value.matches('^[0-9]{4}$')

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. SdcQuestionLibrary 0..* Base SDC Logical Question Library
... dob 0..1 date n/a
... sex 0..1 code n/a
Binding: AdministrativeGender (required)
... address 0..1 Element n/a
.... street 0..1 string n/a
.... city 0..1 string n/a
.... state 0..1 code n/a
Binding: Australian States - example value set (extensible)
.... postalCode C 1..1 string n/a
Constraints: sdc-ex-pcode
.... prefix 0..1 string n/a
.... first 0..1 string n/a
Max Length:100
.... last 0..1 string n/a
Max Length:100

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
SdcQuestionLibrary.sexrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender
From the FHIR Standard
SdcQuestionLibrary.address.stateextensibleAustralianStates
http://hl7.org/fhir/uv/sdc/ValueSet/sdc-question-library-states
From this IG

Constraints

IdGradePath(s)DetailsRequirements
sdc-ex-pcodeerrorSdcQuestionLibrary.address.postalCodePostal code must be 4 digits
: value.matches('^[0-9]{4}$')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. SdcQuestionLibrary 0..* Base SDC Logical Question Library
... dob 0..1 date n/a
... sex 0..1 code n/a
Binding: AdministrativeGender (required)
... address 0..1 Element n/a
Constraints: ele-1
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... street 0..1 string n/a
.... city 0..1 string n/a
.... state 0..1 code n/a
Binding: Australian States - example value set (extensible)
.... postalCode C 1..1 string n/a
Constraints: sdc-ex-pcode
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... prefix 0..1 string n/a
.... first 0..1 string n/a
Max Length:100
.... last 0..1 string n/a
Max Length:100

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
SdcQuestionLibrary.sexrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender
From the FHIR Standard
SdcQuestionLibrary.address.stateextensibleAustralianStates
http://hl7.org/fhir/uv/sdc/ValueSet/sdc-question-library-states
From this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1errorSdcQuestionLibrary.address, SdcQuestionLibrary.address.extension, SdcQuestionLibrary.name, SdcQuestionLibrary.name.extensionAll 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()
sdc-ex-pcodeerrorSdcQuestionLibrary.address.postalCodePostal code must be 4 digits
: value.matches('^[0-9]{4}$')

This structure is derived from Base

Summary

Mandatory: 0 element(1 nested mandatory element)

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. SdcQuestionLibrary 0..* Base SDC Logical Question Library
... dob 0..1 date n/a
... sex 0..1 code n/a
Binding: AdministrativeGender (required)
... address 0..1 Element n/a
Constraints: ele-1
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... street 0..1 string n/a
.... city 0..1 string n/a
.... state 0..1 code n/a
Binding: Australian States - example value set (extensible)
.... postalCode C 1..1 string n/a
Constraints: sdc-ex-pcode
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... prefix 0..1 string n/a
.... first 0..1 string n/a
Max Length:100
.... last 0..1 string n/a
Max Length:100

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
SdcQuestionLibrary.sexrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender
From the FHIR Standard
SdcQuestionLibrary.address.stateextensibleAustralianStates
http://hl7.org/fhir/uv/sdc/ValueSet/sdc-question-library-states
From this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1errorSdcQuestionLibrary.address, SdcQuestionLibrary.address.extension, SdcQuestionLibrary.name, SdcQuestionLibrary.name.extensionAll 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()
sdc-ex-pcodeerrorSdcQuestionLibrary.address.postalCodePostal code must be 4 digits
: value.matches('^[0-9]{4}$')

Differential View

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. SdcQuestionLibrary 0..* Base SDC Logical Question Library
... dob 0..1 date n/a
... sex 0..1 code n/a
Binding: AdministrativeGender (required)
... address 0..1 Element n/a
.... street 0..1 string n/a
.... city 0..1 string n/a
.... state 0..1 code n/a
Binding: Australian States - example value set (extensible)
.... postalCode C 1..1 string n/a
Constraints: sdc-ex-pcode
.... prefix 0..1 string n/a
.... first 0..1 string n/a
Max Length:100
.... last 0..1 string n/a
Max Length:100

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
SdcQuestionLibrary.sexrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender
From the FHIR Standard
SdcQuestionLibrary.address.stateextensibleAustralianStates
http://hl7.org/fhir/uv/sdc/ValueSet/sdc-question-library-states
From this IG

Constraints

IdGradePath(s)DetailsRequirements
sdc-ex-pcodeerrorSdcQuestionLibrary.address.postalCodePostal code must be 4 digits
: value.matches('^[0-9]{4}$')

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. SdcQuestionLibrary 0..* Base SDC Logical Question Library
... dob 0..1 date n/a
... sex 0..1 code n/a
Binding: AdministrativeGender (required)
... address 0..1 Element n/a
Constraints: ele-1
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... street 0..1 string n/a
.... city 0..1 string n/a
.... state 0..1 code n/a
Binding: Australian States - example value set (extensible)
.... postalCode C 1..1 string n/a
Constraints: sdc-ex-pcode
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... prefix 0..1 string n/a
.... first 0..1 string n/a
Max Length:100
.... last 0..1 string n/a
Max Length:100

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
SdcQuestionLibrary.sexrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender
From the FHIR Standard
SdcQuestionLibrary.address.stateextensibleAustralianStates
http://hl7.org/fhir/uv/sdc/ValueSet/sdc-question-library-states
From this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1errorSdcQuestionLibrary.address, SdcQuestionLibrary.address.extension, SdcQuestionLibrary.name, SdcQuestionLibrary.name.extensionAll 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()
sdc-ex-pcodeerrorSdcQuestionLibrary.address.postalCodePostal code must be 4 digits
: value.matches('^[0-9]{4}$')

This structure is derived from Base

Summary

Mandatory: 0 element(1 nested mandatory element)

 

Other representations of profile: CSV, Excel