create
fun create(context: Context, inMemory: Boolean = false, downloadedNpmDir: File? = context.dataDir, packageServer: String? = DEFAULT_PACKAGE_SERVER): KnowledgeManager
Creates a KnowledgeManager instance.
Parameters
context
the application context
in Memory
whether the knowledge manager instance is in-memory or backed by a Room database
downloaded Npm Dir
the directory to store downloaded NPM packages
package Server
the package server to download FHIR NPM packages from. Defaulted to https://packages.fhir.org/packages/.