run_sccs: sccs for mnd study

View source: R/run.R

run_sccsR Documentation

sccs for mnd study

Description

sccs for mnd study

Usage

run_sccs(
  demo,
  dx,
  rx,
  ip,
  riluzole_name = "riluzole|rilutek",
  obst = "2001-08-24",
  obed = "2018-12-31",
  icd_pneumonia = "486",
  icd_arf = "^39.65|^89.18|^93.90|^93.95|^93.96|^96.7|^96.04|^518.81|^518.82|^96.7",
  ...
)

Arguments

demo

the dataset with demographic information, including id, dob, dod, sex, onset_date. Pls check the data shall.

rx

the dataset with all prescription records, including id, drug name, date of prescription start and end, type of presciption (IP, OP, AE, Discharge). Pls check the data shall.

ip

the dataset with all in-hospitalization records, including id, date of adminssion, date of discharge, type of records (setting, IP, OP, AE). Pls check the data shall.

obst

the defined study observation date. Choose the earliest avaiable date with *Riluzole* in the hospital or approved date by FDA. For instance, 2001-8-24 in Hong Kong.

obed

the defined study observation date. Default : 2019-12-31

target_drugs

the drug name of riluzole. In hong kong, there are two type of drug names in HK: riluzole and riluteck

Examples

run_sccs()

Cainefm/MND documentation built on Aug. 13, 2022, 3:33 p.m.