PopMedNet Queries A Data Partner Perspective COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY Kevin Haynes, PharmD, MSCE, FISPE.

Post on 24-Dec-2015

215 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

Transcript

PopMedNet QueriesA Data Partner Perspective

COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY

Kevin Haynes, PharmD, MSCE, FISPE

COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY 2

Outline

From the point of receiving a query request email

To working with the DataMart Query Tool

To Windows-Linux file conversation

Update the “User Inputs”

Run the program

And return results to requester

COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY 3

From the point of receiving a query request email

Regardless of Requeste

r’s Network

in PopMedNet

COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY 4

Access the DataMart Query tool in PopMedNet

COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY 5

Review Request

COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY 6

Download zipped package

we create a new subfolder with the same name as the request, then we save the downloaded zip package to this new subfolder, and unzip to extract.

COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY 7

COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY 8

WinSCP to move files from windows to Linux

Windows server Linux server

Used to move files between Windows server and Linux server

COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY 9

Open SAS Enterprise Guide on SASEG server

COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY 10

SAS Enterprise Guide in Linux

%let mpname=to07_add_preg_ahr_wp007_nsdp_v01;libname Src_Data "/SAS_Data/GAR_Data/ModularPrograms/&mpname./inputfiles0";libname Tgt_Data "/SAS_Data/GAR_Data/ModularPrograms/&mpname./inputfiles"; proc migrate in=Src_Data out=Tgt_Data;run;

1) Edit DPID and Site ID according to the table below %LET DPID=HC;%LET SITEID=OS; 2) Edit this section to reflect your name for each Table/File (or View) %let ENRTABLE=Enrollment;%let DEMTABLE=Demographic;%let DISTABLE=Dispensing;%let DIATABLE=Diagnosis;%let PROCTABLE=Procedure;%let ENCTABLE=Encounter; 3) Edit this section to reflect locations for the libraries/folders for Mini-Sentinel Data and Output folders /********** FOLDER CONTAINING INPUT DATA FILES AND MSCDM DATA ***************************************//* IMPORTANT NOTE: end of path separators are needed; *//* Windows-based platforms: "\", e.g. "C:\user\sas\" and not "C:\user\sas"; *//* Unix-based platforms: "/", e.g."/home/user/sas/" and not "/home/user/sas"; *//* *//********** FOLDER CONTAINING INPUT DATA FILES AND MSCDM DATA ***************************************/;/*Data in MSCDM Format*/ libname indata '/SAS_Work/GAR_WS1/ETL11/'; /*NDC/ICD9 Codes File Location*/ %let infolder=/SAS_Data/GAR_Data/ModularPrograms/to07_add_preg_ahr_wp007_nsdp_v01/inputfiles/;

/*SAS Input Files*/ libname infolder "&infolder."; /********** FOLDER CONTAINING SUMMARY FILES TO BE EXPORTED TO Mini Sentinel Operations Center (MSOC)*/;/*CSV Output Files*/ %let MSOC=/SAS_Data/GAR_Data/ModularPrograms/to07_add_preg_ahr_wp007_nsdp_v01/msoc/; /*SAS Output Files*/ libname MSOC "&MSOC."; /****** FOLDER CONTAINING FINAL DATASETS TO BE KEPT LOCAL AT THE PARTNER SITE (DPLocal)**********/;/*CSV Output Files*/ %let DPLocal=/SAS_Data/GAR_Data/ModularPrograms/to07_add_preg_ahr_wp007_nsdp_v01/dplocal/; /*SAS Output Files*/ libname DPLocal "&DPLocal."; /****************************************************************************************//************************ PLEASE DO NOT EDIT CODE BELOW THIS LINE *************************/

Update SAS code “User Inputs”

COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY 12

Run program

COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY 13

WinSCP the MSOC folder to local windows

COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY 14

Prepare summary tables for QC

Another team member QCs the results

Zip folder and rename according to workplan requirements

COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY 15

Return results to Requester

Contact requester when submission is complete

top related