Import dm+d files and link it to the BNF code using SNOMED mapping file

importdmd(path)

Arguments

path

dm+d excel file(s) location.

Value

A list with the following elements:

  • api_map - a data.frame containing each BNF code mapped to individual API, its medicinal strength and medicinal form

  • ing - a tibble containing all the API and its code

  • uom - a tibble containing different unit of measurement and its code

  • uomwdesc - a data.frame containing different unit of measurement and its code with description

  • dform - a tibble containing different medicinal form and its code

Examples

if (FALSE) { importdmd("C:/dmdDataLoader/excel/") }