medivo 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/medivo/date.js +1078 -0
- data/app/assets/javascripts/medivo/helpers.coffee +31 -0
- data/app/assets/javascripts/medivo/lab_appointment/application.js +6 -0
- data/app/assets/javascripts/medivo/lab_appointment/handlers.coffee +31 -0
- data/app/assets/javascripts/medivo/lab_appointment/models.coffee +16 -0
- data/app/assets/javascripts/medivo/lab_appointment/sample/show_appointments.coffee +13 -0
- data/app/assets/javascripts/medivo/lab_appointment/views.coffee +9 -0
- data/app/assets/javascripts/medivo/lab_list/application.js +2 -1
- data/app/assets/javascripts/medivo/lab_list/{init.coffee → handlers.coffee} +7 -6
- data/app/assets/javascripts/medivo/lab_list/models.coffee +12 -54
- data/app/assets/javascripts/medivo/lab_list/sample/show_labs.coffee +8 -1
- data/app/assets/javascripts/medivo/lab_list/views.coffee +21 -30
- data/app/assets/javascripts/medivo/models.coffee +29 -0
- data/app/assets/javascripts/medivo/views.coffee +16 -0
- data/app/controllers/medivo/labs_controller.rb +10 -0
- data/app/models/medivo/appointment.rb +21 -0
- data/app/models/medivo/appointment_resource.rb +14 -0
- data/app/models/medivo/insurance_order.rb +1 -6
- data/app/models/medivo/lab.rb +11 -9
- data/app/models/medivo/lab_resource.rb +14 -0
- data/app/models/medivo/order.rb +2 -2
- data/app/models/medivo/primary_insurance.rb +6 -4
- data/app/models/medivo/resource_config.rb +16 -0
- data/config/routes.rb +1 -0
- data/lib/generators/medivo/appointments/appointments_generator.rb +15 -0
- data/lib/generators/medivo/labs/labs_generator.rb +33 -0
- data/lib/generators/medivo/templates/appointment_resource.yml +11 -0
- data/lib/generators/medivo/templates/lab_resource.yml +21 -0
- data/lib/generators/medivo/templates/labs_controller.rb +6 -0
- data/lib/generators/medivo/templates/search.html.haml +45 -0
- data/lib/medivo.rb +2 -1
- data/lib/medivo/fdf_generator.rb +36 -0
- data/lib/medivo/version.rb +1 -1
- data/spec/dummy/app/assets/javascripts/application.js +2 -0
- data/spec/dummy/app/controllers/labs_controller.rb +3 -5
- data/spec/dummy/app/views/labs/search.html.haml +31 -1
- data/spec/dummy/config/medivo/appointment_resource.yml +12 -0
- data/spec/dummy/config/medivo/lab_resource.yml +21 -0
- data/spec/dummy/config/routes.rb +1 -1
- data/spec/dummy/log/development.log +7782 -0
- data/spec/dummy/log/test.log +243 -0
- data/spec/dummy/tmp/cache/assets/C46/F00/sprockets%2F2281d588b540056c5a7306c32a3761b9 +0 -0
- data/spec/dummy/tmp/cache/assets/C69/500/sprockets%2F140b56780716711c2b6eb1028f042ca6 +0 -0
- data/spec/dummy/tmp/cache/assets/C6C/8D0/sprockets%2F2f423a28516973330a94ad121151f3bf +0 -0
- data/spec/dummy/tmp/cache/assets/C70/AC0/sprockets%2F25232afc7932c662d9d6f032030a2428 +0 -0
- data/spec/dummy/tmp/cache/assets/C81/D00/sprockets%2F64f056bd752d271308a86a6f865b1911 +0 -0
- data/spec/dummy/tmp/cache/assets/CB4/BD0/sprockets%2F3378f27c0d4f5e6d708665b22707a31f +0 -0
- data/spec/dummy/tmp/cache/assets/CC3/EF0/sprockets%2F453b504c1f8f374578636f699eaa455d +0 -0
- data/spec/dummy/tmp/cache/assets/CD8/DA0/sprockets%2F622aa5281d15503829a5f7a0bf56fc29 +0 -0
- data/spec/dummy/tmp/cache/assets/CDD/820/sprockets%2Fb28231960c7ac62eff9048e702a29c70 +0 -0
- data/spec/dummy/tmp/cache/assets/CEC/EF0/sprockets%2F4b24a74018f693c06088bd52f8cc9f86 +0 -0
- data/spec/dummy/tmp/cache/assets/CEE/250/sprockets%2F96688f33f2f8aa261bf6701c1d6d7575 +0 -0
- data/spec/dummy/tmp/cache/assets/D07/6B0/sprockets%2F69a2df619ff14da071309dac4196400e +0 -0
- data/spec/dummy/tmp/cache/assets/D1B/820/sprockets%2F92a83e15913997b3d9ac7ed437b1e44c +0 -0
- data/spec/dummy/tmp/cache/assets/D20/F10/sprockets%2Fb2e907e4faa85fe755f4439e3b229088 +0 -0
- data/spec/dummy/tmp/cache/assets/D29/000/sprockets%2F61a10ddf57f1129c02a1049bfed6e007 +0 -0
- data/spec/dummy/tmp/cache/assets/D2C/F80/sprockets%2F399f6d5eb273936af7ff8f35a77c5037 +0 -0
- data/spec/dummy/tmp/cache/assets/D30/920/sprockets%2Fcc4603fc6441ca421a7d02886a81ab9d +0 -0
- data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/D36/870/sprockets%2Fce9e887568de873b133ae43d7c977f68 +0 -0
- data/spec/dummy/tmp/cache/assets/D3A/210/sprockets%2F4f9664dabb00038f85b417cc38bf83a1 +0 -0
- data/spec/dummy/tmp/cache/assets/D41/250/sprockets%2F7b3c4426715dcd1feedc4a95e5444256 +0 -0
- data/spec/dummy/tmp/cache/assets/D45/320/sprockets%2Fc50ff379a1bdf1dd4d22249058749cf6 +0 -0
- data/spec/dummy/tmp/cache/assets/D4C/7A0/sprockets%2Fbc635c7b186d1ef5178f4ed3722d868b +0 -0
- data/spec/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
- data/spec/dummy/tmp/cache/assets/D55/ED0/sprockets%2F0f673e42e816c6fe5b66a5c96f896f1a +0 -0
- data/spec/dummy/tmp/cache/assets/D5D/3E0/sprockets%2F63fea6cc142b5f02da93bf81e70b2116 +0 -0
- data/spec/dummy/tmp/cache/assets/D60/030/sprockets%2Ffc9485f617fc5e9b8918755d2e08ecc6 +0 -0
- data/spec/dummy/tmp/cache/assets/D64/C50/sprockets%2F22ee6fb2ab1ea9694ac7f0f41a406094 +0 -0
- data/spec/dummy/tmp/cache/assets/D65/6D0/sprockets%2F3ce07ca1958d7ab3e80c4b3e0d24088c +0 -0
- data/spec/dummy/tmp/cache/assets/D68/AD0/sprockets%2F19727663b4ec901b812dbdabee2526ec +0 -0
- data/spec/dummy/tmp/cache/assets/D69/130/sprockets%2Fbaa4ec50a34ce938c986612c2a47a64e +0 -0
- data/spec/dummy/tmp/cache/assets/D6E/700/sprockets%2Ff39fb8d8a25e4f3fd01a3e506ae31935 +0 -0
- data/spec/dummy/tmp/cache/assets/D74/9A0/sprockets%2F0ca4e6e833c72156fc7e7d5f007d9ce3 +0 -0
- data/spec/dummy/tmp/cache/assets/D76/720/sprockets%2F88d8aa1d2fb41ce79b8ec4150ea74748 +0 -0
- data/spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
- data/spec/dummy/tmp/cache/assets/D88/2C0/sprockets%2F452ab3ebb1912cf1c2ba617eec52a718 +0 -0
- data/spec/dummy/tmp/cache/assets/D9C/F50/sprockets%2F224e78bb9e1c414a2d518a3aaffd6f77 +0 -0
- data/spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6 +0 -0
- data/spec/dummy/tmp/cache/assets/DA1/640/sprockets%2F91874cbba5e63cd19d6a7bd3c8362dc4 +0 -0
- data/spec/dummy/tmp/cache/assets/DC1/230/sprockets%2F3a36cd467bdce1914a2b7af4ed4114cf +0 -0
- data/spec/dummy/tmp/cache/assets/DCE/E80/sprockets%2Fc71ec62157b9cc7aabfc030955cef87b +0 -0
- data/spec/dummy/tmp/cache/assets/DD1/FD0/sprockets%2Fa531f33dc9c5852d39d64a9eda44dacf +0 -0
- data/spec/dummy/tmp/cache/assets/DD4/2B0/sprockets%2Fef214a63f29afe7f3cbffc65af943108 +0 -0
- data/spec/dummy/tmp/cache/assets/DFC/420/sprockets%2F502e2c683d1aaad6ac88966ffc4d2ade +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/E32/FC0/sprockets%2Fe55fb2eef11567fe04fdaf7e73af5ba4 +0 -0
- data/spec/dummy/tmp/pids/server.pid +1 -1
- data/spec/models/orders_spec.rb +1 -23
- data/spec/models/primary_insurance_spec.rb +31 -0
- data/spec/requests/labs_spec.rb +0 -1
- data/spec/spec_helper.rb +7 -1
- data/spec/support/blueprints.rb +9 -1
- data/spec/support/helper.rb +9 -0
- metadata +94 -26
- data/app/assets/javascripts/medivo/lab_appointments/application.js +0 -0
- data/app/assets/javascripts/medivo/lab_appointments/models.coffee +0 -0
- data/app/assets/javascripts/medivo/lab_appointments/sample/show_appointments.coffee +0 -0
- data/app/assets/javascripts/medivo/lab_appointments/views.coffee +0 -0
- data/app/models/medivo/resource.rb +0 -24
- data/lib/generators/medivo/install/install_generator.rb +0 -41
- data/lib/generators/medivo/install/templates/medivo_resource.yml +0 -9
- data/spec/dummy/config/medivo_resource.yml +0 -12