Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
234 commits
Select commit Hold shift + click to select a range
ce33f07
Added support for importing a Scoop basic XML document
mccallumg May 31, 2012
f34b95a
Updated production database config to use heroku with mongohq
mccallumg Jun 1, 2012
53b9464
Added ruby version to gemfile
mccallumg Jun 1, 2012
0ef587e
Added thin to gemfile
mccallumg Jun 1, 2012
9cea66f
Adding test fixture
mccallumg Jun 1, 2012
8113f98
Added Procfile to application to support delayed_job process on heroku
mccallumg Jun 1, 2012
55da8c8
Changed record import controller to peek and CDA document content to …
mccallumg Jun 22, 2012
7bd1bf7
Added support for mirth-rest-adapter
mccallumg Jun 29, 2012
9425edb
Added webservice to delete all records
mccallumg Jul 3, 2012
a89f26a
Added route for purging records from db
mccallumg Jul 3, 2012
d4d7415
Corrected typo on records controller
mccallumg Jul 3, 2012
405bf72
Bug fix in record controller
mccallumg Jul 3, 2012
677227b
Updated query-gateway to support E2E import type
mccallumg Oct 4, 2012
45ea177
updated peek logic to account for new E2E format
mccallumg Oct 4, 2012
2287e15
merged changes from master
jujaga Oct 4, 2012
0a095e4
Removed Gemfile.lock which causes problems
rrusk Apr 4, 2013
486cdac
Removed Gemfile.lock from repo
rrusk Apr 4, 2013
7771a5e
Added installation information for IT2
rrusk Apr 4, 2013
55db428
Moving on to IT4
rrusk Apr 4, 2013
48ea6a1
Fixed typo in documentation.
rrusk Apr 4, 2013
184a634
minor update to e2e test files
mccallumg Apr 5, 2013
d8e0d55
Reenabled the c32 tests
rrusk Apr 10, 2013
845d19b
Added .idea to ignored files
rrusk Apr 14, 2013
09292f9
Modified so we pull from a generic scoop-develop branch
rrusk May 30, 2013
5f175a8
Renamed README for new branch
rrusk May 30, 2013
1f356ad
Redirect hqmf-parser and patientapi to scoophealth fork
jujaga Jun 19, 2013
3b8cdbf
Tests now somewhat work
jujaga Jun 20, 2013
76ff9bf
Fixed some functional test errors
jujaga Jun 21, 2013
b2a6e97
Minor whitespace tweaks
jujaga Jun 24, 2013
7e2dcd5
Merge commit '45ea177' into tempit5
jujaga Jun 25, 2013
b53cbba
Added Gemfile.lock back into branch
rrusk Jun 26, 2013
a00487a
Merge commit '48ea6a1' (feature-scoop-it2) into tempit5
jujaga Jun 26, 2013
ac3a90a
Merge commit '845d19b' into tempit5
jujaga Jun 27, 2013
f7acc59
Merge branch 'scoop-develop' into tempit5
jujaga Jun 27, 2013
c044ee4
All tests run cleanly against develop-preMongoid3 branch of scoopheal…
rrusk Jun 27, 2013
f4f2047
Replaced ruby 1.9.2 with ruby 1.9.3 in README files
rrusk Jun 27, 2013
2bbfead
Renamed to agree with branch name
rrusk Jun 27, 2013
c246000
Partial update of Gemfile.lock
jujaga Jun 27, 2013
bb673dc
Merge branch 'origin/develop-preMongoid3' into scoop-develop
jujaga Jun 27, 2013
fbdf81b
Removed redundant scoop README
jujaga Jun 27, 2013
e3f0d12
Use master branch of patientapi
jujaga Jun 28, 2013
0f662a8
Added Scoop IT0 Unit Test
jujaga Jun 28, 2013
74f5dce
Added IT1 Unit Test
jujaga Jun 28, 2013
4e90c55
Added IT2 Unit Test
jujaga Jun 28, 2013
c69aa0f
Added IT4 Unit Test
jujaga Jul 2, 2013
a26f683
Update John Cleese test file
jujaga Jul 2, 2013
ab2cde1
Update hqmf-parser dependency
jujaga Jul 2, 2013
07073c8
Mod so unit tests don't run when using rake db:seed, etc.
rrusk Jul 2, 2013
1c3091a
Reverted to v1.0.0 of patientapi to avoid change from codeSystem to c…
rrusk Jul 3, 2013
3e85b25
Branch for work on mongoid3 migration
rrusk Jul 4, 2013
c25d408
Using Moped-level API for executing map_reduce on a collection for
drusk Jul 6, 2013
ca9a5a2
Merge pull request #1 from drusk/map_reduce_fix
rrusk Jul 6, 2013
bf0aa82
Using Moped::BSON::Document object for query stringification.
drusk Jul 6, 2013
d4e01ef
Only add result_url field to query if results are not nil.
drusk Jul 6, 2013
51b3695
Merge pull request #2 from drusk/migration
rrusk Jul 6, 2013
5bd8b60
Tweeked syntax for getting patient data from database in ImporterApiTest
drusk Jul 7, 2013
4a168eb
Merge pull request #3 from drusk/testhelper
rrusk Jul 7, 2013
8bf7e3f
Point mongoimport to default database
rrusk Jul 8, 2013
8c70487
Remove extraneous files
rrusk Jul 8, 2013
8829ca3
Use health-data-standards v2.1.4
rrusk Jul 8, 2013
a9999c1
Added IT4B query Test Case
jujaga Jul 8, 2013
f66b5ba
Cleanup SCOOP Map functions and .gitkeep maintenance
jujaga Jul 8, 2013
161e1bd
Updated version of health-data-standards
rrusk Jul 9, 2013
ffca88b
Merge branch 'mongoid3-migration' into scoop-develop
jujaga Jul 9, 2013
efd6f44
Swap HDS back to scoop-develop branch
jujaga Jul 9, 2013
ee3e4d9
Update to more recent hqmf2js
rrusk Jul 9, 2013
fe7b5a3
Repoint hqmf2js to scoop-develop branch
jujaga Jul 9, 2013
cc5b72d
Updated hqmf2js and gem dependencies
jujaga Jul 10, 2013
aa840e4
Gemfile.lock update
jujaga Jul 10, 2013
d4bc460
Merge branch 'scoop-develop'
jujaga Jul 10, 2013
7f5e941
Added test for Javascript generated from query-composer graphical bui…
rrusk Jul 15, 2013
1271dc1
Merge branch 'scoop-develop'
jujaga Jul 15, 2013
b70ec78
Added SSL layer to config (file script/rails), and certs files
Aug 7, 2013
9cb92dd
Update to current health-data-standards
rrusk Aug 8, 2013
ac1ae72
Add Travis CI support
jujaga Aug 9, 2013
2f68dc7
Update Gemfile.lock for current health-data-standards scoop-develop b…
rrusk Aug 15, 2013
b6a6791
Merge branch 'master' into scoop-develop
jujaga Aug 15, 2013
e6bf1fc
Update HDS Library
jujaga Aug 15, 2013
5c1ab67
Merge branch 'scoop-develop' of github.com:scoophealth/query-gateway …
jujaga Aug 15, 2013
43cdff5
Tweak Travis Readme Icon
jujaga Aug 15, 2013
aa37354
General update to HDS merge
jujaga Aug 15, 2013
9cdfec3
Deassociate pneumococcal with IT6 in test
jujaga Aug 16, 2013
96d9361
Improved test for graphical query (i.e., query sent by query-composer…
rrusk Aug 19, 2013
1d13b8e
Added most AMCARE queries to tests
jujaga Aug 19, 2013
a80b6fb
Work in progress on vital signs queries
rrusk Aug 19, 2013
72d35b5
Fix map to grab waist circumference rather than height
rrusk Aug 19, 2013
6975b7e
Remove extraneous file
jujaga Aug 19, 2013
e380fdb
Removed emacs artifact
rrusk Aug 19, 2013
8d1758a
Merge branch 'scoop-develop' of github.com:scoophealth/query-gateway …
jujaga Aug 19, 2013
483268a
Update overweight indicator
rrusk Aug 19, 2013
cf52702
Consolidated vital signs tests
rrusk Aug 20, 2013
da13e70
Deassociate SCOOP iteration with map tests
jujaga Aug 20, 2013
2c02235
Updated John Cleese E2E example
jujaga Aug 20, 2013
2e31e43
Test code cleanup and documentation
rrusk Aug 20, 2013
3211630
Work in progress on diabetes&bp<=130/80 in last yr indicator
rrusk Aug 20, 2013
a893478
Added support of separate blood pressures
jujaga Aug 21, 2013
13f4696
Minor tweak to diastolic bp code
jujaga Aug 21, 2013
6abe44f
Complete AMCARE indicator diabetes *& bp <=130/80 in last yr
rrusk Aug 22, 2013
05123cf
Add regex support for target code specification
rrusk Aug 23, 2013
61ce7df
Modified record saving to prevent duplicate records in mongodb
rrusk Aug 26, 2013
f642be3
Merge branch 'scoop-develop' into ssl-dev
jujaga Aug 26, 2013
bfa461d
Updated test data with unique HINs
jujaga Aug 26, 2013
d3ab9a6
Removed symlink from repo
rrusk Aug 27, 2013
4d6ad75
README for self-signed ssl certificates
rrusk Aug 27, 2013
37a2d8c
Updated SSL certificate, key and README describing self-signed test c…
rrusk Aug 29, 2013
8fa07f0
Fixed typo in cert/README
rrusk Aug 29, 2013
df3614f
Convert Statin maps to regex version
jujaga Aug 29, 2013
e9e4f78
Add initial PDC Rel 1 Reference Numbers
jujaga Aug 30, 2013
8037a03
Add PDC Rel 1 Indicators
jujaga Aug 30, 2013
47c9dc8
Merge branch 'scoop-develop' into ssl-dev
jujaga Aug 30, 2013
f104cb2
Ref Number fix
jujaga Sep 3, 2013
9bc33e9
Tweaked runme.sh
jujaga Sep 3, 2013
b91c059
Indentation cleanup
jujaga Sep 3, 2013
5fd5523
Created normal/secure start scripts
jujaga Sep 4, 2013
c17e3ab
Improve relay-service.rb usage information
rrusk Sep 6, 2013
bfd80e0
Add relay service URL to README.
rrusk Sep 6, 2013
5858430
Update some documentation links and typos
jujaga Sep 13, 2013
91c6cb1
Merge branch 'ssl-dev' into scoop-develop
jujaga Sep 13, 2013
5c26208
Merge branch 'master' into scoop-develop
jujaga Sep 13, 2013
0c5b6a9
Update readme and startup scripts
jujaga Sep 13, 2013
734c396
Merge branch 'scoop-develop'
jujaga Sep 13, 2013
250b73c
Diabetes detection swapped to regex format
jujaga Sep 13, 2013
d0c89f3
Separate out PDC queries in tests
jujaga Sep 16, 2013
24e6200
Update various PDC queries and added eGFR support
jujaga Sep 17, 2013
1af850c
Add 1.2x Current Medication support
jujaga Sep 18, 2013
beea804
Add current medication support to common medication query
jujaga Sep 19, 2013
3851d2b
Update PDC Rel 1 query test format and Scoop dataset
jujaga Sep 30, 2013
172a19c
Made Code/Unit matching case-insensitive
jujaga Oct 1, 2013
3798224
Added TODO
rrusk Oct 10, 2013
48fe683
Added production configuration of mongo
Oct 16, 2013
5b15470
Added TODO
rrusk Oct 10, 2013
a8a599a
Adding production configuration to mongoid.yml
rrusk Oct 18, 2013
5dffada
Remove sensitive patient information from E2E records imported into m…
rrusk Oct 18, 2013
3612a61
Update scoop-records to use hashed ids
jujaga Oct 21, 2013
d78e56b
Use hash id instead of HIN
jujaga Oct 21, 2013
eaf7c06
Fix bug in Javascript involving chained methods not checking whether …
rrusk Nov 18, 2013
1fada75
Changed !=null to !==null and removed hard-coded dates for now
rrusk Nov 18, 2013
74c52cf
Added ; to end of emit statements
rrusk Nov 18, 2013
82aca1a
Added back in hard-coded now needed for unit testing
rrusk Nov 18, 2013
c7c85b6
Minor bugfix in polypharmacy and diabetes test queries
jujaga Nov 25, 2013
443ad09
Convert == to === and added some null checking wrappers
jujaga Nov 25, 2013
3afdfe0
Added empty cases
jujaga Nov 25, 2013
a194d6f
Tweak PDC-001 to handle undifferentiated gender
jujaga Nov 27, 2013
728c991
UBC-007 query for uncoded medications
rrusk Nov 28, 2013
7d02d2b
UBC-007 and UBC-008 comparison Javascript queries
rrusk Nov 29, 2013
a4e1fe2
Add UBC queries.
rrusk Nov 29, 2013
481a341
Modified version of health-data-standards being imported
rrusk Dec 3, 2013
2ef220a
Fixed record updating
rrusk Dec 3, 2013
ef293c5
Fixed records not updating as expect using upsert rather than save! …
rrusk Dec 3, 2013
7c02312
Added comment
rrusk Dec 4, 2013
cae19d5
Merge branch 'scoop-develop'
rrusk Dec 4, 2013
6359f50
Update health-data-standards version to support PRN
rrusk Dec 5, 2013
bf6d0a5
Update version of health-data-standards to support PRN
rrusk Dec 5, 2013
dd4f656
Add support for counting PRN medications
rrusk Dec 6, 2013
b93088a
Update with changes made on master.
rrusk Dec 6, 2013
90f6ae4
Support for UBC-002 query
rrusk Dec 6, 2013
bb740c8
Updated comments in query
rrusk Dec 6, 2013
3e1f2a2
More variations on UBC-001 for unique meds, non-unique meds, with and…
rrusk Dec 6, 2013
d6c14e1
Add batch script for normal windows startup
jujaga Feb 12, 2014
6d2506f
Bugfix to allow CA or CA-BC realmCodes
jujaga Mar 13, 2014
7db6259
Fix PDC-001 query to handle null genders
jujaga Apr 17, 2014
871ebb4
Encounter performer re-embedded to match patientapi
rrusk May 22, 2014
65a3ac9
patientapi tests for E2E
rrusk May 23, 2014
4919d6f
Updated E2E export document
rrusk May 24, 2014
7aca777
More E2E medications section test of patientapi
rrusk May 25, 2014
30be60e
Add E2E encounter api tests
rrusk May 27, 2014
95a5e8e
Example of retrieving encounter time
rrusk May 29, 2014
34e373d
Bugfix to allow CA or CA-BC realmCodes
jujaga Mar 13, 2014
ad47aad
Fix PDC-001 query to handle null genders
jujaga Apr 17, 2014
0c95bd0
Modifications for e2e export changes made June 12, 2014
rrusk Jun 18, 2014
5763d61
Fixups for E2E export changes, particular LOINC to pCLOCD in lab results
rrusk Jun 19, 2014
1c37303
Grab latest patientapi
rrusk Jun 20, 2014
05fef2f
Anonymize provider info
rrusk Jun 25, 2014
70a478d
Anonymized mongod records content added for testing
rrusk Jun 25, 2014
494ac2a
Merge branch 'scoop-e2e-1.35'
jujaga Jun 26, 2014
e4a9c17
Use scoop-develop branch of health-data-standards
rrusk Jun 26, 2014
4833923
Use latest health-data-standards
rrusk Jul 10, 2014
ee1e365
Use hashed hin, first, last identifiers rather than empty strings
rrusk Jul 10, 2014
6f69d32
Remove iter wraper on reduce function
rrusk Jul 24, 2014
b2a827f
Extract prescription provider information
rrusk Aug 12, 2014
72e283a
Test orderDateTime
rrusk Aug 14, 2014
17e024e
Correct patient age for leap years
rrusk Aug 18, 2014
3f95fbd
Document how to execute unit tests
rrusk Aug 25, 2014
f430d41
Use scoophealth patientapi master branch
rrusk Sep 8, 2014
c2a9799
Avoid duplicate records
rrusk Sep 8, 2014
e70bef6
Setup 1:1 mapping of EMR instance demographics primary key to mongodb…
rrusk Sep 16, 2014
d0dec53
Use patientapi that tests for undefined birthtime
rrusk Sep 17, 2014
4e51edc
Harden queries for undefined age
rrusk Sep 17, 2014
1458ca3
Update to latest health-data-standards scoop-develop branch
rrusk Oct 1, 2014
c6831f2
Enhance records controller functional testing and integration testing…
rrusk Oct 2, 2014
9c88c79
Enhance E2E importers for encounters and immunizations
rrusk Oct 2, 2014
3afd88a
Enhance E2E medication importer testing
rrusk Oct 3, 2014
32f1a30
Enhance lab result testing for E2E documents
rrusk Oct 6, 2014
5e58e94
Enhance vital sign testing for E2E importer
rrusk Oct 7, 2014
051aec4
Update scoop-records.json for changes in E2E HDS importer code
rrusk Oct 7, 2014
1728867
Use latest health-data-standards
rrusk Oct 21, 2014
43436e9
Use latest hds gem
rrusk Nov 4, 2014
75c1d34
Use latest hds and test for primary care provider id
rrusk Nov 18, 2014
b3f3cba
Test Javascript query of primary care provider id
rrusk Nov 18, 2014
0ad575d
Run latest hds with renamed primary care provide id attribute
rrusk Nov 19, 2014
a2f160a
Test status of medication field
rrusk Jan 22, 2015
71fb6a1
Added control scripts
rrusk Feb 9, 2015
ed32885
Start/stop scripts need mods so rename as examples
rrusk Feb 10, 2015
9f0e8bd
Changed log level
rrusk Feb 16, 2015
51fb31d
Added support for Long Term flag and modified PRN flag string due to …
rrusk Mar 26, 2015
29d1514
Add tests for new patientapi isPRN and isLongTerm methods
rrusk Mar 26, 2015
e445896
Use new hds gem
rrusk Apr 21, 2015
ce573d4
Refactored long term and PRN flag implementation for E2E documents
rrusk May 15, 2015
e41932d
Use updated HDS that handles some faulty timestamps better
rrusk May 19, 2015
25c4c8d
Use master branch of scoophealth's hds
rrusk Jul 9, 2015
3fdeed6
Use latest hds
rrusk Jul 13, 2015
36e2cfd
Enhanced to add ATC code for DIN code
rrusk Jul 14, 2015
ba625d7
Add index on updated_at to query collection
rrusk Aug 31, 2015
9e286ee
Used HDS with fix for duplicated whoATC in medication codes
rrusk Sep 4, 2015
2e40a74
Update to latest HDS to fix rapid growth of provider collection
rrusk Sep 4, 2015
6005589
Experimental Nagios remote monitoring support
rrusk Aug 28, 2015
f6be30e
Specify relative path to Nagios plugins
rrusk Aug 31, 2015
8cbf292
Constrain sysinfo route to localhost
rrusk Aug 31, 2015
3b54892
Capture exit status of Nagios check
rrusk Sep 1, 2015
43a5939
Modified to expect npi to be unique identifier so provider collection…
rrusk Sep 2, 2015
cd15d20
Experimental Nagios remote monitoring support
rrusk Aug 28, 2015
37a8c46
Use HDS master branch
rrusk Sep 4, 2015
968d59f
Record origin of Nagios plugins
rrusk Sep 8, 2015
86d92e0
Check whether Oscar loaded E2E records
rrusk Sep 10, 2015
bbd8ca6
Add currentimport route
rrusk Sep 10, 2015
5adb047
Cleanup tmp file
rrusk Sep 11, 2015
c00e35f
Checked for processed records
rrusk Sep 11, 2015
204a397
Lock routes to localhost, support tomcat health check
rrusk Sep 11, 2015
5789483
Simplified Nagios urls
rrusk Sep 15, 2015
5e50cdd
Fix routes for Nagios
Sep 15, 2015
b8100d2
Scripts needed to set up nrpe configuration on hub
rrusk Sep 15, 2015
0404c33
Remove NRPE support, added to query-composer
rrusk Sep 15, 2015
237a235
Add scripts used on Oscar EMR endpoints
rrusk Sep 15, 2015
7c706ee
More specific info
rrusk Sep 16, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
.bundle
db/*.sqlite3
log/*.log
log/*
tmp/
.sass-cache/
.DS_Store
doc/patient-api
coverage.data
coverage/
.idea
util/files/
Provider_Hash.txt
nagios-nrpe-support/tmp/
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
language: ruby
rvm:
- 1.9.2
- 1.9.3
branches:
only:
- master
- develop
services:
- mongodb
notifications:
email:
recipients:
- [email protected]
on_failure: change
email: false
script: bundle exec rake test:units test:functionals test:integration
31 changes: 19 additions & 12 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source 'http://rubygems.org'
#gem 'java-query-gateway', '0.1', :git =>"http://github.com/rdingwell/java-hquery-executor.git", :platforms => :jruby
gem 'rails', '~> 3.2.1'
source 'https://rubygems.org'

gem 'rails'
gem 'jruby-openssl', :platforms => :jruby
group :assets do
gem 'sass-rails'
Expand All @@ -11,16 +11,19 @@ end
gem 'daemons'
gem 'jquery-rails'

gem "mongoid", "~> 2.0"
gem "bson_ext", "~> 1.3", :platforms => :mri
gem 'mongoid'

gem 'delayed_job_mongoid', '~> 1.0.8'
gem 'delayed_job'
gem 'delayed_job_mongoid'

gem "hquery-patient-api", :git => 'http://github.com/hquery/patientapi.git', :tag => 'V0.3'
gem "health-data-standards", :git => 'http://github.com/projectcypress/health-data-standards.git', :branch => 'develop'
gem "hqmf2js", :git => 'http://github.com/hquery/hqmf2js.git', :tag => 'V0.3'
gem 'hquery-patient-api', :git => 'http://github.com/scoophealth/patientapi.git', :branch => 'master'
#gem 'hquery-patient-api', path: '../patientapi'
gem "health-data-standards", :git => 'http://github.com/scoophealth/health-data-standards.git', :branch => 'master'
#gem 'health-data-standards', path: '../health-data-standards'
#gem "health-data-standards", :git => 'http://github.com/scoophealth/health-data-standards.git', :branch => 'scoop-develop'
gem "hqmf2js", :git => 'http://github.com/scoophealth/hqmf2js.git', :branch => 'scoop-develop'
#gem 'hqmf2js', path: '../hqmf2js'
gem 'hqmf-parser', :git => 'https://github.com/hquery/hqmf-parser.git', :tag => 'V0.3'
gem 'hqmf-parser', :git => 'http://github.com/scoophealth/hqmf-parser.git', :branch => 'scoop-develop'

gem 'coderay'

Expand All @@ -30,14 +33,18 @@ gem 'pry'
group :test do

# Pretty printed test output
gem 'minitest'
gem 'minitest', '< 5.0.0'
gem 'turn', :require => false
gem 'cover_me', '>= 1.0.0.rc6', :platforms => :ruby
gem 'factory_girl', '1.3.3'
gem 'factory_girl'
gem 'awesome_print', :require => 'ap'
gem 'mocha', :require => false
gem 'therubyracer', :platforms => :ruby
gem 'therubyrhino', :platforms => :jruby

end

#group :production do
# gem 'thin'
#end

Loading