Skip to content

Commit

Permalink
removing stupid stuff I put in there to test something out, duh duh duh
Browse files Browse the repository at this point in the history
  • Loading branch information
rdingwell committed Dec 11, 2009
1 parent 4ae9786 commit 2a580ad
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,7 @@
xds_patients.do_provide_and_register_xds_patient '/xds_patients/do_provide_and_register', :action => 'do_provide_and_register'
end


map.resources :patients ,:as =>"ptents",
:has_one => [:registration_information, :support, :information_source, :advance_directive, :pregnancy],
:has_many => [:languages, :providers, :insurance_providers,
:insurance_provider_patients, :insurance_provider_subscribers,
:insurance_provider_guarantors, :medications, :allergies, :conditions,
:results, :immunizations, :vital_signs,
:encounters, :procedures, :medical_equipments, :patient_identifiers],
:member => {:set_no_known_allergies => :post, :edit_template_info => :get, :copy => :post },
:collection => { :autoCreate => :post }


map.with_options :controller => 'xds_patients' do |xds_patients|
xds_patients.provide_and_register_xds_patient '/xds_patients/provide_and_register/:id', :action => 'provide_and_register'
Expand Down

0 comments on commit 2a580ad

Please sign in to comment.