Identify section parameters. Section parameters are customizations applied to a set of entities.

In this form, we identify "REQUIRED" as a section parameter.

const section = {
  label: string,
  required: boolean,
  entities: entity[]
}

const entity = {
  type: string,
  label: string
}

Entity

Section

Travel

Patient information
REQUIRED: TRUE

Type: STRING

First name

Type: STRING

Last name

Type: STRING

Birthday

Type: STRING

Sex
Passport
REQUIRED: FALSE

Type: FILE

Passport image

Type: STRING

Passport number

Type: STRING

Issuing country

Type: STRING

Expiry date
Vaccination record
REQUIRED: FALSE

Type: FILE

Vaccination card

Type: BOOLEAN

First dose

Type: STRING

First dose brand

Type: STRING

First dose date

Type: BOOLEAN

Second dose

Type: STRING

Second dose brand

Type: STRING

Second dose date

Type: BOOLEAN

Third dose

Type: STRING

Third dose brand

Type: STRING

Third dose date

Type: BOOLEAN

Fourth dose

Type: STRING

Fourth dose brand

Type: STRING

Fourth dose date
Travel details
REQUIRED: FALSE

Type: STRING

Destination

Type: STRING

Departure date
Next