pat

package
v0.0.0-...-fe173bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComprehensionCheck1

func ComprehensionCheck1(q *qst.QuestionnaireT) error

ComprehensionCheck1

pat1 - page2
pat2 - page6

func ComprehensionCheck2

func ComprehensionCheck2(q *qst.QuestionnaireT) error

ComprehensionCheck2 - single question

func Core

func Core(q *qst.QuestionnaireT) error

Core adds the core part of pages and questions

func Create

func Create(s qst.SurveyT) (*qst.QuestionnaireT, error)

Create paternalismus questionnaire

func End

End adds last page

func Part1Entscheidung1bis6

func Part1Entscheidung1bis6(q *qst.QuestionnaireT, vE VariableElements) error

Part1Entscheidung1bis6 renders

func Part1Frage1

func Part1Frage1(q *qst.QuestionnaireT, vE VariableElements) error

Part1Frage1 renders

func Part2

Part2 renders

func Part2Frage4

func Part2Frage4(q *qst.QuestionnaireT, vE VariableElements) error

Part2Frage4 renders

func PersonalQuestions1

func PersonalQuestions1(q *qst.QuestionnaireT, vE VariableElements) error

PersonalQuestions1 - numbered 5-7

func PersonalQuestions2

func PersonalQuestions2(q *qst.QuestionnaireT, vE VariableElements) error

PersonalQuestions2 - numbered 8-15

func Title

func Title(q *qst.QuestionnaireT, isPOP bool, comprehendWarning bool) error

Title adds title page

Types

type VariableElements

type VariableElements struct {
	// Part 1 and 2
	NumberingQuestions int
	NumberingSections  int

	AllMandatory             bool
	NonGermansOut            bool
	ZumSchlussOrNunOrNothing int

	//
	ZumErstenTeilAsNumber bool

	// Part 2
	ZumXtenTeil string

	Pop2FinishParagraph bool

	ComprehensionCheck1 bool
	ComprehensionCheck2 bool
}

VariableElements is bag of options to questionnaire modules

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL