Internal helper that builds the code needed to apply an analysis set to the current analysis. The function inspects the ARS metadata to determine filter conditions and returns the templated code together with the name of the resulting population dataset.
.generate_analysis_set_code(
j,
analysis_sets,
analyses,
anas,
analysis_set_id,
analysis_id
)A list containing the generated code and the name of the dataset that holds the filtered analysis population.
Index of the current analysis within the output loop.
AnalysisSets metadata for the reporting event.
Analyses metadata for the reporting event.
The analyses tied to the current output (Lopa subset).
Identifier for the analysis set used by the analysis.
Identifier for the analysis that is being generated.