1.0.0 - release

CambioOpenServicesIG - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: QuestionnaireResponsePrehospitalNoteV2

Official URL: https://fhir.cambio.se/StructureDefinition/QuestionnaireResponsePreHospitalNote/v2 Version: 2.0.0
Active as of 2025-10-27 Computable Name: QuestionnaireResponsePrehospitalNoteV2

Introduction

QuestionnaireResponsePrehospitalNote is based on the FHIR resource QuestionnaireResponse.

Intended Use

The QuestionnaireResponsePrehospitalNote profile is implemented to create a pre-hospital discharge summary/final note in COSMIC from an external ambulance system.

The pre-hospital note includes structured keywords as part of a medical record note template, as well as a PDF attachment. The pre-hospital note can also include a triage (ClinicalImpression) and observations (Observation).

Specific Rules and Limitations

Type Description
Limitation Only one pre-hospital note can be created for a contact, if used more than once on the same contact the new note will replace the last one.
Rule The intended users of this API are healthcare professionals.

Statuses

FHIR status Status in COSMIC
Completed Signed

Versions

COS version Profile version Required COSMIC version Date Description
3.0.0 1.0.0 R8.3.05 May 2022 Initial version, support for PUT.

APIs & Supported Operations

HTTP Method Description
PUT Used to create a QuestionnaireResponsePrehospitalNote for a given patient.

Supported Queries

  1. PUT [baseURL]/subscription/Bundle/external-ID (PUT)

Error Codes

In below table, a few error messages specific for QuestionnaireResponse are listed.

Code Description Comment
400 Invalid LinkId:< LinkId > Medication QR item has sub items with unsupported LinkIds. The supported linkIds for medication attributes(QR.item.answer.item.linkId) are defined in the profile.
400 Only one answer is supported for Medication Sub Items Only one answer can be provided for Medication sub items(QR.item.answer.item.answer)
400 Invalid DateTime in the Mediation Validation error in the summary note
400 Invalid DrugName in the Mediation Item Validation error in the summary note
400 Invalid DoseQuantity in the Mediation Item Validation error in the summary note
400 Invalid Dose unit in the Mediation Item Validation error in the summary note
400 Invalid Route in the Mediation Item Validation error in the summary note
400 Multiple URL type answers are not supported Validation error in the summary note. It is possible to include only one URL in the summary note

Usages:

  • CapabilityStatements using this Profile: Cambio Open Services
  • This Profile 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
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... meta Σ 0..1 Meta Metadata about the resource
.... source SΣ 0..1 uri Identifies where the resource comes from
.... profile Σ 1..* canonical(StructureDefinition) Profiles this resource claims to conform to
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... questionnaire Σ 0..1 canonical(Questionnaire) Medical record template
... status ?!Σ 1..1 code completed
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
... subject Σ 1..1 Reference(Patient) The subject of the note
... encounter Σ 1..1 Reference(Encounter) Context of the note
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
... authored Σ 1..1 dateTime Authored date and time
... author Σ 1..1 Reference(Practitioner) Responsible staff in ambulance
.... type Σ 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Practitioner
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:1.2.752.129.2.1.4.1
..... value Σ 1..1 string The value that is unique
Example General: 123456
... Slices for item C 1..* BackboneElement Groups and questions
Slice: Unordered, Open by type:answer.value[x]
Constraints: qrs-1
.... item:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
.... item:medication C 0..* BackboneElement Groups and questions
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 62521000052103
..... answer 1..1 BackboneElement The response(s) to the question
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 1..1 Coding Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: 62521000052103
...... Slices for item 5..* See item (QuestionnaireResponse) Nested groups and questions
Slice: Unordered, Open by value:linkId
....... item:All Slices Content/Rules for all slices
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to specific item from Questionnaire
....... item:dateTime 1..1 BackboneElement Nested groups and questions
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 118575009
........ answer 1..1 BackboneElement The response(s) to the question
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 dateTime Single-valued answer to the question
....... item:drugName 1..1 BackboneElement Nested groups and questions
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 410942007
........ answer 1..1 BackboneElement The response(s) to the question
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... item:value 1..1 BackboneElement Nested groups and questions
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 118555000
........ answer 1..1 BackboneElement The response(s) to the question
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 decimal Single-valued answer to the question
....... item:unit 1..1 BackboneElement Nested groups and questions
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 767525000
........ answer 1..1 BackboneElement The response(s) to the question
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... item:route 1..1 BackboneElement Nested groups and questions
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 410675002
........ answer 1..1 BackboneElement The response(s) to the question
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:otherInformation C 0..* BackboneElement Other information from the patient interaction
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to SNOMED CT code
..... answer 1..1 BackboneElement The response(s) to the question
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:urlToPdf C 1..1 BackboneElement Groups and questions
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to SNOMED CT code
..... answer 1..1 BackboneElement The response(s) to the question
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 1..1 uri Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:resourceReference C 0..* BackboneElement Groups and questions
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to SNOMED CT code
..... answer 1..* BackboneElement The response(s) to the question
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 1..1 Reference(ObservationBPLite | ClinicalImpressionTriage | ObservationBodyTemperatureLite | ObservationHeartRateLite | ObservationRespiratoryRateLite | ObservationAcvpuLite | ObservationOxygenSaturationLite | ObservationAirPassageLite | ObservationClinicalSimple) Single-valued answer to the question

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
QuestionnaireResponse.statusrequiredQuestionnaireResponseStatus
http://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1
From the FHIR Standard
QuestionnaireResponse.encounter.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
QuestionnaireResponse.author.typeextensibleFixed Value: Practitioner
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
QuestionnaireResponse.author.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.value[x]exampleFixed Value: SNOMED-CT Code 62521000052103
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.item:drugName.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.item:unit.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.item:route.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:otherInformation.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:urlToPdf.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorQuestionnaireResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorQuestionnaireResponseIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorQuestionnaireResponseIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorQuestionnaireResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceQuestionnaireResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll 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()
qrs-1errorQuestionnaireResponse.item, QuestionnaireResponse.item:medication, QuestionnaireResponse.item:otherInformation, QuestionnaireResponse.item:urlToPdf, QuestionnaireResponse.item:resourceReferenceNested item can't be beneath both item and answer
: (answer.exists() and item.exists()).not()

This structure is derived from QuestionnaireResponse

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... meta
.... source S 0..1 uri Identifies where the resource comes from
.... profile 1..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security 0..0
.... tag 0..0
... identifier 1..1 Identifier Unique id for this set of answers
... basedOn 0..0
... questionnaire 0..1 canonical(Questionnaire) Medical record template
... status 1..1 code completed
... subject 1..1 Reference(Patient) The subject of the note
... encounter 1..1 Reference(Encounter) Context of the note
.... identifier 1..1 Identifier Logical reference, when literal reference is not known
..... system 1..1 uri The namespace for the identifier value
..... value 1..1 string The value that is unique
... authored 1..1 dateTime Authored date and time
... author 1..1 Reference(Practitioner) Responsible staff in ambulance
.... type 1..1 uri Type the reference refers to (e.g. "Patient")
Fixed Value: Practitioner
.... identifier 1..1 Identifier Logical reference, when literal reference is not known
..... system 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:1.2.752.129.2.1.4.1
..... value 1..1 string The value that is unique
... source 0..0
... Slices for item 1..* BackboneElement Groups and questions
Slice: Unordered, Open by type:answer.value[x]
.... item:medication 0..* BackboneElement Groups and questions
..... linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 62521000052103
..... definition 0..0
..... text 0..0
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 Coding Single-valued answer to the question
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 62521000052103
...... Slices for item 5..* Nested groups and questions
Slice: Unordered, Open by value:linkId
....... item:dateTime 1..1 BackboneElement Nested groups and questions
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 118575009
........ definition 0..0
........ text 0..0
........ answer 1..1 BackboneElement The response(s) to the question
......... value[x] 1..1 dateTime Single-valued answer to the question
......... item 0..0
........ item 0..0
....... item:drugName 1..1 BackboneElement Nested groups and questions
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 410942007
........ definition 0..0
........ text 0..0
........ answer 1..1 BackboneElement The response(s) to the question
......... value[x] 1..1 string Single-valued answer to the question
......... item 0..0
........ item 0..0
....... item:value 1..1 BackboneElement Nested groups and questions
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 118555000
........ definition 0..0
........ text 0..0
........ answer 1..1 BackboneElement The response(s) to the question
......... value[x] 1..1 decimal Single-valued answer to the question
......... item 0..0
........ item 0..0
....... item:unit 1..1 BackboneElement Nested groups and questions
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 767525000
........ definition 0..0
........ text 0..0
........ answer 1..1 BackboneElement The response(s) to the question
......... value[x] 1..1 string Single-valued answer to the question
......... item 0..0
........ item 0..0
....... item:route 1..1 BackboneElement Nested groups and questions
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 410675002
........ definition 0..0
........ text 0..0
........ answer 1..1 BackboneElement The response(s) to the question
......... value[x] 1..1 string Single-valued answer to the question
......... item 0..0
........ item 0..0
..... item 0..0
.... item:otherInformation 0..* BackboneElement Other information from the patient interaction
..... linkId 1..1 string Pointer to SNOMED CT code
..... definition 0..0
..... text 0..0
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 string Single-valued answer to the question
...... item 0..0
..... item 0..0
.... item:urlToPdf 1..1 BackboneElement Groups and questions
..... linkId 1..1 string Pointer to SNOMED CT code
..... definition 0..0
..... text 0..0
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 uri Single-valued answer to the question
...... item 0..0
..... item 0..0
.... item:resourceReference 0..* BackboneElement Groups and questions
..... linkId 1..1 string Pointer to SNOMED CT code
..... definition 0..0
..... text 0..0
..... answer 1..* BackboneElement The response(s) to the question
...... value[x] 1..1 Reference(ObservationBPLite | ClinicalImpressionTriage | ObservationBodyTemperatureLite | ObservationHeartRateLite | ObservationRespiratoryRateLite | ObservationAcvpuLite | ObservationOxygenSaturationLite | ObservationAirPassageLite | ObservationClinicalSimple) Single-valued answer to the question
...... item 0..0
..... item 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source SΣ 0..1 uri Identifies where the resource comes from
.... profile Σ 1..* canonical(StructureDefinition) Profiles this resource claims to conform to
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 1..1 Identifier Unique id for this set of answers
... questionnaire Σ 0..1 canonical(Questionnaire) Medical record template
... status ?!Σ 1..1 code completed
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
... subject Σ 1..1 Reference(Patient) The subject of the note
... encounter Σ 1..1 Reference(Encounter) Context of the note
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... display Σ 0..1 string Text alternative for the resource
... authored Σ 1..1 dateTime Authored date and time
... author Σ 1..1 Reference(Practitioner) Responsible staff in ambulance
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Practitioner
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:1.2.752.129.2.1.4.1
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... display Σ 0..1 string Text alternative for the resource
... Slices for item C 1..* BackboneElement Groups and questions
Slice: Unordered, Open by type:answer.value[x]
Constraints: qrs-1
.... item:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
..... definition 0..1 uri ElementDefinition - details for the item
..... text 0..1 string Name for group or question text
..... answer 0..* BackboneElement The response(s) to the question
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 0..1 Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... valueBoolean boolean
....... valueDecimal decimal
....... valueInteger integer
....... valueDate date
....... valueDateTime dateTime
....... valueTime time
....... valueString string
....... valueUri uri
....... valueAttachment Attachment
....... valueCoding Coding
....... valueQuantity Quantity
....... valueReference Reference(Resource)
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
..... item 0..* See item (QuestionnaireResponse) Nested questionnaire response items
.... item:medication C 0..* BackboneElement Groups and questions
Constraints: qrs-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 62521000052103
..... answer 1..1 BackboneElement The response(s) to the question
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 1..1 Coding Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: 62521000052103
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... Slices for item 5..* See item (QuestionnaireResponse) Nested groups and questions
Slice: Unordered, Open by value:linkId
....... item:All Slices Content/Rules for all slices
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to specific item from Questionnaire
........ definition 0..1 uri ElementDefinition - details for the item
........ text 0..1 string Name for group or question text
........ answer 0..* BackboneElement The response(s) to the question
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 0..1 Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.......... valueBoolean boolean
.......... valueDecimal decimal
.......... valueInteger integer
.......... valueDate date
.......... valueDateTime dateTime
.......... valueTime time
.......... valueString string
.......... valueUri uri
.......... valueAttachment Attachment
.......... valueCoding Coding
.......... valueQuantity Quantity
.......... valueReference Reference(Resource)
......... item 0..* See item (QuestionnaireResponse) Nested groups and questions
........ item 0..* See item (QuestionnaireResponse) Nested questionnaire response items
....... item:dateTime 1..1 BackboneElement Nested groups and questions
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 118575009
........ answer 1..1 BackboneElement The response(s) to the question
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 dateTime Single-valued answer to the question
....... item:drugName 1..1 BackboneElement Nested groups and questions
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 410942007
........ answer 1..1 BackboneElement The response(s) to the question
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... item:value 1..1 BackboneElement Nested groups and questions
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 118555000
........ answer 1..1 BackboneElement The response(s) to the question
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 decimal Single-valued answer to the question
....... item:unit 1..1 BackboneElement Nested groups and questions
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 767525000
........ answer 1..1 BackboneElement The response(s) to the question
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... item:route 1..1 BackboneElement Nested groups and questions
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 410675002
........ answer 1..1 BackboneElement The response(s) to the question
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:otherInformation C 0..* BackboneElement Other information from the patient interaction
Constraints: qrs-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to SNOMED CT code
..... answer 1..1 BackboneElement The response(s) to the question
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:urlToPdf C 1..1 BackboneElement Groups and questions
Constraints: qrs-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to SNOMED CT code
..... answer 1..1 BackboneElement The response(s) to the question
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 1..1 uri Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:resourceReference C 0..* BackboneElement Groups and questions
Constraints: qrs-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to SNOMED CT code
..... answer 1..* BackboneElement The response(s) to the question
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 1..1 Reference(ObservationBPLite | ClinicalImpressionTriage | ObservationBodyTemperatureLite | ObservationHeartRateLite | ObservationRespiratoryRateLite | ObservationAcvpuLite | ObservationOxygenSaturationLite | ObservationAirPassageLite | ObservationClinicalSimple) Single-valued answer to the question

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
QuestionnaireResponse.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
QuestionnaireResponse.statusrequiredQuestionnaireResponseStatus
http://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1
From the FHIR Standard
QuestionnaireResponse.encounter.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
QuestionnaireResponse.encounter.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
QuestionnaireResponse.encounter.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
QuestionnaireResponse.author.typeextensibleFixed Value: Practitioner
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
QuestionnaireResponse.author.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
QuestionnaireResponse.author.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
QuestionnaireResponse.item.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.value[x]exampleFixed Value: SNOMED-CT Code 62521000052103
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.item.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.item:drugName.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.item:unit.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.item:route.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:otherInformation.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:urlToPdf.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorQuestionnaireResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorQuestionnaireResponseIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorQuestionnaireResponseIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorQuestionnaireResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceQuestionnaireResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll 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()
qrs-1errorQuestionnaireResponse.item, QuestionnaireResponse.item:medication, QuestionnaireResponse.item:otherInformation, QuestionnaireResponse.item:urlToPdf, QuestionnaireResponse.item:resourceReferenceNested item can't be beneath both item and answer
: (answer.exists() and item.exists()).not()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... meta Σ 0..1 Meta Metadata about the resource
.... source SΣ 0..1 uri Identifies where the resource comes from
.... profile Σ 1..* canonical(StructureDefinition) Profiles this resource claims to conform to
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... questionnaire Σ 0..1 canonical(Questionnaire) Medical record template
... status ?!Σ 1..1 code completed
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
... subject Σ 1..1 Reference(Patient) The subject of the note
... encounter Σ 1..1 Reference(Encounter) Context of the note
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
... authored Σ 1..1 dateTime Authored date and time
... author Σ 1..1 Reference(Practitioner) Responsible staff in ambulance
.... type Σ 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Practitioner
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:1.2.752.129.2.1.4.1
..... value Σ 1..1 string The value that is unique
Example General: 123456
... Slices for item C 1..* BackboneElement Groups and questions
Slice: Unordered, Open by type:answer.value[x]
Constraints: qrs-1
.... item:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
.... item:medication C 0..* BackboneElement Groups and questions
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 62521000052103
..... answer 1..1 BackboneElement The response(s) to the question
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 1..1 Coding Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: 62521000052103
...... Slices for item 5..* See item (QuestionnaireResponse) Nested groups and questions
Slice: Unordered, Open by value:linkId
....... item:All Slices Content/Rules for all slices
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to specific item from Questionnaire
....... item:dateTime 1..1 BackboneElement Nested groups and questions
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 118575009
........ answer 1..1 BackboneElement The response(s) to the question
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 dateTime Single-valued answer to the question
....... item:drugName 1..1 BackboneElement Nested groups and questions
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 410942007
........ answer 1..1 BackboneElement The response(s) to the question
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... item:value 1..1 BackboneElement Nested groups and questions
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 118555000
........ answer 1..1 BackboneElement The response(s) to the question
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 decimal Single-valued answer to the question
....... item:unit 1..1 BackboneElement Nested groups and questions
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 767525000
........ answer 1..1 BackboneElement The response(s) to the question
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... item:route 1..1 BackboneElement Nested groups and questions
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 410675002
........ answer 1..1 BackboneElement The response(s) to the question
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:otherInformation C 0..* BackboneElement Other information from the patient interaction
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to SNOMED CT code
..... answer 1..1 BackboneElement The response(s) to the question
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:urlToPdf C 1..1 BackboneElement Groups and questions
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to SNOMED CT code
..... answer 1..1 BackboneElement The response(s) to the question
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 1..1 uri Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:resourceReference C 0..* BackboneElement Groups and questions
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to SNOMED CT code
..... answer 1..* BackboneElement The response(s) to the question
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 1..1 Reference(ObservationBPLite | ClinicalImpressionTriage | ObservationBodyTemperatureLite | ObservationHeartRateLite | ObservationRespiratoryRateLite | ObservationAcvpuLite | ObservationOxygenSaturationLite | ObservationAirPassageLite | ObservationClinicalSimple) Single-valued answer to the question

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
QuestionnaireResponse.statusrequiredQuestionnaireResponseStatus
http://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1
From the FHIR Standard
QuestionnaireResponse.encounter.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
QuestionnaireResponse.author.typeextensibleFixed Value: Practitioner
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
QuestionnaireResponse.author.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.value[x]exampleFixed Value: SNOMED-CT Code 62521000052103
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.item:drugName.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.item:unit.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.item:route.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:otherInformation.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:urlToPdf.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorQuestionnaireResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorQuestionnaireResponseIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorQuestionnaireResponseIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorQuestionnaireResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceQuestionnaireResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll 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()
qrs-1errorQuestionnaireResponse.item, QuestionnaireResponse.item:medication, QuestionnaireResponse.item:otherInformation, QuestionnaireResponse.item:urlToPdf, QuestionnaireResponse.item:resourceReferenceNested item can't be beneath both item and answer
: (answer.exists() and item.exists()).not()

Differential View

This structure is derived from QuestionnaireResponse

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... meta
.... source S 0..1 uri Identifies where the resource comes from
.... profile 1..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security 0..0
.... tag 0..0
... identifier 1..1 Identifier Unique id for this set of answers
... basedOn 0..0
... questionnaire 0..1 canonical(Questionnaire) Medical record template
... status 1..1 code completed
... subject 1..1 Reference(Patient) The subject of the note
... encounter 1..1 Reference(Encounter) Context of the note
.... identifier 1..1 Identifier Logical reference, when literal reference is not known
..... system 1..1 uri The namespace for the identifier value
..... value 1..1 string The value that is unique
... authored 1..1 dateTime Authored date and time
... author 1..1 Reference(Practitioner) Responsible staff in ambulance
.... type 1..1 uri Type the reference refers to (e.g. "Patient")
Fixed Value: Practitioner
.... identifier 1..1 Identifier Logical reference, when literal reference is not known
..... system 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:1.2.752.129.2.1.4.1
..... value 1..1 string The value that is unique
... source 0..0
... Slices for item 1..* BackboneElement Groups and questions
Slice: Unordered, Open by type:answer.value[x]
.... item:medication 0..* BackboneElement Groups and questions
..... linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 62521000052103
..... definition 0..0
..... text 0..0
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 Coding Single-valued answer to the question
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 62521000052103
...... Slices for item 5..* Nested groups and questions
Slice: Unordered, Open by value:linkId
....... item:dateTime 1..1 BackboneElement Nested groups and questions
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 118575009
........ definition 0..0
........ text 0..0
........ answer 1..1 BackboneElement The response(s) to the question
......... value[x] 1..1 dateTime Single-valued answer to the question
......... item 0..0
........ item 0..0
....... item:drugName 1..1 BackboneElement Nested groups and questions
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 410942007
........ definition 0..0
........ text 0..0
........ answer 1..1 BackboneElement The response(s) to the question
......... value[x] 1..1 string Single-valued answer to the question
......... item 0..0
........ item 0..0
....... item:value 1..1 BackboneElement Nested groups and questions
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 118555000
........ definition 0..0
........ text 0..0
........ answer 1..1 BackboneElement The response(s) to the question
......... value[x] 1..1 decimal Single-valued answer to the question
......... item 0..0
........ item 0..0
....... item:unit 1..1 BackboneElement Nested groups and questions
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 767525000
........ definition 0..0
........ text 0..0
........ answer 1..1 BackboneElement The response(s) to the question
......... value[x] 1..1 string Single-valued answer to the question
......... item 0..0
........ item 0..0
....... item:route 1..1 BackboneElement Nested groups and questions
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 410675002
........ definition 0..0
........ text 0..0
........ answer 1..1 BackboneElement The response(s) to the question
......... value[x] 1..1 string Single-valued answer to the question
......... item 0..0
........ item 0..0
..... item 0..0
.... item:otherInformation 0..* BackboneElement Other information from the patient interaction
..... linkId 1..1 string Pointer to SNOMED CT code
..... definition 0..0
..... text 0..0
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 string Single-valued answer to the question
...... item 0..0
..... item 0..0
.... item:urlToPdf 1..1 BackboneElement Groups and questions
..... linkId 1..1 string Pointer to SNOMED CT code
..... definition 0..0
..... text 0..0
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 uri Single-valued answer to the question
...... item 0..0
..... item 0..0
.... item:resourceReference 0..* BackboneElement Groups and questions
..... linkId 1..1 string Pointer to SNOMED CT code
..... definition 0..0
..... text 0..0
..... answer 1..* BackboneElement The response(s) to the question
...... value[x] 1..1 Reference(ObservationBPLite | ClinicalImpressionTriage | ObservationBodyTemperatureLite | ObservationHeartRateLite | ObservationRespiratoryRateLite | ObservationAcvpuLite | ObservationOxygenSaturationLite | ObservationAirPassageLite | ObservationClinicalSimple) Single-valued answer to the question
...... item 0..0
..... item 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source SΣ 0..1 uri Identifies where the resource comes from
.... profile Σ 1..* canonical(StructureDefinition) Profiles this resource claims to conform to
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 1..1 Identifier Unique id for this set of answers
... questionnaire Σ 0..1 canonical(Questionnaire) Medical record template
... status ?!Σ 1..1 code completed
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
... subject Σ 1..1 Reference(Patient) The subject of the note
... encounter Σ 1..1 Reference(Encounter) Context of the note
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... display Σ 0..1 string Text alternative for the resource
... authored Σ 1..1 dateTime Authored date and time
... author Σ 1..1 Reference(Practitioner) Responsible staff in ambulance
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Practitioner
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:1.2.752.129.2.1.4.1
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... display Σ 0..1 string Text alternative for the resource
... Slices for item C 1..* BackboneElement Groups and questions
Slice: Unordered, Open by type:answer.value[x]
Constraints: qrs-1
.... item:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
..... definition 0..1 uri ElementDefinition - details for the item
..... text 0..1 string Name for group or question text
..... answer 0..* BackboneElement The response(s) to the question
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 0..1 Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... valueBoolean boolean
....... valueDecimal decimal
....... valueInteger integer
....... valueDate date
....... valueDateTime dateTime
....... valueTime time
....... valueString string
....... valueUri uri
....... valueAttachment Attachment
....... valueCoding Coding
....... valueQuantity Quantity
....... valueReference Reference(Resource)
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
..... item 0..* See item (QuestionnaireResponse) Nested questionnaire response items
.... item:medication C 0..* BackboneElement Groups and questions
Constraints: qrs-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 62521000052103
..... answer 1..1 BackboneElement The response(s) to the question
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 1..1 Coding Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: 62521000052103
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... Slices for item 5..* See item (QuestionnaireResponse) Nested groups and questions
Slice: Unordered, Open by value:linkId
....... item:All Slices Content/Rules for all slices
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to specific item from Questionnaire
........ definition 0..1 uri ElementDefinition - details for the item
........ text 0..1 string Name for group or question text
........ answer 0..* BackboneElement The response(s) to the question
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 0..1 Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.......... valueBoolean boolean
.......... valueDecimal decimal
.......... valueInteger integer
.......... valueDate date
.......... valueDateTime dateTime
.......... valueTime time
.......... valueString string
.......... valueUri uri
.......... valueAttachment Attachment
.......... valueCoding Coding
.......... valueQuantity Quantity
.......... valueReference Reference(Resource)
......... item 0..* See item (QuestionnaireResponse) Nested groups and questions
........ item 0..* See item (QuestionnaireResponse) Nested questionnaire response items
....... item:dateTime 1..1 BackboneElement Nested groups and questions
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 118575009
........ answer 1..1 BackboneElement The response(s) to the question
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 dateTime Single-valued answer to the question
....... item:drugName 1..1 BackboneElement Nested groups and questions
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 410942007
........ answer 1..1 BackboneElement The response(s) to the question
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... item:value 1..1 BackboneElement Nested groups and questions
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 118555000
........ answer 1..1 BackboneElement The response(s) to the question
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 decimal Single-valued answer to the question
....... item:unit 1..1 BackboneElement Nested groups and questions
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 767525000
........ answer 1..1 BackboneElement The response(s) to the question
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... item:route 1..1 BackboneElement Nested groups and questions
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ linkId 1..1 string Pointer to SNOMED CT code
Fixed Value: 410675002
........ answer 1..1 BackboneElement The response(s) to the question
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..* Extension Additional content defined by implementations
......... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
......... value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:otherInformation C 0..* BackboneElement Other information from the patient interaction
Constraints: qrs-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to SNOMED CT code
..... answer 1..1 BackboneElement The response(s) to the question
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:urlToPdf C 1..1 BackboneElement Groups and questions
Constraints: qrs-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to SNOMED CT code
..... answer 1..1 BackboneElement The response(s) to the question
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 1..1 uri Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:resourceReference C 0..* BackboneElement Groups and questions
Constraints: qrs-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to SNOMED CT code
..... answer 1..* BackboneElement The response(s) to the question
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] 1..1 Reference(ObservationBPLite | ClinicalImpressionTriage | ObservationBodyTemperatureLite | ObservationHeartRateLite | ObservationRespiratoryRateLite | ObservationAcvpuLite | ObservationOxygenSaturationLite | ObservationAirPassageLite | ObservationClinicalSimple) Single-valued answer to the question

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
QuestionnaireResponse.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
QuestionnaireResponse.statusrequiredQuestionnaireResponseStatus
http://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1
From the FHIR Standard
QuestionnaireResponse.encounter.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
QuestionnaireResponse.encounter.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
QuestionnaireResponse.encounter.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
QuestionnaireResponse.author.typeextensibleFixed Value: Practitioner
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
QuestionnaireResponse.author.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
QuestionnaireResponse.author.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
QuestionnaireResponse.item.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.value[x]exampleFixed Value: SNOMED-CT Code 62521000052103
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.item.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.item:drugName.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.item:unit.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:medication.answer.item:route.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:otherInformation.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard
QuestionnaireResponse.item:urlToPdf.answer.value[x]exampleQuestionnaireAnswerCodes(a valid code from SNOMED CT)
http://hl7.org/fhir/ValueSet/questionnaire-answers
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorQuestionnaireResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorQuestionnaireResponseIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorQuestionnaireResponseIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorQuestionnaireResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceQuestionnaireResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll 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()
qrs-1errorQuestionnaireResponse.item, QuestionnaireResponse.item:medication, QuestionnaireResponse.item:otherInformation, QuestionnaireResponse.item:urlToPdf, QuestionnaireResponse.item:resourceReferenceNested item can't be beneath both item and answer
: (answer.exists() and item.exists()).not()

 

Other representations of profile: CSV, Excel, Schematron