As a clinical trial statistician or programmer, answer two short questions in Your review: the task and the inputs and outputs. Agreeing with both approves this benchmark; disagreeing with either needs a comment. Propose a fix with the Edit button on any source file, or add it to your comments.
We suggest spending no more than 5 minutes on a review. The other tabs beside Your review are background for assessment, not under review.
Summary
README.mdPublic entries: Python and R. Passing coverage requires an installed inventory.
Goal: submit a subject-level and a laboratory analysis dataset with one data-definition document that also describes the analysis behind two tables of the study report.
Input: two spec files, the project that lists them and one file of analysis results:
spec_adsl.yamlbuilds the subject-level dataset (ADSL) from demographics, one record per subject;spec_adlb.yamlbuilds the laboratory dataset (ADLB) from standardized laboratory results, one record per subject and test;project.yamllists both, declares the analysis plan, the tables document and a program as supporting documents, and describes the table of subject counts itself;arm/efficacy.yaml, which the project names first, describes the glucose table.
Variables:
SAFFLisYfor a subject who received a study treatment andNotherwise.TRT01ANnumbers the treatment the subject received; missing for a subject who received none.PARAMCDis the laboratory test code: glucose, creatinine and the pregnancy test.PARAMnames the parameter, with its unit for the numeric tests.AVALis the numeric result; missing for the pregnancy test.AVALCis the result as text.
Note: the data-definition document describes each table once, in the order the project names them, whether a table is described in the project or in a file of its own: its name and where it is in the tables document, then each result it shows with the reason and purpose of the analysis, the datasets it reads, the records it selects from each and the variables it analyses. The glucose table reads both datasets, so it says how they are joined, points to the section of the analysis plan that describes it and carries its program; the subject-level dataset only selects its subjects, so no variable of it is analysed. Because that table summarises laboratory parameters, its result names the parameter variable; the count of subjects reads the subject-level dataset alone and names none, and cites its program as a document. Every dataset, variable and document a table names is one the study describes.
Inputs
Under review2 source filesinput/dm.csv
Edit3 rows| STUDYID | USUBJID | ACTARMCD |
|---|---|---|
| CATH | A | |
| CATH | B | |
| CATH | — |
input/lb.csv
Edit6 rows| STUDYID | USUBJID | LBSEQ | LBTESTCD | LBTEST | LBSTRESC | LBSTRESN | LBSTRESU |
|---|---|---|---|---|---|---|---|
| CATH | 1 | GLUC | Glucose | 95 | 95 | mg/dL | |
| CATH | 2 | CREAT | Creatinine | 79.6 | 79.6 | umol/L | |
| CATH | 3 | HCG | Choriogonadotropin Beta | NEGATIVE | — | — | |
| CATH | 1 | GLUC | Glucose | 101 | 101 | mg/dL | |
| CATH | 2 | CREAT | Creatinine | 88.4 | 88.4 | umol/L | |
| CATH | 3 | HCG | Choriogonadotropin Beta | POSITIVE | — | — |
Expected output
Under review9 expected rowsexpected/adlb.csv
Edit6 rows| STUDYID | USUBJID | PARAMCD | PARAM | AVAL | AVALC |
|---|---|---|---|---|---|
| CATH | GLUC | Glucose (mg/dL) | 95 | 95 | |
| CATH | CREAT | Creatinine (umol/L) | 79.6 | 79.6 | |
| CATH | HCG | Choriogonadotropin Beta | — | NEGATIVE | |
| CATH | GLUC | Glucose (mg/dL) | 101 | 101 | |
| CATH | CREAT | Creatinine (umol/L) | 88.4 | 88.4 | |
| CATH | HCG | Choriogonadotropin Beta | — | POSITIVE |
expected/adlb.json
Edit{
"datasetJSONCreationDateTime": "2026-09-11T00:00:00",
"datasetJSONVersion": "1.1.0",
"fileOID": "CATH.adam.Define-XML_2.1.ADLB",
"sourceSystem": {"name": "yamaa", "version": "1.0"},
"studyOID": "STDY.CATH",
"metaDataVersionOID": "MDV.CATH.adam",
"metaDataRef": "define.xml",
"itemGroupOID": "IG.ADLB",
"records": 6,
"name": "ADLB",
"label": "Laboratory Analysis Dataset",
"columns": [
{"itemOID": "IT.ADLB.STUDYID", "name": "STUDYID", "label": "Study Identifier", "dataType": "string", "length": 4, "keySequence": 1},
{"itemOID": "IT.ADLB.USUBJID", "name": "USUBJID", "label": "Unique Subject Identifier", "dataType": "string", "length": 8, "keySequence": 2},
{"itemOID": "IT.ADLB.PARAMCD", "name": "PARAMCD", "label": "Parameter Code", "dataType": "string", "length": 5, "keySequence": 3},
{"itemOID": "IT.ADLB.PARAM", "name": "PARAM", "label": "Parameter", "dataType": "string", "length": 23},
{"itemOID": "IT.ADLB.AVAL", "name": "AVAL", "label": "Analysis Value", "dataType": "float", "length": 8},
{"itemOID": "IT.ADLB.AVALC", "name": "AVALC", "label": "Analysis Value (C)", "dataType": "string", "length": 8}
],
"rows": [
["CATH", "CATH-001", "GLUC", "Glucose (mg/dL)", 95, "95"],
["CATH", "CATH-001", "CREAT", "Creatinine (umol/L)", 79.6, "79.6"],
["CATH", "CATH-001", "HCG", "Choriogonadotropin Beta", null, "NEGATIVE"],
["CATH", "CATH-002", "GLUC", "Glucose (mg/dL)", 101, "101"],
["CATH", "CATH-002", "CREAT", "Creatinine (umol/L)", 88.4, "88.4"],
["CATH", "CATH-002", "HCG", "Choriogonadotropin Beta", null, "POSITIVE"]
]
}
expected/adsl.csv
Edit3 rows| STUDYID | USUBJID | SAFFL | TRT01AN |
|---|---|---|---|
| CATH | Y | 1 | |
| CATH | Y | 2 | |
| CATH | N | — |
expected/adsl.json
Edit{
"datasetJSONCreationDateTime": "2026-09-11T00:00:00",
"datasetJSONVersion": "1.1.0",
"fileOID": "CATH.adam.Define-XML_2.1.ADSL",
"sourceSystem": {"name": "yamaa", "version": "1.0"},
"studyOID": "STDY.CATH",
"metaDataVersionOID": "MDV.CATH.adam",
"metaDataRef": "define.xml",
"itemGroupOID": "IG.ADSL",
"records": 3,
"name": "ADSL",
"label": "Subject-Level Analysis Dataset",
"columns": [
{"itemOID": "IT.ADSL.STUDYID", "name": "STUDYID", "label": "Study Identifier", "dataType": "string", "length": 4, "keySequence": 1},
{"itemOID": "IT.ADSL.USUBJID", "name": "USUBJID", "label": "Unique Subject Identifier", "dataType": "string", "length": 8, "keySequence": 2},
{"itemOID": "IT.ADSL.SAFFL", "name": "SAFFL", "label": "Safety Population Flag", "dataType": "string", "length": 1},
{"itemOID": "IT.ADSL.TRT01AN", "name": "TRT01AN", "label": "Actual Treatment for Period 01 (N)", "dataType": "integer", "length": 8}
],
"rows": [
["CATH", "CATH-001", "Y", 1],
["CATH", "CATH-002", "Y", 2],
["CATH", "CATH-003", "N", null]
]
}
expected/define.xml
EditDefine-XMLDefine-XML 2.1.11: CATH
Example study describing the analyses behind its tables; CATH-01; ADaMIG 1.3
| Dataset | Description | Class | Structure | Purpose | Keys | Documentation | Location |
|---|---|---|---|---|---|---|---|
| ADSL | Subject-Level Analysis Dataset | SUBJECT LEVEL ANALYSIS DATASET | One record per subject | Analysis | STUDYID, USUBJID | adsl.json | |
| ADLB | Laboratory Analysis Dataset | BASIC DATA STRUCTURE | One record per subject per parameter | Analysis | STUDYID, USUBJID, PARAMCD | adlb.json |
ADSL
| Variable | Label / Description | Type | Length or Display Format | Controlled Terms or ISO Format | Origin / Source / Method / Comment |
|---|---|---|---|---|---|
| STUDYID | Study Identifier | text | 4 | Predecessor; DM.STUDYID | |
| USUBJID | Unique Subject Identifier | text | 8 | Predecessor; DM.USUBJID | |
| SAFFL | Safety Population Flag | text | 1 | No Yes Response (CL.NY) N Y | Derived; Sponsor Y when the subject received a study treatment, otherwise N. |
| TRT01AN | Actual Treatment for Period 01 (N) | integer | 8 | Assigned; Sponsor |
ADLB
| Variable | Label / Description | Type | Length or Display Format | Controlled Terms or ISO Format | Origin / Source / Method / Comment |
|---|---|---|---|---|---|
| STUDYID | Study Identifier | text | 4 | Predecessor; LB.STUDYID | |
| USUBJID | Unique Subject Identifier | text | 8 | Predecessor; LB.USUBJID | |
| PARAMCD | Parameter Code | text | 5 | Predecessor; LB.LBTESTCD | |
| PARAM | Parameter | text | 23 | Assigned; Sponsor | |
| AVAL | Analysis Value | float | 8 | Predecessor; LB.LBSTRESN | |
| AVALC | Analysis Value (C) | text | 8 | Predecessor; LB.LBSTRESC |
| Where Condition | Variable | Label / Description | Type | Length or Display Format | Controlled Terms or ISO Format | Origin / Source / Method / Comment |
|---|---|---|---|---|---|---|
| PARAMCD = GLUC | AVAL | Glucose (mg/dL) | float | 8 | Predecessor; LB.LBSTRESN | |
| PARAMCD = CREAT | AVAL | Creatinine (umol/L) | float | 8 | Predecessor; LB.LBSTRESN |
| Where Condition | Variable | Label / Description | Type | Length or Display Format | Controlled Terms or ISO Format | Origin / Source / Method / Comment |
|---|---|---|---|---|---|---|
| PARAMCD = HCG | AVALC | Analysis Value (C) | text | 8 | Pregnancy Test Result (CL.HCGRS) NEGATIVE POSITIVE | Predecessor; LB.LBSTRESC |
Original source
<?xml version="1.0" encoding="UTF-8"?>
<ODM xmlns="http://www.cdisc.org/ns/odm/v1.3" xmlns:def="http://www.cdisc.org/ns/def/v2.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:arm="http://www.cdisc.org/ns/arm/v1.0" ODMVersion="1.3.2" FileType="Snapshot" FileOID="CATH.adam.Define-XML_2.1" CreationDateTime="2026-09-11T00:00:00" SourceSystem="yamaa" SourceSystemVersion="1.0" def:Context="Submission">
<Study OID="STDY.CATH">
<GlobalVariables>
<StudyName>CATH</StudyName>
<StudyDescription>Example study describing the analyses behind its tables</StudyDescription>
<ProtocolName>CATH-01</ProtocolName>
</GlobalVariables>
<MetaDataVersion OID="MDV.CATH.adam" Name="CATH adam metadata" def:DefineVersion="2.1.11">
<def:Standards>
<def:Standard OID="STD.ADaMIG" Name="ADaMIG" Type="IG" Version="1.3" Status="Final"/>
</def:Standards>
<def:SupplementalDoc>
<def:DocumentRef leafID="LF.SAP"/>
</def:SupplementalDoc>
<def:ValueListDef OID="VL.ADLB.AVAL">
<ItemRef ItemOID="IT.ADLB.AVAL.GLUC" OrderNumber="1" Mandatory="Yes">
<def:WhereClauseRef WhereClauseOID="WC.ADLB.AVAL.GLUC"/>
</ItemRef>
<ItemRef ItemOID="IT.ADLB.AVAL.CREAT" OrderNumber="2" Mandatory="Yes">
<def:WhereClauseRef WhereClauseOID="WC.ADLB.AVAL.CREAT"/>
</ItemRef>
</def:ValueListDef>
<def:ValueListDef OID="VL.ADLB.AVALC">
<ItemRef ItemOID="IT.ADLB.AVALC.HCG" OrderNumber="1" Mandatory="Yes">
<def:WhereClauseRef WhereClauseOID="WC.ADLB.AVALC.HCG"/>
</ItemRef>
</def:ValueListDef>
<def:WhereClauseDef OID="WC.ADLB.AVAL.GLUC">
<RangeCheck Comparator="EQ" SoftHard="Soft" def:ItemOID="IT.ADLB.PARAMCD">
<CheckValue>GLUC</CheckValue>
</RangeCheck>
</def:WhereClauseDef>
<def:WhereClauseDef OID="WC.ADLB.AVAL.CREAT">
<RangeCheck Comparator="EQ" SoftHard="Soft" def:ItemOID="IT.ADLB.PARAMCD">
<CheckValue>CREAT</CheckValue>
</RangeCheck>
</def:WhereClauseDef>
<def:WhereClauseDef OID="WC.ADLB.AVALC.HCG">
<RangeCheck Comparator="EQ" SoftHard="Soft" def:ItemOID="IT.ADLB.PARAMCD">
<CheckValue>HCG</CheckValue>
</RangeCheck>
</def:WhereClauseDef>
<def:WhereClauseDef OID="WCA.T14.3.01.R1.ADSL">
<RangeCheck Comparator="EQ" SoftHard="Soft" def:ItemOID="IT.ADSL.SAFFL">
<CheckValue>Y</CheckValue>
</RangeCheck>
<RangeCheck Comparator="EQ" SoftHard="Soft" def:ItemOID="IT.ADSL.TRT01AN">
<CheckValue>1</CheckValue>
</RangeCheck>
</def:WhereClauseDef>
<def:WhereClauseDef OID="WCA.T14.3.01.R1.ADLB">
<RangeCheck Comparator="EQ" SoftHard="Soft" def:ItemOID="IT.ADLB.PARAMCD">
<CheckValue>GLUC</CheckValue>
</RangeCheck>
</def:WhereClauseDef>
<def:WhereClauseDef OID="WCA.T14.1.01.R1.ADSL">
<RangeCheck Comparator="EQ" SoftHard="Soft" def:ItemOID="IT.ADSL.SAFFL">
<CheckValue>Y</CheckValue>
</RangeCheck>
</def:WhereClauseDef>
<ItemGroupDef OID="IG.ADSL" Name="ADSL" Purpose="Analysis" SASDatasetName="ADSL" Repeating="No" IsReferenceData="No" def:Structure="One record per subject" def:ArchiveLocationID="LF.ADSL" def:StandardOID="STD.ADaMIG">
<Description>
<TranslatedText xml:lang="en">Subject-Level Analysis Dataset</TranslatedText>
</Description>
<ItemRef ItemOID="IT.ADSL.STUDYID" OrderNumber="1" Mandatory="Yes" KeySequence="1"/>
<ItemRef ItemOID="IT.ADSL.USUBJID" OrderNumber="2" Mandatory="Yes" KeySequence="2"/>
<ItemRef ItemOID="IT.ADSL.SAFFL" OrderNumber="3" Mandatory="Yes" MethodOID="MT.ADSL.SAFFL"/>
<ItemRef ItemOID="IT.ADSL.TRT01AN" OrderNumber="4" Mandatory="No"/>
<def:Class Name="SUBJECT LEVEL ANALYSIS DATASET"/>
<def:leaf ID="LF.ADSL" xlink:href="adsl.json">
<def:title>adsl.json</def:title>
</def:leaf>
</ItemGroupDef>
<ItemGroupDef OID="IG.ADLB" Name="ADLB" Purpose="Analysis" SASDatasetName="ADLB" Repeating="Yes" IsReferenceData="No" def:Structure="One record per subject per parameter" def:ArchiveLocationID="LF.ADLB" def:StandardOID="STD.ADaMIG">
<Description>
<TranslatedText xml:lang="en">Laboratory Analysis Dataset</TranslatedText>
</Description>
<ItemRef ItemOID="IT.ADLB.STUDYID" OrderNumber="1" Mandatory="Yes" KeySequence="1"/>
<ItemRef ItemOID="IT.ADLB.USUBJID" OrderNumber="2" Mandatory="Yes" KeySequence="2"/>
<ItemRef ItemOID="IT.ADLB.PARAMCD" OrderNumber="3" Mandatory="Yes" KeySequence="3"/>
<ItemRef ItemOID="IT.ADLB.PARAM" OrderNumber="4" Mandatory="Yes"/>
<ItemRef ItemOID="IT.ADLB.AVAL" OrderNumber="5" Mandatory="No"/>
<ItemRef ItemOID="IT.ADLB.AVALC" OrderNumber="6" Mandatory="No"/>
<def:Class Name="BASIC DATA STRUCTURE"/>
<def:leaf ID="LF.ADLB" xlink:href="adlb.json">
<def:title>adlb.json</def:title>
</def:leaf>
</ItemGroupDef>
<ItemDef OID="IT.ADSL.STUDYID" Name="STUDYID" DataType="text" Length="4" SASFieldName="STUDYID">
<Description>
<TranslatedText xml:lang="en">Study Identifier</TranslatedText>
</Description>
<def:Origin Type="Predecessor">
<Description>
<TranslatedText xml:lang="en">DM.STUDYID</TranslatedText>
</Description>
</def:Origin>
</ItemDef>
<ItemDef OID="IT.ADSL.USUBJID" Name="USUBJID" DataType="text" Length="8" SASFieldName="USUBJID">
<Description>
<TranslatedText xml:lang="en">Unique Subject Identifier</TranslatedText>
</Description>
<def:Origin Type="Predecessor">
<Description>
<TranslatedText xml:lang="en">DM.USUBJID</TranslatedText>
</Description>
</def:Origin>
</ItemDef>
<ItemDef OID="IT.ADSL.SAFFL" Name="SAFFL" DataType="text" Length="1" SASFieldName="SAFFL">
<Description>
<TranslatedText xml:lang="en">Safety Population Flag</TranslatedText>
</Description>
<CodeListRef CodeListOID="CL.NY"/>
<def:Origin Type="Derived" Source="Sponsor"/>
</ItemDef>
<ItemDef OID="IT.ADSL.TRT01AN" Name="TRT01AN" DataType="integer" Length="8" SASFieldName="TRT01AN">
<Description>
<TranslatedText xml:lang="en">Actual Treatment for Period 01 (N)</TranslatedText>
</Description>
<def:Origin Type="Assigned" Source="Sponsor"/>
</ItemDef>
<ItemDef OID="IT.ADLB.STUDYID" Name="STUDYID" DataType="text" Length="4" SASFieldName="STUDYID">
<Description>
<TranslatedText xml:lang="en">Study Identifier</TranslatedText>
</Description>
<def:Origin Type="Predecessor">
<Description>
<TranslatedText xml:lang="en">LB.STUDYID</TranslatedText>
</Description>
</def:Origin>
</ItemDef>
<ItemDef OID="IT.ADLB.USUBJID" Name="USUBJID" DataType="text" Length="8" SASFieldName="USUBJID">
<Description>
<TranslatedText xml:lang="en">Unique Subject Identifier</TranslatedText>
</Description>
<def:Origin Type="Predecessor">
<Description>
<TranslatedText xml:lang="en">LB.USUBJID</TranslatedText>
</Description>
</def:Origin>
</ItemDef>
<ItemDef OID="IT.ADLB.PARAMCD" Name="PARAMCD" DataType="text" Length="5" SASFieldName="PARAMCD">
<Description>
<TranslatedText xml:lang="en">Parameter Code</TranslatedText>
</Description>
<def:Origin Type="Predecessor">
<Description>
<TranslatedText xml:lang="en">LB.LBTESTCD</TranslatedText>
</Description>
</def:Origin>
</ItemDef>
<ItemDef OID="IT.ADLB.PARAM" Name="PARAM" DataType="text" Length="23" SASFieldName="PARAM">
<Description>
<TranslatedText xml:lang="en">Parameter</TranslatedText>
</Description>
<def:Origin Type="Assigned" Source="Sponsor"/>
</ItemDef>
<ItemDef OID="IT.ADLB.AVAL" Name="AVAL" DataType="float" Length="8" SignificantDigits="1" SASFieldName="AVAL">
<Description>
<TranslatedText xml:lang="en">Analysis Value</TranslatedText>
</Description>
<def:Origin Type="Predecessor">
<Description>
<TranslatedText xml:lang="en">LB.LBSTRESN</TranslatedText>
</Description>
</def:Origin>
<def:ValueListRef ValueListOID="VL.ADLB.AVAL"/>
</ItemDef>
<ItemDef OID="IT.ADLB.AVAL.GLUC" Name="AVAL" DataType="float" Length="8" SignificantDigits="0" SASFieldName="AVAL">
<Description>
<TranslatedText xml:lang="en">Glucose (mg/dL)</TranslatedText>
</Description>
<def:Origin Type="Predecessor">
<Description>
<TranslatedText xml:lang="en">LB.LBSTRESN</TranslatedText>
</Description>
</def:Origin>
</ItemDef>
<ItemDef OID="IT.ADLB.AVAL.CREAT" Name="AVAL" DataType="float" Length="8" SignificantDigits="1" SASFieldName="AVAL">
<Description>
<TranslatedText xml:lang="en">Creatinine (umol/L)</TranslatedText>
</Description>
<def:Origin Type="Predecessor">
<Description>
<TranslatedText xml:lang="en">LB.LBSTRESN</TranslatedText>
</Description>
</def:Origin>
</ItemDef>
<ItemDef OID="IT.ADLB.AVALC" Name="AVALC" DataType="text" Length="8" SASFieldName="AVALC">
<Description>
<TranslatedText xml:lang="en">Analysis Value (C)</TranslatedText>
</Description>
<def:Origin Type="Predecessor">
<Description>
<TranslatedText xml:lang="en">LB.LBSTRESC</TranslatedText>
</Description>
</def:Origin>
<def:ValueListRef ValueListOID="VL.ADLB.AVALC"/>
</ItemDef>
<ItemDef OID="IT.ADLB.AVALC.HCG" Name="AVALC" DataType="text" Length="8" SASFieldName="AVALC">
<Description>
<TranslatedText xml:lang="en">Analysis Value (C)</TranslatedText>
</Description>
<CodeListRef CodeListOID="CL.HCGRS"/>
<def:Origin Type="Predecessor">
<Description>
<TranslatedText xml:lang="en">LB.LBSTRESC</TranslatedText>
</Description>
</def:Origin>
</ItemDef>
<CodeList OID="CL.HCGRS" Name="Pregnancy Test Result" DataType="text" def:IsNonStandard="Yes">
<EnumeratedItem CodedValue="NEGATIVE"/>
<EnumeratedItem CodedValue="POSITIVE"/>
</CodeList>
<CodeList OID="CL.NY" Name="No Yes Response" DataType="text" def:IsNonStandard="Yes">
<EnumeratedItem CodedValue="N"/>
<EnumeratedItem CodedValue="Y"/>
</CodeList>
<MethodDef OID="MT.ADSL.SAFFL" Name="ADSL.SAFFL" Type="Computation">
<Description>
<TranslatedText xml:lang="en">Y when the subject received a study treatment, otherwise N.</TranslatedText>
</Description>
</MethodDef>
<def:CommentDef OID="COMA.T14.3.01.R1">
<Description>
<TranslatedText xml:lang="en">ADSL selects the subjects; ADLB is joined to it by USUBJID.</TranslatedText>
</Description>
</def:CommentDef>
<def:leaf ID="LF.SAP" xlink:href="sap.pdf">
<def:title>Statistical Analysis Plan</def:title>
</def:leaf>
<def:leaf ID="LF.TLF" xlink:href="tlf.pdf">
<def:title>Tables</def:title>
</def:leaf>
<def:leaf ID="LF.PGM" xlink:href="t14-1-01.R">
<def:title>Program of Table 14.1.01</def:title>
</def:leaf>
<arm:AnalysisResultDisplays>
<arm:ResultDisplay OID="RD.T14.3.01" Name="Table 14.3.01">
<Description>
<TranslatedText xml:lang="en">Summary of glucose in treatment group 1</TranslatedText>
</Description>
<def:DocumentRef leafID="LF.TLF">
<def:PDFPageRef PageRefs="T14_3_01" Type="NamedDestination"/>
</def:DocumentRef>
<arm:AnalysisResult OID="AR.T14.3.01.R1" ParameterOID="IT.ADLB.PARAMCD" AnalysisReason="SPECIFIED IN SAP" AnalysisPurpose="PRIMARY OUTCOME MEASURE">
<Description>
<TranslatedText xml:lang="en">Mean glucose of the safety population in treatment group 1</TranslatedText>
</Description>
<arm:AnalysisDatasets def:CommentOID="COMA.T14.3.01.R1">
<arm:AnalysisDataset ItemGroupOID="IG.ADSL">
<def:WhereClauseRef WhereClauseOID="WCA.T14.3.01.R1.ADSL"/>
</arm:AnalysisDataset>
<arm:AnalysisDataset ItemGroupOID="IG.ADLB">
<def:WhereClauseRef WhereClauseOID="WCA.T14.3.01.R1.ADLB"/>
<arm:AnalysisVariable ItemOID="IT.ADLB.AVAL"/>
</arm:AnalysisDataset>
</arm:AnalysisDatasets>
<arm:Documentation>
<Description>
<TranslatedText xml:lang="en">Glucose is summarised as section 9.2 of the plan describes.</TranslatedText>
</Description>
<def:DocumentRef leafID="LF.SAP">
<def:PDFPageRef PageRefs="Sec9.2" Type="NamedDestination"/>
</def:DocumentRef>
</arm:Documentation>
<arm:ProgrammingCode Context="R 4.5.1">
<arm:Code>s <- adsl[adsl$SAFFL == "Y" & adsl$TRT01AN == 1, ]
d <- merge(s, adlb[adlb$PARAMCD == "GLUC", ], by = "USUBJID")
mean(d$AVAL)
</arm:Code>
</arm:ProgrammingCode>
</arm:AnalysisResult>
</arm:ResultDisplay>
<arm:ResultDisplay OID="RD.T14.1.01" Name="Table 14.1.01">
<Description>
<TranslatedText xml:lang="en">Subjects by treatment group</TranslatedText>
</Description>
<arm:AnalysisResult OID="AR.T14.1.01.R1" AnalysisReason="SPECIFIED IN PROTOCOL" AnalysisPurpose="SECONDARY OUTCOME MEASURE">
<Description>
<TranslatedText xml:lang="en">Number of subjects of the safety population in each treatment group</TranslatedText>
</Description>
<arm:AnalysisDatasets>
<arm:AnalysisDataset ItemGroupOID="IG.ADSL">
<def:WhereClauseRef WhereClauseOID="WCA.T14.1.01.R1.ADSL"/>
<arm:AnalysisVariable ItemOID="IT.ADSL.TRT01AN"/>
</arm:AnalysisDataset>
</arm:AnalysisDatasets>
<arm:Documentation>
<Description>
<TranslatedText xml:lang="en">Subjects are counted by treatment group.</TranslatedText>
</Description>
</arm:Documentation>
<arm:ProgrammingCode Context="R 4.5.1">
<def:DocumentRef leafID="LF.PGM"/>
</arm:ProgrammingCode>
</arm:AnalysisResult>
</arm:ResultDisplay>
</arm:AnalysisResultDisplays>
</MetaDataVersion>
</Study>
</ODM>
Human review and assessment
| Dataset Name | Variable Name | Variable Label | Type | Codelist/Controlled Terms | Core | Computational Method | Origin |
|---|---|---|---|---|---|---|---|
| ADLB | STUDYID | Study Identifier | character | Req | Copy value from LB.STUDYID. | Predecessor | |
| ADLB | USUBJID | Unique Subject Identifier | character | Req | Copy value from LB.USUBJID. | Predecessor | |
| ADLB | PARAMCD | Parameter Code | character | Req | Copy value from LB.LBTESTCD. | Predecessor | |
| ADLB | PARAM | Parameter | character | Req | Recode LB.LBTESTCD: "GLUC" → "Glucose (mg/dL)", "CREAT" → "Creatinine (umol/L)", "HCG" → "Choriogonadotropin Beta"; missing values stay missing; unlisted values are errors. | Assigned | |
| ADLB | AVAL | Analysis Value | numeric | Cond | Copy value from LB.LBSTRESN. | Predecessor | |
| ADLB | AVALC | Analysis Value (C) | character | Cond | Copy value from LB.LBSTRESC. | Predecessor |
| Codelist ID | Name | Value | Decode | Codelist NCI alias | Value NCI alias | Extensible | Extended value | SAS format | Dictionary | Version |
|---|---|---|---|---|---|---|---|---|---|---|
| HCGRS | Pregnancy Test Result | NEGATIVE | No | |||||||
| HCGRS | Pregnancy Test Result | POSITIVE | No | |||||||
| NY | No Yes Response | N | No | |||||||
| NY | No Yes Response | Y | No |
| Version | Date | Author | Description | Reviewer | Sign-off |
|---|---|---|---|---|---|
| 1.8 | 2026-11-19 | yamaa docs build | State open and closed range endpoints, including bounds of zero | ||
| 1.7 | 2026-10-20 | yamaa docs build | Read a specification in the 1.0 surface as its 0.5 counterpart; state that missing values stay missing where a mapping declares no missing handler, and leave out a declared missing answer that restates a handler's default | ||
| 1.6 | 2026-10-17 | yamaa docs build | Describe collected date parts written as ISO 8601 date text and times of day counted in seconds since midnight | ||
| 1.5 | 2026-10-17 | yamaa docs build | Name collected precision in words instead of letter codes; state imputation fallbacks, minimum source precision, bounds ignored outside the collected period, and invalid text with no handler as an error; describe date and datetime shifts, imputation flag codes, and partial text giving no date part | ||
| 1.4 | 2026-10-15 | yamaa docs build | State datetime precision codes through the hour and minute, and complete only the time parts a collected datetime lacks | ||
| 1.3 | 2026-09-29 | yamaa docs build | Show study codelist names, external dictionaries, and ISO 8601 formats in variable rows; list the document's codelist values and metadata | ||
| 1.2 | 2026-09-29 | yamaa docs build | Classify ADaM copies from a declared input as Predecessor and recodes as Derived, and SDTM recodes of locally derived columns as Derived | ||
| 1.1 | 2026-09-29 | yamaa docs build | Resolve lookups into the donor record they select, and give every derivation shape a plain-language rule instead of its raw YAML | ||
| 1.0 | yamaa docs build | Initial generation from spec.yaml |
yamaa