Skip to content

ARISGames/ARISE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Place ivdrip.html (plus ivdrip.jpg), vitals.html, or mar.html on a web server.

  2. In ARIS, place a "web page" object into a game, either as a tab or as an object on the map.

  3. The URL for the web page object should include the parameters for the interactive in the following format:

     http://myhosting.com/path/to/ivdrip.html
       ?drug_name=Morphine
       &drug_rate=10
       &drug_vtbi=20
       &drug_duration=30
       &item_id=1234
       &message_success=You%20did%20it!
       &message_failure=Try%20again.
       &entered_rate=40
       &entered_vtbi=50
       &entered_duration=60
       &goal=start # can be start, stop, or restart
       # the following fields are used for two-pump mode
       &two_drugs=true
       &drug_name_2=Tylenol
       &drug_rate_2=10
       &drug_vtbi_2=20
       &drug_duration_2=30
       &entered_rate_2=40
       &entered_vtbi_2=50
       &entered_duration_2=60
    
     # PCA pump mode
     http://myhosting.com/path/to/ivdrip.html
       ?drug_name=Morphine
       &drug_dose=10
       &drug_lockout=20
       &drug_basal=30
       &drug_limit=40
       &drug_bolus=50
       &item_id=1234
       &message_success=You%20did%20it!
       &message_failure=Try%20again.
       &entered_dose=60
       &entered_lockout=70
       &entered_basal=80
       &entered_limit=90
       &entered_bolus=100
       &goal=start # can be start, stop, or restart
       # the following fields are used for two-pump mode
       &two_drugs=true
       &drug_name_2=Tylenol
       &drug_dose_2=10
       &drug_lockout_2=20
       &drug_basal_2=30
       &drug_limit_2=40
       &drug_bolus_2=50
       &entered_dose_2=60
       &entered_lockout_2=70
       &entered_basal_2=80
       &entered_limit_2=90
       &entered_bolus_2=100
    
     http://myhosting.com/path/to/vitals.html
       ?item_id=1234
       &min_pulse=0
       &max_pulse=100
       &min_resp_rate=0
       &max_resp_rate=100
       &min_blood_top=0
       &max_blood_top=100
       &min_blood_bottom=0
       &max_blood_bottom=100
       &min_temp=0
       &max_temp=100
       &min_oxygen=0
       &max_oxygen=100
       &min_pain=0
       &max_pain=100
       &message_success=You%20did%20it!
       &message_failure=Try%20again.
       &name=Patient
       &dob=01-01-1970
       &physician=Dr.%20Medicine
       &default_pulse=1
       &default_resp_rate=2
       &default_blood_top=3
       &default_blood_bottom=4
       &default_temp=5
       &default_oxygen=6
       &default_pain=7
    
     http://myhosting.com/path/to/mar.html
       ?item_id=1234
       &row1order=Order%201
       &row1time=then
       &row1dose=15
       &row1item=111
       &row2order=Order%202
       &row2time=now
       &row2dose=30
       &row2static=true # not a user-filled row; just read-only info
       # continue rows as necessary
       &administer_mode=false # set to true if player should administer instead of calculate dosages
       &name=John%20Joe
       &dob=01-02-1993
       &weight=100
       &mr=1234
       &provider=Medicorp
       &allergies=Clocks%2C%20hamsters
    

See here for the proper way to encode the message text (for example using %20 instead of a space).

About

Micro simulation components for the ARIS project in development at Chippewa Valley Technical College

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published