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: carry examination sequence (ZESEQ) and name (ZETERM) in a
sponsor-defined domain (DOMAIN is ZE), with submission metadata and a
transport file.
Input: project.yaml composes spec.yaml into a Define-XML 2.1
submission with a transport. The specification marks the examination domain
as sponsor-defined and maps input/examinations.csv into examination records.
Variables:
ZESEQidentifies the examination record within the subject.ZETERMcarries the examination name as recorded.
Note: the examination dataset is explicitly marked sponsor-defined. Its Define-XML 2.1 metadata records that status rather than claiming an implementation-guide definition, and links its SAS transport file. The collected examination name cites page 1 of the annotated case report form.
Inputs
Under review1 source fileinput/examinations.csv
Edit2 rows| USUBJID | SEQ | TERM |
|---|---|---|
| 1 | Slit lamp | |
| 1 | Fundoscopy |
Expected output
Under review2 expected rowsexpected/define.xml
EditDefine-XMLDefine-XML 2.1.11: Custom examination study
Sponsor-defined examination records; NS01; SDTMIG 3.4
| Dataset | Description | Class | Structure | Purpose | Keys | Documentation | Location |
|---|---|---|---|---|---|---|---|
| ZE | Eye Examinations | FINDINGS | One record per examination per subject | Tabulation | STUDYID, USUBJID, ZESEQ | ze.xpt |
ZE
| Variable | Label / Description | Type | Role | Length or Display Format | Controlled Terms or ISO Format | Origin / Source / Method / Comment |
|---|---|---|---|---|---|---|
| DOMAIN | Domain Abbreviation | text | Identifier | 2 | Assigned; Sponsor | |
| STUDYID | Study Identifier | text | Identifier | 4 | Protocol; Sponsor | |
| USUBJID | Unique Subject Identifier | text | Identifier | 7 | Assigned; Sponsor | |
| ZESEQ | Sequence Number | integer | Identifier | 8 | Assigned; Sponsor | |
| ZETERM | Examination Name | text | Topic | 10 | Collected; Investigator; Annotated Case Report Form (acrf.pdf); pages 1 |
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" ODMVersion="1.3.2" FileType="Snapshot" FileOID="NS01.sdtm.Define-XML_2.1" CreationDateTime="2026-09-11T00:00:00" SourceSystem="yamaa" SourceSystemVersion="1.0" def:Context="Submission">
<Study OID="STDY.NS01">
<GlobalVariables>
<StudyName>Custom examination study</StudyName>
<StudyDescription>Sponsor-defined examination records</StudyDescription>
<ProtocolName>NS01</ProtocolName>
</GlobalVariables>
<MetaDataVersion OID="MDV.NS01.sdtm" Name="Custom examination study sdtm metadata" def:DefineVersion="2.1.11">
<def:Standards>
<def:Standard OID="STD.SDTMIG" Name="SDTMIG" Type="IG" Version="3.4" Status="Final"/>
</def:Standards>
<def:AnnotatedCRF>
<def:DocumentRef leafID="LF.acrf"/>
</def:AnnotatedCRF>
<ItemGroupDef OID="IG.ZE" Name="ZE" Domain="ZE" Purpose="Tabulation" SASDatasetName="ZE" Repeating="Yes" IsReferenceData="No" def:Structure="One record per examination per subject" def:ArchiveLocationID="LF.ZE" def:IsNonStandard="Yes">
<Description>
<TranslatedText xml:lang="en">Eye Examinations</TranslatedText>
</Description>
<ItemRef ItemOID="IT.ZE.DOMAIN" OrderNumber="1" Mandatory="Yes" Role="Identifier"/>
<ItemRef ItemOID="IT.ZE.STUDYID" OrderNumber="2" Mandatory="Yes" KeySequence="1" Role="Identifier"/>
<ItemRef ItemOID="IT.ZE.USUBJID" OrderNumber="3" Mandatory="Yes" KeySequence="2" Role="Identifier"/>
<ItemRef ItemOID="IT.ZE.ZESEQ" OrderNumber="4" Mandatory="Yes" KeySequence="3" Role="Identifier"/>
<ItemRef ItemOID="IT.ZE.ZETERM" OrderNumber="5" Mandatory="Yes" Role="Topic"/>
<def:Class Name="FINDINGS"/>
<def:leaf ID="LF.ZE" xlink:href="ze.xpt">
<def:title>ze.xpt</def:title>
</def:leaf>
</ItemGroupDef>
<ItemDef OID="IT.ZE.DOMAIN" Name="DOMAIN" DataType="text" Length="2" SASFieldName="DOMAIN">
<Description>
<TranslatedText xml:lang="en">Domain Abbreviation</TranslatedText>
</Description>
<def:Origin Type="Assigned" Source="Sponsor"/>
</ItemDef>
<ItemDef OID="IT.ZE.STUDYID" Name="STUDYID" DataType="text" Length="4" SASFieldName="STUDYID">
<Description>
<TranslatedText xml:lang="en">Study Identifier</TranslatedText>
</Description>
<def:Origin Type="Protocol" Source="Sponsor"/>
</ItemDef>
<ItemDef OID="IT.ZE.USUBJID" Name="USUBJID" DataType="text" Length="7" SASFieldName="USUBJID">
<Description>
<TranslatedText xml:lang="en">Unique Subject Identifier</TranslatedText>
</Description>
<def:Origin Type="Assigned" Source="Sponsor"/>
</ItemDef>
<ItemDef OID="IT.ZE.ZESEQ" Name="ZESEQ" DataType="integer" Length="8" SASFieldName="ZESEQ">
<Description>
<TranslatedText xml:lang="en">Sequence Number</TranslatedText>
</Description>
<def:Origin Type="Assigned" Source="Sponsor"/>
</ItemDef>
<ItemDef OID="IT.ZE.ZETERM" Name="ZETERM" DataType="text" Length="10" SASFieldName="ZETERM">
<Description>
<TranslatedText xml:lang="en">Examination Name</TranslatedText>
</Description>
<def:Origin Type="Collected" Source="Investigator">
<def:DocumentRef leafID="LF.acrf">
<def:PDFPageRef PageRefs="1" Type="PhysicalRef"/>
</def:DocumentRef>
</def:Origin>
</ItemDef>
<def:leaf ID="LF.acrf" xlink:href="acrf.pdf">
<def:title>Annotated Case Report Form</def:title>
</def:leaf>
</MetaDataVersion>
</Study>
</ODM>
expected/ze.csv
Edit2 rows| DOMAIN | STUDYID | USUBJID | ZESEQ | ZETERM |
|---|---|---|---|---|
| ZE | NS01 | 1 | Slit lamp | |
| ZE | NS01 | 1 | Fundoscopy |
Human review and assessment
| Variable Name | Variable Label | Type | Length | Controlled Terms or Format | Origin | Core | Conversion Definition | Variable Type | Variable Order | Comments for Define |
|---|---|---|---|---|---|---|---|---|---|---|
| DOMAIN | Domain Abbreviation | Char | 2 | Assigned | Req | Set constant value "ZE". | SDTM | 1 | ||
| STUDYID | Study Identifier | Char | 4 | Protocol | Req | Set constant value "NS01". | SDTM | 2 | ||
| USUBJID | Unique Subject Identifier | Char | 7 | Assigned | Req | Copy value from EYE_RAW.USUBJID. | SDTM | 3 | ||
| ZESEQ | Sequence Number | Num | 8 | Assigned | Req | Copy value from EYE_RAW.SEQ. | SDTM | 4 | ||
| ZETERM | Examination Name | Char | 10 | Collected | Req | Copy value from EYE_RAW.TERM. | SDTM | 5 |
| Version | Date | Author | Description | Reviewer | Sign-off |
|---|---|---|---|---|---|
| 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