retrieveConfiguration
inline fun <T : Configuration> retrieveConfiguration(configType: ConfigType, configId: String? = null, paramsMap: Map<String, String>? = emptyMap()): T
Retrieve configuration for the provided ConfigType. The JSON retrieved from configsJsonMap can be directly converted to a FHIR resource or hard coded custom model. The filtering assumes you are passing data across screens, then later using it in DataQueries and to retrieve registerConfiguration. It is necessary to check that paramsMap is empty to confirm that the params used in the DataQuery are passed when retrieving the configurations.
Throws
when the configsJsonMap doesn't contain a value for the specified key.