make extension file names visible (skip if already done ...€¦ · step 2 – installing the...

20
XAMPP EMR Installation Guide v1.0 for Windows OS 1 XAMPP EMR Installation Guide v1.0 Step 1 Make extension file names visible (skip if already done): 1) Click on ‘Start’ 2) Click on ‘Control Panel’ 3) Click on ‘Appearance and Personalization’ 4) Click on ‘Folder Options’ 5) Click on the ‘View’ tab 6) Uncheck (remove the check) the option for ‘Hide extension for known file types’ 7) Press the ‘OK’ button Step 2 Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing MySQL, and PHP. MySQL is the database that will be used to store the data of the EMR. Apache is the webserver that will run the application. PHP is the programming language that has been used to develop the EMR, and an interpret of this language is needed in order translate the code to the webserver. *** Please note that ALL communication applications such as Skype, Yahoo IM, MSN IM, etc. must be completely SHUT DOWN before proceeding to the steps listed below. As an fyi, making yourself “not available” or “invisible” in the aforementioned programs will NOT shut down the program. *** Installation for Windows Operating System only: 1. To install XAMPP, download the zipped package (xampp-win32-1.7.4-VC6.zip) from Blackboard: 2. Wait 5-10 seconds for a pop-up window to appear. You will now click on the “Save” button and save it (xampp-win32-1.7.4-VC6.zip) on the Desktop. The downloading will typically take around 5 minutes or less to complete. Please remain patient during this process. 3. Once downloaded on the Desktop, the package will need to be unzipped. Right click on the (xampp-win32-1.7.4-VC6.zip) folder, and select “Extract All”. Once the unzipping is completed, you will need to double click on the (xampp-win32-1.7.4-VC6) folder and copy the (xampp) folder to the directory of your choice, although C: is preferred. The directory will be given a variable name [program directory] which should be replaced with the selected directory. For example, if the selected directory is D:, the path [program directory]\xampp should be used as D:\xampp 4. Open the [program directory]\xampp\ i.e. C:\xampp, and double-click on setup_xampp.bat file 5. Click on “Run” and wait for a few minutes until the configuration script is completed. Press Enter” when you see the message “Press any key to continue . . . “. After you press “Enter”, the command line window will disappear.

Upload: others

Post on 04-Jun-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 1

XAMPP EMR Installation Guide v1.0

Step 1 – Make extension file names visible (skip if already done):

1) Click on ‘Start’

2) Click on ‘Control Panel’

3) Click on ‘Appearance and Personalization’

4) Click on ‘Folder Options’

5) Click on the ‘View’ tab

6) Uncheck (remove the check) the option for ‘Hide extension for known file types’

7) Press the ‘OK’ button

Step 2 – Installing the database with the webserver:

XAMPP is an easy to install Apache distribution containing MySQL, and PHP. MySQL is the database that

will be used to store the data of the EMR. Apache is the webserver that will run the application. PHP is

the programming language that has been used to develop the EMR, and an interpret of this language is

needed in order translate the code to the webserver.

*** Please note that ALL communication applications such as Skype, Yahoo IM, MSN IM, etc. must be

completely SHUT DOWN before proceeding to the steps listed below. As an fyi, making yourself “not

available” or “invisible” in the aforementioned programs will NOT shut down the program. ***

Installation for Windows Operating System only:

1. To install XAMPP, download the zipped package (xampp-win32-1.7.4-VC6.zip) from Blackboard:

2. Wait 5-10 seconds for a pop-up window to appear. You will now click on the “Save” button and

save it (xampp-win32-1.7.4-VC6.zip) on the Desktop. The downloading will typically take around

5 minutes or less to complete. Please remain patient during this process.

3. Once downloaded on the Desktop, the package will need to be unzipped. Right click on the

(xampp-win32-1.7.4-VC6.zip) folder, and select “Extract All…”. Once the unzipping is completed,

you will need to double click on the (xampp-win32-1.7.4-VC6) folder and copy the (xampp)

folder to the directory of your choice, although C: is preferred. The directory will be given a

variable name [program directory] which should be replaced with the selected directory. For

example, if the selected directory is D:, the path [program directory]\xampp should be used as

D:\xampp

4. Open the [program directory]\xampp\ i.e. C:\xampp, and double-click on setup_xampp.bat file

5. Click on “Run” and wait for a few minutes until the configuration script is completed. Press

“Enter” when you see the message “Press any key to continue . . . “. After you press “Enter”, the

command line window will disappear.

Page 2: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 2

6. Go to [program directory]\xampp\ i.e. C:\xampp, and double-click on xampp-control.exe

7. Click on “Run” and a pop-up XAMPP Control Panel Application window will appear.

8. Click on the Start buttons next to Apache and MySQL.

9. If a Window Security Alert appears, check on the “For this program, don’t show this message

again” and click on “OK”. If no Window Security Alert appears, continue to the next step. If

successful, “Running” messages highlighted in green will appear next to Apache and MySQL as

shown in the next screen shot:

10. To check if the webserver and the database are now up and running, go to your web-browser

(Internet Explorer, Chrome, Firefox, etc…), enter the address http://localhost in the address bar,

and press Enter. The following webpage will appear:

Page 3: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 3

11. Click on the “English” link and you will then be directed to the following webpage:

Page 4: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 4

Step 3 – Installing the EMR

1. To install the EMR, download the zipped package (Care2x-HIS-2.6.27.zip) from Blackboard:

2. Wait 5-10 seconds for a pop-up window to appear. You will now click on the “Save” button and

save it (Care2x-HIS-2.6.27.zip) on the Desktop. The downloading will typically take a couple of

minutes to complete. Please remain patient during this process.

3. Once downloaded on the Desktop, the package will need to be unzipped. Right click on the

(Care2x-HIS-2.6.27.zip) folder, and select “Extract All…”. Once the unzipping is completed, you

will need to double click on the (Care2x-HIS-2.6.27) folder, copy the inside folder (Care2x-HIS-

2.6.27) and paste it in [program directory]\xampp\htdocs, i.e. C:\xampp\htdocs in case you are

using Windows OS.

4. Rename the (Care2x-HIS-2.6.27)folder that was just pasted in the C:\xampp\htdocs directory

to emr

5. Launch the web-browser and enter the address http://localhost/emr/installer/ and press Enter

Page 5: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 5

6. You should see the following page:

7. Click on Continue

8. You will see the following page:

Page 6: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 6

9. Fill out the following fields:

a. Database Name: change it to emr_db

b. Under System Administrator User, enter the password Never!Tell

c. Enter the same password in the Password confirm field

d. Change the time zone to America/New_York

10. Leave the other fields unchanged, and click Save

11. You should get a page similar to the following (with all green pass symbols):

Page 7: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 7

12. Click Continue

13. A License Agreement will be shown, and if you agree on it, click I Agree

14. You will get the following screen for few minutes or less:

Page 8: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 8

15. Then you will be asked about the version of the International Classification of Diseases (ICD) that

you need to be installed, as shown below:

Page 9: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 9

16. Select ICD10 EN (third from the top), and then click Install

17. When the installation is completed, as shown below:

Page 10: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 10

18. Scroll down to the bottom of the webpage, and click Done

19. You should see the following screen:

Page 11: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 11

20. Open the file [program directory]\xampp\php\php.ini i.e., C:\xampp\php\php.ini on Windows

OS, or /Applications/XAMPP/php/php.ini on Max OS X

21. Find (by pressing on control+F) the following line: error_reporting = E_ALL | E_STRICT

Page 12: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 12

22. Change the line to: error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE

Page 13: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 13

23. Click on File, then Save

24. Double-click on the XAMPP Control icon in the system tray (next to the clock):

Page 14: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 14

25. Stop and Start Apache and MySQL

26. If you are using Max OS X, open XAMPP Control, under /Applications/XAMPP, and stop Apache

and MySQL, and then start them again

27. You are now done with the installation of the EMR

28. Go back to the web browser and click on Start using Care2x. In case you have closed the web

browser, click on the following link to launch the EMR: http://localhost/emr/

29. You should see the following screen:

Page 15: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 15

30. To log in, click on Login on the left side menu

31. Enter the user name admin and password Never!Tell and click Login

32. You should see the following page:

Page 16: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 16

33. Click on Patient

34. Fill-out the mandatory fields, highlighted in red, and click Save

35. You should see a screen similar to the following (please note that the information is masked to

protect patient information):

Page 17: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 17

36. To see how the information is saved in the database, open the web browser and go to the

address http://localhost/phpmyadmin/

37. From the left side menu, click on the EMR database emr_db

38. From the left side menu, click on care_person

39. Now, you should see a row that shows the entered information in the EMR

Page 18: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 18

40. The database management tool, phpMyAdmin, also shows the SQL query that was used in the

process, as shown in the above screenshot under Browser tab:

41. The structure of the patient table, called in this case care_person, can be viewed by clicking on

the Structure tab:

Page 19: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 19

What did you learn from this exercise?

1. Week1: How databases work with software applications

2. Week 2, 3, & 4: An example of EMR database schema

3. Week 5: How to query a SQL database

4. Week 6: Using a DBMS (phpMyAdmin) + Learn PHP (see tutorial link in References)

5. Week 7: Configuring database keys and constraints using phpMyAdmin + Learn PHP (see tutorial

link in References)

6. Week 8: Create an EMR database using phpMyAdmin + Learn PHP (see tutorial link in

References)

7. Week 9: Create a simple PHP page to query the EMR database + Learn PHP (see tutorial link in

References)

8. Week 10: Become a Database Administrator and manage the database through phpMyAdmin +

Learn PHP (see tutorial link in References)

9. Week 11: Work on Final Project

Page 20: Make extension file names visible (skip if already done ...€¦ · Step 2 – Installing the database with the webserver: XAMPP is an easy to install Apache distribution containing

XAMPP EMR Installation Guide v1.0 for Windows OS 20

References

Care 2x Installation Manual: http://wiki.care2x.org/index.php/Installation_Guide

Care 2x User Manual: http://wiki.care2x.org/index.php/UM_-_English

Care 2x Administrator Manual: http://wiki.care2x.org/index.php/Administrator%27s_Manual

SQL Tutorial: http://www.w3schools.com/sql/default.asp

PHP Tutorial: http://www.w3schools.com/php/default.asp