RegisterViewModel
class RegisterViewModel @Inject constructor(val registerRepository: RegisterRepository, val configurationRegistry: ConfigurationRegistry, val sharedPreferencesHelper: SharedPreferencesHelper, val resourceDataRulesExecutor: ResourceDataRulesExecutor) : ViewModel
Constructors
Link copied to clipboard
@Inject
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This function paginates the register data. An optional clearCache resets the data in the cache (this is necessary after a questionnaire has been submitted to refresh the register with new/updated data).
Link copied to clipboard
fun retrieveRegisterConfiguration(registerId: String, paramMap: Map<String, String>? = emptyMap()): RegisterConfiguration
Link copied to clipboard
fun retrieveRegisterUiState(registerId: String, screenTitle: String, params: Array<ActionParameter>? = emptyArray(), clearCache: Boolean)
Link copied to clipboard