Skip to content

Commit

Permalink
fix hdata sections
Browse files Browse the repository at this point in the history
  • Loading branch information
ssayer committed Apr 12, 2012
1 parent 65f8f8a commit d6f4868
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ source 'http://rubygems.org'


gem 'rails', '3.2.2'
gem "health-data-standards", :git => "http://github.com/projectcypress/health-data-standards.git", :branch => "develop"
# gem "health-data-standards", :git => "http://github.com/projectcypress/health-data-standards.git", :branch => "develop"
gem "health-data-standards", :git => "http://github.com/ssayer/health-data-standards.git", :branch => "develop"
gem 'ruby-openid', :git => 'https://github.com/rdingwell/ruby-openid.git',:branch => "master"
gem "mongoid"
gem "bson_ext"
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GIT
remote: http://github.com/projectcypress/health-data-standards.git
revision: 5cbf5d09c45e2cc6974336fc62cfc347efbb1487
remote: http://github.com/ssayer/health-data-standards.git
revision: c88f614818cc338534a06d036e208ea93ab19d74
branch: develop
specs:
health-data-standards (0.8.0)
Expand Down
4 changes: 2 additions & 2 deletions config/initializers/hdata_sections.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
importers['application/xml'] = HealthDataStandards::Import::GreenC32::EncounterImporter.instance
exporters['application/xml'] = HealthDataStandards::Export::GreenC32::ExportGenerator.create_exporter_for(:encounter)
end
sr.add_section('immunizations', 'http://projecthdata.org/extension/immunization', 'Immunizations') do
sr.add_section('immunizations', 'http://projecthdata.org/extension/immunization', 'Immunizations') do |importers, exporters|
importers['application/xml'] = HealthDataStandards::Import::GreenC32::ImmunizationImporter.instance
exporters['application/xml'] = HealthDataStandards::Export::GreenC32::ExportGenerator.create_exporter_for(:immunization)
end
Expand All @@ -35,7 +35,7 @@
importers['application/xml'] = HealthDataStandards::Import::GreenC32::ResultImporter.instance
exporters['application/xml'] = HealthDataStandards::Export::GreenC32::ExportGenerator.create_exporter_for(:result)
end
sr.add_section('social_history', 'http://projecthdata.org/extension/social-history', 'Social History') do
sr.add_section('social_history', 'http://projecthdata.org/extension/social-history', 'Social History') do |importers, exporters|
importers['application/xml'] = HealthDataStandards::Import::GreenC32::SocialHistoryImporter.instance
exporters['application/xml'] = HealthDataStandards::Export::GreenC32::ExportGenerator.create_exporter_for(:social_history)
end
Expand Down

0 comments on commit d6f4868

Please sign in to comment.