FHIR Field / Extension Description Where in UI How to access
Questionnaire
Questionnaire.titleHuman-readable name displayed in the builder toolbarQuestionnaire Properties modalClick 'Edit' in the Questionnaire card
Questionnaire.idLogical resource IDQuestionnaire Properties modalClick 'Edit' in the Questionnaire card → Identifiers & Publication section
Questionnaire.urlCanonical URL uniquely identifying this questionnaireQuestionnaire Properties modalClick 'Edit' in the Questionnaire card → Identifiers & Publication section
Questionnaire.versionBusiness version stringQuestionnaire Properties modalClick 'Edit' in the Questionnaire card → Identifiers & Publication section
Questionnaire.nameComputer-friendly name (PascalCase, no spaces)Questionnaire Properties modalClick 'Edit' in the Questionnaire card → Identifiers & Publication section
Questionnaire.statusPublication lifecycle status: draft / active / retired / unknownQuestionnaire card — status badgeClick the status badge in the Questionnaire card
Questionnaire.experimentalMarks this as a test resource, not for production useQuestionnaire Properties modalClick 'Edit' in the Questionnaire card → Identifiers & Publication section
Questionnaire.dateDate this version was publishedQuestionnaire Properties modalClick 'Edit' in the Questionnaire card
Questionnaire.publisherName of the organisation that published this questionnaireQuestionnaire Properties modalClick 'Edit' in the Questionnaire card
Questionnaire.descriptionNatural language description of the questionnaireQuestionnaire Properties modalClick 'Edit' in the Questionnaire card
Questionnaire.purposeWhy this questionnaire was createdQuestionnaire Properties modalClick 'Edit' in the Questionnaire card → Purpose & Copyright section
Questionnaire.copyrightUse and publishing restrictionsQuestionnaire Properties modalClick 'Edit' in the Questionnaire card → Properties → Advanced → Copyright (a third-party template adds its license here when inserted)
Questionnaire.copyrightLabelShort (<50 char) copyright string for a page footer (e.g. "All rights reserved"). R5 native field; on R4/R4B export written as the official artifact-copyrightLabel extension; read from either form on import.Questionnaire Properties modal → Advanced sectionClick 'Edit' → expand Advanced → Copyright Label field
Questionnaire.versionAlgorithm[x]Mechanism used to compare versions (semver / integer / alpha / date / natural, or a custom FHIRPath string). R5 native field; on R4/R4B export written as the official artifact-versionAlgorithm extension; read from either form on import.Questionnaire Properties modal → Advanced sectionClick 'Edit' → expand Advanced → Version Algorithm dropdown (pick a code, or Custom expression for a FHIRPath string)
Questionnaire.approvalDateWhen approved by the publisherQuestionnaire Properties modalClick 'Edit' in the Questionnaire card → Lifecycle Dates section
Questionnaire.lastReviewDateWhen content was last reviewedQuestionnaire Properties modalClick 'Edit' in the Questionnaire card → Lifecycle Dates section
Questionnaire.effectivePeriodPeriod when the questionnaire is expected to be in active useQuestionnaire Properties modalClick 'Edit' in the Questionnaire card → Lifecycle Dates section
Questionnaire.subjectTypeResource type the questionnaire collects data about (e.g. Patient)Questionnaire Properties modalClick 'Edit' in the Questionnaire card
Questionnaire.languageBCP-47 language code for the resource contentQuestionnaire Properties modalClick 'Edit' in the Questionnaire card
Questionnaire.derivedFromCanonical URL(s) this questionnaire is based onQuestionnaire Properties modalClick 'Edit' in the Questionnaire card → Relationships section
Questionnaire.replacesCanonical URL(s) of questionnaires this one replacesQuestionnaire Properties modalClick 'Edit' in the Questionnaire card → Replaces section
Questionnaire.identifier[]Business identifiers (system + value + use) for the questionnaireQuestionnaire Properties modalClick 'Edit' in the Questionnaire card → Identifiers section
Questionnaire.contact[]Contact details for the publisher (name + telecom rows)Questionnaire Properties modalClick 'Edit' in the Questionnaire card → Contact section
Questionnaire.useContext[]Clinical context the questionnaire is intended for (pass-through — no editing UI)Questionnaire Properties modalPreserved on import and re-exported unchanged; no editing UI
Questionnaire.implicitRulesURI declaring the set of rules the resource was authored against. Servers that do not understand the rules MUST reject the resource.Questionnaire Properties modal → Resource Meta sectionClick 'Edit' in the Questionnaire card → expand Resource Meta → enter URI in Implicit Rules field
Questionnaire.jurisdiction[]Jurisdictions (system / code / display) this questionnaire applies toQuestionnaire Properties modalClick 'Edit' in the Questionnaire card → Jurisdiction section
Questionnaire.meta (versionId / source / lastUpdated / profile / tag / security)Resource metadata: versionId, source URI, lastUpdated timestamp, profiles, security and tag codingsQuestionnaire Properties modalClick 'Edit' in the Questionnaire card → Resource Meta section
Questionnaire.extension[builder-target-version]Target FHIR version (R4 / R4B / R5) the questionnaire was authored for, recorded as a valueCode (4.0.1 / 4.3.0 / 5.0.0). FHIR's Meta type has no fhirVersion field, so the builder stores the version in this extension and reads it back on import. Also auto-detected from version-specific fields (disabledDisplay or answerConstraint → R5).Logic Builder — FHIR version selectorPick the version in the selector next to the Logic Builder title; it is stamped on export
Questionnaire.text (narrative)Human-readable narrative summary; auto-generated on export; shown read-only in the Advanced sectionQuestionnaire Properties modalClick 'Edit' in the Questionnaire card → Advanced section (read-only)
Questionnaire.contained[]Inline resources (e.g. ValueSets) bundled with the questionnaireContained panel — left panelIn the Contained section (left panel): '+ Add' to paste a FHIR resource JSON; use the pencil to edit or ✕ to remove. Give it an id to reference it from items via #id
variable (extension)FHIRPath variables scoped to the whole questionnaire (SDC)Variables panel — left panelScroll to the Variables section in the left panel
preferredTerminologyServer (Questionnaire-level, core extension)Default FHIR terminology server URL for ValueSet expansion across all items (overridden per-item)Questionnaire Properties modalClick 'Edit' in the Questionnaire card → Default Terminology Server field
sdc-questionnaire-launchContextDeclares the context resources (patient, user, encounter, …) a server must supply when running $populate. Each entry has a name coding, resource type(s) and optional description.Questionnaire Properties modal → Launch Context sectionClick 'Edit' in the Questionnaire card → Launch Context → add a context (preset or custom name, type, description)
Questionnaire.modifierExtension[]Root-level modifier extensions that change the meaning of the resource. Preserved verbatim on import/export; the builder does not interpret them, and the validator emits a warning when any are present (FHIR R4 §2.6.2.2).Preserved round-trip; Validate modal warnsImported and re-exported unchanged; run Tools → Validate to see the warning
cqf-libraryCanonical reference to a CQL Library. When it resolves to a "#id" contained Library carrying embedded precompiled ELM (application/elm+json content), it is executed client-side (cql-execution + cql-exec-fhir) to answer any item's text/cql-identifier initialExpression. External (non-contained) canonical Library URLs are preserved on round-trip but not resolved.Contained Resources panel to add the Library; import/sample-data to set the extensionAdd a Library resource (with content[application/elm+json]) via the Contained Resources panel, then import/edit the cqf-library extension to "#" + its id. See sampledata → CQL Execution Demo.
Item — Core
item.linkIdUnique identifier for the item within the questionnaire treeItem row — ID badgeVisible as a small badge on each item; click the badge to edit
item.textPrimary label shown to the user filling the formItem row — title fieldClick the item title directly to edit inline
item.typeData type of the answer: boolean, string, integer, decimal, date, choice, reference, attachment, quantity, display, etc.Answer Type modalClick "Answer Type" action link on the item row
item.requiredWhether an answer is mandatoryStates modalClick "States" action link on the item row
item.repeatsWhether the item can be answered more than once (multi-row input)States modalClick "States" action link → Repeatable toggle
item.readOnlyWhether the answer cannot be changed by the userStates modalClick "States" action link → Read-only toggle
item.prefixShort label prefix displayed before the item text (e.g. "1.", "a.")Item row — inlineSmall "prefix" input inline in the item row (next to the title)
item.maxLengthMaximum allowed character count for text / string / url answers— not editable in builderPreserved on import; not editable in the builder UI
item.answerOption[]Fixed list of answer choices. All six FHIR value[x] types supported: valueCoding (code+display+system), valueString, valueInteger, valueDate, valueTime, valueReference. Non-Coding types are preserved on import/export and are fully editable via the Type column in the Options editor.Answer Type modal → Options editorClick "Answer Type" → select "Options" source → use the Type column to set value[x] type per row; edit Code / Label / Score / Prefix as needed
item.answerValueSetURL of a ValueSet that provides the answer choicesAnswer Type modal → ValueSet sourceClick "Answer Type" → select "ValueSet" source → enter the ValueSet URL
item.initial[]Default answer value(s) pre-filled before user interactionDefault Value modalClick "Default" action link on the item row
item.enableWhen[]Conditions under which this item is visible / enabled. Supports all answer types including quantity (compared by value, with an optional unit match for = / ≠).Show When modalClick "Show When" action link on the item row
item.enableBehaviorHow multiple enableWhen conditions are combined: all (AND) or any (OR)Show When modalClick "Show When" → AND / OR selector at the top of the modal
item.disabledDisplayHow to show items when their enableWhen condition is false, in patient view: 'hidden' removes the item; 'protected' shows it greyed-out. In the builder/design preview every disabled item is always shown dimmed so the author sees the full form. R5 native field; on R4/R4B export it is downgraded to a builder-private extension.States modalClick "States" → Disabled Display dropdown
item.definitionURL pointing to an ElementDefinition that provides additional meaning. Can be resolved against an uploaded StructureDefinition to auto-fill text, type, and constraints.Item Properties modalClick "Props" action link on the item → Definition field. Then click "Resolve from profile…" and upload a StructureDefinition (JSON) to auto-fill text, type, and value constraints for the referenced element — runs client-side, no server required. Try it with the bundled sampledata/patient-profile.sd.json against sampledata/reference-example.fhir.json.
Item — Extensions
item.extension[questionnaire-baseType]Base FHIR type for items derived from an ElementDefinition (e.g. string, HumanName)Item Properties modalClick "Props" action link → Base Type field
item.extension[questionnaire-fhirType]Specific FHIR type for complex elements derived from an ElementDefinition (e.g. HumanName, ContactPoint)Item Properties modalClick "Props" action link → FHIR Type field
Item — Core
item.code[]Formal coding identifiers for the item (e.g. LOINC code)Item Properties modalClick "Props" action link on the item → Codes section. Use "Search LOINC / SNOMED / ICD-10-CM…" to autocomplete codes: LOINC and ICD-10-CM via NLM Clinical Tables API (free, no key needed); SNOMED CT via public FHIR terminology server (tx.fhir.org). LOINC Terms of Use acceptance required on first use. SNOMED CT use is subject to SNOMED International licensing — free in member countries, fee-based otherwise. ICD-10-CM is a US public-domain terminology.
Item — Extensions
rendering-styleInline CSS to apply to the rendered item text (bold, colour, etc.)Appearance modalClick "Appearance" action link on the item row
rendering-xhtmlXHTML markup shown instead of plain item.text when the client supports rich renderingAppearance modalClick "Appearance" action link on the item row
entryFormatPlaceholder hint shown inside the input field (e.g. "MM/DD/YYYY")Answer Type modalClick "Answer Type" action link → Placeholder hint field
minLengthMinimum number of characters required for string / text / url answers— not editable in builderPreserved on import; not editable in the builder UI
minValue / maxValueMinimum and maximum numeric or date constraint on the answer valueAnswer Type modalClick "Answer Type" action link → Min / Max value fields (integer / decimal items only). date / dateTime / time bounds are preserved on import and export but not editable in the builder UI
questionnaire-sliderStepValueStep increment for slider rendering of integer / decimal items. R4 exports valueInteger only; decimal step values are rounded to integer and flagged by the local validator.Answer Type modalClick "Answer Type" action link → Slider step field (integer / decimal items only)
rendering-markdownMarkdown-formatted alternative to item.text. Rendered in preview; rendering-xhtml takes priority if both are set.Appearance modalClick "Appearance" action link on the item row → Markdown section
questionnaire-hiddenHides the item from the patient UI; item still participates in calculationsStates modalClick "States" action link → Hidden toggle
sdc-questionnaire-collapsibleRenders a group as a collapsible section in patient view: default-open starts expanded but collapsible, default-closed starts collapsed. Groups only.States modal (groups only)Click "States" action link on a group → Collapsible select
questionnaire-supportLinkOne or more URIs linking to supporting information for this itemItem Properties modalClick "Props" action link on the item → Support Links section
questionnaire-constraintFHIRPath invariant constraints: expression + human-readable message + severityConstraint modalClick "Constraint" action link on the item row
ordinalValue (on answerOption)Numeric score / weight assigned to a specific answer optionAnswer Type modal → Options editor → Score columnClick "Answer Type" → edit the Score column in the options table
valueCoding.system (on answerOption)Code system URI for a specific answer option, e.g. http://loinc.org. Eliminates FHIR validator warnings about codes with no system.Answer Type modal → Options editor → System columnClick "Answer Type" → enter system URI in the System column for each option
questionnaire-optionPrefix (on answerOption)Display prefix shown before a specific answer option label (e.g. "A.", "1.")Answer Type modal → Options editor → Prefix columnClick "Answer Type" → edit the Prefix column in the options table
questionnaire-itemControl (radio-button)Renders a choice item as a vertical radio button listAnswer Type modalClick "Answer Type" → select item type "radio"
questionnaire-itemControl (check-box)Renders a choice item as a multi-select checklist of checkboxesAnswer Type modalClick "Answer Type" → select item type "checklist"
questionnaire-itemControl (autocomplete)Adds a searchable filter input to the dropdown for choice itemsAnswer Type modalClick "Answer Type" → Autocomplete checkbox (select type only)
questionnaire-itemControl (drop-down)Explicitly marks a choice item as a dropdown (default rendering)Answer Type modalImported and round-tripped; select type is drop-down by default
questionnaire-itemControl (text-area)Renders a string/text item as a multi-line textareaAnswer Type modalClick "Answer Type" → Multi-line checkbox (text type only)
questionnaire-itemControl (text-box)Explicitly marks a string/text item as a single-line text box (default rendering)Answer Type modalImported and round-tripped; text type is text-box by default
questionnaire-itemControl (spinner)Marks an integer/decimal item with the spinner control hintAnswer Type modalImported and round-tripped; preserved on export
questionnaire-itemControl (slider)Renders an integer/decimal item as a range slider; requires a step valueAnswer Type modalClick "Answer Type" → Slider toggle (integer / decimal items only); step value required
questionnaire-itemControl (lookup)Renders a choice item as a live-search input that queries a FHIR terminology serverAnswer Type modalClick "Answer Type" → Lookup checkbox (select type with ValueSet URL only)
questionnaire-itemControl (flyover)Hides a display item’s text inline and reveals it as a hover tooltip (an ⓘ marker). Useful for optional help that should not clutter the form.Answer Type modalClick "Answer Type" on a display item → Display control → Flyover
questionnaire-itemControl (help)Hides text behind a "? Help" button; the text is revealed only when the button is clicked (the FHIR "Help-Button" control). On a question or group this is a plain Help Text field — the nested display item is synthesized/collapsed automatically. A standalone display item (no specific question) still uses its own Display control setting.Item Properties (Props) modal, or Answer Type modal for a standalone display itemClick "Props" on any question or group → Help Text field. Or, for a standalone display item: "Answer Type" → Display control → Help button
questionnaire-itemControl (header / footer)Group display bands: header renders the group as a prominent top band (kept visible at the top); footer renders it as a muted bottom band. Group-level codes in the FHIR item-control code system.Appearance modal (groups only)Click "Appearance" on a group → Group display → Header or Footer
questionnaire-itemControl (gtable)Renders a group as an HTML table: each child item becomes a column header, each repeat instance (or a single row for non-repeating groups) becomes a data row. Nested groups inside cells use their own itemControl (stacked default or nested gtable — recursive). Required children show an asterisk in the header. A GTABLE badge appears in the builder preview.Preview only (import/export)Set questionnaire-itemControl = gtable on a group in your FHIR JSON and load it. Use the gtable-demo.fhir.json sample from the library.
questionnaire-itemControl (atable)Renders a radio-button or checkbox question as a table with one row (the question) and one column per permitted answer, instead of a vertical list. On import, a non-repeating choice item becomes radio, a repeating one becomes checklist.Answer Type modal — radio/checklist itemsClick "Answer Type" on a radio or checklist item → "Answer table (options as columns)" checkbox. Sample: item-control-demo.fhir.json in the library.
questionnaire-referenceResourceResource type(s) that are valid targets for reference items. A reference answer whose type differs from the allowed type fails preview validation with an inline "Expected {Type}" error.Answer Type modal — reference itemsClick "Answer Type" when type is reference → Resource Type dropdown. Or use Props → "Resolve from profile…" to derive the allowed type from the element's Reference targetProfile.
questionnaire-referenceFilterFHIRPath expression to filter valid reference targets at runtimeAnswer Type modal — reference itemsClick "Answer Type" when type is reference → Reference filter textarea
questionnaire-referenceProfileProfile URL(s) that restrict valid resource types for reference itemsAnswer Type modal — reference itemsClick "Answer Type" when type is reference → Reference profiles textarea (one URL per line)
questionnaire-signatureRequiredIndicates that a digital signature of the specified type is required. ValueCodeableConcept with Signature Type Codes binding.States modalClick "States" → Signature required chip selector
maxSize (attachment)Maximum allowed file size in MB for attachment itemsAnswer Type modalClick "Answer Type" action link → Max File Size field (attachment items only)
mimeType (attachment)Allowed MIME type(s) for attachment itemsAnswer Type modalClick "Answer Type" action link → Allowed MIME types field (attachment items only)
minOccurs / maxOccursMinimum and maximum number of repetitions for repeating itemsRepeatable modalClick "Repeatable" action link → Min / Max Occurrences fields
maxDecimalPlacesMaximum number of decimal places for decimal items; enforced in preview with error badgeAnswer Type modalClick "Answer Type" action link → Decimal places field (decimal items only)
questionnaire-choiceOrientationControls layout of radio button groups: vertical (stacked) or horizontal (inline)Answer Type modalClick "Answer Type" → Orientation select (radio items only)
Item — SDC
sdc-questionnaire-columnCountRecommends laying out a choice question’s answer options across N columns (vertical-first fill). positiveInt. Per SDC valid on any choice item; editable and round-tripped for all choice types. This preview applies the visual column layout to inline option lists (radio / check-box) only.Answer Type modalClick "Answer Type" → Option columns select (any choice item)
Item — Extensions
questionnaire-displayCategoryVisual category applied to display items: instructions, security, or help (collapsible). R4: only valid on group items; suppressed on display items in export (local validator warns). R5 allows it on display items.Answer Type modalClick "Answer Type" → Category select (display items only)
questionnaire-unitValueSetCanonical URL of a ValueSet containing selectable UCUM units for quantity items. When set, the unit dropdown is populated from this ValueSet (falls back to built-in UCUM list if expansion unavailable).Answer Type modal → Unit ValueSet URL fieldOpen Answer Type modal on a quantity item → enter the ValueSet canonical URL
Item — SDC
sdc-questionnaire-calculatedExpressionFHIRPath expression evaluated continuously; its result is written into the item answer (read-only computed field)Expression modalClick "Expression" action link on the item → Calculated Expression (type FHIRPath, or use "🧩 Build…" for a visual value builder)
sdc-questionnaire-initialExpressionFHIRPath expression evaluated once on form load to pre-populate the item. Also supports language text/cql-identifier (a CQL define name), resolved against the questionnaire's cqf-library extension — import/sample-data only, not authorable in this modal.Expression modalClick "Expression" action link on the item → Initial Expression (type FHIRPath, or use "🧩 Build…" for a visual value builder)
sdc-questionnaire-enableWhenExpressionFHIRPath expression used instead of enableWhen[] rules to control item visibilityShow When modalClick "Show When" action link → enableWhenExpression field (type FHIRPath, or use "🧩 Build…" for a visual condition builder)
sdc-questionnaire-answerExpressionFHIRPath expression evaluated at render time to dynamically produce the answer option listAnswer Type modal → Expression sourceClick "Answer Type" → select "Expression" source → enter a FHIRPath expression
sdc-questionnaire-candidateExpressionFHIRPath expression evaluated at render time to produce candidate/suggested answers (mutually exclusive with answerExpression and static answerOption[])Answer Type modal → Candidate sourceClick "Answer Type" → select "Candidate" source → enter a FHIRPath expression
Item — Extensions
questionnaire-hiddenHides the item from the patient UI (core extension; the older sdc-questionnaire-hidden address is also read)States modalClick "States" action link → Hidden toggle
Item — SDC
sdc-questionnaire-isSubjectMarks the item whose answer identifies the subject of the QuestionnaireResponse (QuestionnaireResponse.subject). Only one item per questionnaire may be the subject; a SUBJECT badge is shown in the builder preview. Has no effect on the patient-facing control.States modalClick "States" action link → Is subject toggle
sdc-questionnaire-observationExtractFlags an item or group for SDC Observation-based extraction. Each coded answer beneath an enabled item is extracted as an Observation (status final; code from item.code; Quantity when questionnaire-unit is set). The flag is inherited by descendants; an explicit false suppresses an inherited true. A flag on an individual item.code extracts (or, if false, leaves out) just that code, and sdc-questionnaire-observation-extract-category (questionnaire or item, nearest wins) sets Observation.category — both are kept on import/export but not editable here. Run via Save → Observations · FHIR JSON Bundle.States modalClick "States" action link → "Extract as Observation" dropdown (Inherit / Yes / No); export via Save ▾ → Observations · FHIR JSON Bundle → fill Subject/Author/QR ID → Apply
sdc-questionnaire-designNoteInternal developer / designer note attached to an item; not shown to patientsDesign Note modalClick "Note" action link on the item row
sdc-questionnaire-openLabelCustom placeholder label for open-choice items (replaces default "Choose or type…")Answer Type modalClick "Answer Type" → Open label field (open-choice items only)
Item — Extensions
preferredTerminologyServer (core extension)Per-item preferred FHIR terminology server URL for ValueSet expansion. Overrides the Questionnaire-level default.Terminology modalClick "Terminology" action link on the item row → enter server URL
Item — SDC
sdc-questionnaire-shortTextAbbreviated item label shown in summary views and narrow-screen layouts. Shown as a small blue badge in the builder preview row.Props modal → Short Text fieldClick "Props" action link → enter Short Text
sdc-questionnaire-choiceColumnMulti-column layout for choice/open-choice dropdowns. Each column shows a property of the option (code, display, system). The forDisplay column controls which value appears in the trigger after selection.Answer Type modal → Choice columns sectionClick "Answer Type" → add columns with path, label, optional width, and forDisplay flag (choice/open-choice items)
Item — Extensions
questionnaire-unitOptionExplicit list of selectable UCUM units for quantity items. Each extension entry defines one allowed unit (system, code, display). When set, only these units appear in the dropdown.Answer Type modal → Unit options sectionClick "Answer Type" on a quantity item → add unit entries with code, display, and system
regexRegular expression pattern that the answer value must match. Shown as a validation error in the preview when the entered value does not match.Answer Type modal → Regex validation patternClick "Answer Type" on a text/url item → enter regex pattern
questionnaire-optionExclusive (on answerOption)Marks an answer option as exclusive: selecting it in a checklist deselects all other options (e.g. "None of the above").Answer Type modal → Options editor → Excl columnClick "Answer Type" → toggle the Excl checkbox in the options table
questionnaire-usageModeControls when the item is shown: capture (data entry only), display (read-only viewing only), display-non-empty (display only if answered), capture-display (both), capture-display-non-empty (capture always, display only if answered). Items with display/display-non-empty are hidden in patient view.States modal → Usage mode dropdownClick "States" button → select mode from dropdown
sdc-questionnaire-itemMediaAttaches a media file (image, audio, video) to the question. The media is displayed inline in the preview before the answer control. Only http(s) and data: image/audio/video URLs are loaded.Answer Type modal → Item media URLClick "Answer Type" → enter media URL and content type
itemWeight (on answerOption)Scoring weight for an individual answer option. Used for advanced scoring beyond ordinalValue.Answer Type modal → Options editor → Weight columnClick "Answer Type" → enter weight value in the Weight column
sdc-questionnaire-itemAnswerMedia (on answerOption)Attaches a media file to a specific answer option. The media is shown inline next to the option label.Imported and exported only (no inline editor)Must be added via JSON import; preserved on round-trip
answerConstraint (R5 native)Constrains how answer values are validated: optionsOnly — only coded options; optionsOrType — option or any value of the answer type; optionsOrString — option or free-text string. R5 native field; on R4/R4B export it is downgraded to a builder-private extension.Answer Type modal → Answer Constraint dropdownClick "Answer Type" on a choice/open-choice item → set Answer Constraint
QR Export
QuestionnaireResponse.statusCompletion status of the response (in-progress, completed, amended, etc.)Export → QuestionnaireResponse modal → Status fieldOpen Export menu → QuestionnaireResponse → pick status
QuestionnaireResponse.subjectPatient or subject the response is about (FHIR reference string)Export → QuestionnaireResponse modal → Subject fieldEnter a reference string, e.g. Patient/123
QuestionnaireResponse.authorAuthor of the response (FHIR reference string)Export → QuestionnaireResponse modal → Author fieldEnter a reference string, e.g. Practitioner/7
QuestionnaireResponse.authoredAuto-set to current UTC timestamp on every exportAutomaticSet automatically — no user input needed
QuestionnaireResponse.idResource logical id of the exported QR resourceExport → QuestionnaireResponse modal → Resource ID fieldEnter any string; leave blank to omit
QuestionnaireResponse.languageBCP-47 language code for the response contentExport → QuestionnaireResponse modal → Language fieldEnter language code, e.g. en, de, nl
QuestionnaireResponse.meta.versionIdVersion identifier for the response resourceExport → QuestionnaireResponse modal → Version ID fieldEnter manually or click Generate to create a UUID
QuestionnaireResponse.meta.sourceURI identifying the source system that created the resourceExport → QuestionnaireResponse modal → Meta Source fieldEnter a URI
QuestionnaireResponse.meta.lastUpdatedAuto-set to current UTC timestamp on every exportAutomaticSet automatically — no user input needed
QuestionnaireResponse.meta.profile[]Canonical URLs of profiles this response claims to conform toExport → QuestionnaireResponse modal → Profiles sectionClick "+ Add Profile URL" and enter canonical URL(s)
SDC Server
sdc-questionnaire-definitionExtractMarks a group item as an extraction context. All child items with item.definition will be extracted into a FHIR resource of the type specified in the definition URL (e.g. StructureDefinition/Patient#Patient.name.family). The element type and cardinality are taken from the R4 model (a coded answer becomes a CodeableConcept / Coding / code as needed, repeating elements are lists, single-valued ones are not); a group with a definition is one element per response instance; answers nested under answers are extracted; repeating extract groups produce one resource per instance. The extension parameters definition (profile), fullUrl, ifNoneMatch, ifMatch, ifNoneExist and ifModifiedSince are used for the Bundle entry; no resource id is invented.Builder: add extension via import; Save ▾ → Definition Extract to run extractionImport a questionnaire with definitionExtract groups, fill answers, then Save ▾ → Definition Extract · FHIR JSON Bundle → Download.
sdc-questionnaire-definitionExtractContextAlternative marker for a group that is an extraction context; treated like definitionExtract by the client-side Definition Extract (a name that does not exist in SDC 4.0; the retired itemExtractionContext is accepted the same way, presence only).Builder: add extension via import; Save ▾ → Definition Extract to run extractionImport a questionnaire with the extension on a group; extraction behaves as with definitionExtract.
sdc-questionnaire-itemContext / itemPopulationContextFHIRPath/query contexts for server-side population. Preserved on import and written back on export; not evaluated client-side.— not editable in builderPreserved on import/export only.
sdc-questionnaire-targetStructureMapCanonical reference to a FHIR StructureMap (Mapping Language) that transforms a QuestionnaireResponse into other FHIR resources. Executed entirely in the browser via the fhir-structuremap-js engine — no server required. Only a "#id" reference to a StructureMap added via the Contained Resources panel can be resolved (no server to fetch an external canonical URL).Properties → Target StructureMap field; Contained Resources panel to add the StructureMap; Save ▾ → StructureMap Extract to run itAdd a StructureMap resource via the Contained Resources panel, set Properties → Target StructureMap to "#" + its id, fill in answers, then Save ▾ → StructureMap Extract · FHIR JSON Bundle → Download.
sdc-questionnaire-sourceStructureMapCanonical reference to a FHIR StructureMap (Mapping Language) that transforms a resource fetched from the FHIR Base Server (e.g. Patient) into a QuestionnaireResponse to pre-fill answers. Executed entirely in the browser via the fhir-structuremap-js engine — only the resource fetch needs the server, no server-side $populate support required. Only a "#id" reference to a StructureMap added via the Contained Resources panel can be resolved (no server to fetch an external canonical URL).Properties → Source StructureMap field; Contained Resources panel to add the StructureMap; Answers ▾ → Fill via StructureMap to run itAdd a StructureMap resource via the Contained Resources panel, set Properties → Source StructureMap to "#" + its id, then Answers ▾ → Fill via StructureMap…, search for a patient, and click Run StructureMap. Answers are merged into the current form.
Questionnaire/$populateSends the current Questionnaire to a FHIR server's $populate operation to pre-fill answers from a patient record. Requires an SDC-capable server (FHIR Base Server, or SDC Server if set) configured in Settings.Answers ▾ → "↧ Fill from FHIR Server…" (enabled when a questionnaire is loaded)Open Answers ▾ → Fill from FHIR Server, search for a patient by name or type a Patient reference (e.g. Patient/123), then click "Fill from Server". Answers are merged into the current form.
Translation
Questionnaire translation (machine translation)Auto-translates all item labels, answer option displays, and UI strings into a target language using a machine-translation provider configurable in Settings → Translation API (Google Translate free, DeepL, LibreTranslate or OpenAI). Translations are stored in FHIR-standard _text.extension[translation] extensions. Items with rendering-xhtml preserve HTML formatting in the translated text. A language switcher in the header lets you preview the questionnaire in any translated language.Settings ▾ → "🌐 Translate questionnaire…"Open Settings ▾ → Translate questionnaire…, select a target language, click "Translate". Review and edit results in the table, then click "Apply translations". Switch the active language via the language button that appears in the header.
Edit existing translationsOpens the translation review table pre-filled with stored translations, without calling the API. Allows manual editing of individual translations and adds empty rows for any new items added since the last translation.Settings ▾ → "🌐 Translate questionnaire…" → select an already-translated languageOpen Settings ▾ → Translate, select a language that already has translations — an "Edit existing" button appears. Click it to open the review table with existing translations pre-filled.
http://hl7.org/fhir/StructureDefinition/translationStandard FHIR translation extension. Used on _text.extension (item labels), _title.extension (questionnaire title), and answerOption._valueCoding._display.extension (option labels). Each extension carries lang (valueCode) and content (valueString).Generated automatically on export when translations existTranslations are written automatically on export. Import a FHIR file with these extensions to pre-populate the translation store.
http://fhir-qb.app/StructureDefinition/ui-translationsApp-specific extension storing UI string translations (AND/OR separators, "+ Add another", "More info ↗", select placeholder). Stored as JSON on the root Questionnaire extension[].Automatic (generated on export when UI strings are translated)Included automatically in the export when UI string translations exist.
http://fhir-qb.app/StructureDefinition/xhtml-translationsApp-specific extension storing per-language XHTML translations for items that use rendering-xhtml. HTML tags are preserved by Google Translate. Rendered via innerHTML + DOMPurify. Stored as JSON on the root Questionnaire.Automatic (generated on export when XHTML items have translations)Included automatically in the export when items with rendering-xhtml have been translated.
Questionnaire
Check my form (calculated results)Tries generated answer combinations on every calculated value and lists text results that no answers can produce (for example a severity band whose threshold was moved), questions whose Show When rule is never met, calculations that never produce a value, and calculations that could not be checked (a multiple-choice list); dates are tried around today (±1 day … ±50 years, 100 years back) and a number without minimum and maximum with 1 to 100. Runs in the browser and changes nothing. A report page shows the formula and results of each calculated field, prints as a short summary and downloads every answer combination as CSV. The same page can check a Questionnaire file or pasted JSON without opening it in the builder, send it to the builder with Open in builder, and save a reference file (the questionnaire plus every answer combination with its calculated values, as one FHIR Bundle). A saved reference file can later be compared with an edited form: every calculation is run on the same answers and reported as unchanged, changed, removed or new.Settings ▾ → "✅ Check my form…"Open Settings ▾ → Check my form…. Problems are listed first; use the ↗ button on a row to jump to that calculation in the builder, or "Open full report" for the printable list.
REDCap
Import from REDCap CSVConverts a REDCap Data Dictionary CSV export into a FHIR R4 Questionnaire. Supports field types: text, notes, radio, checkbox, dropdown, yesno, truefalse, slider, file, calc, descriptive, sql. Forms become groups; section headers become nested groups. Branching logic is converted to enableWhen[] rules. All REDCap-specific values (branching string, calc expression, matrix group, alignment, etc.) are preserved as round-trip extensions under the http://fhir-qb.app/redcap/ namespace.Questionnaires ▾ → From file… → format picker → REDCap CSV — Data DictionaryClick "Questionnaires ▾" → "From file…", choose a .csv file and pick the REDCap format. If validation errors are found a Compatibility Report modal is shown; warnings allow import to proceed.
Export to REDCap CSVExports the current questionnaire as a REDCap Data Dictionary CSV. For questionnaires originally imported from REDCap CSV the export is lossless (round-trip via stored extensions). For questionnaires built from scratch or imported from FHIR a best-effort conversion is performed. A Compatibility Report modal is shown when the questionnaire contains constructs that cannot be represented in REDCap (deep nesting, answerValueSet by URL, SDC expressions, reference/quantity types, etc.).Save ▾ → Questionnaire · FHIR JSON → format picker → REDCap CSVClick "Save ▾" → "Questionnaire · FHIR JSON" and pick the REDCap CSV format. If compatibility issues exist a report modal opens with "Export anyway" to proceed.
StructureDefinition
Generate draft from StructureDefinitionGenerates a full draft Questionnaire tree from a FHIR StructureDefinition/profile in one step, entirely client-side (no server). BackboneElement fields become nested groups; leaf fields become items with type, text, required/repeats, and item.definition set so the existing per-item "Resolve from profile" can re-sync a field later. Profile slicing generates a separate item per slice (alongside the base element); multi-type elements (e.g. value[x]) explode into one item per type, FHIR-named (e.g. deceasedBoolean, deceasedDateTime) — reported informationally in a warnings modal since only one variant should be filled in.Questionnaires ▾ menu → From file… → format picker → FHIR StructureDefinition (.json)Click "Questionnaires ▾" → "From file…", select "FHIR StructureDefinition (.json) — generate draft" in the format picker, then choose a StructureDefinition JSON file. Review any warnings, then hand-tune the generated skeleton (visibility conditions, calculated fields, etc.).
Preview — Accessibility
Accessible preview renderingThe rendered questionnaire preview meets WCAG 2.0 A/AA basics: every form control gets an accessible name (aria-label derived from its item text when no visible label is associated), and interactive badges (item prefix, "optional") meet minimum colour-contrast. Intentionally dimmed inactive rows (enableWhen not met) are exempt. Enforced by an automated accessibility check in the e2e suite (tests/e2e/a11y.spec.js).Right-hand Preview panelAutomatic — no configuration needed. Screen readers announce each control by its item text.
Accessibility — Keyboard & Focus
Dialog focus managementModals are exposed as role="dialog" with aria-modal; opening a modal moves focus into it, Tab is trapped inside the dialog, and closing (Apply/Cancel/Escape) returns focus to the control that opened it. Builder action links (Props, States, Constraint, etc.) are keyboard-accessible (role=button, tabindex, Enter/Space).All modals + builder item action linksAutomatic — open any modal with the keyboard, Tab through it, press Escape to close and return focus.
Accessible dropdowns (custom-select)Custom dropdowns expose combobox/listbox/option ARIA roles with aria-expanded and aria-selected, so screen readers announce them correctly. All preview dropdowns — the shared custom-select and the choice-item select — support full keyboard navigation: Arrow Up/Down move the highlighted option (aria-activedescendant), Enter selects, Home/End jump, Escape closes.Preview choice selects, reference type, unit, and all modal dropdownsAutomatic — focus a dropdown and use Arrow keys + Enter, or Escape to close.
Validation announcements (aria-live)Inline validation errors are exposed as assertive alert regions (role=alert / aria-live=assertive) and the PASS/FAIL status badge is a polite live region (aria-live=polite), so screen readers announce validation state as it changes.Preview control errors + PASS/FAIL status badgeAutomatic — errors and status changes are announced by assistive tech.
Keyboard-operable builder treeLeft-panel builder nodes are fully keyboard-operable: the node title (click-to-edit) is a role=button opened with Enter/Space; collapse toggles are native buttons; the ⚙ gear button exposes aria-haspopup/aria-expanded and its menu items are role=menuitem, reachable by Tab and activated with Enter/Space (Escape closes and returns focus).Builder tree (left panel)Automatic — Tab to a node, press Enter on the title to edit, open the gear menu and use Enter/Escape.