This is a function to get Taiwan Health Insurance drug code(NHINo) via Hospital Code(HC)

getNHINoViaHC(
  df,
  HospitalCodeColName,
  SourceDf,
  Source_NhinoColName,
  Source_HospitalCodeColName
)

Arguments

df

data.frame, the specific hospital drug code

HospitalCodeColName

a column name for a specific hospital drug code of df

SourceDf

data.frame include mapping between specific hospital drug code and NHINo

Source_NhinoColName

a column name for NHINo in Sourcedf

Source_HospitalCodeColName

a column name for specific hospital drug code in Sourcedf