27
Copyright © 2012, SAS Institute Inc. All rights reserved. Creating Define-XML v2 with the SAS Clinical Standards © Toolkit 1.6 Lex Jansen, SAS

Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

  • Upload
    others

  • View
    10

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

Creating Define-XML v2 with the SAS Clinical Standards© Toolkit 1.6

Lex Jansen, SAS

Page 2: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS Clinical Standards Toolkit 1.6

INTRODUCTION

• Framework to primarily support Clinical Research

activities (CDISC).

• Designed as an integral part of Clinical Data Integration

(CDI)

• Available to all licensed SAS customers as open source

SAS Macros and metadata at no additional charge.

• Designed to supersede PROC CDISC

• Framework: designed to customize and extend

Page 3: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS Clinical Standards Toolkit 1.6

INTRODUCTION

• A collection of metadata and "tools", providing an initial

set of standards and functionality that is evolving and

growing with updates and releases.

• Provides SAS representation of published standards as

SAS data sets and catalogs• Contents standards: SDTM, ADaM, SEND

• XML standards: Define-XML and ODM

• Controlled Terminology (CDISC/NCI)

Page 4: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS Clinical Standards Toolkit 1.6

INTRODUCTION

• Supported CDISC standards in Toolkit 1.6:• SDTM 3.1.1, 3.1.2, 3.1.3 and 3.2

• ADaM 2.1 (ADSL, Basic Data Structure, ADAE and ADTTE) and

Analysis Results Metadata templates; v1.1 of the ADaM validation

checks)

• SEND 3.0 (initial implementation)

• CRT-DDS 1.0 (Define-XML - Create / Import / Validate)

• Define-XML 2.0 (Create / Import / Validate)

• ODM 1.3.0, 1.3.1 - Read / Write / Validate

• NCI CDISC Controlled Terminology (December 2013)

(import/export of ODM XML through CT 1.0 standard)

Page 5: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS Clinical Standards Toolkit 1.6

EXAMPLE: SDTM 3.1.2

• SDTM 3.1.2

• CDISC NCI Controlled Terminology SDTM 2013-12

Page 6: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS Clinical Standards Toolkit 1.6

SDTM DATASET METADATA

Page 7: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS Clinical Standards Toolkit 1.6

SDTM VARIABLE METADATA

Page 8: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS Clinical Standards Toolkit 1.6

SDTM CLASS METADATA

Page 9: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS Clinical Standards Toolkit 1.6

CONTROLLED TERMINOLOGY

Page 10: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS Clinical Standards Toolkit 1.6

INTRODUCTION

• Supported with SAS 9.3M2 and 9.4M1 on the following

operating systems:• Windows x64

• Linux x64

• Separately orderable component

• Available at no additional charge to currently licensed

SAS customers.

• Contact your SAS Account Representative concerning

availability

Page 11: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

CREATING THE DEFINE-XML V2 WITH CST

Page 12: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS CLINICAL STANDARDS TOOLKIT

1.6TYPICAL PROGRAM FLOW

• Define global macro variables ("properties")• %cst_setStandardProperties

(_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

• Define inputs / outputs (libname refs, filename refs, SAS autocall macros, ...)1. Create SASReferences dataset

2. %cstutil_processsetup();

• Run process specific macro:• %define_sourcetodefine• %define_write• %cstutilxmlvalidate• %define_read

Page 13: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

ADAM / SDTM TO DEFINE.XML

SAS representation of Define-XML

(31/46 SAS data sets)

StudyMetadata

Table Metadata

Column Metadata

Value Level

Metadata

Codelist Metadata

Document Metadata

XMLValidation Process

Page 14: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SDTM TO DEFINE.XML

Page 15: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS CLINICAL STANDARDS TOOLKIT

1.6SOURCE_STUDY

Page 16: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS CLINICAL STANDARDS TOOLKIT

1.6SOURCE_TABLES

Page 17: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS CLINICAL STANDARDS TOOLKIT

1.6SOURCE_COLUMNS

Page 18: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS CLINICAL STANDARDS TOOLKIT

1.6SOURCE_CODELISTS

Page 19: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS CLINICAL STANDARDS TOOLKIT

1.6SOURCE_VALUES

Page 20: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS CLINICAL STANDARDS TOOLKIT

1.6SOURCE_DOCUMENTS

Page 21: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

ADAM / SDTM TO DEFINE.XML

SAS representation of Define-XML

(31/46 SAS data sets)

StudyMetadata

Table Metadata

Column Metadata

Value Level

Metadata

Codelist Metadata

Document Metadata

XMLValidation Process

Page 22: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS CLINICAL STANDARDS TOOLKIT

1.6

Page 23: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS CLINICAL STANDARDS TOOLKIT

1.6

Page 24: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS CLINICAL STANDARDS TOOLKIT

1.6

define.xmldefine2-0-0.xsl

Page 25: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS CLINICAL STANDARDS TOOLKIT

1.6

Page 26: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

•DEMO

Page 27: Creating Define-XML v2 with the SAS Clinical …...TYPICAL PROGRAM FLOW • Define global macro variables ("properties") • %cst_setStandardProperties (_cstStandard=CST-FRAMEWORK,_cstSubType=initialize);

Copyr i g ht © 2012, SAS Ins t i tu t e Inc . A l l r ights reser ve d . www.SAS.com

Thank You !

Questions ?