Union of http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse and http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse

This is the set of resources that conform to either of the profiles DTR Questionnaire Response (http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse) and DTR Questionnaire Response (http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse C0..*SDC Questionnaire Response
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
sdcqr-1: Subject SHOULD be present (searching is difficult without subject). Almost all QuestionnaireResponses should be with respect to some sort of subject.
sdcqr-2: When repeats=true for a group, it'll be represented with multiple items with the same linkId in the QuestionnaireResponse. For a question, it'll be represented by a single item with that linkId with multiple answers.
... 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
... contained 0..*ResourceContained, inline Resources
... extension 3..*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
... identifier SΣ0..1IdentifierUnique id for this set of answers
ele-1: All FHIR elements must have a @value or children
... questionnaire SΣ1..1canonical(SDCBaseQuestionnaire)Form being answered
ele-1: All FHIR elements must have a @value or children
.... 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
.... value 0..1stringPrimitive value for canonical
... status ?!SΣ1..1codein-progress | completed | amended | entered-in-error | stopped
Binding: ?? (required): Lifecycle status of the questionnaire response.


ele-1: All FHIR elements must have a @value or children
... subject SΣ1..1Reference(US Core Patient Profile)The subject of the questions
ele-1: All FHIR elements must have a @value or children
... encounter Σ0..1Reference(Encounter)Encounter created as part of
ele-1: All FHIR elements must have a @value or children
... authored SΣ1..1dateTimeDate the answers were gathered
ele-1: All FHIR elements must have a @value or children
... author SΣ0..1Reference(Device | US Core Patient Profile | US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Organization Profile | RelatedPerson)Person who received and recorded the answers
ele-1: All FHIR elements must have a @value or children
... source Σ0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson)The person who answered the questions
ele-1: All FHIR elements must have a @value or children
... item SC1..*BackboneElementGroups and questions
ele-1: All FHIR elements must have a @value or children
qrs-1: Nested item can't be beneath both item and answer
.... 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..1stringPointer to specific item from 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
.... text S0..1stringName for group or question text
ele-1: All FHIR elements must have a @value or children
.... answer S0..*BackboneElementThe response(s) to the question
ele-1: All FHIR elements must have a @value or children
..... extension 1..*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
..... value[x] S0..1Single-valued answer to the question
Binding: ?? (example): Code indicating the response provided for a question.


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

doco Documentation for this format