HD DCD XLSForm Overview

HD DCD XLSForm Overview

Last updated: 2025-10-07 15:43

This page is a work-in-progress reference for all available functions in XLS Forms used by healthdata.be to create Data Collection Definitions. It is divided into the three possible sheets: surveychoices, and settings.

survey

This sheet is mandatory in all XLSForms.

CategoryItemDescription
Column headers
typeSets the question type, see below.
nameUnique variable name
label::[language]Label visible in the form. Currently English, French and Dutch are supported.
hint::[language]Providing a help text description.
guidance_hint::[language]Providing a help text tooltip.
constraintSpecifying additional validations on the provided data.
constraint_message::[language]The message a user is shown if the response was not valid
requiredWhether a variable is mandatory to be provided.
required_message::[language]]Allows to customize the error message if required question is not answered
defaultA default value that is pre-filled before the user gets to the question
relevantSkip logic condition (the relevant condition that needs to be fulfilled in order for the present question to be displayed)
read_onlyWhether a question response can be edited
calculationFor specific calculations.
appearanceIncludes variable specifics.
Supported question types
select_one [choices] [or_other]User can choose one of several choices
select_multiple [choices] [or_other]User can choose one or more of several choices
select_one_from_file [file]User can choose one of several choices from an external file
select_multiple_from_file [file]User can choose one or more of several choices from an external file
textUser can enter a text response
integerUser can enter an integer
decimalUser can enter a decimal number
dateUser can enter a date
timeUser can enter a time of day
datetimeUser can enter date and time together
noteUser is shown a note (no response possible)
calculateSpecifically calculated parameter
GroupsGroups contain one or more questions, or other nested groups, which may loop (repeat)
begin_groupSets the beginning of a group
end_groupEnds the group
begin_repeatSets the beginning of a repeat group
end_repeatEnds the repeat group
Form variable references
${variable_name}Reference another question (can be used in skip logic condition [relevant], validation, inside another question or hint label
.Current question

choices

The choices sheet contains the options for the select_one or select_multiple questions in the file.

ItemDescription
list_nameA unique name for each set of choices
nameIdentifier or code of the specific choice.
label::[language]Choice label,visible in the form. Currently English, French and Dutch are supported.
name::systemPossibility to refer to which naming or coding system is used .
mdm:xxxxxReferences for internal healthdata.be purposes

settings

The settings sheet and all of its items are optional.

ItemDescription
form_titleTitle displayed at beginning of form, in form list

hd

The hd sheet contains healthdata.be specific data and/or metadata related to the project.