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

This is the set of resources that conform to either of the profiles US Core QuestionnaireResponse Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse) and US Core QuestionnaireResponse Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse C0..*US Core Profile based on SDC QuestionnaireResponse
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 SΣ0..1MetaMetadata about the resource
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... versionId Σ0..1idVersion specific identifier
ele-1: All FHIR elements must have a @value or children
.... lastUpdated Σ0..1instantWhen the resource version last changed
ele-1: All FHIR elements must have a @value or children
.... source Σ0..1uriIdentifies where the resource comes from
ele-1: All FHIR elements must have a @value or children
.... profile Σ0..*canonical(StructureDefinition)Profiles this resource claims to conform to
ele-1: All FHIR elements must have a @value or children
.... security Σ0..*CodingSecurity Labels applied to this resource
Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


ele-1: All FHIR elements must have a @value or children
.... tag SΣ0..*CodingTags applied to this resource
Slice: Unordered, Open by pattern:$this
Binding: ?? (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


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
... identifier SΣ0..1IdentifierUnique id for this set of answers
ele-1: All FHIR elements must have a @value or children
... basedOn Σ0..*Reference(CarePlan | ServiceRequest)Request fulfilled by this QuestionnaireResponse
ele-1: All FHIR elements must have a @value or children
... partOf Σ0..*Reference(Observation | Procedure)Part of this action
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 | #sd-us-core-patient-us-core-patient)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(US Core Practitioner Profile S | US Core Organization Profile | US Core Patient Profile | PractitionerRole | Device | US Core RelatedPerson Profile | #sd-us-core-practitioner-us-core-practitioner)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 SC0..*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 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
..... 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 S
...... valueIntegerinteger
...... valueStringstring S
...... valueCodingCoding S
...... 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