Dcdisc 2015-10-27 Define-XML 2 Slides

  • Upload
    raj

  • View
    218

  • Download
    0

Embed Size (px)

Citation preview

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    1/32

    Define-XML 2.0.0Presented

    at

    DCDISC

    October

    27,

    2015

    Rockville,MD

    JaneDiefenbachwithJohnBrega andLindaCollins

    PharmaStatLLC

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    2/32

    Whatis

    Define

    XML,

    where

    did

    it

    come

    from,

    and

    why

    is

    it

    useful?

    DefineXMLV1.0wasagamechanger.

    DefineXMLV2.0isbetterbuthow?

    Notesfrom

    the

    field

    Whatsdifferent

    ChallengesfacingDefineXMLV2.0.0producersandusers

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    3/32

    -

    Latestversion

    of

    CDISC

    model

    to

    document

    databases

    BasedonCDISCODMschema(xmlformat)

    WorksonSDTM,SEND,ADaMandvirtuallyanyproprietarystructure

    Machinereadable

    and browseable with

    the

    right

    stylesheet

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    4/32

    199901

    General

    ConsiderationsElectronic

    Format.

    Document ata asesusingmeta ata.Simp e spec or e ine.p .

    20050205 CRTDDS/define.xmlV1.0.

    ac nerea a e,muc morecomp e ean spec c an

    define.pdf.Stylesheetisaproblem.

    . .

    metadatasoitworksbetterforADaMandsolvessomeproblemsin

    SDTMdocumentation.

    20130305 FinalDefineXMLV2.0, includesarobuststylesheet.Thisversionis

    implementable.

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    5/32

    First generation, 1999e ne.p

    Specification

    Example

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    6/32

    Second generation, 2005- - -

    SpecificationExample

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    7/32

    Third generation, 2013e ne- . . , e ne.xm

    SpecificationExample

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    8/32

    .

    Databasedocumentation

    was

    incomplete,

    everybody

    did

    it

    differently.

    Paperandpdfdocumentation,evenonstandardizedelectronic

    readthe

    documentation

    and

    write

    programs

    to

    execute

    documented

    rules.

    documentation.

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    9/32

    with content rules, machine-readableme a a a

    BecauseCDISC

    authors...

    Designedacommonsetofdataelementsfordatabasedocumentation(metadata)

    Specifiedhowtorepresentthem

    Published

    the

    elements

    in

    a

    machine

    readable

    format Userscan...

    Produce more consistent documentation for human readers

    Automatedata/documentationcomparisons

    Usemetadata

    to

    load

    and

    query

    data

    repositories

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    10/32

    .

    Sixclasses

    of

    metadata:

    tu yeve

    Domainlevel

    Variablelevel

    ControlledTerminology

    ComputationalMethod

    Amachinereadablemodelthatcouldsu ortflat twodimensionaltablesandmultidimensionalrepresentations(linksinalldirections)

    Unambiguouscontentrules(mostly)

    DemoV1define.xmlanddefine.pdf,compareto1999define.pdf

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    11/32

    1. Thestylesheet

    works!

    2. Datasetscanhavecomments.Andmethods.

    3. Commentscanlinkouttooneormoreexternaldocuments.

    4. Value

    level

    metadata

    can

    be

    more

    specific

    with

    where

    clauses.5. Codelistmetadatamodelisricher.

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    12/32

    Thebackbuttonisreliable

    pdfoptionforprinting

    DemoV1define.xmlanddefine.pdf

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    13/32

    Datasets can have comments. Andme o s

    EXandPP,bothderiveddomains

    Customdomains

    Standarddomains

    when

    they

    are

    used

    off

    label

    StudyDataReviewersGuide(SDRG)hadtomakeupforthise c ency n . . es o eep a ase me a a aw e a ase

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    14/32

    .

    14

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    15/32

    15

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    16/32

    WindowingrulesinADRG

    EXderivationfromECandDAinSDRG

    Efficacydataset

    construction

    in

    ADRG

    DemoV2Commentswithexternalpage:file links

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    17/32

    Value-level metadata can be specific:, examp e

    V1.0does

    not

    support

    one

    test

    with

    two

    sets

    of

    attributes,

    e.g.

    SerumProteinhasacontinuousnumericresult (LBCAT=CHEMISTRY,LBSPEC=SERUM,LBSTRESC=80,LBSTRESU=mg/dL)

    UrineProteinusuallyhasanordinalcharacterresult(LBCAT=URINALYSIS,LBSPEC= URINE ,LBSTRESC= +1 ,LBSTRESU=

    LBTESTCD=PROTandLBTEST=Proteinforbothbuttypeisdifferentandurinalysisneedsacodelistonresultandunits

    V1.0onlysupportsoneversionofvaluelevelmetadataattheTestorSuppqual level.Theresultisanonspecificmashup.

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    18/32

    -Example from 2.0, part 4: Same LBTESTCD different LBCAT

    Variable Where Type Length/Controlled

    Terms

    or

    Origin Derivation/Comment

    Display

    Format

    Format

    LBSTRESC LBCAT="CHEMISTRYand

    LBTESTCD=BILI(Bilirubin)

    Float 8 eDT

    = oat e

    andLBTESTCD

    =

    "GLUC"

    (Glucose)

    LBSTRESC LBCAT="URINALYSISand

    LBTESTCD=BILI(Bilirubin)

    text 8["1+",2+",

    +3,"NEGATIVE"]

    eDT

    LBSTRESC LBTESTCD="GLUC"(Glucose)and

    LBCAT=URINALYSIS

    text 8["1+","2+","NEGATIVE",

    "TRACE"]

    eDT

    18

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    19/32

    Value-level metadata can be specific:, examp e

    ECGdata

    can

    be

    continuous

    or

    categorical,

    depending

    on

    the

    test,

    whichmightbeameasurement,afinding,oraninterpretation

    V1.0onlysupportsoneversionofvaluelevelmetadatasowecould

    V2.0uses

    where

    clauses

    to

    define

    value

    level

    metadata

    that

    can

    refer

    tomanysubsetsofobservations

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    20/32

    -Example from 2.0, part 1: VariablelevelLinks

    20

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    21/32

    -Example from 2.0, part 2: Value Level

    21

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    22/32

    Value-level metadata can be specific:a

    Studyendpoint

    is

    blood

    pressure.

    Various

    approaches

    to

    imputation

    producethreekindsofrecords:

    Noimputation:PARAM=DIABP,DTYPE=

    Lastobservationcarriedforward:PARAM=DIABP,DTYPE=LOCF

    Mean

    of

    last

    three

    observations:

    PARAM=DIABP,

    DTYPE=MEANP3 Theserecordshavethreedifferentorigins(onetraceabletoSDTM,

    . . PARAMinthevaluelevelmetadataandthethreeoriginsendup

    mashed

    up

    in

    Comments. . usesw erec auses.

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    23/32

    ADaM value-level metadata examplevar es y an

    Display

    Format

    Termsor

    Format

    ' '=

    DTYPE=

    ''

    .

    AVAL PARAMCD='DIABP'and

    DTYPE='LOCF'

    integer 8 Derivation:VS.VSSTRESNwith

    missingvaluesimputedusingthe

    lastobservationcarriedforward

    method.SeeADRG,page27.

    AVAL PARAMCD='DIABP'and

    DTYPE='MEANP3'

    integer 8 Derivation:VS.VSSTRESNwith

    missingvaluesimputedusingthe

    meanoflastthreenonmissing

    observations.SeeADRG,page28.

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    24/32

    ADaM value-level metadata examplevar es y an

    Variable Where Type Length

    Display

    Format

    Controlled

    Termsor

    Format

    Source Derivation Com

    ment

    ADT CNSOR

    =

    0 date 8ISO8601da. Predecessor:

    DM.DTHDTCwhere

    DM.DTHFL='Y'

    ADT CNSOR=1 date 8ISO8601da. Predecessor:

    DM.RFPENDTCwhere

    DM.DTHFL=

    ''

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    25/32

    terminology,indicatesifcodelistisextensibleornot.

    DifferentiatesEnumeratedlists(Mild,Moderate,)fromo e eco e s s = , = o era e,

    IdentifiescontrolledterminologybyCDISCCcode

    Bettercontroloverorderingofcodelistelements.

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    26/32

    Example from 1.0

    26

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    27/32

    Example from 2.0

    27

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    28/32

    canscroungeupthemetadata.

    Somethingsthatusedtobesimplebutinflexiblearenowflexibleu comp ca e .

    2.0enablesmoreprecisedescriptionofyourdata,butdemandsmoredetailstoachieveit.

    Thechanges

    are

    not

    incremental

    or

    backwardly

    compatible.

    TheymakeV1Definedocumentationsystemsobsolete.

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    29/32

    Ori inis

    different

    Keyvariablesaredifferent

    Newdatatypesincludingpartialandincompletedates/datetimes

    MorechoicesforCommentsandMethods.Theyusedtobejusttext

    strings.

    Now

    theyre

    data

    structures

    that

    can

    also

    reference

    anexternaldocumentandprovidealocationreference.

    Methodsneedtobenamed.Reusablerulesarebest.Methodscanhavecommentstoo.

    Pagereferences

    dont

    need

    Destinations

    in

    the

    target

    document

    anymore(e.g.aCRF)

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    30/32

    toillustrateconcepts.Theresmuchmoregoingon.

    MigratingfromDefineXMLV1.0isnotatallstraightforward.uc e ngnee e even youmapovercon en .

    reviewersplease

    be

    patient.)

    Whatvaluelevelmetadatashouldwedocument?Metadataoverlapsdata.Needsarigorousstudyofusecases.

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    31/32

    Neteffectisasubstantiallynewandmorecomplexxmlstructurewhichmakes1.0systemsobsolete.Wehadtoredesignoursystemop o o om.

    Enhancedfunctionality

    is

    compelling

    and

    we

    expect

    rapid

    uptake,

    despitethechallengesofimplementation.

  • 7/25/2019 Dcdisc 2015-10-27 Define-XML 2 Slides

    32/32

    an you

    JaneDiefenbach:[email protected]

    JohnBrega:

    [email protected]

    32

    LindaCollins:[email protected]