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 / Key elements

The working view: must-support, required, modifier and sliced elements from the effective (snapshot) definition.

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
implicitRules ?! 0..1 uri A set of rules under which this content was created i
Invariants: ele-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
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
use ?! 0..1 code usual | official | temp | secondary | old (If known) i
Binding: identifier-use (required)
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
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
status S ?! 1..1 code draft | active | retired | unknown i
Binding: publication-status (required)
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
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
effectivePeriod S 0..1 Period When the questionnaire is expected to be used i
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
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
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
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
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
answerValueSet S 0..1 canonical Valueset containing permitted answers i
Invariants: ele-1
answerOption S 0..* BackboneElement Permitted answer i
Invariants: ele-1
value[x] 1..1 integer, date, time, string, Coding, Reference(Resource) Answer value i
Binding: questionnaire-answers (example)
Invariants: ele-1
initial S 0..* BackboneElement Initial value(s) when item is first rendered i
Invariants: ele-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