Union of http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt-srch and http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt-srch

This is the set of resources that conform to either of the profiles Adaptive Questionnaire - search (http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt-srch) and Adaptive Questionnaire - search (http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt-srch). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire C0..*Adaptive Questionnaire - search
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
que-0: Name should be usable as an identifier for the module by machine processing applications such as code generation
que-2: The link ids for groups and questions must be unique within the questionnaire
... meta Σ0..1MetaMetadata about the resource
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... language 0..1codeLanguage of the resource content
Binding: ?? (preferred): A human language.


ele-1: All FHIR elements must have a @value or children
... text 0..1NarrativeText summary of the resource, for human interpretation
ele-1: All FHIR elements must have a @value or children
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... url SΣ0..1uriCanonical identifier for this questionnaire, represented as a URI (globally unique)
ele-1: All FHIR elements must have a @value or children
... identifier SΣ0..*IdentifierAdditional identifier for the questionnaire
ele-1: All FHIR elements must have a @value or children
... version SΣ0..1stringBusiness version of the questionnaire
ele-1: All FHIR elements must have a @value or children
... name Σ0..1stringName for this questionnaire (computer friendly)
ele-1: All FHIR elements must have a @value or children
... title SΣ1..1stringName for this questionnaire (human friendly)
ele-1: All FHIR elements must have a @value or children
... derivedFrom 0..*canonical(Questionnaire)Instantiates protocol or definition
ele-1: All FHIR elements must have a @value or children
... status ?!SΣ1..1codedraft | active | retired | unknown
Binding: ?? (required): The lifecycle status of an artifact.


ele-1: All FHIR elements must have a @value or children
... experimental SΣ0..1booleanFor testing purposes, not real usage
ele-1: All FHIR elements must have a @value or children
... subjectType SΣ0..*codeResource that can be subject of QuestionnaireResponse
Binding: ?? (required): One of the resource types defined as part of this version of FHIR.


ele-1: All FHIR elements must have a @value or children
... date SΣ1..1dateTimeDate last changed
ele-1: All FHIR elements must have a @value or children
... publisher SΣ0..1stringName of the publisher (organization or individual)
ele-1: All FHIR elements must have a @value or children
... contact Σ0..*ContactDetailContact details for the publisher
ele-1: All FHIR elements must have a @value or children
... description S0..1markdownNatural language description of the questionnaire
ele-1: All FHIR elements must have a @value or children
... useContext SC0..*??Describes the context of use for a conformance or knowledge resource
ele-1: All FHIR elements must have a @value or children
sdc-uc-1: If code is gender, focus, user, venue or species, value must be CodeableConcept. If code is age, value must be Range. If code is workflow, task or program, value must be CodeableConcept or Reference
... jurisdiction Σ0..1CodeableConceptIntended jurisdiction for questionnaire (if applicable)
Binding: ?? (extensible): Countries and regions within which this artifact is targeted for use.


ele-1: All FHIR elements must have a @value or children
... purpose S0..1markdownWhy this questionnaire is defined
ele-1: All FHIR elements must have a @value or children
... copyright S0..1markdownUse and/or publishing restrictions
ele-1: All FHIR elements must have a @value or children
... approvalDate 0..1dateWhen the questionnaire was approved by publisher
ele-1: All FHIR elements must have a @value or children
... lastReviewDate 0..1dateWhen the questionnaire was last reviewed
ele-1: All FHIR elements must have a @value or children
... effectivePeriod Σ0..1PeriodWhen the questionnaire is expected to be used
ele-1: All FHIR elements must have a @value or children
... code SΣ0..1CodingConcept that represents the overall questionnaire
Binding: ?? (example): Codes for questionnaires, groups and individual questions.


ele-1: All FHIR elements must have a @value or children
... item SC0..*BackboneElementQuestions and sections within the Questionnaire
ele-1: All FHIR elements must have a @value or children
que-1: Group items must have nested items, display items cannot have nested items
que-3: Display items cannot have a "code" asserted
que-4: A question cannot have both answerOption and answerValueSet
que-5: Only 'choice' and 'open-choice' items can have answerValueSet
que-6: Required and repeat aren't permitted for display items
que-8: Initial values can't be specified for groups or display items
que-9: Read-only can't be specified for "display" items
que-10: Maximum length can only be declared for simple question types
que-11: If one or more answerOption is present, initial[x] must be missing
que-12: If there are more than one enableWhen, enableBehavior must be specified
que-13: Can only have multiple initial values for repeating items
sdc-1: An item cannot have an answerExpression if answerOption or answerValueSet is already present.
.... extension 0..*ExtensionExtension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... linkId S1..1stringUnique id for item in questionnaire
ele-1: All FHIR elements must have a @value or children
.... definition 0..1uriElementDefinition - details for the item
ele-1: All FHIR elements must have a @value or children
.... code 0..*CodingCorresponding concept for this item in a terminology
Binding: ?? (example): Codes for questionnaires, groups and individual questions.


ele-1: All FHIR elements must have a @value or children
.... prefix S0..1stringE.g. "1(a)", "2.5.3"
ele-1: All FHIR elements must have a @value or children
.... text S0..1stringPrimary text for the item
ele-1: All FHIR elements must have a @value or children
.... type S1..1codegroup | display | boolean | decimal | integer | date | dateTime +
Binding: ?? (required): Distinguishes groups from questions and display text and indicates data type for questions.


ele-1: All FHIR elements must have a @value or children
.... enableWhen ?!C0..*BackboneElementOnly allow data when
ele-1: All FHIR elements must have a @value or children
que-7: If the operator is 'exists', the value must be a boolean
..... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... question 1..1stringQuestion that determines whether item is enabled
ele-1: All FHIR elements must have a @value or children
..... operator 1..1codeexists | = | != | > | < | >= | <=
Binding: ?? (required): The criteria by which a question is enabled.


ele-1: All FHIR elements must have a @value or children
..... answer[x] 1..1Value for question comparison based on operator
Binding: ?? (example): Allowed values to answer questions.


ele-1: All FHIR elements must have a @value or children
...... answerBooleanboolean
...... answerDecimaldecimal
...... answerIntegerinteger
...... answerDatedate
...... answerDateTimedateTime
...... answerTimetime
...... answerStringstring
...... answerCodingCoding
...... answerQuantityQuantity
...... answerReferenceReference(Resource)
.... enableBehavior 0..1codeall | any
Binding: ?? (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true.


ele-1: All FHIR elements must have a @value or children
.... required S0..1booleanWhether the item must be included in data results
ele-1: All FHIR elements must have a @value or children
.... repeats S0..1booleanWhether the item may repeat
ele-1: All FHIR elements must have a @value or children
.... readOnly S0..1booleanDon't allow human editing
ele-1: All FHIR elements must have a @value or children
.... maxLength S0..1integerNo more than this many characters
ele-1: All FHIR elements must have a @value or children
.... answerValueSet S0..1canonical(SDC ValueSet | #sd-sdc-valueset-sdc-valueset)Valueset containing permitted answers
ele-1: All FHIR elements must have a @value or children
.... answerOption S0..*BackboneElementPermitted answer
ele-1: All FHIR elements must have a @value or children
..... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... value[x] S1..1Answer value
Binding: ?? (example): Allowed values to answer questions.


ele-1: All FHIR elements must have a @value or children
...... valueIntegerinteger
...... valueDatedate
...... valueTimetime
...... valueStringstring
...... valueCodingCoding
...... valueReferenceReference(Resource)
..... initialSelected 0..1booleanWhether option is selected by default
ele-1: All FHIR elements must have a @value or children
.... initial S0..*BackboneElementInitial value(s) when item is first rendered
ele-1: All FHIR elements must have a @value or children
..... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... value[x] S1..1Actual value for initializing the question
Binding: ?? (example): Allowed values to answer questions.


ele-1: All FHIR elements must have a @value or children
...... valueBooleanboolean
...... valueDecimaldecimal
...... valueIntegerinteger
...... valueDatedate
...... valueDateTimedateTime
...... valueTimetime
...... valueStringstring
...... valueUriuri
...... valueAttachmentAttachment
...... valueCodingCoding
...... valueQuantityQuantity
...... valueReferenceReference(Resource)
.... item S0..*Nested questionnaire items
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format