Provides a dataframe containing data from a registry

getRegDataLokalTilsynsrapportMaaned(
  registryName,
  reshId,
  userRole,
  startDate,
  endDate,
  ...
)

getRegDataRapportDekningsgrad(
  registryName,
  reshId,
  userRole,
  startDate,
  endDate,
  ...
)

getRegDataRapportDekningsgradReservasjon(
  registryName,
  reshId,
  userRole,
  startDate,
  endDate,
  ...
)

getRegDataIndikator(registryName, reshId, userRole, startDate, endDate, ...)

getRegDataOpiodReduksjon(
  registryName,
  reshId,
  userRole,
  startDate,
  endDate,
  ...
)

getSmerteDiagKatValueLab(registryName, reshId, smerteKat)

getRegDataSmertekategori(
  registryName,
  reshId,
  userRole,
  startDate,
  endDate,
  ...
)

getRegDataTimetodeath(registryName, reshId, userRole, startDate, endDate, ...)

getRegDataSpinalkateter(
  registryName,
  reshId,
  userRole,
  startDate,
  endDate,
  ...
)

getRegDataLokalEpidural(
  registryName,
  reshId,
  userRole,
  startDate,
  endDate,
  ...
)

getRegDataRapportOppfolg(
  registryName,
  reshId,
  userRole,
  startDate,
  endDate,
  ...
)

getLocalYears(registryName, reshId, userRole)

getAllYears(registryName, reshId, userRole)

getHospitalName(registryName, reshId, userRole)

getNameReshId(registryName, reshId, asNamedList = FALSE)

getDataDump(registryName, reshId, tableName, fromDate, toDate, ...)

Arguments

registryName

String providing the current registryName

reshId

String providing organization Id

userRole

String providing user role

startDate

String defing start of date range as YYYY-MM-DD

endDate

String defing end of date range as YYYY-MM-DD

...

Optional arguments to be passed to the function

smerteKat

Integer defining the SmerteKat code to use in query

asNamedList

Logical whether to return a list of named values or not.

tableName

String providing a table name

fromDate

String providing start date

toDate

String provideing end date