Beruflich Dokumente
Kultur Dokumente
0
PresentedatDCDISCOctober27,2015
Rockville,MD
,
JaneDiefenbachwithJohnBrega andLindaCollins
PharmaStatLLC
What is Define-XML?
Define XML?
LatestversionofCDISCmodeltodocumentdatabases
BasedonCDISCODMschema(xmlformat)
WorksonSDTM,SEND,ADaMandvirtuallyanyproprietarystructure
Machinereadableand browseable withtherightstylesheet
CRTDDS/define.xmlV1.0.
M hi
Machinereadable,muchmorecompleteandspecificthan
d bl
h
l t
d
ifi th
define.pdf.Stylesheetisaproblem.
2009 11 27
20091127
DefineXMLDraftV2.0;
Define
XML Draft V2 0; extends1.0withflexiblevaluelevel
extends 1 0 with flexible value level
metadatasoitworksbetterforADaMandsolvessomeproblemsin
SDTMdocumentation.
20130305
FinalDefineXMLV2.0, includesarobuststylesheet.Thisversionis
implementable.
Problems define
define.xml
xml solves
Databasedocumentationwasincomplete,everybodydidit
differently.
Paperandpdfdocumentation,evenonstandardizedelectronic
databases, creates data islands. To combine databases you have to
databases,createsdataislands.Tocombinedatabasesyouhaveto
readthedocumentationandwriteprogramstoexecutedocumented
rules.
Paperandpdfshideinconsistenciesbetweenthedatabaseandits
Paper and pdfs hide inconsistencies between the database and its
documentation.
Userscan...
Producemoreconsistentdocumentationforhumanreaders
Produce more consistent documentation for human readers
Automatedata/documentationcomparisons
Usemetadatatoloadandquerydatarepositories
With define
define.xml
xml V1 we got
Sixclassesofmetadata:
SStudylevel
d l l
Domainlevel
Variablelevel
Value level
Valuelevel
ControlledTerminology
ComputationalMethod
Amachinereadablemodelthatcouldsupportflat(twodimensionaltables)
pp
(
)
andmultidimensionalrepresentations(linksinalldirections)
Unambiguouscontentrules(mostly)
Automated linking
Automatedlinking
DemoV1define.xmlanddefine.pdf,compareto1999define.pdf
Thestylesheetworks!
Datasetscanhavecomments.Andmethods.
Commentscanlinkouttooneormoreexternaldocuments.
Valuelevelmetadatacanbemorespecificwithwhereclauses.
Codelistmetadatamodelisricher.
DemoV1define.xmlanddefine.pdf
Describing datasets in V1
V1.0
0
14
Describing datasets in V2
15
DemoV2Commentswithexternalpage:file links
V1.0onlysupportsoneversionofvaluelevelmetadataattheTestor
Suppqual level.Theresultisanonspecificmashup.
V2.0 supports two and more.
V2.0supportstwoandmore.
Describing Value-level
Value level Record Types
Example from 2.0, part 4: Same LBTESTCD different LBCAT
Variable
Where
LBSTRESC LBCAT="CHEMISTRYand
LBTESTCD=BILI(Bilirubin)
LBSTRESC LBCAT="CHEMISTRY"
LBCAT "CHEMISTRY"
andLBTESTCD="GLUC"(Glucose)
LBSTRESC LBCAT="URINALYSISand
LBTESTCD=BILI(Bilirubin)
LBSTRESC
18
LBTESTCD="GLUC"(Glucose)and
LBCAT=URINALYSIS
Type
Length/ControlledTermsor
Display Format
Format
Float
8
eDT
fl
float
eDT
DT
text
text
24
Origin Derivation/Comment
8["1+",2+",
eDT
+3,"NEGATIVE"]
<Uriin>
8["1+","2+","NEGATIVE", eDT
"TRACE"]
<Urin>
Describing Value-level
Value level Record Types
Example from 2.0, part 1: VariablelevelLinks
20
Describing Value-level
Value level Record Types
Example from 2.0, part 2: Value Level
21
Theserecordshavethreedifferentorigins(onetraceabletoSDTM,
the other two derived with different rules) V1 0 lumps all in one
theothertwoderivedwithdifferentrules).V1.0lumpsallinone
PARAMinthevaluelevelmetadataandthethreeoriginsendup
mashedupinComments.
V2.0useswhereclauses.
V2 0
h
l
Where
AVAL
PARAMCD=
PARAMCD
= 'DIABP'
DIABP and
and integer
DTYPE=''
PARAMCD='DIABP'and integer
DTYPE='LOCF'
Predecessor: VS VSSTRESN
Predecessor:VS.VSSTRESN
PARAMCD='DIABP'and integer
DTYPE='MEANP3'
Derivation:VS.VSSTRESNwith
missingvaluesimputedusingthe
lastobservationcarriedforward
method.SeeADRG,page27.
Derivation:VS.VSSTRESNwith
g
p
g
missingvaluesimputedusingthe
meanoflastthreenonmissing
observations.SeeADRG,page28.
AVAL
AVAL
Type
Length/
Length
/ Controlled
Controlled Source/Derivation/Comment
Display Termsor
Format Format
Type
Length/
/
Display
Format
Controlled
Termsor
Format
ADT
CNSOR=0
date
8ISO8601da.
ADT
CNSOR=1
date
8ISO8601da.
Source/Derivation/Com
/
/
ment
Predecessor:
DM.DTHDTCwhere
DM.DTHFL='Y'
Predecessor:
DM.RFPENDTCwhere
DM.DTHFL=''
26
27
Thechangesarenotincrementalorbackwardlycompatible.
TheymakeV1Definedocumentationsystemsobsolete.
Final Points
Somethingsareeasiersaidthandone.We
Some things are easier said than done. Weve
veshownafewcases
shown a few cases
toillustrateconcepts.Theresmuchmoregoingon.
MigratingfromDefineXMLV1.0isnotatallstraightforward.
Much editing needed even if you map over content (FDA
Mucheditingneededevenifyoumapovercontent.(FDA
reviewerspleasebepatient.)
Whatvaluelevelmetadatashouldwedocument?Metadata
overlapsdata.Needsarigorousstudyofusecases.
Final Points
Muchmoretotheschemathanwe
Much more to the schema than weve
veshownandit
shown and itssdifferent.
different.
Neteffectisasubstantiallynewandmorecomplexxmlstructure
whichmakes1.0systemsobsolete.Wehadtoredesignoursystem
top to bottom
toptobottom.
Enhancedfunctionalityiscompellingandweexpectrapiduptake,
despitethechallengesofimplementation.
Thank you!
JaneDiefenbach:JDiefenbach@PharmaStat.com
JohnBrega:JBrega@PharmaStat.com
LindaCollins:Lcollins@PharmaStat.com
32