getNHINoViaRCFNo: Get Taiwan Health Insurance drug code(NHINo) via Hospital...

View source: R/getNHINoViaRCFNo.R

getNHINoViaRCFNoR Documentation

Get Taiwan Health Insurance drug code(NHINo) via Hospital drug code(RCFNo)

Description

This is a function to get Taiwan Health Insurance drug code(NHINo) via Chang Gung Medical Hospital drug code(RCFNo)

Usage

getNHINoViaRCFNo(df, RCFNoColName = RCFNO)

Arguments

df

data.frame, the specific hospital drug code

RCFNoColName

a colum name for RCFNo of df

Details

User can input the specific hospital drug code If there is no corresponed NHINo, then display NA.

Value

A new data.table with following columns.

CGMH_CODE Chang Gung Medical Hospital drug code RCFNo

NHINO1 drug NHINo

Examples

# sample of getting NHINo via RCFNo of Chang Gung Medical Hospital.
head(getNHINoViaRCFNo(df = sample_taiwan_drug, RCFNoColName = CGMH_CODE))

DHLab-CGU/pharm documentation built on July 2, 2022, 7:16 a.m.