Derives CDISC SDTM domains from raw clinical (EDC/eCRF) data using the {sdtm.oak} R package. Use when a user needs to map raw study data to SDTM Events (AE, CM, MH), Findings (VS, LB, EG), or Interventions (EX) domains following the sdtm.oak algorithm framework. Produces executable, submission- ready R code with controlled terminology recoding, ISO 8601 date derivation, sequence numbering, and study day calculation.
$npx -y skills add rconsortium/pharma-skills --skill sdtm-oakInstalls into the current project.
Run `npx skills use "https://github.com/rconsortium/pharma-skills" --skill "rconsortium/pharma-skills/sdtm-oak"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/rconsortium/pharma-skills" that are relevant to the current task. Run `npx skills add "https://github.com/rconsortium/pharma-skills"` and select the relevant skills, then follow their instructions.