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

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

Dec 24, 2015

Download

Documents

Jeffry Edwards
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: PopMedNet Queries A Data Partner Perspective COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY Kevin Haynes, PharmD, MSCE, FISPE.

PopMedNet QueriesA Data Partner Perspective

COMPANY CONFIDENTIAL | FOR INTERNAL USE ONLY | DO NOT COPY

Kevin Haynes, PharmD, MSCE, FISPE

Page 2: PopMedNet Queries A 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

Page 3: PopMedNet Queries A 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 3

From the point of receiving a query request email

Regardless of Requeste

r’s Network

in PopMedNet

Page 4: PopMedNet Queries A 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 4

Access the DataMart Query tool in PopMedNet

Page 5: PopMedNet Queries A 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 5

Review Request

Page 6: PopMedNet Queries A 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 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.

Page 7: PopMedNet Queries A 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 7

Page 8: PopMedNet Queries A 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 8

WinSCP to move files from windows to Linux

Windows server Linux server

Used to move files between Windows server and Linux server

Page 9: PopMedNet Queries A 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 9

Open SAS Enterprise Guide on SASEG server

Page 10: PopMedNet Queries A 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 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;

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

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”

Page 12: PopMedNet Queries A 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 12

Run program

Page 13: PopMedNet Queries A 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 13

WinSCP the MSOC folder to local windows

Page 14: PopMedNet Queries A 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 14

Prepare summary tables for QC

Another team member QCs the results

Zip folder and rename according to workplan requirements

Page 15: PopMedNet Queries A 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 15

Return results to Requester

Contact requester when submission is complete