• No results found

Meta-programming in SAS Clinical Data Integration

N/A
N/A
Protected

Academic year: 2021

Share "Meta-programming in SAS Clinical Data Integration"

Copied!
13
0
0

Loading.... (view fulltext now)

Full text

(1)

Meta-programming in SAS

Clinical Data Integration :

a programmer’s

perspective

Copyright © 2010, SAS Institute Inc. All rights reserved.

perspective

Mark Lambrecht, PhD

Phuse Single Day Event Brussels , February 23rd2010.

Contents

ƒ SAS Clinical Data Integration : an introduction

ƒ SAS Clinical Data Integration : an introduction

ƒ Meta-programming in SAS Clinical Data

Integration

• Use case 1 : mapping transformation

• Use case 2 : coding transformation

• Use case 3 : SDTM validation

• Use case 4 : publish define.xml

ƒ SAS language interfaces to metadata and their

(2)

SAS Clinical Data Integration

1 8 2 Administer Data Standards Manage Transformation Libraries Publish Documentation

Clinical Data Integration is the SAS solution for converting captured, legacy and external clinical data into tabulation and analysis datasets using one unique version of the metadata. 4 6 3 5 7 Clinical Define Study Perform Validation Create Data Standardization

Process Define Standard Output Domains

Register Input Data Sources Clinical Data Reconciliation

Copyright © 2010, SAS Institute Inc. All rights reserved.

It delivers integration capabilities with CDISC ODM and EDC systems, and with SAS Drug Development

It delivers out-of-the-box CDISC standard, protocol and submission elements in a hierarchical and secured environment.

Data quality checks are provided by the Clinical Standards Toolkit as a customizable module.

It manages single step conversion from external to SDTM data model

Clinical Standards Toolkit – Context

Applications Advanced analytics that leverage

standards-based metadata and data.

SAS Drug Development

Centralized, 21CFR Pt 11 compliant storage, program execution and data exploration.

Clinical standards & metadata

Copyright © 2010, SAS Institute Inc. All rights reserved. Clinical toolkit

Clinical Data Integration management integrated with code

generation functionality.

Clinically relevant functionality available to SAS programs

(3)

SAS Clinical Data Integration Functional Components

•Integrated data standard models and associated CDISC metadata

CDISC and company standards

•Integration with SAS Drug Development

Clinical data flow capabilityp y

•Integration scenario with EDC, operational systems and lab files

Fast access to source and external data

•Project and studies definition

Clinical project and study management

•Data mapping

Visual data transformation

•Traceability of conversions at level of code

Generated SQL and SAS code

Copyright © 2010, SAS Institute Inc. All rights reserved.

•Define.xml and compliance adherence is result of integration, not extra process

Integrated metadata and impact analysis

•Validation against controlled terminology and solution intelligence guarding over mapping objective

Data quality

•Specialized code (derived flag derivation) – complex tasks for SAS programmers

User-written SAS code integration

•Increased efficiency between clinical data managers, programmers and project coordinators

Collaboration

SAS Clinical Data Integration Workflow

ƒ Import Data Standards

C t i i D t St d d

ƒ Customizing Data Standards

ƒ Configuration of Defaults

ƒ Create a Clinical Component

ƒ Define Domains

ƒ Utilize Metadata in transformation processp

ƒ Monitor Development Status

(4)

Importing Data Standards

ƒ CDISC Industry Standards

shipped with SAS Clinical Data

St d d T lkit

Copyright © 2010, SAS Institute Inc. All rights reserved.

Standards Toolkit

ƒ Adaptable to custom

implementations

• SDTM

+/-• Internal Standards

Data Standard Loaded in Metadata

SDTM Classes

Copyright © 2010, SAS Institute Inc. All rights reserved.

SDTM Domains

(5)

Customizing Data Standards

ƒ SDTM Standard LB Domain

Copyright © 2010, SAS Institute Inc. All rights reserved.

ƒ Customized LB Domain (SDTM +/-)

(6)

Metadata ?

ƒ Variable-level column-level metadata

ƒ Variable-level, column-level metadata

ƒ Additional CDISC metadata : code lists,

terminology, computational derivations

ƒ Macro metadata / parameters

ƒ Technical metadata : servers, users, architecture

Copyright © 2010, SAS Institute Inc. All rights reserved.

ƒ Macro programming is really a long chain of

inputs and outputs with interfaces definitions

Data model programming or “meta-programming”

Data model

Meta-Data model Meta-programming Metadata CDISC standards Transformation library Control & validation

programming

Wilcock and Potula, PhuUSE2009 – paper AD10.

Copyright © 2010, SAS Institute Inc. All rights reserved.

Data level

SAS execution code Data

(7)

Data model programming or “meta-programming”

Data model Meta-programmingp g g

Metadata

Data level SAS execution code

Data

Copyright © 2010, SAS Institute Inc. All rights reserved.

Repositioning of roles in clinical data integration

Role 1 : data analyst Base SAS programmer that can ase S S p og a e t at ca

transform raw data into SDTM data and ADaM data.

At the same time of translating the data models into executable code, the data analyst is working together with the…

Role 2 : data modeller The data modeller is involved in data

model programming and validation of CDISC data Data analyst Data modeller CDISC / standards administrator

Role 3 : clinical data manager Assures that clinical data is of good

quality and analysis-ready Role 4 : CDISC administrator Administrates the clinical standards,

versions, studies and monitors quality of submission data

Clinical data manager

(8)

Data analyst

Repositioning of roles in clinical data integration

Data modeller CDISC /

standards administrator

Copyright © 2010, SAS Institute Inc. All rights reserved.

Clinical data manager

Workflow

Annotated CRF Mapping input Target define.xml can

be generated Review of SDTM/SDTM+

Data content level

Standards definition Target data from templates Mapping routines

Copyright © 2010, SAS Institute Inc. All rights reserved.

Execution/publication of SAS code Validation of generated data Generation of final define.xml Data generated

(9)

Define.xml

Copyright © 2010, SAS Institute Inc. All rights reserved.

What is the SAS Metadata Model ?

ƒ Object-oriented hierarchical model

ƒ Object-oriented, hierarchical model

• Objects and classes

• Associations between classes

• Inheritance of attributes and associations

• Subclassing to extend behaviours

ƒ SAS Clinical Data Integration has extended the

SAS M t d t M d l ith M t d t T

SAS Metadata Model with new Metadata Types

• Studies

• Submissions

(10)

SAS language interface to metadata

ƒ 3 methods

ƒ 3 methods

SAS Java Metadata Interface, the

SAS Microsoft .NET Framework Application Services Interface, and the

Base SAS language interfaces for external customers

Copyright © 2010, SAS Institute Inc. All rights reserved.

customers

Base SAS language interface to metadata

ƒ Procedures : metadata procedure

ƒ Procedures : metadata procedure

ƒ Data step interface

(11)

Base SAS language interface to metadata

ƒ Procedures : metadata procedure

ƒ Procedures : metadata procedure

Example : proc metadata in='<GetMetadata> <Metadata> <PhysicalTable Id="A58LN5R2.AR000001"/> </Metadata>

Copyright © 2010, SAS Institute Inc. All rights reserved.

<Ns>SAS</Ns> <Flags>1</Flags> <Options/> </GetMetadata>'; run;

Base SAS language interface to metadata

ƒ Data step interface functions (not exhaustive)Data step interface functions (not exhaustive)

Function Syntax Description

METADATA_RESOLVE(uri, type, id) Resolves a metadata URI into a specific object type

METADATA_GETATTR(uri, attr, value) Returns the named attribute for the object specified by the

URI

METADATA_GETNASL(uri, n, asn) Returns the nth named association for the object URI

METADATA_GETNASN(uri, asn, n, nuri) Returns the nth associated object of the association

specified specified

METADATA_GETNATR(uri, n, attr, value) Returns the nth attribute on the object specified by the URI

METADATA_GETNOBJ(uri, n, nuri) Returns the nth object matching the specified URI

METADATA_GETNPRP(uri, n, prop, value) Returns the nth property on the object specified by the

input URI

(12)

Base SAS language interface to metadata

ƒ Data step interface functions

ƒ Data step interface functions

Copyright © 2010, SAS Institute Inc. All rights reserved.

Meta-programming in SAS Clinical Data Integration

ƒ Delivers standarized code, added-value programming

ƒ Robust validation routines

ƒ Robust validation routines

ƒ Collaboration between different roles in the generation

of submission-quality data : the programmer, data modeller/mapper and the clinical data manager.

ƒ Avoidance of creation of huge unmanageable macro

libraries and increase of re-usability

Copyright © 2010, SAS Institute Inc. All rights reserved.

GIVE ME A PLACE TO STAND AND I WILL  MOVE THE EARTH (Archimedes)

The engraving is from Mechanic’s Magazine

(cover of bound Volume II, Knight & Lacey, London, 1824) Courtesy of the Annenberg Rare Book & Manuscript Library, University of Pennsylvania Philadelphia, USA

(13)

Mark Lambrecht, PhD

Copyright © 2010, SAS Institute Inc. All rights reserved. Copyright © 2009, SAS Institute Inc. All rights reserved.

SAS

Hertenbergstraat 6 B-3080 Tervuren, Belgium.

Work Phone: +32 2 766 07 53 E-mail: [email protected]

References

Related documents

In recent years, a subset of early-stage Internet companies (companies whose primary product is a website or Internet application) have been following different principles –

To this end, the company has developed and implanted a quality management system that meets the requirements if BS EN ISO 9001: 2000, the NSI Quality Schedule FSQS121 and BAFE SP203

combination of appropriate policy instruments and show that an optimal pollution tax should be used for the negative externality and output restrictions in final production, and

ÎÎÎÎ ÎÎÎÎ ÎÎÎÎ ÎÎÎÎ Symbol ÎÎÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎÎÎ Parameter ÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎ Test Conditions ÎÎÎÎ ÎÎÎÎ ÎÎÎÎ

Cataloged Sizes: Direct-acting, 1 ¼” - 4&#34; Reverse-acting, 2 ½” - 4&#34; Most cataloged Robertshaw SATR specifications are starting points from which many alternates to

Our expectation is that that the total abandonment costs that have been factored into our valuation, US$ 61.2 million gross (US$ 19.5 million net), should be more than sufficient to

The primary purpose of this investigation was to generate meaningful data for the British Defense Medical Services and U.S. Department of Defense on how military health care

Two cases are utilized to analyze whether the project discouraged criminal activity by comparing the difference in rate of increase of each crime before installation of the