load Resources
Loads knowledge artifact by its canonical URL and an optional version.
The version can either be passed as a parameter or as part of the URL (using pipe |
to separate the URL and the version). For example, passing the URL http://abc.xyz/fhir/Library|1.0.0
with no version is the same as passing the URL http://abc.xyz/fhir/Library
and version 1.0.0
.
However, if a version is specified both as a parameter and as part of the URL, the two must match.
Throws
if the version specified in the URL and the explicit version do not match
suspend fun loadResources(resourceType: String, url: String? = null, id: String? = null, name: String? = null, version: String? = null): Iterable<IBaseResource>
Deprecated
Load resources using URLs only
Loads resources from IGs listed in dependencies.