/
ITEM TYPE: "FORM"

ITEM TYPE: "FORM"

This type of ITEM is used to embed another FORM into a parent FORM.

This ITEM can be used to avoid creating FORMS with a large number of questions, and instead of that, the questions my be grouped in separate sub-FORMS. Then it would be possible create a simpler FORM that uses this ITEM TYPE to embed the sub-FORMS by defining a reference the them.

As a result, the parent FORM would appear to be composed by the union of all the ITEMS in the sub-FORMS

Editability of the embedded ITEMS

The questions of the embedded FORMS will only be editable when

  • The parent FORM is in OPEN state
  • The embedded FORM is 'HIDDEN'
  • The embedded FORM belongs to the same TASK than the parent FORM

Otherwise the questions of the sub-FORM will be embedded but not editable (can be used to display summaries of other FORMS

Referencing sub-FORMS

The reference to a sub FORM is calculated using the FORMULA property if this ITEM type. The calculation of the FORMULA may return:

  • A direct FORM reference that refers to a specific FORM
  • A FORM_CODE: in this case, the system will look for the most recent FORM with the indicated FORM_CODE that belongs to any ADMISSION of the PATIENT

Execution of ACTION formulas

When the FORM embedded with a FORM ITEM includes ACTION FORMULAS, the ACTION will be executed when the last open ACTIVITY including the embedded FORM is closed.

Related content