forked from zdavatz/oddb.org
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Company import. Corrected handling of addresses.
- Loading branch information
Showing
10 changed files
with
140 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/env ruby | ||
# encoding: utf-8 | ||
# Business area for companies | ||
require 'sbsm/validator' | ||
|
||
module ODDB | ||
class BA_type | ||
include Enumerable | ||
BA_hospital = 'ba_hospital' | ||
BA_pharma = 'ba_pharma' | ||
BA_public_pharmacy = 'ba_public_pharmacy' | ||
BA_hospital_pharmacy = 'ba_hospital_pharmacy' | ||
BA_research_institute = 'ba_research_institute' | ||
BA_insurance = 'ba_insurance' | ||
BA_doctor = 'ba_doctor' | ||
BA_health = 'ba_health' | ||
BA_info = 'ba_info' | ||
def each | ||
yield nil | ||
yield BA_hospital | ||
yield BA_pharma | ||
yield BA_public_pharmacy | ||
yield BA_hospital_pharmacy | ||
yield BA_research_institute | ||
yield BA_insurance | ||
yield BA_doctor | ||
yield BA_health | ||
yield BA_info | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.