Skip to content

Commit

Permalink
Fix pipeline failure
Browse files Browse the repository at this point in the history
  • Loading branch information
rammprasad committed Jun 18, 2024
1 parent a86e4a9 commit 3e9782e
Showing 1 changed file with 123 additions and 15 deletions.
138 changes: 123 additions & 15 deletions R/derive_blfl.R
Original file line number Diff line number Diff line change
Expand Up @@ -174,21 +174,129 @@ dtc_timepart <- function(dtc, partial_as_na = TRUE, ignore_seconds = TRUE) {
#'
#' dm
#'
#' sdtm_in <-
#' tibble::tribble(
#' ~DOMAIN, ~oak_id, ~raw_source, ~patient_number, ~USUBJID, ~VSDTC, ~VSTESTCD, ~VSORRES, ~VSSTAT, ~VISIT,
#' "VS", 1L, "VTLS1", 375L, "test_study-375", "2020-09-01T13:31", "DIABP", "90", NA, "SCREENING",
#' "VS", 2L, "VTLS1", 375L, "test_study-375", "2020-10-01T11:20", "DIABP", "90", NA, "SCREENING",
#' "VS", 1L, "VTLS1", 375L, "test_study-375", "2020-09-28T10:10", "PULSE", "ND", NA, "SCREENING",
#' "VS", 2L, "VTLS1", 375L, "test_study-375", "2020-10-01T13:31", "PULSE", "85", NA, "SCREENING",
#' "VS", 1L, "VTLS2", 375L, "test_study-375", "2020-09-28T10:10", "SYSBP", "120", NA, "SCREENING",
#' "VS", 2L, "VTLS2", 375L, "test_study-375", "2020-09-28T10:05", "SYSBP", "120", NA, "SCREENING",
#' "VS", 1L, "VTLS1", 376L, "test_study-376", "2020-09-20", "DIABP", "75", NA, "SCREENING",
#' "VS", 1L, "VTLS1", 376L, "test_study-376", "2020-09-20", "PULSE", NA, "NOT DONE", "SCREENING", # nolint
#' "VS", 2L, "VTLS1", 376L, "test_study-376", "2020-09-20", "PULSE", "110", NA, "SCREENING",
#' "VS", 2L, "VTLS1", 378L, "test_study-378", "2020-01-20T10:00", "PULSE", "110", NA, "SCREENING",
#' "VS", 3L, "VTLS1", 378L, "test_study-378", "2020-01-21T11:00", "PULSE", "105", NA, "SCREENING"
#' )
#' sdtm_in <-
#' tibble::tribble(
#' ~ DOMAIN,
#' ~ oak_id,
#' ~ raw_source,
#' ~ patient_number,
#' ~ USUBJID,
#' ~ VSDTC,
#' ~ VSTESTCD,
#' ~ VSORRES,
#' ~ VSSTAT,
#' ~ VISIT,
#' "VS",
#' 1L,
#' "VTLS1",
#' 375L,
#' "test_study-375",
#' "2020-09-01T13:31",
#' "DIABP",
#' "90",
#' NA,
#' "SCREENING",
#' "VS",
#' 2L,
#' "VTLS1",
#' 375L,
#' "test_study-375",
#' "2020-10-01T11:20",
#' "DIABP",
#' "90",
#' NA,
#' "SCREENING",
#' "VS",
#' 1L,
#' "VTLS1",
#' 375L,
#' "test_study-375",
#' "2020-09-28T10:10",
#' "PULSE",
#' "ND",
#' NA,
#' "SCREENING",
#' "VS",
#' 2L,
#' "VTLS1",
#' 375L,
#' "test_study-375",
#' "2020-10-01T13:31",
#' "PULSE",
#' "85",
#' NA,
#' "SCREENING",
#' "VS",
#' 1L,
#' "VTLS2",
#' 375L,
#' "test_study-375",
#' "2020-09-28T10:10",
#' "SYSBP",
#' "120",
#' NA,
#' "SCREENING",
#' "VS",
#' 2L,
#' "VTLS2",
#' 375L,
#' "test_study-375",
#' "2020-09-28T10:05",
#' "SYSBP",
#' "120",
#' NA,
#' "SCREENING",
#' "VS",
#' 1L,
#' "VTLS1",
#' 376L,
#' "test_study-376",
#' "2020-09-20",
#' "DIABP",
#' "75",
#' NA,
#' "SCREENING",
#' "VS",
#' 1L,
#' "VTLS1",
#' 376L,
#' "test_study-376",
#' "2020-09-20",
#' "PULSE",
#' NA,
#' "NOT DONE",
#' "SCREENING",
#' "VS",
#' 2L,
#' "VTLS1",
#' 376L,
#' "test_study-376",
#' "2020-09-20",
#' "PULSE",
#' "110",
#' NA,
#' "SCREENING",
#' "VS",
#' 2L,
#' "VTLS1",
#' 378L,
#' "test_study-378",
#' "2020-01-20T10:00",
#' "PULSE",
#' "110",
#' NA,
#' "SCREENING",
#' "VS",
#' 3L,
#' "VTLS1",
#' 378L,
#' "test_study-378",
#' "2020-01-21T11:00",
#' "PULSE",
#' "105",
#' NA,
#' "SCREENING"
#' )
#'
#' sdtm_in
#'
Expand Down

0 comments on commit 3e9782e

Please sign in to comment.