cql_qdm_patientapi 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +46 -0
  3. data/.travis.yml +15 -0
  4. data/Gemfile +8 -0
  5. data/Gemfile.lock +127 -0
  6. data/LICENSE +201 -0
  7. data/README.md +2 -0
  8. data/README.rdoc +2 -0
  9. data/Rakefile +32 -0
  10. data/app/assets/javascripts/cql_qdm_patientapi/.keep +0 -0
  11. data/app/assets/javascripts/cql_qdm_patientapi.js.coffee +3 -0
  12. data/app/assets/javascripts/cqlpatient.js.coffee +232 -0
  13. data/app/assets/javascripts/datatypes/adverseevent.js.coffee +70 -0
  14. data/app/assets/javascripts/datatypes/allergyintolerance.js.coffee +63 -0
  15. data/app/assets/javascripts/datatypes/assessment.js.coffee +159 -0
  16. data/app/assets/javascripts/datatypes/careexperience.js.coffee +47 -0
  17. data/app/assets/javascripts/datatypes/caregoal.js.coffee +60 -0
  18. data/app/assets/javascripts/datatypes/characteristic_birthdate.js.coffee +28 -0
  19. data/app/assets/javascripts/datatypes/communication.js.coffee +116 -0
  20. data/app/assets/javascripts/datatypes/datatype.js.coffee +44 -0
  21. data/app/assets/javascripts/datatypes/device.js.coffee +163 -0
  22. data/app/assets/javascripts/datatypes/diagnosis.js.coffee +67 -0
  23. data/app/assets/javascripts/datatypes/diagnosticstudy.js.coffee +215 -0
  24. data/app/assets/javascripts/datatypes/encounter.js.coffee +213 -0
  25. data/app/assets/javascripts/datatypes/familyhistory.js.coffee +37 -0
  26. data/app/assets/javascripts/datatypes/immunization.js.coffee +152 -0
  27. data/app/assets/javascripts/datatypes/intervention.js.coffee +164 -0
  28. data/app/assets/javascripts/datatypes/laboratorytest.js.coffee +243 -0
  29. data/app/assets/javascripts/datatypes/medication.js.coffee +486 -0
  30. data/app/assets/javascripts/datatypes/patient_characteristic.js.coffee +23 -0
  31. data/app/assets/javascripts/datatypes/patient_characteristic_expired.js.coffee +38 -0
  32. data/app/assets/javascripts/datatypes/patient_characteristic_payer.js.coffee +33 -0
  33. data/app/assets/javascripts/datatypes/patient_characteristic_sex.js.coffee +23 -0
  34. data/app/assets/javascripts/datatypes/physicalexam.js.coffee +223 -0
  35. data/app/assets/javascripts/datatypes/procedure.js.coffee +296 -0
  36. data/app/assets/javascripts/datatypes/substance.js.coffee +294 -0
  37. data/app/assets/javascripts/datatypes/symptom.js.coffee +49 -0
  38. data/app/assets/javascripts/types/component.js.coffee +71 -0
  39. data/app/assets/javascripts/types/facility.js.coffee +41 -0
  40. data/app/assets/javascripts/types/id.js.coffee +23 -0
  41. data/app/assets/javascripts/utils/helpers.js.coffee +101 -0
  42. data/bin/rails +12 -0
  43. data/coffeelint.json +135 -0
  44. data/cql_qdm_patientapi.gemspec +25 -0
  45. data/lib/cql_qdm_patientapi/engine.rb +6 -0
  46. data/lib/cql_qdm_patientapi/version.rb +3 -0
  47. data/lib/cql_qdm_patientapi.rb +4 -0
  48. data/vendor/assets/javascripts/cql4browsers.js +53992 -0
  49. metadata +133 -0
data/coffeelint.json ADDED
@@ -0,0 +1,135 @@
1
+ {
2
+ "arrow_spacing": {
3
+ "level": "error"
4
+ },
5
+ "braces_spacing": {
6
+ "level": "error",
7
+ "spaces": 0,
8
+ "empty_object_spaces": 0
9
+ },
10
+ "camel_case_classes": {
11
+ "level": "error"
12
+ },
13
+ "coffeescript_error": {
14
+ "level": "error"
15
+ },
16
+ "colon_assignment_spacing": {
17
+ "level": "error",
18
+ "spacing": {
19
+ "left": 0,
20
+ "right": 1
21
+ }
22
+ },
23
+ "cyclomatic_complexity": {
24
+ "level": "error",
25
+ "value": 10
26
+ },
27
+ "duplicate_key": {
28
+ "level": "error"
29
+ },
30
+ "empty_constructor_needs_parens": {
31
+ "level": "error"
32
+ },
33
+ "ensure_comprehensions": {
34
+ "level": "warn"
35
+ },
36
+ "eol_last": {
37
+ "level": "error"
38
+ },
39
+ "indentation": {
40
+ "value": 2,
41
+ "level": "error"
42
+ },
43
+ "line_endings": {
44
+ "level": "error",
45
+ "value": "unix"
46
+ },
47
+ "max_line_length": {
48
+ "value": 90,
49
+ "level": "error",
50
+ "limitComments": true
51
+ },
52
+ "missing_fat_arrows": {
53
+ "level": "error",
54
+ "is_strict": false
55
+ },
56
+ "newlines_after_classes": {
57
+ "value": 2,
58
+ "level": "error"
59
+ },
60
+ "no_backticks": {
61
+ "level": "error"
62
+ },
63
+ "no_debugger": {
64
+ "level": "warn",
65
+ "console": false
66
+ },
67
+ "no_empty_functions": {
68
+ "level": "error"
69
+ },
70
+ "no_empty_param_list": {
71
+ "level": "ignore"
72
+ },
73
+ "no_implicit_braces": {
74
+ "level": "ignore",
75
+ "strict": true
76
+ },
77
+ "no_implicit_parens": {
78
+ "level": "ignore",
79
+ "strict": true
80
+ },
81
+ "no_interpolation_in_single_quotes": {
82
+ "level": "ignore"
83
+ },
84
+ "no_nested_string_interpolation": {
85
+ "level": "warn"
86
+ },
87
+ "no_plusplus": {
88
+ "level": "ignore"
89
+ },
90
+ "no_private_function_fat_arrows": {
91
+ "level": "warn"
92
+ },
93
+ "no_stand_alone_at": {
94
+ "level": "ignore"
95
+ },
96
+ "no_tabs": {
97
+ "level": "error"
98
+ },
99
+ "no_this": {
100
+ "level": "error"
101
+ },
102
+ "no_throwing_strings": {
103
+ "level": "error"
104
+ },
105
+ "no_trailing_semicolons": {
106
+ "level": "error"
107
+ },
108
+ "no_trailing_whitespace": {
109
+ "level": "error",
110
+ "allowed_in_comments": false,
111
+ "allowed_in_empty_lines": true
112
+ },
113
+ "no_unnecessary_double_quotes": {
114
+ "level": "error"
115
+ },
116
+ "no_unnecessary_fat_arrows": {
117
+ "level": "warn"
118
+ },
119
+ "non_empty_constructor_needs_parens": {
120
+ "level": "ignore"
121
+ },
122
+ "prefer_english_operator": {
123
+ "level": "ignore",
124
+ "doubleNotLevel": "ignore"
125
+ },
126
+ "space_operators": {
127
+ "level": "error"
128
+ },
129
+ "spacing_after_comma": {
130
+ "level": "error"
131
+ },
132
+ "transform_messes_up_line_numbers": {
133
+ "level": "warn"
134
+ }
135
+ }
@@ -0,0 +1,25 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'cql_qdm_patientapi/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "cql_qdm_patientapi"
8
+ spec.version = CqlQdmPatientapi::VERSION
9
+ spec.authors = ['The MITRE Corporation']
10
+ spec.email = ['tacoma-list@lists.mitre.org']
11
+
12
+ spec.summary = 'QDM CQL execution engine and HDS patient model interface'
13
+ spec.description = 'Interface from HDS patient model to QDM CQL execution engine'
14
+ spec.homepage = 'https://github.com/projecttacoma/cql_qdm_patientapi'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.bindir = "exe"
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ["lib"]
20
+ spec.license = "Apache-2.0"
21
+
22
+ spec.add_dependency 'rails', '~> 4.2'
23
+ spec.add_dependency 'coffee-rails', '~> 4.1'
24
+ spec.add_dependency 'sprockets-rails', '~> 2.3'
25
+ end
@@ -0,0 +1,6 @@
1
+ require 'rails/engine'
2
+
3
+ module CqlQdmPatientapi
4
+ class Engine < Rails::Engine
5
+ end
6
+ end
@@ -0,0 +1,3 @@
1
+ module CqlQdmPatientapi
2
+ VERSION = "1.0.0"
3
+ end
@@ -0,0 +1,4 @@
1
+ module CqlQdmPatientapi
2
+ require "cql_qdm_patientapi/version"
3
+ require "cql_qdm_patientapi/engine"
4
+ end