R/terminology_import.R
pathling_import_fhir_terminology.RdImports FHIR R4 CodeSystem, ValueSet, and ConceptMap resources into a local terminology store. The source may be a JSON file, a directory of JSON files, or a FHIR NPM package (.tgz).
pathling_import_fhir_terminology(
pc,
source,
storage_path,
verify_package = TRUE,
package_registry = NULL
)The PathlingContext object.
The path to a JSON file, a directory of JSON files, or a FHIR NPM package, on any filesystem accessible through the Hadoop FileSystem API.
The terminology store location, created if absent.
Whether a FHIR NPM package is checked against the checksum its registry publishes. Defaults to TRUE.
The base URL of the registry consulted for the checksum. When NULL, the default registry (https://packages.fhir.org) is used. Defaults to NULL.
The PathlingContext object, invisibly.
When the source is a package, its checksum is compared with the one its registry publishes before anything is written, and the import fails if the two differ. Turning verification off imports without consulting a registry, which is also how an import runs offline; the store then records the verification as skipped.
Other terminology import functions:
pathling_import_snomed()