Skip to content

A SQL project that simulates the processing of data during patients' visits for a pharmacy.

Notifications You must be signed in to change notification settings

kezizhou/pharmacyStudy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

pharmacyStudy

A SQL project that simulates the collection and processing of data during patients' visits for a pharmacy that tests experimental drugs . This project uses stored procedures, transactions, views, and cursors to add patients to the study at screening, assign them a random drug kit (placebo/active) on the next visit, or process the patient's withdrawal if screen test results are negative or the study is complete. Study 12345 distributes random codes from a list in sequential order. Study 54321 uses a random generator to assign placebo/active treatment.

Scripts

The scripts folder contains the main script for this SQL Project, pharmacyStudy.sql. This script creates the tables, inserts data in the tables, and creates views and stored procedures that allow for patient processing.

Sample Results

The sampleResults folder contains sample results and view content for this SQL project. CallsToUSP.sql is executed to simmulate screening, randomizing, and withdrawing patients by calling the stored procedures. Sample views that result from these calls can be found in this folder.

About

A SQL project that simulates the processing of data during patients' visits for a pharmacy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages