18
MDR Training June 4, 2012 Keith Hofmann

MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

Embed Size (px)

Citation preview

Page 1: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

MDR TrainingJune 4, 2012

Keith Hofmann

Page 2: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

Purpose and Objective

• Purpose• To provide a detailed training on the use of the

MHS Data Repository

• Objectives: Attendees will be able to:• Access the BEA website, and use the MDR Data

Dictionary and MDR Functional Specifications to inform programming

• Sign on to the MDR• Navigate the MDR using UNIX commands• Use the PICO editor to write SAS programs• Run SAS programs, debug syntactical and logical

errors, and perform Quality Control checks

FOR OFFICIAL USE ONLY2

Page 3: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

FOR OFFICIAL USE ONLY3

What is the MDR?

• MDR: Military Health System Data Repository

• “Home Grown” Data Warehouse initially intended for internal use

• Data from throughout the enterprise (CHCS, DEERS, PDTS, Claims, etc.) available to analysts via SAS

Page 4: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

BEA Website

• http://www.tricare.mil/ocfo/BEA/functional_specs.cfm

• Home to:• MDR Data Dictionary• MDR Functional Specifications• Interface Control Documents• MDR Users Guide• MDR Functional Guide

FOR OFFICIAL USE ONLY4

Page 5: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

BEA Website Screenshot

FOR OFFICIAL USE ONLY5

<-Specs

Page 6: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

M2 Tables and Their MDR Equivalents

FOR OFFICIAL USE ONLY6

M2 Class MDR EquivalentEligibility  

Population Summary (DEERS)/mdr/pub/deers/summary/vm6agg/fyXX/fmZZ/popagg.sas7bdat

DEERS Person Detail /mdr/pub/deers/detail/vm6ben/fyXX/fmZZ.txt.ZLongitudinal Eligibility /mdr/pub/deers/lelg/vm6lelg/fyXX.sas7bdatMCFAS   /mdr/pub/mcfas/fyXX/mcfaspop.sas7bdat

Reservists 

/mdr/pub/reservist/reservist.sas7bdat and/mdr/pub/reservist/legacyreservist.sas7bdat

TRICARE Relationships (DEERS)Relationship Detail   /mdr/pub/deers/enr/vm6enr/fyXX/fmZZ.sas7bdat

Health Care Services  Case Management   /mdr/pub/casemgmt/cm.sas7bdatDental  

Direct Care Dental /mdr/pub/dental/ded/fyXX/fyXX.sas7bdat

Purchased Care Dental/mdr/pub/dental/tdp/claims/fyXX.sas7bdat and/mdr/pub/dental/addp/claims/fyXX/fyXX.sas7bdat

Direct Care  Ancillary Services

Laboratory Detail andRadiology Detail

/mdr/pub/ancillary/fyXX/ancillary.fyXX/fyXX.sas7bdat

Appointment Detail /mdr/pub/appt/detail/fyXX/fyXX.sas7bdatInpatient Admissions (SIDR)

Inpatient Admissions Detail /mdr/pub/sidr/fyXX/sidr.fyXX/fyXX.sas7bdat

Professional Encounters (CAPER)CAPER Detail /mdr/pub/caper/enhanced/fyXX.sas7bdat

Professional Encounters (SADR)Professional Encounters Detail /mdr/pub/sadr/fyXX.sas7bdat

Purchased Care  Institutional (HCSR/TED)

Institutional Detail /mdr/pub/tedi/fyXX/header.sas7bdatNon-institutional (HCSR/TED)

Non-institutional Detail/mdr/pub/tedni/fyXX/champus.sas7bdat and/mdr/pub/tedni/fyXX/tdefic.sas7bdat

Pharmacy (PDTS)  PDTS Detail /mdr/pub/pdts/detail/fyXX/pdts.detail.fyXX.txt.Z

Referrals   /mdr/pub/referral/referral.sas7bdat

System Production (MEPRS/WWR)MEPRS   /mdr/pub/eas4/fyXX/eas4.fyXX/fyXX.sas7bdat

MEPRS Personnel Detail/mdr/pub/eas4/personnel/fyXX/eas4.personnel.fyXX/fyXX.sas7bdat

WWR   /mdr/pub/wwr/fyXX/wwr.fyXX/fyXX.sas7bdatReference Tables  

DMIS ID Table 

/mdr/ref/dmisid.index/fyXX.sas7bdat or/mdr/ref/dmisid.index.fyXX.txt

Page 7: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

Other Useful MDR Files

FOR OFFICIAL USE ONLY7

DEERS Longitudinal Enrollment /mdr/pub/deers/lenr/vm6lenr/fyXX.sas7bdatSIDR Completion Factors /mdr/pub/sidr/compfac/fyXX/sidr.compfac.fyXX.txt.ZTEDI Completion Factors  /hpae2/kennell/ref/ibnrinst.fmtTEDN Completion Factors  /hpae2/kennell/ref/ibnrnon.fmtTED Provider  /mdr/pub/tedpr/tedpr.sas7bdatCDR Vitals  /mdr/pub/cdr/vitals/fyXX.sas7bdatCDR Immunizations /mdr/pub/cdr/imm/immunizations.sas7bdatCDR Historical Procedures /mdr/pub/cdr/procedures/histproc.sas7bdatCDR Medications Fills and Results

/mdr/pub/cdr/med/fyXX/fills.sas7bdat/mdr/pub/cdr/med/fyXX/orders.sas7bdat

CDR Lab Chemistry Results /mdr/pub/cdr/chem/fyXX.sas7bdat

MEPRS Ancillary /mdr/pub/eas4/ancillary/fyXX/eas4.ancillary.fyXX/fyXX.sas7bdat

MEPRS Expense Detail /mdr/pub/eas4/exp_detail/fyXX/eas4.exp_detail.fyXX/fyXX.sas7bdat

MEPRS Workload Detail /mdr/pub/eas4/wk_detail/fyXX/eas4.wk_detail.fyXX/fyXX.sas7bdat

Designated Provider  /mdr/pub/desprov/fyXX/clin.sas7bdatActive Duty Dental (ADDP) /mdr/pub/dental/addp/claims/fyXX/fyXX.sas7bdatDirect Care Dental (DED) /mdr/pub/dental/ded/fyXX.sas7bdatTRICARE Dental Program (TDP) /mdr/pub/dental/tdp/claims/fyXX.sas7bdat

Page 8: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

OOB

• OOB: Out of Band• Users not behind a *.mil network will

have to use this to access the MDR• Requires CAC• https://vpn.csd.disa.mil/dana-na/auth/url_default/welcome.

cgi

FOR OFFICIAL USE ONLY8

Page 9: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

OOB Screenshot

FOR OFFICIAL USE ONLY9

The yellow lock means you are connected

Page 10: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

WinSCP

FOR OFFICIAL USE ONLY10

• Used for transferring files between your computer and the MDR

• Some prefer to use this for editing programs

• Cannot submit programs

Page 11: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

PuTTY

• Used for submitting programs

• UNIX based (must be navigated using keyboard commands)

• Mouse can be used for copy and paste (highlight to copy, right click to paste)

FOR OFFICIAL USE ONLY11

Page 12: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

UNIX Commands• cd – Change Directories. Used to navigate among directories (like folders)• pwd – Print Working Directory. Shows what directory you are in (where am

I?)• ls – LiSt. Shows contents of the working directory• mkdir – MaKe DIRectory. Creates a new directory• chmod – CHange MODe. Change the permissions on a directory or file• cp – CoPy. Copy files or directories within or across directories• mv – MoVe. Move or rename files or directories within or across directories• rm – ReMove. Delete files.

• rmdir – ReMove DIRectories. Delete directories (directory must be empty)

• pico – PICO. Open PICO text editor• more – Open one page of a file at a time. Use Enter to navigate one line at a

time and Space to navigate one page at a time. Useful for examining large files

• tail – View last 10 lines of a file. Useful for examining large files. Can be used in tandem with more to look at sections of a file besides the beginning and end.

• gzip/gunzip – Use GZip to compress or uncompress files

FOR OFFICIAL USE ONLY12

Page 13: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

Using UNIX Commands

FOR OFFICIAL USE ONLY13

Page 14: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

PICO Editor

FOR OFFICIAL USE ONLY14

• Use Control Key + a letter to use the commands at the bottom• ctrl+x = “Exit”. Leave

PICO editor• ctrl+o = “WriteOut”.

Works like “Save As” in Windows

• ctrl+k and ctrl+u = “Cut Text” and “UnCut Text”. Can be used to cut and paste text, one or more lines at a time

• ctrl+w = “Where is”. Works like “Find” (ctrl+f) in Windows

• ctrl+a and ctrl+e: Goes to the beginning or the end of the line

Page 15: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

SAS

• SAS (formerly Statistical Analysis Software) is the programming language used to access the data on the MDR

• SAS programs have three basic sections1. UNIX Housekeeping. This contains libname and filename

statements, detailing where files are to be read from or written to.

2. The Data Step(s). This is the meat of a SAS program. Files are read in one record at a time, and the data can be manipulated using math, functions, formulas and other techniques. Multiple data sets can be read in or written out simultaneously

3. Procedures. These are canned processes available in SAS that can produce reports and summaries or manage data files

FOR OFFICIAL USE ONLY15

Page 16: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

Proc Examples• proc contents – lists the contents of libraries and data sets, and

provides general information about their size and other characteristics

• proc datasets – provides library management functions (e.g. deleting data sets)

• proc sort – sorts observations in a SAS data set by one or more variables

• proc print – prints the observations in a SAS data set, using all or some of the variables

• proc freq – produces one-way or many-way frequency and cross-tabulation tables. Very useful for QC purposes.

• proc summary – computes descriptive statistics on numeric variables and/or aggregates data across one or more stratifications• proc means – same purpose as “proc summary”, but slightly different syntax

• proc format – allows creation of formats for character or numeric variables. Can be used like VLOOKUP in Excel

• proc append – adds data sets togetherFOR OFFICIAL USE ONLY16

Page 17: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

Submitting a Program

FOR OFFICIAL USE ONLY17

To stop a running program:

Page 18: MDR Training June 4, 2012 Keith Hofmann. Purpose and Objective Purpose To provide a detailed training on the use of the MHS Data Repository Objectives:

Hands On

Powerpoint Presentations are boring, so let’s get our hands dirty and get on the MDR!

FOR OFFICIAL USE ONLY18