Skip to content

Questionnaire Profile

Canonical../StructureDefinition/nexus-emr-core-questionnaire
Statusdraft (experimental) · 1.26.0
BaseQuestionnaire (constraint)
SourceFSH · JSON

A Nexus EMR form definition: what it asks, what it produces, and where its answers land in the chart.

Elements / Snapshot

The full effective definition: base Questionnaire with this profile's constraints applied.

Element Flags Card. Type Description & Constraints
Questionnaire 0..* Nexus EMR Questionnaire
Invariants: dom-2, dom-3, dom-4, dom-5, dom-6, que-0, que-2, questionnaire-has-canonical, questionnaire-extract-is-bundle-only, questionnaire-extract-bundle-is-contained, questionnaire-extract-bundle-is-transaction
id 0..1 http://hl7.org/fhirpath/System.String Logical id of this artifact i
meta 0..1 Meta Metadata about the resource
Invariants: ele-1
implicitRules ?! 0..1 uri A set of rules under which this content was created i
Invariants: ele-1
language 0..1 code Language of the resource content i
Binding: languages (preferred)
Invariants: ele-1
text 0..1 Narrative Text summary of the resource, for human interpretation i
Invariants: ele-1
contained 0..* Resource Prototypes of the resources this form produces, and the transaction Bundle that may carry them -- valid base R4, NOT required to satisfy their eventual Nexus profile i
extension 0..* Extension Additional content defined by implementations i
Slicing: value:url (open)
Invariants: ele-1, ext-1
extension:templateExtractBundle S 0..1 Extension(sdc-questionnaire-templateExtractBundle) The contained transaction Bundle whose entries are the prototypes this form produces i
Invariants: ele-1, ext-1
extension:templateExtract 0..0 Extension(sdc-questionnaire-templateExtract) NOT USED -- prototypes are Bundle entries in this specification i
Invariants: ele-1, ext-1
modifierExtension ?! 0..* Extension Extensions that cannot be ignored i
Invariants: ele-1, ext-1
url S 1..1 uri Canonical identity of this form i
Invariants: ele-1
identifier S 0..* Identifier Business identifier from the authoring system, where one exists i
Invariants: ele-1
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Slicing: value:url (open)
Invariants: ele-1, ext-1
use ?! 0..1 code usual | official | temp | secondary | old (If known) i
Binding: identifier-use (required)
Invariants: ele-1
type 0..1 CodeableConcept Description of identifier i
Binding: identifier-type (extensible)
Invariants: ele-1
system 1..1 uri The namespace for the identifier value i
Invariants: ele-1
value 1..1 string The value that is unique i
Invariants: ele-1
period 0..1 Period Time period when id is/was valid for use
Invariants: ele-1
assigner 0..1 Reference(Organization) Organization that issued id (may be just text) i
Invariants: ele-1
version S 1..1 string Business version of the form i
Invariants: ele-1
name S 0..1 string Machine-readable name i
Invariants: ele-1
title S 1..1 string The form's name, as shown in a picker i
Invariants: ele-1
derivedFrom 0..* canonical Instantiates protocol or definition
Invariants: ele-1
status S ?! 1..1 code draft | active | retired | unknown i
Binding: publication-status (required)
Invariants: ele-1
experimental 0..1 boolean For testing purposes, not real usage i
Invariants: ele-1
subjectType S 0..* code The resource type(s) a response is about -- normally Patient i
Binding: resource-types (required)
Invariants: ele-1
date S 0..1 dateTime Date last changed i
Invariants: ele-1
publisher S 0..1 string Name of the publisher (organization or individual) i
Invariants: ele-1
contact 0..* ContactDetail Contact details for the publisher i
Invariants: ele-1
description S 0..1 markdown Natural language description of the questionnaire i
Invariants: ele-1
useContext S 0..* UsageContext The context that the content is intended to support i
Invariants: ele-1
jurisdiction 0..* CodeableConcept Intended jurisdiction for questionnaire (if applicable) i
Binding: jurisdiction (extensible)
Invariants: ele-1
purpose 0..1 markdown Why this questionnaire is defined i
Invariants: ele-1
copyright 0..1 markdown Use and/or publishing restrictions
Invariants: ele-1
approvalDate 0..1 date When the questionnaire was approved by publisher i
Invariants: ele-1
lastReviewDate 0..1 date When the questionnaire was last reviewed i
Invariants: ele-1
effectivePeriod S 0..1 Period When the questionnaire is expected to be used i
Invariants: ele-1
code 0..* Coding Concept that represents the overall questionnaire
Binding: questionnaire-questions (example)
Invariants: ele-1
item S 0..* BackboneElement The questions, and where their answers go i
Invariants: ele-1, que-1, que-3, que-4, que-5, que-6, que-8, que-9, que-10, que-11, que-12, que-13
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Slicing: value:url (open)
Invariants: ele-1, ext-1
extension:allocateId S 0..* Extension(sdc-questionnaire-extractAllocateId) A uuid allocated before extraction, for an entry whose fullUrl cannot be authored i
Invariants: ele-1, ext-1
extension:itemTemplateExtract 0..0 Extension(sdc-questionnaire-templateExtract) NOT USED -- prototypes are Bundle entries in this specification i
Invariants: ele-1, ext-1
modifierExtension ?! 0..* Extension Extensions that cannot be ignored even if unrecognized i
Invariants: ele-1, ext-1
linkId S 1..1 string Unique id for item in questionnaire i
Invariants: ele-1
definition S 0..1 uri The element an answer populates -- the form-to-chart binding i
Invariants: ele-1
code S 0..* Coding The concept this question asks about i
Binding: questionnaire-questions (example)
Invariants: ele-1
prefix 0..1 string E.g. "1(a)", "2.5.3" i
Invariants: ele-1
text S 0..1 string Primary text for the item i
Invariants: ele-1
type S 1..1 code group | display | boolean | decimal | integer | date | dateTime + i
Binding: item-type (required)
Invariants: ele-1
enableWhen S ?! 0..* BackboneElement Only allow data when i
Invariants: ele-1, que-7
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Invariants: ele-1, ext-1
modifierExtension ?! 0..* Extension Extensions that cannot be ignored even if unrecognized i
Invariants: ele-1, ext-1
question 1..1 string Question that determines whether item is enabled i
Invariants: ele-1
operator 1..1 code exists | = | != | > | < | >= | <=
Binding: questionnaire-enable-operator (required)
Invariants: ele-1
answer[x] 1..1 boolean, decimal, integer, date, dateTime, time, string, Coding, Quantity, Reference(Resource) Value for question comparison based on operator
Binding: questionnaire-answers (example)
Invariants: ele-1
enableBehavior S 0..1 code all | any i
Binding: questionnaire-enable-behavior (required)
Invariants: ele-1
required S 0..1 boolean Whether the item must be included in data results i
Invariants: ele-1
repeats S 0..1 boolean Whether the item may repeat i
Invariants: ele-1
readOnly S 0..1 boolean Don't allow human editing i
Invariants: ele-1
maxLength 0..1 integer No more than this many characters i
Invariants: ele-1
answerValueSet S 0..1 canonical Valueset containing permitted answers i
Invariants: ele-1
answerOption S 0..* BackboneElement Permitted answer i
Invariants: ele-1
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Invariants: ele-1, ext-1
modifierExtension ?! 0..* Extension Extensions that cannot be ignored even if unrecognized i
Invariants: ele-1, ext-1
value[x] 1..1 integer, date, time, string, Coding, Reference(Resource) Answer value i
Binding: questionnaire-answers (example)
Invariants: ele-1
initialSelected 0..1 boolean Whether option is selected by default i
Invariants: ele-1
initial S 0..* BackboneElement Initial value(s) when item is first rendered i
Invariants: ele-1
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Invariants: ele-1, ext-1
modifierExtension ?! 0..* Extension Extensions that cannot be ignored even if unrecognized i
Invariants: ele-1, ext-1
value[x] 1..1 boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource) Actual value for initializing the question i
Binding: questionnaire-answers (example)
Invariants: ele-1
item 0..* Nested questionnaire items i
Invariants: ele-1