Union of http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse and http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse

This is the set of resources that conform to either of the profiles ehealth-questionnaireresponse (http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse) and ehealth-questionnaireresponse (http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse 0..*A structured set of questions and their answers
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
... 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 2..*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 Σ0..1IdentifierUnique id for this set of answers
ele-1: All FHIR elements must have a @value or children
... basedOn Σ1..1Reference(ehealth-servicerequest | #sd-ehealth-servicerequest-ehealth-servicerequest) {r}Request fulfilled by this QuestionnaireResponse
ele-1: All FHIR elements must have a @value or children
... partOf Σ0..1Reference(ehealth-observation | Procedure | #sd-ehealth-observation-ehealth-observation) {r}Part of this action
ele-1: All FHIR elements must have a @value or children
... questionnaire Σ1..1canonical(ehealth-questionnaire | #sd-ehealth-questionnaire-ehealth-questionnaire) {r}Form being answered
ele-1: All FHIR elements must have a @value or children
... status ?!Σ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 Σ1..1Reference(Resource)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 Σ1..1dateTimeDate the answers were gathered
ele-1: All FHIR elements must have a @value or children
... author Σ0..1Reference(ehealth-device | ehealth-practitioner | ehealth-patient | ehealth-relatedperson | #sd-ehealth-device-ehealth-device) {r}Person who received and recorded the answers
ele-1: All FHIR elements must have a @value or children
... source Σ1..1Reference(ehealth-patient | ehealth-practitioner | ehealth-relatedperson | #sd-ehealth-patient-ehealth-patient) {r}The person who answered the questions
ele-1: All FHIR elements must have a @value or children
... item C0..*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..*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
.... linkId 1..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 0..1stringName for group or question text
ele-1: All FHIR elements must have a @value or children
.... answer 0..*BackboneElementThe response(s) to the question
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] 0..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
...... valueDecimaldecimal
...... valueIntegerinteger
...... valueDatedate
...... valueDateTimedateTime
...... valueTimetime
...... valueStringstring
...... valueUriuri
...... valueAttachmentAttachment
...... valueCodingCoding
...... valueQuantityQuantity
...... valueReferenceReference(Resource)
..... item 0..*Nested groups and questions
ele-1: All FHIR elements must have a @value or children
.... item 0..*Nested questionnaire response items
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format