diff --git a/android/quest/src/main/java/org/smartregister/fhircore/quest/ui/questionnaire/QuestionnaireViewModel.kt b/android/quest/src/main/java/org/smartregister/fhircore/quest/ui/questionnaire/QuestionnaireViewModel.kt index 52a3c68bc5..88ad61a800 100644 --- a/android/quest/src/main/java/org/smartregister/fhircore/quest/ui/questionnaire/QuestionnaireViewModel.kt +++ b/android/quest/src/main/java/org/smartregister/fhircore/quest/ui/questionnaire/QuestionnaireViewModel.kt @@ -125,8 +125,8 @@ constructor( configurationRegistry.retrieveConfiguration(ConfigType.Application) } - private lateinit var questionnaireItemParentMap: - Map + private var questionnaireItemParentMap: + Map = mutableMapOf() private val questionnaireLaunchContextMap: Map? = null