abname_molis: Naam van antibioticum

Description Usage Arguments Source Examples

View source: R/epidemiology.R

Description

Hiermee kan een MOLIS-code omgezet worden naar een (triviale) antibioticumnaam of ATC-code, of andersom.

Usage

1
abname_molis(abcode, textbetween = " + ", tolower = FALSE, ...)

Arguments

abcode

Een antibioticumcode of -naam, zoals "amox", "cftr" of "J01CA04".

textbetween

Standaard is " + ". De tekst die tussen twee of meer middelen komt te staan.

tolower

Standaard is FALSE. Uitkomst als kleine letters weergeven met de functie tolower.

from

Standaard is "certe". Type om van te transformeren. Geldige opties zijn alle variabelen van antibiotics.

to

Standaard is "trivial_nl". Type om naar te transformeren. Geldige opties zijn alle variabelen van antibiotics.

Source

antibiotics

Examples

1
2
3
4
5
6
7
8
abname_molis("amcl")
# "Amoxicilline/clavulaanzuur"

abname_molis("amcl+gent")
# "Amoxicilline/clavulaanzuur + gentamicine"

abname_molis(c("amox", "amcl"))
# "Amoxicilline" "Amoxicilline/clavulaanzuur"

msberends/certedata documentation built on Nov. 26, 2019, 5:19 a.m.