Skip to content

Commit

Permalink
Closes #2604 documentation clarification vignette derive basetype rec…
Browse files Browse the repository at this point in the history
…ords (#2610)

* # 2545 documentation - derive_basetype_records

don't think I follow the logic;
Thought:  lawyers do it like this.
i) criteria, AND exactly ONE of

iia) criteria2, OR
iib) criteria 2b

blah blabh...

* # 2545, 2604  fix typo

line 233:

~~PARAMCAT1~~
PARCAT1

* #2545, #2604  fix typo,  document()

* Update R/derive_basetype_records.R

Co-authored-by: Stefan Bundfuss <[email protected]>

* chore: #2545 docs

---------

Co-authored-by: Stefan Bundfuss <[email protected]>
Co-authored-by: Ben Straub <[email protected]>
  • Loading branch information
3 people authored Dec 22, 2024
1 parent 749a957 commit 2f70ceb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions R/derive_basetype_records.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
#'
#' Baseline Type `BASETYPE` is needed when there is more than one definition of
#' baseline for a given Analysis Parameter `PARAM` in the same dataset. For a
#' given parameter, if Baseline Value `BASE` is populated, and there is more than
#' one definition of baseline, then `BASETYPE` must be non-null on all records of
#' any type for that parameter. Each value of `BASETYPE` refers to a definition of
#' baseline that characterizes the value of `BASE` on that row. Please see
#' section 4.2.1.6 of the ADaM Implementation Guide, version 1.3 for further
#' background.
#' given parameter, if Baseline Value `BASE` or `BASEC` are derived and there
#' is more than one definition of baseline, then `BASETYPE` must be non-null on
#' all records of any type for that parameter. Each value of `BASETYPE` refers
#' to a definition of baseline that characterizes the value of `BASE` on that
#' row. Please see section 4.2.1.6 of the ADaM Implementation Guide, version
#' 1.3 for further background.
#'
#' Adds the `BASETYPE` variable to a dataset and duplicates records based upon
#' the provided conditions.
Expand Down
12 changes: 6 additions & 6 deletions man/derive_basetype_records.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vignettes/bds_finding.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ attr(param_lookup$VSTESTCD, "label") <- "Vital Signs Test Short Name"

At this stage, only `PARAMCD` is required to perform the derivations. Additional
derived parameters may be added, so only `PARAMCD` is joined to the datasets at
this point. All other variables related to `PARAMCD` (e.g. `PARAM`, `PARAMCAT1`, ...)
this point. All other variables related to `PARAMCD` (e.g. `PARAM`, `PARCAT1`, ...)
will be added when all `PARAMCD` are derived.

```{r eval=TRUE}
Expand Down

0 comments on commit 2f70ceb

Please sign in to comment.