pvdgm_services 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (256) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +29 -0
  3. data/Rakefile +40 -0
  4. data/app/contexts/services/accept_hl7_message_context.rb +32 -0
  5. data/app/contexts/services/application_mds_context.rb +21 -0
  6. data/app/contexts/services/complete_sltc_registration_process_context.rb +23 -0
  7. data/app/contexts/services/create_account_mapping_context.rb +23 -0
  8. data/app/contexts/services/create_configured_account_context.rb +26 -0
  9. data/app/contexts/services/create_configured_facility_context.rb +26 -0
  10. data/app/contexts/services/create_credential_context.rb +23 -0
  11. data/app/contexts/services/create_facility_mapping_context.rb +23 -0
  12. data/app/contexts/services/create_public_key_context.rb +22 -0
  13. data/app/contexts/services/create_service_context.rb +22 -0
  14. data/app/contexts/services/create_service_definition_context.rb +26 -0
  15. data/app/contexts/services/create_sltc_registration_context.rb +24 -0
  16. data/app/contexts/services/create_third_party_context.rb +22 -0
  17. data/app/contexts/services/hl7_message_trimming_context.rb +19 -0
  18. data/app/contexts/services/invoke_service_context.rb +21 -0
  19. data/app/contexts/services/list_sltc_providers_context.rb +22 -0
  20. data/app/contexts/services/mds_file_processing_context.rb +27 -0
  21. data/app/contexts/services/mds_file_upload_context.rb +25 -0
  22. data/app/contexts/services/mds_pull_context.rb +21 -0
  23. data/app/contexts/services/monthly_service_table_cleanup_context.rb +19 -0
  24. data/app/contexts/services/notify_new_registration_context.rb +22 -0
  25. data/app/contexts/services/notify_sltc_provider_change_context.rb +19 -0
  26. data/app/contexts/services/request_sltc_baseline_context.rb +23 -0
  27. data/app/contexts/services/update_account_mapping_context.rb +23 -0
  28. data/app/contexts/services/update_configured_account_context.rb +26 -0
  29. data/app/contexts/services/update_configured_facility_context.rb +26 -0
  30. data/app/contexts/services/update_credential_context.rb +23 -0
  31. data/app/contexts/services/update_facility_mapping_context.rb +23 -0
  32. data/app/contexts/services/update_public_key_context.rb +23 -0
  33. data/app/contexts/services/update_service_context.rb +23 -0
  34. data/app/contexts/services/update_service_definition_context.rb +26 -0
  35. data/app/contexts/services/update_third_party_context.rb +23 -0
  36. data/app/controllers/services/account_mappings_controller.rb +54 -0
  37. data/app/controllers/services/adts_controller.rb +35 -0
  38. data/app/controllers/services/application_controller.rb +17 -0
  39. data/app/controllers/services/assessment_requests_controller.rb +48 -0
  40. data/app/controllers/services/available_files_controller.rb +19 -0
  41. data/app/controllers/services/configured_account_base_controller.rb +17 -0
  42. data/app/controllers/services/configured_accounts_controller.rb +59 -0
  43. data/app/controllers/services/configured_facilities_controller.rb +65 -0
  44. data/app/controllers/services/facility_mappings_controller.rb +58 -0
  45. data/app/controllers/services/mds_files_controller.rb +75 -0
  46. data/app/controllers/services/mds_pull_accounts_controller.rb +57 -0
  47. data/app/controllers/services/public_keys_controller.rb +50 -0
  48. data/app/controllers/services/service_base_controller.rb +18 -0
  49. data/app/controllers/services/service_definition_base_controller.rb +31 -0
  50. data/app/controllers/services/service_definitions_controller.rb +59 -0
  51. data/app/controllers/services/services_controller.rb +56 -0
  52. data/app/controllers/services/sltc_providers_controller.rb +15 -0
  53. data/app/controllers/services/sltc_registrations_controller.rb +74 -0
  54. data/app/controllers/services/status_masking.rb +17 -0
  55. data/app/controllers/services/third_parties_controller.rb +47 -0
  56. data/app/controllers/services/third_party_base_controller.rb +17 -0
  57. data/app/controllers/services/validation_controller.rb +17 -0
  58. data/app/helpers/services/application_helper.rb +8 -0
  59. data/app/helpers/services/assessment_request_helper.rb +19 -0
  60. data/app/helpers/services/available_files_helper.rb +27 -0
  61. data/app/helpers/services/mds_pull_accounts_helper.rb +27 -0
  62. data/app/helpers/services/sltc_registrations_helper.rb +15 -0
  63. data/app/mailers/services_mailer.rb +57 -0
  64. data/app/models/services/abaqis_mds_push.rb +51 -0
  65. data/app/models/services/account_mapping.rb +10 -0
  66. data/app/models/services/application_api.rb +19 -0
  67. data/app/models/services/assessment_request.rb +18 -0
  68. data/app/models/services/available_file.rb +73 -0
  69. data/app/models/services/configured_account.rb +26 -0
  70. data/app/models/services/configured_facility.rb +16 -0
  71. data/app/models/services/credential.rb +9 -0
  72. data/app/models/services/facility_mapping.rb +12 -0
  73. data/app/models/services/ftp_server.rb +69 -0
  74. data/app/models/services/hl7_inbound_service.rb +47 -0
  75. data/app/models/services/hl7_message.rb +27 -0
  76. data/app/models/services/isc_code.rb +15 -0
  77. data/app/models/services/isc_code_lookup.rb +75 -0
  78. data/app/models/services/mds_assessment.rb +371 -0
  79. data/app/models/services/mds_content.rb +55 -0
  80. data/app/models/services/mds_pull.rb +41 -0
  81. data/app/models/services/mds_pull_account.rb +192 -0
  82. data/app/models/services/mds_push.rb +24 -0
  83. data/app/models/services/mds_upload.rb +64 -0
  84. data/app/models/services/mds_upload_content.rb +148 -0
  85. data/app/models/services/mds_ws_response.rb +21 -0
  86. data/app/models/services/mds_ws_response_handler.rb +31 -0
  87. data/app/models/services/pcc_mds_pull.rb +77 -0
  88. data/app/models/services/provider_change.rb +26 -0
  89. data/app/models/services/public_key.rb +11 -0
  90. data/app/models/services/service.rb +20 -0
  91. data/app/models/services/service_definition.rb +37 -0
  92. data/app/models/services/service_implementation.rb +29 -0
  93. data/app/models/services/sltc_api.rb +179 -0
  94. data/app/models/services/sltc_api_exception.rb +54 -0
  95. data/app/models/services/sltc_mds_pull.rb +230 -0
  96. data/app/models/services/sltc_registration.rb +23 -0
  97. data/app/models/services/third_party.rb +18 -0
  98. data/app/roles/services/account_mapping_creator.rb +13 -0
  99. data/app/roles/services/account_mapping_updator.rb +12 -0
  100. data/app/roles/services/configured_account_creator.rb +13 -0
  101. data/app/roles/services/configured_account_updater.rb +12 -0
  102. data/app/roles/services/configured_facility_creator.rb +13 -0
  103. data/app/roles/services/configured_facility_updater.rb +12 -0
  104. data/app/roles/services/credential_creator.rb +11 -0
  105. data/app/roles/services/credential_updater.rb +20 -0
  106. data/app/roles/services/facility_mapping_creator.rb +13 -0
  107. data/app/roles/services/facility_mapping_updater.rb +11 -0
  108. data/app/roles/services/hl7_adt_message_saver.rb +15 -0
  109. data/app/roles/services/hl7_message_trimmer.rb +14 -0
  110. data/app/roles/services/mds_assessment_categorizer.rb +71 -0
  111. data/app/roles/services/mds_file_processor.rb +86 -0
  112. data/app/roles/services/mds_notifications.rb +44 -0
  113. data/app/roles/services/monthly_service_table_cleaner.rb +19 -0
  114. data/app/roles/services/new_registration_notifier.rb +11 -0
  115. data/app/roles/services/public_key_creator.rb +14 -0
  116. data/app/roles/services/public_key_updater.rb +12 -0
  117. data/app/roles/services/service_creator.rb +13 -0
  118. data/app/roles/services/service_definition_creator.rb +13 -0
  119. data/app/roles/services/service_definition_updater.rb +12 -0
  120. data/app/roles/services/service_invoker.rb +25 -0
  121. data/app/roles/services/service_updater.rb +11 -0
  122. data/app/roles/services/sltc_baseline_requestor.rb +19 -0
  123. data/app/roles/services/sltc_provider_change_notifier.rb +25 -0
  124. data/app/roles/services/sltc_provider_lister.rb +13 -0
  125. data/app/roles/services/sltc_registration_completer.rb +81 -0
  126. data/app/roles/services/sltc_registration_saver.rb +13 -0
  127. data/app/roles/services/submit_mds_file_for_processing.rb +28 -0
  128. data/app/roles/services/third_party_creator.rb +13 -0
  129. data/app/roles/services/third_party_updater.rb +12 -0
  130. data/app/utils/services/file_upload_handler.rb +33 -0
  131. data/app/utils/services/mds_upload_filters.rb +26 -0
  132. data/app/utils/services/mds_xml_file_parser.rb +104 -0
  133. data/app/utils/services/upload_file.rb +13 -0
  134. data/app/validators/isc_code_validator.rb +42 -0
  135. data/app/validators/mds_birthdate_validator.rb +37 -0
  136. data/app/validators/mds_date_validator.rb +8 -0
  137. data/app/validators/mds_integer_validator.rb +15 -0
  138. data/app/validators/mds_version_validator.rb +16 -0
  139. data/app/validators/state_code_validator.rb +9 -0
  140. data/app/views/layouts/services/application.html.erb +14 -0
  141. data/app/views/services/account_mappings/index.json.jbuilder +9 -0
  142. data/app/views/services/account_mappings/show.json.jbuilder +7 -0
  143. data/app/views/services/assessment_requests/index.json.jbuilder +11 -0
  144. data/app/views/services/available_files/index.json.jbuilder +13 -0
  145. data/app/views/services/configured_accounts/index.json.jbuilder +13 -0
  146. data/app/views/services/configured_accounts/show.json.jbuilder +11 -0
  147. data/app/views/services/configured_facilities/index.json.jbuilder +13 -0
  148. data/app/views/services/configured_facilities/show.json.jbuilder +11 -0
  149. data/app/views/services/facility_mappings/index.json.jbuilder +10 -0
  150. data/app/views/services/facility_mappings/show.json.jbuilder +8 -0
  151. data/app/views/services/mds_files/create.builder +10 -0
  152. data/app/views/services/mds_pull_accounts/index.json.jbuilder +11 -0
  153. data/app/views/services/public_keys/index.json.jbuilder +8 -0
  154. data/app/views/services/public_keys/show.json.jbuilder +6 -0
  155. data/app/views/services/service_definitions/index.json.jbuilder +17 -0
  156. data/app/views/services/service_definitions/show.json.jbuilder +16 -0
  157. data/app/views/services/services/index.json.jbuilder +6 -0
  158. data/app/views/services/services/show.json.jbuilder +4 -0
  159. data/app/views/services/sltc_providers/index.json.jbuilder +10 -0
  160. data/app/views/services/sltc_registrations/index.json.jbuilder +10 -0
  161. data/app/views/services/third_parties/index.json.jbuilder +7 -0
  162. data/app/views/services/third_parties/show.json.jbuilder +5 -0
  163. data/app/views/services_mailer/burying_job.html.erb +20 -0
  164. data/app/views/services_mailer/delaying_job.html.erb +20 -0
  165. data/app/views/services_mailer/notify_sltc_client_registration.html.erb +39 -0
  166. data/app/views/services_mailer/notify_sltc_client_registration_invalid_request_type.html.erb +8 -0
  167. data/app/views/services_mailer/notify_sltc_client_registration_request_invalid.html.erb +10 -0
  168. data/app/views/services_mailer/notify_sltc_client_registration_validation_errors.html.erb +13 -0
  169. data/app/views/services_mailer/notify_sltc_provider_changes.html.erb +26 -0
  170. data/app/views/services_mailer/notify_support_about_no_mds_pull.html.erb +6 -0
  171. data/config/routes.rb +48 -0
  172. data/db/migrate/20140102000000_create_services_engine_tables.rb +131 -0
  173. data/db/migrate/20140517184450_new_services_columns.rb +24 -0
  174. data/db/migrate/20140525142842_new_configured_provider_table.rb +18 -0
  175. data/db/migrate/20140714172442_add_error_column_to_hl7_messages.rb +5 -0
  176. data/db/migrate/20140730164152_mds_upload_tables.rb +78 -0
  177. data/db/sql_data/service_data_setup.sql +24 -0
  178. data/lib/services/engine.rb +40 -0
  179. data/lib/services/version.rb +3 -0
  180. data/lib/services.rb +4 -0
  181. data/lib/tasks/services_tasks.rake +40 -0
  182. data/spec/dummy/README.rdoc +261 -0
  183. data/spec/dummy/Rakefile +7 -0
  184. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  185. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  186. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  187. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  188. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  189. data/spec/dummy/config/application.rb +60 -0
  190. data/spec/dummy/config/boot.rb +10 -0
  191. data/spec/dummy/config/database.yml +29 -0
  192. data/spec/dummy/config/environment.rb +5 -0
  193. data/spec/dummy/config/environments/development.rb +35 -0
  194. data/spec/dummy/config/environments/production.rb +68 -0
  195. data/spec/dummy/config/environments/test.rb +32 -0
  196. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  197. data/spec/dummy/config/initializers/email.rb +1 -0
  198. data/spec/dummy/config/initializers/inflections.rb +15 -0
  199. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  200. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  201. data/spec/dummy/config/initializers/session_store.rb +8 -0
  202. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  203. data/spec/dummy/config/locales/en.yml +5 -0
  204. data/spec/dummy/config/routes.rb +4 -0
  205. data/spec/dummy/config.ru +4 -0
  206. data/spec/dummy/db/schema.rb +237 -0
  207. data/spec/dummy/db/sql_data/services_isc_codes.sql +878 -0
  208. data/spec/dummy/log/test.log +3498 -0
  209. data/spec/dummy/public/404.html +26 -0
  210. data/spec/dummy/public/422.html +26 -0
  211. data/spec/dummy/public/500.html +25 -0
  212. data/spec/dummy/public/favicon.ico +0 -0
  213. data/spec/dummy/script/rails +6 -0
  214. data/spec/models/abaqis_mds_push_spec.rb +120 -0
  215. data/spec/models/available_file_spec.rb +234 -0
  216. data/spec/models/configured_account_spec.rb +39 -0
  217. data/spec/models/ftp_server_spec.rb +221 -0
  218. data/spec/models/isc_code_lookup_spec.rb +125 -0
  219. data/spec/models/isc_code_spec.rb +5 -0
  220. data/spec/models/mds_assessment_spec.rb +1070 -0
  221. data/spec/models/mds_pull_account_spec.rb +468 -0
  222. data/spec/models/mds_pull_spec.rb +48 -0
  223. data/spec/models/mds_push_spec.rb +43 -0
  224. data/spec/models/mds_ws_response_spec.rb +54 -0
  225. data/spec/models/pcc_mds_pull_spec.rb +273 -0
  226. data/spec/models/service_implementation_spec.rb +88 -0
  227. data/spec/models/sltc_api_exception_spec.rb +136 -0
  228. data/spec/models/sltc_api_spec.rb +192 -0
  229. data/spec/models/sltc_mds_pull_spec.rb +776 -0
  230. data/spec/roles/account_mapping_creator_spec.rb +40 -0
  231. data/spec/roles/account_mapping_updator_spec.rb +16 -0
  232. data/spec/roles/configured_account_creator_spec.rb +40 -0
  233. data/spec/roles/configured_account_updater_spec.rb +16 -0
  234. data/spec/roles/configured_facility_creator_spec.rb +40 -0
  235. data/spec/roles/configured_facility_updater_spec.rb +16 -0
  236. data/spec/roles/credential_creator_spec.rb +23 -0
  237. data/spec/roles/credential_updater_spec.rb +38 -0
  238. data/spec/roles/facility_mapping_creator_spec.rb +40 -0
  239. data/spec/roles/facility_mapping_updater_spec.rb +16 -0
  240. data/spec/roles/hl7_adt_message_saver_spec.rb +35 -0
  241. data/spec/roles/hl7_message_trimmer_spec.rb +31 -0
  242. data/spec/roles/monthly_service_table_cleaner_spec.rb +27 -0
  243. data/spec/roles/new_registration_notifier_spec.rb +18 -0
  244. data/spec/roles/service_ceator_spec.rb +34 -0
  245. data/spec/roles/service_definition_creator_spec.rb +40 -0
  246. data/spec/roles/service_definition_updater_spec.rb +16 -0
  247. data/spec/roles/service_invoker_spec.rb +22 -0
  248. data/spec/roles/service_updater_spec.rb +17 -0
  249. data/spec/roles/sltc_baseline_requestor_spec.rb +30 -0
  250. data/spec/roles/sltc_provider_lister_spec.rb +27 -0
  251. data/spec/roles/sltc_registration_completer_spec.rb +187 -0
  252. data/spec/roles/sltc_registration_saver_spec.rb +34 -0
  253. data/spec/roles/third_party_creator_spec.rb +34 -0
  254. data/spec/roles/third_party_updater_spec.rb +17 -0
  255. data/spec/spec_helper.rb +72 -0
  256. metadata +581 -0
metadata ADDED
@@ -0,0 +1,581 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pvdgm_services
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Dave Sieh
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-11-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 4.1.4
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 4.1.4
27
+ - !ruby/object:Gem::Dependency
28
+ name: rest-client
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 1.7.2
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 1.7.2
41
+ - !ruby/object:Gem::Dependency
42
+ name: net-sftp
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 2.1.2
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 2.1.2
55
+ - !ruby/object:Gem::Dependency
56
+ name: libxml-ruby
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 2.7.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '='
67
+ - !ruby/object:Gem::Version
68
+ version: 2.7.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: foreigner
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: ayl
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '='
88
+ - !ruby/object:Gem::Version
89
+ version: 0.3.0
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: 0.3.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: ayl-beanstalk
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '='
102
+ - !ruby/object:Gem::Version
103
+ version: 0.3.0
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '='
109
+ - !ruby/object:Gem::Version
110
+ version: 0.3.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: attr_encryption
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.1'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.1'
125
+ - !ruby/object:Gem::Dependency
126
+ name: mds_file_utils
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: sandal
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: mysql2
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rspec-rails
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - '='
172
+ - !ruby/object:Gem::Version
173
+ version: 2.14.2
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - '='
179
+ - !ruby/object:Gem::Version
180
+ version: 2.14.2
181
+ - !ruby/object:Gem::Dependency
182
+ name: pry
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: pry-rescue
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: pry-byebug
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ description: Provides HL7/MDS inbound services to a Rails application.
224
+ email:
225
+ - dave.sieh@providigm.com
226
+ executables: []
227
+ extensions: []
228
+ extra_rdoc_files: []
229
+ files:
230
+ - README.md
231
+ - Rakefile
232
+ - app/contexts/services/accept_hl7_message_context.rb
233
+ - app/contexts/services/application_mds_context.rb
234
+ - app/contexts/services/complete_sltc_registration_process_context.rb
235
+ - app/contexts/services/create_account_mapping_context.rb
236
+ - app/contexts/services/create_configured_account_context.rb
237
+ - app/contexts/services/create_configured_facility_context.rb
238
+ - app/contexts/services/create_credential_context.rb
239
+ - app/contexts/services/create_facility_mapping_context.rb
240
+ - app/contexts/services/create_public_key_context.rb
241
+ - app/contexts/services/create_service_context.rb
242
+ - app/contexts/services/create_service_definition_context.rb
243
+ - app/contexts/services/create_sltc_registration_context.rb
244
+ - app/contexts/services/create_third_party_context.rb
245
+ - app/contexts/services/hl7_message_trimming_context.rb
246
+ - app/contexts/services/invoke_service_context.rb
247
+ - app/contexts/services/list_sltc_providers_context.rb
248
+ - app/contexts/services/mds_file_processing_context.rb
249
+ - app/contexts/services/mds_file_upload_context.rb
250
+ - app/contexts/services/mds_pull_context.rb
251
+ - app/contexts/services/monthly_service_table_cleanup_context.rb
252
+ - app/contexts/services/notify_new_registration_context.rb
253
+ - app/contexts/services/notify_sltc_provider_change_context.rb
254
+ - app/contexts/services/request_sltc_baseline_context.rb
255
+ - app/contexts/services/update_account_mapping_context.rb
256
+ - app/contexts/services/update_configured_account_context.rb
257
+ - app/contexts/services/update_configured_facility_context.rb
258
+ - app/contexts/services/update_credential_context.rb
259
+ - app/contexts/services/update_facility_mapping_context.rb
260
+ - app/contexts/services/update_public_key_context.rb
261
+ - app/contexts/services/update_service_context.rb
262
+ - app/contexts/services/update_service_definition_context.rb
263
+ - app/contexts/services/update_third_party_context.rb
264
+ - app/controllers/services/account_mappings_controller.rb
265
+ - app/controllers/services/adts_controller.rb
266
+ - app/controllers/services/application_controller.rb
267
+ - app/controllers/services/assessment_requests_controller.rb
268
+ - app/controllers/services/available_files_controller.rb
269
+ - app/controllers/services/configured_account_base_controller.rb
270
+ - app/controllers/services/configured_accounts_controller.rb
271
+ - app/controllers/services/configured_facilities_controller.rb
272
+ - app/controllers/services/facility_mappings_controller.rb
273
+ - app/controllers/services/mds_files_controller.rb
274
+ - app/controllers/services/mds_pull_accounts_controller.rb
275
+ - app/controllers/services/public_keys_controller.rb
276
+ - app/controllers/services/service_base_controller.rb
277
+ - app/controllers/services/service_definition_base_controller.rb
278
+ - app/controllers/services/service_definitions_controller.rb
279
+ - app/controllers/services/services_controller.rb
280
+ - app/controllers/services/sltc_providers_controller.rb
281
+ - app/controllers/services/sltc_registrations_controller.rb
282
+ - app/controllers/services/status_masking.rb
283
+ - app/controllers/services/third_parties_controller.rb
284
+ - app/controllers/services/third_party_base_controller.rb
285
+ - app/controllers/services/validation_controller.rb
286
+ - app/helpers/services/application_helper.rb
287
+ - app/helpers/services/assessment_request_helper.rb
288
+ - app/helpers/services/available_files_helper.rb
289
+ - app/helpers/services/mds_pull_accounts_helper.rb
290
+ - app/helpers/services/sltc_registrations_helper.rb
291
+ - app/mailers/services_mailer.rb
292
+ - app/models/services/abaqis_mds_push.rb
293
+ - app/models/services/account_mapping.rb
294
+ - app/models/services/application_api.rb
295
+ - app/models/services/assessment_request.rb
296
+ - app/models/services/available_file.rb
297
+ - app/models/services/configured_account.rb
298
+ - app/models/services/configured_facility.rb
299
+ - app/models/services/credential.rb
300
+ - app/models/services/facility_mapping.rb
301
+ - app/models/services/ftp_server.rb
302
+ - app/models/services/hl7_inbound_service.rb
303
+ - app/models/services/hl7_message.rb
304
+ - app/models/services/isc_code.rb
305
+ - app/models/services/isc_code_lookup.rb
306
+ - app/models/services/mds_assessment.rb
307
+ - app/models/services/mds_content.rb
308
+ - app/models/services/mds_pull.rb
309
+ - app/models/services/mds_pull_account.rb
310
+ - app/models/services/mds_push.rb
311
+ - app/models/services/mds_upload.rb
312
+ - app/models/services/mds_upload_content.rb
313
+ - app/models/services/mds_ws_response.rb
314
+ - app/models/services/mds_ws_response_handler.rb
315
+ - app/models/services/pcc_mds_pull.rb
316
+ - app/models/services/provider_change.rb
317
+ - app/models/services/public_key.rb
318
+ - app/models/services/service.rb
319
+ - app/models/services/service_definition.rb
320
+ - app/models/services/service_implementation.rb
321
+ - app/models/services/sltc_api.rb
322
+ - app/models/services/sltc_api_exception.rb
323
+ - app/models/services/sltc_mds_pull.rb
324
+ - app/models/services/sltc_registration.rb
325
+ - app/models/services/third_party.rb
326
+ - app/roles/services/account_mapping_creator.rb
327
+ - app/roles/services/account_mapping_updator.rb
328
+ - app/roles/services/configured_account_creator.rb
329
+ - app/roles/services/configured_account_updater.rb
330
+ - app/roles/services/configured_facility_creator.rb
331
+ - app/roles/services/configured_facility_updater.rb
332
+ - app/roles/services/credential_creator.rb
333
+ - app/roles/services/credential_updater.rb
334
+ - app/roles/services/facility_mapping_creator.rb
335
+ - app/roles/services/facility_mapping_updater.rb
336
+ - app/roles/services/hl7_adt_message_saver.rb
337
+ - app/roles/services/hl7_message_trimmer.rb
338
+ - app/roles/services/mds_assessment_categorizer.rb
339
+ - app/roles/services/mds_file_processor.rb
340
+ - app/roles/services/mds_notifications.rb
341
+ - app/roles/services/monthly_service_table_cleaner.rb
342
+ - app/roles/services/new_registration_notifier.rb
343
+ - app/roles/services/public_key_creator.rb
344
+ - app/roles/services/public_key_updater.rb
345
+ - app/roles/services/service_creator.rb
346
+ - app/roles/services/service_definition_creator.rb
347
+ - app/roles/services/service_definition_updater.rb
348
+ - app/roles/services/service_invoker.rb
349
+ - app/roles/services/service_updater.rb
350
+ - app/roles/services/sltc_baseline_requestor.rb
351
+ - app/roles/services/sltc_provider_change_notifier.rb
352
+ - app/roles/services/sltc_provider_lister.rb
353
+ - app/roles/services/sltc_registration_completer.rb
354
+ - app/roles/services/sltc_registration_saver.rb
355
+ - app/roles/services/submit_mds_file_for_processing.rb
356
+ - app/roles/services/third_party_creator.rb
357
+ - app/roles/services/third_party_updater.rb
358
+ - app/utils/services/file_upload_handler.rb
359
+ - app/utils/services/mds_upload_filters.rb
360
+ - app/utils/services/mds_xml_file_parser.rb
361
+ - app/utils/services/upload_file.rb
362
+ - app/validators/isc_code_validator.rb
363
+ - app/validators/mds_birthdate_validator.rb
364
+ - app/validators/mds_date_validator.rb
365
+ - app/validators/mds_integer_validator.rb
366
+ - app/validators/mds_version_validator.rb
367
+ - app/validators/state_code_validator.rb
368
+ - app/views/layouts/services/application.html.erb
369
+ - app/views/services/account_mappings/index.json.jbuilder
370
+ - app/views/services/account_mappings/show.json.jbuilder
371
+ - app/views/services/assessment_requests/index.json.jbuilder
372
+ - app/views/services/available_files/index.json.jbuilder
373
+ - app/views/services/configured_accounts/index.json.jbuilder
374
+ - app/views/services/configured_accounts/show.json.jbuilder
375
+ - app/views/services/configured_facilities/index.json.jbuilder
376
+ - app/views/services/configured_facilities/show.json.jbuilder
377
+ - app/views/services/facility_mappings/index.json.jbuilder
378
+ - app/views/services/facility_mappings/show.json.jbuilder
379
+ - app/views/services/mds_files/create.builder
380
+ - app/views/services/mds_pull_accounts/index.json.jbuilder
381
+ - app/views/services/public_keys/index.json.jbuilder
382
+ - app/views/services/public_keys/show.json.jbuilder
383
+ - app/views/services/service_definitions/index.json.jbuilder
384
+ - app/views/services/service_definitions/show.json.jbuilder
385
+ - app/views/services/services/index.json.jbuilder
386
+ - app/views/services/services/show.json.jbuilder
387
+ - app/views/services/sltc_providers/index.json.jbuilder
388
+ - app/views/services/sltc_registrations/index.json.jbuilder
389
+ - app/views/services/third_parties/index.json.jbuilder
390
+ - app/views/services/third_parties/show.json.jbuilder
391
+ - app/views/services_mailer/burying_job.html.erb
392
+ - app/views/services_mailer/delaying_job.html.erb
393
+ - app/views/services_mailer/notify_sltc_client_registration.html.erb
394
+ - app/views/services_mailer/notify_sltc_client_registration_invalid_request_type.html.erb
395
+ - app/views/services_mailer/notify_sltc_client_registration_request_invalid.html.erb
396
+ - app/views/services_mailer/notify_sltc_client_registration_validation_errors.html.erb
397
+ - app/views/services_mailer/notify_sltc_provider_changes.html.erb
398
+ - app/views/services_mailer/notify_support_about_no_mds_pull.html.erb
399
+ - config/routes.rb
400
+ - db/migrate/20140102000000_create_services_engine_tables.rb
401
+ - db/migrate/20140517184450_new_services_columns.rb
402
+ - db/migrate/20140525142842_new_configured_provider_table.rb
403
+ - db/migrate/20140714172442_add_error_column_to_hl7_messages.rb
404
+ - db/migrate/20140730164152_mds_upload_tables.rb
405
+ - db/sql_data/service_data_setup.sql
406
+ - lib/services.rb
407
+ - lib/services/engine.rb
408
+ - lib/services/version.rb
409
+ - lib/tasks/services_tasks.rake
410
+ - spec/dummy/README.rdoc
411
+ - spec/dummy/Rakefile
412
+ - spec/dummy/app/assets/javascripts/application.js
413
+ - spec/dummy/app/assets/stylesheets/application.css
414
+ - spec/dummy/app/controllers/application_controller.rb
415
+ - spec/dummy/app/helpers/application_helper.rb
416
+ - spec/dummy/app/views/layouts/application.html.erb
417
+ - spec/dummy/config.ru
418
+ - spec/dummy/config/application.rb
419
+ - spec/dummy/config/boot.rb
420
+ - spec/dummy/config/database.yml
421
+ - spec/dummy/config/environment.rb
422
+ - spec/dummy/config/environments/development.rb
423
+ - spec/dummy/config/environments/production.rb
424
+ - spec/dummy/config/environments/test.rb
425
+ - spec/dummy/config/initializers/backtrace_silencers.rb
426
+ - spec/dummy/config/initializers/email.rb
427
+ - spec/dummy/config/initializers/inflections.rb
428
+ - spec/dummy/config/initializers/mime_types.rb
429
+ - spec/dummy/config/initializers/secret_token.rb
430
+ - spec/dummy/config/initializers/session_store.rb
431
+ - spec/dummy/config/initializers/wrap_parameters.rb
432
+ - spec/dummy/config/locales/en.yml
433
+ - spec/dummy/config/routes.rb
434
+ - spec/dummy/db/schema.rb
435
+ - spec/dummy/db/sql_data/services_isc_codes.sql
436
+ - spec/dummy/log/test.log
437
+ - spec/dummy/public/404.html
438
+ - spec/dummy/public/422.html
439
+ - spec/dummy/public/500.html
440
+ - spec/dummy/public/favicon.ico
441
+ - spec/dummy/script/rails
442
+ - spec/models/abaqis_mds_push_spec.rb
443
+ - spec/models/available_file_spec.rb
444
+ - spec/models/configured_account_spec.rb
445
+ - spec/models/ftp_server_spec.rb
446
+ - spec/models/isc_code_lookup_spec.rb
447
+ - spec/models/isc_code_spec.rb
448
+ - spec/models/mds_assessment_spec.rb
449
+ - spec/models/mds_pull_account_spec.rb
450
+ - spec/models/mds_pull_spec.rb
451
+ - spec/models/mds_push_spec.rb
452
+ - spec/models/mds_ws_response_spec.rb
453
+ - spec/models/pcc_mds_pull_spec.rb
454
+ - spec/models/service_implementation_spec.rb
455
+ - spec/models/sltc_api_exception_spec.rb
456
+ - spec/models/sltc_api_spec.rb
457
+ - spec/models/sltc_mds_pull_spec.rb
458
+ - spec/roles/account_mapping_creator_spec.rb
459
+ - spec/roles/account_mapping_updator_spec.rb
460
+ - spec/roles/configured_account_creator_spec.rb
461
+ - spec/roles/configured_account_updater_spec.rb
462
+ - spec/roles/configured_facility_creator_spec.rb
463
+ - spec/roles/configured_facility_updater_spec.rb
464
+ - spec/roles/credential_creator_spec.rb
465
+ - spec/roles/credential_updater_spec.rb
466
+ - spec/roles/facility_mapping_creator_spec.rb
467
+ - spec/roles/facility_mapping_updater_spec.rb
468
+ - spec/roles/hl7_adt_message_saver_spec.rb
469
+ - spec/roles/hl7_message_trimmer_spec.rb
470
+ - spec/roles/monthly_service_table_cleaner_spec.rb
471
+ - spec/roles/new_registration_notifier_spec.rb
472
+ - spec/roles/service_ceator_spec.rb
473
+ - spec/roles/service_definition_creator_spec.rb
474
+ - spec/roles/service_definition_updater_spec.rb
475
+ - spec/roles/service_invoker_spec.rb
476
+ - spec/roles/service_updater_spec.rb
477
+ - spec/roles/sltc_baseline_requestor_spec.rb
478
+ - spec/roles/sltc_provider_lister_spec.rb
479
+ - spec/roles/sltc_registration_completer_spec.rb
480
+ - spec/roles/sltc_registration_saver_spec.rb
481
+ - spec/roles/third_party_creator_spec.rb
482
+ - spec/roles/third_party_updater_spec.rb
483
+ - spec/spec_helper.rb
484
+ homepage: https://www.abaqis.com
485
+ licenses: []
486
+ metadata: {}
487
+ post_install_message:
488
+ rdoc_options: []
489
+ require_paths:
490
+ - lib
491
+ required_ruby_version: !ruby/object:Gem::Requirement
492
+ requirements:
493
+ - - ">="
494
+ - !ruby/object:Gem::Version
495
+ version: '0'
496
+ required_rubygems_version: !ruby/object:Gem::Requirement
497
+ requirements:
498
+ - - ">="
499
+ - !ruby/object:Gem::Version
500
+ version: '0'
501
+ requirements: []
502
+ rubyforge_project:
503
+ rubygems_version: 2.2.2
504
+ signing_key:
505
+ specification_version: 4
506
+ summary: APIs and code to abstract third party service support.
507
+ test_files:
508
+ - spec/dummy/db/schema.rb
509
+ - spec/dummy/db/sql_data/services_isc_codes.sql
510
+ - spec/dummy/script/rails
511
+ - spec/dummy/config.ru
512
+ - spec/dummy/app/assets/stylesheets/application.css
513
+ - spec/dummy/app/assets/javascripts/application.js
514
+ - spec/dummy/app/views/layouts/application.html.erb
515
+ - spec/dummy/app/controllers/application_controller.rb
516
+ - spec/dummy/app/helpers/application_helper.rb
517
+ - spec/dummy/config/application.rb
518
+ - spec/dummy/config/routes.rb
519
+ - spec/dummy/config/environments/development.rb
520
+ - spec/dummy/config/environments/test.rb
521
+ - spec/dummy/config/environments/production.rb
522
+ - spec/dummy/config/initializers/email.rb
523
+ - spec/dummy/config/initializers/inflections.rb
524
+ - spec/dummy/config/initializers/session_store.rb
525
+ - spec/dummy/config/initializers/wrap_parameters.rb
526
+ - spec/dummy/config/initializers/backtrace_silencers.rb
527
+ - spec/dummy/config/initializers/secret_token.rb
528
+ - spec/dummy/config/initializers/mime_types.rb
529
+ - spec/dummy/config/locales/en.yml
530
+ - spec/dummy/config/environment.rb
531
+ - spec/dummy/config/boot.rb
532
+ - spec/dummy/config/database.yml
533
+ - spec/dummy/public/404.html
534
+ - spec/dummy/public/favicon.ico
535
+ - spec/dummy/public/422.html
536
+ - spec/dummy/public/500.html
537
+ - spec/dummy/Rakefile
538
+ - spec/dummy/log/test.log
539
+ - spec/dummy/README.rdoc
540
+ - spec/roles/sltc_baseline_requestor_spec.rb
541
+ - spec/roles/service_definition_updater_spec.rb
542
+ - spec/roles/sltc_registration_saver_spec.rb
543
+ - spec/roles/monthly_service_table_cleaner_spec.rb
544
+ - spec/roles/credential_creator_spec.rb
545
+ - spec/roles/service_definition_creator_spec.rb
546
+ - spec/roles/configured_account_creator_spec.rb
547
+ - spec/roles/account_mapping_updator_spec.rb
548
+ - spec/roles/third_party_updater_spec.rb
549
+ - spec/roles/configured_account_updater_spec.rb
550
+ - spec/roles/configured_facility_updater_spec.rb
551
+ - spec/roles/hl7_adt_message_saver_spec.rb
552
+ - spec/roles/new_registration_notifier_spec.rb
553
+ - spec/roles/facility_mapping_creator_spec.rb
554
+ - spec/roles/credential_updater_spec.rb
555
+ - spec/roles/sltc_registration_completer_spec.rb
556
+ - spec/roles/facility_mapping_updater_spec.rb
557
+ - spec/roles/configured_facility_creator_spec.rb
558
+ - spec/roles/account_mapping_creator_spec.rb
559
+ - spec/roles/third_party_creator_spec.rb
560
+ - spec/roles/hl7_message_trimmer_spec.rb
561
+ - spec/roles/service_updater_spec.rb
562
+ - spec/roles/service_invoker_spec.rb
563
+ - spec/roles/sltc_provider_lister_spec.rb
564
+ - spec/roles/service_ceator_spec.rb
565
+ - spec/spec_helper.rb
566
+ - spec/models/abaqis_mds_push_spec.rb
567
+ - spec/models/configured_account_spec.rb
568
+ - spec/models/sltc_mds_pull_spec.rb
569
+ - spec/models/available_file_spec.rb
570
+ - spec/models/ftp_server_spec.rb
571
+ - spec/models/mds_push_spec.rb
572
+ - spec/models/mds_assessment_spec.rb
573
+ - spec/models/isc_code_lookup_spec.rb
574
+ - spec/models/sltc_api_spec.rb
575
+ - spec/models/mds_ws_response_spec.rb
576
+ - spec/models/mds_pull_spec.rb
577
+ - spec/models/sltc_api_exception_spec.rb
578
+ - spec/models/mds_pull_account_spec.rb
579
+ - spec/models/isc_code_spec.rb
580
+ - spec/models/service_implementation_spec.rb
581
+ - spec/models/pcc_mds_pull_spec.rb