Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "chadsvasc"

Index

Functions

Functions

chadsVasc

  • chadsVasc(age: number, female: boolean, hf: boolean, ht: boolean, sti: boolean, dbm: boolean, vd: boolean): number
  • calculate CHA2DS2-VASc score for a patient

    Parameters

    • age: number

      age in years.

    • female: boolean

      whether patient is female

    • hf: boolean

      whether patient has history of heart failure

    • ht: boolean

      whether patient has history of hypertension

    • sti: boolean

      whether patient has history of stroke or transient ischemic attack

    • dbm: boolean

      whether patient has history of diabetes mellitus

    • vd: boolean

      whether patient has history of vascular disease

    Returns number

Generated using TypeDoc