Response to Regulatory Questions (RTQ)
0.1.0 - ci-build

Response to Regulatory Questions (RTQ), published by HL7 International. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/rtq-ig/ and changes regularly. See the Directory of published versions

Resource Profile: Questionnaire Response ( Experimental )

Official URL: http://hl7.org/fhir/uv/rtq/StructureDefinition/rtq-questionnaireresponse Version: 0.1.0
Draft as of 2025-11-21 Computable Name: RTQQuestionnaireResponse

Profile for a Response to Questions submitted to a regulator from a market authorization holder/applicant during the regulated product application lifecycle.

Usages:

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 RTQ QuestionnaireResponse for regulatory applications
... meta SΣ 1..1 Meta Metadata (required)
.... versionId SΣ 1..1 id Version ID
.... lastUpdated SΣ 1..1 instant Last updated timestamp
.... profile SΣ 1..* canonical(StructureDefinition) Conformance to RTQ profile

Fixed Value: http://hl7.org/fhir/uv/rtq/StructureDefinition/rtq-questionnaireresponse
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for identifier SΣ 1..1 Identifier Business identifier(s)
Slice: Unordered, Open by value:type.coding.code
.... identifier:company SΣ 1..1 Identifier Company-assigned identifier
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... identifier:regulator SΣ 1..1 Identifier Regulator-assigned identifier
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
... questionnaire Σ 1..1 canonical(Questionnaire) Canonical URL of Questionnaire being answered
... status ?!Σ 1..1 code in-progress | completed | amended | entered-in-error | stopped
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
... author SΣ 1..1 Reference() Regulatory Authority contact details
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
... source SΣ 1..1 Reference() Submitting company (contained)
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
... item C 0..* BackboneElement Groups and questions
Constraints: qrs-1, qrs-2
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... linkId SC 1..1 string Question link ID
.... text 0..1 string Name for group or question text
..... Slices for extension Content/Rules for all slices
...... extension:rendering-xhtml S 0..1 string Rich text question
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
.... answer C 0..* BackboneElement The response(s) to the question
..... Slices for extension Content/Rules for all slices
...... extension:rendering-xhtml S 0..1 string Rich text answer
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... Slices for value[x] SC 1..1 Single-valued answer to the question
Slice: Unordered, Open by type:$this
Binding: QuestionnaireAnswerCodes (example): Binding this is problematic because one value set can't apply to both codes and quantities.
...... valueBoolean boolean
...... valueDecimal decimal
...... valueInteger integer
...... valueDate date
...... valueDateTime dateTime
...... valueTime time
...... valueString string
...... valueUri uri
...... valueAttachment Attachment
...... valueCoding Coding
...... valueQuantity Quantity(SimpleQuantity)
...... valueReference Reference(Resource)
...... value[x]:valueReference SC 1..1 Reference(http://hl7.org/fhir/uv/apix/StructureDefinition/apix-documentreference) Reference to supporting document

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​identifier:company.use Base required IdentifierUse 📍5.0.0 FHIR Std.
QuestionnaireResponse.​identifier:regulator.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
QuestionnaireResponse.​status Base required Questionnaire Response Status 📍5.0.0 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error QuestionnaireResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error QuestionnaireResponse 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 contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error QuestionnaireResponse If 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-5 error QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice QuestionnaireResponse A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
qrs-1 error QuestionnaireResponse.item Item cannot contain both item and answer (answer.exists() and item.exists()).not()
qrs-2 error QuestionnaireResponse.item Repeated answers are combined in the answers array of a single item repeat(answer|item).select(item.where(answer.value.exists()).linkId.isDistinct()).allTrue()

This structure is derived from QuestionnaireResponse

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse RTQ QuestionnaireResponse for regulatory applications
... meta S 1..1 Meta Metadata (required)
.... versionId S 1..1 id Version ID
.... lastUpdated S 1..1 instant Last updated timestamp
.... profile S 1..* canonical(StructureDefinition) Conformance to RTQ profile
Fixed Value: http://hl7.org/fhir/uv/rtq/StructureDefinition/rtq-questionnaireresponse
... Slices for identifier S 1..1 Identifier Business identifier(s)
Slice: Unordered, Open by value:type.coding.code
.... identifier:company S 1..1 Identifier Company-assigned identifier
..... type
...... coding 1..1 Coding Company identifier type
Fixed Value: As shown
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/rtq/CodeSystem/rtq-identifier-type
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: company
....... display 1..1 string Representation defined by the system
Fixed Value: Company Identifier
.... identifier:regulator S 1..1 Identifier Regulator-assigned identifier
..... type
...... coding 1..1 Coding Regulator identifier type
Fixed Value: As shown
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/rtq/CodeSystem/rtq-identifier-type
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: regulator
....... display 1..1 string Representation defined by the system
Fixed Value: Regulatory Authority Identifier
... author S 1..1 Reference() Regulatory Authority contact details
.... contained S Organization Contained regulatory authority
..... identifier S 1..1 Identifier of the Regulatory authority
..... name S 1..1 Regulatory authority name
..... address S Authority address
...... text S Full address
...... line S Street address
...... city S City
...... district S District
...... state S State/Province
...... postalCode S Postal code
...... country S Two-letter country code
..... contact
...... Slices for telecom S 1..1 Authority contact for this questionnaire response
Slice: Unordered, Open by value:system
....... telecom:email S 1..1 Email address
........ system 1..1 Contact type = email
Fixed Value: email
........ value S 1..1 Email address value
....... telecom:phone S 1..1 Phone number
........ system 1..1 Contact type = phone
Fixed Value: phone
........ value S 1..1 Phone number value
.... contained S Organization Contained submitting company
..... identifier S 1..1 Identifier of the Company
..... name S 1..1 Company legal name
..... address S Company address
...... text S Full address (formatted)
...... line S Street address
...... city S City
...... district S District
...... state S State/Province
...... postalCode S Postal code
...... country S Two-letter country code
..... contact
...... Slices for telecom S 1..1 Company contact points
Slice: Unordered, Open by value:system
....... telecom:email S 1..1 Company email
........ system 1..1 Contact type = email
Fixed Value: email
........ value S 1..1 Email address
....... telecom:phone S Company phone
........ system 1..1 Contact type = phone
Fixed Value: phone
........ value S 1..1 Phone number
... item
.... linkId S 1..1 string Question link ID
.... text
..... Slices for extension Content/Rules for all slices
...... extension:rendering-xhtml S 0..1 string Rich text question
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
.... answer
..... Slices for extension Content/Rules for all slices
...... extension:rendering-xhtml S 0..1 string Rich text answer
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
..... Slices for value[x] S 1..1 boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, SimpleQuantity(5.0.0), Reference(Resource) Single-valued answer to the question
Slice: Unordered, Open by type:$this
...... value[x]:valueReference S 1..1 Reference(http://hl7.org/fhir/uv/apix/StructureDefinition/apix-documentreference) Reference to supporting document

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse RTQ QuestionnaireResponse for regulatory applications
... id Σ 0..1 id Logical id of this artifact
... meta SΣ 1..1 Meta Metadata (required)
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId SΣ 1..1 id Version ID
.... lastUpdated SΣ 1..1 instant Last updated timestamp
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile SΣ 1..* canonical(StructureDefinition) Conformance to RTQ profile

Fixed Value: http://hl7.org/fhir/uv/rtq/StructureDefinition/rtq-questionnaireresponse
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... 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
... Slices for identifier SΣ 1..1 Identifier Business identifier(s)
Slice: Unordered, Open by value:type.coding.code
.... identifier:company SΣ 1..1 Identifier Company-assigned identifier
..... id 0..1 id 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..1 Coding Company identifier type

Fixed Value: As shown
....... id 0..0 string Unique id for inter-element referencing
....... extension 0..0 Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/rtq/CodeSystem/rtq-identifier-type
....... version 0..0 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: company
....... display 1..1 string Representation defined by the system
Fixed Value: Company Identifier
....... userSelected 0..0 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 0..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)
.... identifier:regulator SΣ 1..1 Identifier Regulator-assigned identifier
..... id 0..1 id 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..1 Coding Regulator identifier type

Fixed Value: As shown
....... id 0..0 string Unique id for inter-element referencing
....... extension 0..0 Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/rtq/CodeSystem/rtq-identifier-type
....... version 0..0 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: regulator
....... display 1..1 string Representation defined by the system
Fixed Value: Regulatory Authority Identifier
....... userSelected 0..0 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 0..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)
... basedOn Σ 0..* Reference(CarePlan | ServiceRequest) Request fulfilled by this QuestionnaireResponse
... partOf Σ 0..* Reference(Observation | Procedure) Part of referenced event
... questionnaire Σ 1..1 canonical(Questionnaire) Canonical URL of Questionnaire being answered
... status ?!Σ 1..1 code in-progress | completed | amended | entered-in-error | stopped
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
... subject Σ 0..1 Reference(Resource) The subject of the questions
... encounter Σ 0..1 Reference(Encounter) Encounter the questionnaire response is part of
... authored Σ 0..1 dateTime Date the answers were gathered
... author SΣ 1..1 Reference() Regulatory Authority contact details
.... id 0..1 id 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") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... source SΣ 1..1 Reference() Submitting company (contained)
.... id 0..1 id 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") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... item C 0..* BackboneElement Groups and questions
Constraints: qrs-1, qrs-2
.... 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 SC 1..1 string Question link ID
.... definition 0..1 uri ElementDefinition - details for the item
.... text 0..1 string Name for group or question text
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:rendering-xhtml S 0..1 string Rich text question
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
..... value 0..1 string Primitive value for string
Max Length:1048576
.... answer C 0..* BackboneElement The response(s) to the question
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:rendering-xhtml S 0..1 string Rich text answer
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... Slices for value[x] SC 1..1 Single-valued answer to the question
Slice: Unordered, Open by type:$this
Binding: QuestionnaireAnswerCodes (example): Binding this is problematic because one value set can't apply to both codes and quantities.
...... valueBoolean boolean
...... valueDecimal decimal
...... valueInteger integer
...... valueDate date
...... valueDateTime dateTime
...... valueTime time
...... valueString string
...... valueUri uri
...... valueAttachment Attachment
...... valueCoding Coding
...... valueQuantity Quantity(SimpleQuantity)
...... valueReference Reference(Resource)
...... value[x]:valueReference SC 1..1 Reference(http://hl7.org/fhir/uv/apix/StructureDefinition/apix-documentreference) Reference to supporting document
..... item 0..* See item (QuestionnaireResponse) Child items of question
.... item 0..* See item (QuestionnaireResponse) Child items of group item

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​meta.security Base extensible All Security Labels 📍5.0.0 FHIR Std.
QuestionnaireResponse.​meta.tag Base example Common Tags 📍5.0.0 FHIR Std.
QuestionnaireResponse.​language Base required All Languages 📍5.0.0 FHIR Std.
QuestionnaireResponse.​identifier:company.use Base required IdentifierUse 📍5.0.0 FHIR Std.
QuestionnaireResponse.​identifier:company.type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
QuestionnaireResponse.​identifier:regulator.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
QuestionnaireResponse.​identifier:regulator.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
QuestionnaireResponse.​status Base required Questionnaire Response Status 📍5.0.0 FHIR Std.
QuestionnaireResponse.​author.type Base extensible Resource Types 📍5.0.0 FHIR Std.
QuestionnaireResponse.​source.type Base extensible Resource Types 📍5.0.0 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error QuestionnaireResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error QuestionnaireResponse 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 contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error QuestionnaireResponse If 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-5 error QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice QuestionnaireResponse A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
qrs-1 error QuestionnaireResponse.item Item cannot contain both item and answer (answer.exists() and item.exists()).not()
qrs-2 error QuestionnaireResponse.item Repeated answers are combined in the answers array of a single item repeat(answer|item).select(item.where(answer.value.exists()).linkId.isDistinct()).allTrue()

This structure is derived from QuestionnaireResponse

Summary

Mandatory: 9 elements(20 nested mandatory elements)
Must-Support: 46 elements
Fixed: 7 elements

Structures

This structure refers to these other structures:

  • Unable to summarise profile http://hl7.org/fhir/uv/apix/StructureDefinition/apix-documentreference (no profile found)

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of QuestionnaireResponse.identifier
  • The element 1 is sliced based on the value of QuestionnaireResponse.author.contained.contact.telecom
  • The element 1 is sliced based on the value of QuestionnaireResponse.source.contained.contact.telecom
  • The element 1 is sliced based on the value of QuestionnaireResponse.item.answer.value[x]

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse RTQ QuestionnaireResponse for regulatory applications
... meta SΣ 1..1 Meta Metadata (required)
.... versionId SΣ 1..1 id Version ID
.... lastUpdated SΣ 1..1 instant Last updated timestamp
.... profile SΣ 1..* canonical(StructureDefinition) Conformance to RTQ profile

Fixed Value: http://hl7.org/fhir/uv/rtq/StructureDefinition/rtq-questionnaireresponse
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for identifier SΣ 1..1 Identifier Business identifier(s)
Slice: Unordered, Open by value:type.coding.code
.... identifier:company SΣ 1..1 Identifier Company-assigned identifier
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... identifier:regulator SΣ 1..1 Identifier Regulator-assigned identifier
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
... questionnaire Σ 1..1 canonical(Questionnaire) Canonical URL of Questionnaire being answered
... status ?!Σ 1..1 code in-progress | completed | amended | entered-in-error | stopped
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
... author SΣ 1..1 Reference() Regulatory Authority contact details
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
... source SΣ 1..1 Reference() Submitting company (contained)
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
... item C 0..* BackboneElement Groups and questions
Constraints: qrs-1, qrs-2
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... linkId SC 1..1 string Question link ID
.... text 0..1 string Name for group or question text
..... Slices for extension Content/Rules for all slices
...... extension:rendering-xhtml S 0..1 string Rich text question
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
.... answer C 0..* BackboneElement The response(s) to the question
..... Slices for extension Content/Rules for all slices
...... extension:rendering-xhtml S 0..1 string Rich text answer
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... Slices for value[x] SC 1..1 Single-valued answer to the question
Slice: Unordered, Open by type:$this
Binding: QuestionnaireAnswerCodes (example): Binding this is problematic because one value set can't apply to both codes and quantities.
...... valueBoolean boolean
...... valueDecimal decimal
...... valueInteger integer
...... valueDate date
...... valueDateTime dateTime
...... valueTime time
...... valueString string
...... valueUri uri
...... valueAttachment Attachment
...... valueCoding Coding
...... valueQuantity Quantity(SimpleQuantity)
...... valueReference Reference(Resource)
...... value[x]:valueReference SC 1..1 Reference(http://hl7.org/fhir/uv/apix/StructureDefinition/apix-documentreference) Reference to supporting document

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​identifier:company.use Base required IdentifierUse 📍5.0.0 FHIR Std.
QuestionnaireResponse.​identifier:regulator.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
QuestionnaireResponse.​status Base required Questionnaire Response Status 📍5.0.0 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error QuestionnaireResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error QuestionnaireResponse 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 contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error QuestionnaireResponse If 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-5 error QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice QuestionnaireResponse A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
qrs-1 error QuestionnaireResponse.item Item cannot contain both item and answer (answer.exists() and item.exists()).not()
qrs-2 error QuestionnaireResponse.item Repeated answers are combined in the answers array of a single item repeat(answer|item).select(item.where(answer.value.exists()).linkId.isDistinct()).allTrue()

Differential View

This structure is derived from QuestionnaireResponse

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse RTQ QuestionnaireResponse for regulatory applications
... meta S 1..1 Meta Metadata (required)
.... versionId S 1..1 id Version ID
.... lastUpdated S 1..1 instant Last updated timestamp
.... profile S 1..* canonical(StructureDefinition) Conformance to RTQ profile
Fixed Value: http://hl7.org/fhir/uv/rtq/StructureDefinition/rtq-questionnaireresponse
... Slices for identifier S 1..1 Identifier Business identifier(s)
Slice: Unordered, Open by value:type.coding.code
.... identifier:company S 1..1 Identifier Company-assigned identifier
..... type
...... coding 1..1 Coding Company identifier type
Fixed Value: As shown
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/rtq/CodeSystem/rtq-identifier-type
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: company
....... display 1..1 string Representation defined by the system
Fixed Value: Company Identifier
.... identifier:regulator S 1..1 Identifier Regulator-assigned identifier
..... type
...... coding 1..1 Coding Regulator identifier type
Fixed Value: As shown
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/rtq/CodeSystem/rtq-identifier-type
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: regulator
....... display 1..1 string Representation defined by the system
Fixed Value: Regulatory Authority Identifier
... author S 1..1 Reference() Regulatory Authority contact details
.... contained S Organization Contained regulatory authority
..... identifier S 1..1 Identifier of the Regulatory authority
..... name S 1..1 Regulatory authority name
..... address S Authority address
...... text S Full address
...... line S Street address
...... city S City
...... district S District
...... state S State/Province
...... postalCode S Postal code
...... country S Two-letter country code
..... contact
...... Slices for telecom S 1..1 Authority contact for this questionnaire response
Slice: Unordered, Open by value:system
....... telecom:email S 1..1 Email address
........ system 1..1 Contact type = email
Fixed Value: email
........ value S 1..1 Email address value
....... telecom:phone S 1..1 Phone number
........ system 1..1 Contact type = phone
Fixed Value: phone
........ value S 1..1 Phone number value
.... contained S Organization Contained submitting company
..... identifier S 1..1 Identifier of the Company
..... name S 1..1 Company legal name
..... address S Company address
...... text S Full address (formatted)
...... line S Street address
...... city S City
...... district S District
...... state S State/Province
...... postalCode S Postal code
...... country S Two-letter country code
..... contact
...... Slices for telecom S 1..1 Company contact points
Slice: Unordered, Open by value:system
....... telecom:email S 1..1 Company email
........ system 1..1 Contact type = email
Fixed Value: email
........ value S 1..1 Email address
....... telecom:phone S Company phone
........ system 1..1 Contact type = phone
Fixed Value: phone
........ value S 1..1 Phone number
... item
.... linkId S 1..1 string Question link ID
.... text
..... Slices for extension Content/Rules for all slices
...... extension:rendering-xhtml S 0..1 string Rich text question
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
.... answer
..... Slices for extension Content/Rules for all slices
...... extension:rendering-xhtml S 0..1 string Rich text answer
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
..... Slices for value[x] S 1..1 boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, SimpleQuantity(5.0.0), Reference(Resource) Single-valued answer to the question
Slice: Unordered, Open by type:$this
...... value[x]:valueReference S 1..1 Reference(http://hl7.org/fhir/uv/apix/StructureDefinition/apix-documentreference) Reference to supporting document

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse RTQ QuestionnaireResponse for regulatory applications
... id Σ 0..1 id Logical id of this artifact
... meta SΣ 1..1 Meta Metadata (required)
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId SΣ 1..1 id Version ID
.... lastUpdated SΣ 1..1 instant Last updated timestamp
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile SΣ 1..* canonical(StructureDefinition) Conformance to RTQ profile

Fixed Value: http://hl7.org/fhir/uv/rtq/StructureDefinition/rtq-questionnaireresponse
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... 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
... Slices for identifier SΣ 1..1 Identifier Business identifier(s)
Slice: Unordered, Open by value:type.coding.code
.... identifier:company SΣ 1..1 Identifier Company-assigned identifier
..... id 0..1 id 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..1 Coding Company identifier type

Fixed Value: As shown
....... id 0..0 string Unique id for inter-element referencing
....... extension 0..0 Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/rtq/CodeSystem/rtq-identifier-type
....... version 0..0 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: company
....... display 1..1 string Representation defined by the system
Fixed Value: Company Identifier
....... userSelected 0..0 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 0..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)
.... identifier:regulator SΣ 1..1 Identifier Regulator-assigned identifier
..... id 0..1 id 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..1 Coding Regulator identifier type

Fixed Value: As shown
....... id 0..0 string Unique id for inter-element referencing
....... extension 0..0 Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.org/fhir/rtq/CodeSystem/rtq-identifier-type
....... version 0..0 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: regulator
....... display 1..1 string Representation defined by the system
Fixed Value: Regulatory Authority Identifier
....... userSelected 0..0 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 0..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)
... basedOn Σ 0..* Reference(CarePlan | ServiceRequest) Request fulfilled by this QuestionnaireResponse
... partOf Σ 0..* Reference(Observation | Procedure) Part of referenced event
... questionnaire Σ 1..1 canonical(Questionnaire) Canonical URL of Questionnaire being answered
... status ?!Σ 1..1 code in-progress | completed | amended | entered-in-error | stopped
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
... subject Σ 0..1 Reference(Resource) The subject of the questions
... encounter Σ 0..1 Reference(Encounter) Encounter the questionnaire response is part of
... authored Σ 0..1 dateTime Date the answers were gathered
... author SΣ 1..1 Reference() Regulatory Authority contact details
.... id 0..1 id 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") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... source SΣ 1..1 Reference() Submitting company (contained)
.... id 0..1 id 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") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... item C 0..* BackboneElement Groups and questions
Constraints: qrs-1, qrs-2
.... 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 SC 1..1 string Question link ID
.... definition 0..1 uri ElementDefinition - details for the item
.... text 0..1 string Name for group or question text
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:rendering-xhtml S 0..1 string Rich text question
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
..... value 0..1 string Primitive value for string
Max Length:1048576
.... answer C 0..* BackboneElement The response(s) to the question
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:rendering-xhtml S 0..1 string Rich text answer
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... Slices for value[x] SC 1..1 Single-valued answer to the question
Slice: Unordered, Open by type:$this
Binding: QuestionnaireAnswerCodes (example): Binding this is problematic because one value set can't apply to both codes and quantities.
...... valueBoolean boolean
...... valueDecimal decimal
...... valueInteger integer
...... valueDate date
...... valueDateTime dateTime
...... valueTime time
...... valueString string
...... valueUri uri
...... valueAttachment Attachment
...... valueCoding Coding
...... valueQuantity Quantity(SimpleQuantity)
...... valueReference Reference(Resource)
...... value[x]:valueReference SC 1..1 Reference(http://hl7.org/fhir/uv/apix/StructureDefinition/apix-documentreference) Reference to supporting document
..... item 0..* See item (QuestionnaireResponse) Child items of question
.... item 0..* See item (QuestionnaireResponse) Child items of group item

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​meta.security Base extensible All Security Labels 📍5.0.0 FHIR Std.
QuestionnaireResponse.​meta.tag Base example Common Tags 📍5.0.0 FHIR Std.
QuestionnaireResponse.​language Base required All Languages 📍5.0.0 FHIR Std.
QuestionnaireResponse.​identifier:company.use Base required IdentifierUse 📍5.0.0 FHIR Std.
QuestionnaireResponse.​identifier:company.type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
QuestionnaireResponse.​identifier:regulator.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
QuestionnaireResponse.​identifier:regulator.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
QuestionnaireResponse.​status Base required Questionnaire Response Status 📍5.0.0 FHIR Std.
QuestionnaireResponse.​author.type Base extensible Resource Types 📍5.0.0 FHIR Std.
QuestionnaireResponse.​source.type Base extensible Resource Types 📍5.0.0 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error QuestionnaireResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error QuestionnaireResponse 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 contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error QuestionnaireResponse If 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-5 error QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice QuestionnaireResponse A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
qrs-1 error QuestionnaireResponse.item Item cannot contain both item and answer (answer.exists() and item.exists()).not()
qrs-2 error QuestionnaireResponse.item Repeated answers are combined in the answers array of a single item repeat(answer|item).select(item.where(answer.value.exists()).linkId.isDistinct()).allTrue()

This structure is derived from QuestionnaireResponse

Summary

Mandatory: 9 elements(20 nested mandatory elements)
Must-Support: 46 elements
Fixed: 7 elements

Structures

This structure refers to these other structures:

  • Unable to summarise profile http://hl7.org/fhir/uv/apix/StructureDefinition/apix-documentreference (no profile found)

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of QuestionnaireResponse.identifier
  • The element 1 is sliced based on the value of QuestionnaireResponse.author.contained.contact.telecom
  • The element 1 is sliced based on the value of QuestionnaireResponse.source.contained.contact.telecom
  • The element 1 is sliced based on the value of QuestionnaireResponse.item.answer.value[x]

 

Other representations of profile: CSV, Excel, Schematron