Download presentation
Presentation is loading. Please wait.
Published byGladys Kelley Modified over 9 years ago
1
MDR Training June 4, 2012 Keith Hofmann
2
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 ONLY 2
3
3 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
4
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 ONLY 4
5
BEA Website Screenshot FOR OFFICIAL USE ONLY 5 <-Specs
6
M2 Tables and Their MDR Equivalents FOR OFFICIAL USE ONLY 6 M2 ClassMDR Equivalent Eligibility Population Summary (DEERS)/mdr/pub/deers/summary/vm6agg/fyXX/fmZZ/popagg.sas7bdat DEERS Person Detail/mdr/pub/deers/detail/vm6ben/fyXX/fmZZ.txt.Z Longitudinal Eligibility/mdr/pub/deers/lelg/vm6lelg/fyXX.sas7bdat MCFAS /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.sas7bdat Dental 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 and Radiology Detail /mdr/pub/ancillary/fyXX/ancillary.fyXX/fyXX.sas7bdat Appointment Detail/mdr/pub/appt/detail/fyXX/fyXX.sas7bdat Inpatient 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.sas7bdat Non-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.sas7bdat Reference Tables DMIS ID Table /mdr/ref/dmisid.index/fyXX.sas7bdat or /mdr/ref/dmisid.index.fyXX.txt
7
Other Useful MDR Files FOR OFFICIAL USE ONLY 7 DEERS Longitudinal Enrollment/mdr/pub/deers/lenr/vm6lenr/fyXX.sas7bdat SIDR Completion Factors/mdr/pub/sidr/compfac/fyXX/sidr.compfac.fyXX.txt.Z TEDI Completion Factors /hpae2/kennell/ref/ibnrinst.fmt TEDN Completion Factors /hpae2/kennell/ref/ibnrnon.fmt TED Provider /mdr/pub/tedpr/tedpr.sas7bdat CDR Vitals /mdr/pub/cdr/vitals/fyXX.sas7bdat CDR Immunizations/mdr/pub/cdr/imm/immunizations.sas7bdat CDR Historical Procedures/mdr/pub/cdr/procedures/histproc.sas7bdat CDR 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.sas7bdat Active Duty Dental (ADDP)/mdr/pub/dental/addp/claims/fyXX/fyXX.sas7bdat Direct Care Dental (DED)/mdr/pub/dental/ded/fyXX.sas7bdat TRICARE Dental Program (TDP)/mdr/pub/dental/tdp/claims/fyXX.sas7bdat
8
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 ONLY 8
9
OOB Screenshot FOR OFFICIAL USE ONLY 9 The yellow lock means you are connected
10
WinSCP FOR OFFICIAL USE ONLY 10 Used for transferring files between your computer and the MDR Some prefer to use this for editing programs Cannot submit programs
11
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 ONLY 11
12
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 ONLY 12
13
Using UNIX Commands FOR OFFICIAL USE ONLY 13
14
PICO Editor FOR OFFICIAL USE ONLY 14 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
15
SAS SAS (formerly Statistical Analysis Software) is the programming language used to access the data on the MDR SAS programs have three basic sections 1. 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 ONLY 15
16
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 together FOR OFFICIAL USE ONLY 16
17
Submitting a Program FOR OFFICIAL USE ONLY 17 To stop a running program:
18
Hands On Powerpoint Presentations are boring, so let’s get our hands dirty and get on the MDR! FOR OFFICIAL USE ONLY 18
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.