qa 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. data/LICENSE +15 -0
  2. data/README.md +174 -0
  3. data/Rakefile +10 -0
  4. data/app/assets/javascripts/qa/application.js +13 -0
  5. data/app/assets/stylesheets/qa/application.css +13 -0
  6. data/app/controllers/qa/application_controller.rb +4 -0
  7. data/app/controllers/qa/terms_controller.rb +76 -0
  8. data/app/helpers/qa/application_helper.rb +2 -0
  9. data/app/models/qa/mesh_tree.rb +37 -0
  10. data/app/models/qa/subject_mesh_term.rb +45 -0
  11. data/app/views/layouts/qa/application.html.erb +14 -0
  12. data/config/authorities.yml +1 -0
  13. data/config/authorities/states.yml +101 -0
  14. data/config/initializers/authorities.rb +1 -0
  15. data/config/oclcts-authorities.yml +24 -0
  16. data/config/routes.rb +7 -0
  17. data/db/migrate/20130917200611_create_qa_subject_mesh_terms.rb +11 -0
  18. data/db/migrate/20130917201026_create_qa_mesh_tree.rb +10 -0
  19. data/db/migrate/20130918141523_add_term_lower_to_qa_subject_mesh_terms.rb +7 -0
  20. data/lib/qa.rb +9 -0
  21. data/lib/qa/authorities.rb +12 -0
  22. data/lib/qa/authorities/base.rb +50 -0
  23. data/lib/qa/authorities/lcsh.rb +46 -0
  24. data/lib/qa/authorities/loc.rb +200 -0
  25. data/lib/qa/authorities/local.rb +69 -0
  26. data/lib/qa/authorities/mesh.rb +20 -0
  27. data/lib/qa/authorities/mesh_tools.rb +6 -0
  28. data/lib/qa/authorities/mesh_tools/mesh_data_parser.rb +65 -0
  29. data/lib/qa/authorities/mesh_tools/mesh_importer.rb +41 -0
  30. data/lib/qa/authorities/oclcts.rb +63 -0
  31. data/lib/qa/authorities/tgnlang.rb +40 -0
  32. data/lib/qa/data/TGN_LANGUAGES.xml +7435 -0
  33. data/lib/qa/engine.rb +5 -0
  34. data/lib/qa/version.rb +3 -0
  35. data/lib/tasks/qa_tasks.rake +4 -0
  36. data/spec/controllers/terms_controller_spec.rb +70 -0
  37. data/spec/fixtures/authorities/authority_A.yml +10 -0
  38. data/spec/fixtures/authorities/authority_B.yml +7 -0
  39. data/spec/fixtures/authorities/authority_C.yml +4 -0
  40. data/spec/fixtures/lcsh-response.txt +1 -0
  41. data/spec/fixtures/loc-response.txt +147 -0
  42. data/spec/fixtures/mesh.txt +334 -0
  43. data/spec/fixtures/oclcts-response-mesh-1.txt +28 -0
  44. data/spec/fixtures/oclcts-response-mesh-2.txt +253 -0
  45. data/spec/fixtures/oclcts-response-mesh-3.txt +28 -0
  46. data/spec/internal/Gemfile +48 -0
  47. data/spec/internal/Gemfile.lock +156 -0
  48. data/spec/internal/README.rdoc +28 -0
  49. data/spec/internal/Rakefile +6 -0
  50. data/spec/internal/app/assets/javascripts/application.js +16 -0
  51. data/spec/internal/app/assets/stylesheets/application.css +13 -0
  52. data/spec/internal/app/controllers/application_controller.rb +5 -0
  53. data/spec/internal/app/helpers/application_helper.rb +2 -0
  54. data/spec/internal/app/views/layouts/application.html.erb +14 -0
  55. data/spec/internal/bin/bundle +3 -0
  56. data/spec/internal/bin/rails +4 -0
  57. data/spec/internal/bin/rake +4 -0
  58. data/spec/internal/config.ru +4 -0
  59. data/spec/internal/config/application.rb +23 -0
  60. data/spec/internal/config/boot.rb +4 -0
  61. data/spec/internal/config/database.yml +25 -0
  62. data/spec/internal/config/environment.rb +5 -0
  63. data/spec/internal/config/environments/development.rb +29 -0
  64. data/spec/internal/config/environments/production.rb +80 -0
  65. data/spec/internal/config/environments/test.rb +36 -0
  66. data/spec/internal/config/initializers/backtrace_silencers.rb +7 -0
  67. data/spec/internal/config/initializers/filter_parameter_logging.rb +4 -0
  68. data/spec/internal/config/initializers/inflections.rb +16 -0
  69. data/spec/internal/config/initializers/mime_types.rb +5 -0
  70. data/spec/internal/config/initializers/secret_token.rb +12 -0
  71. data/spec/internal/config/initializers/session_store.rb +3 -0
  72. data/spec/internal/config/initializers/wrap_parameters.rb +14 -0
  73. data/spec/internal/config/locales/en.yml +23 -0
  74. data/spec/internal/config/oclcts-authorities.yml +24 -0
  75. data/spec/internal/config/routes.rb +60 -0
  76. data/spec/internal/db/development.sqlite3 +0 -0
  77. data/spec/internal/db/migrate/20130930151844_create_qa_subject_mesh_terms.qa.rb +12 -0
  78. data/spec/internal/db/migrate/20130930151845_create_qa_mesh_tree.qa.rb +11 -0
  79. data/spec/internal/db/migrate/20130930151846_add_term_lower_to_qa_subject_mesh_terms.qa.rb +8 -0
  80. data/spec/internal/db/schema.rb +34 -0
  81. data/spec/internal/db/seeds.rb +7 -0
  82. data/spec/internal/db/test.sqlite3 +0 -0
  83. data/spec/internal/lib/generators/test_app_generator.rb +20 -0
  84. data/spec/internal/log/development.log +193 -0
  85. data/spec/internal/public/404.html +58 -0
  86. data/spec/internal/public/422.html +58 -0
  87. data/spec/internal/public/500.html +57 -0
  88. data/spec/internal/public/favicon.ico +0 -0
  89. data/spec/internal/public/robots.txt +5 -0
  90. data/spec/internal/test/test_helper.rb +15 -0
  91. data/spec/lib/authorities_lcsh_spec.rb +61 -0
  92. data/spec/lib/authorities_loc_spec.rb +35 -0
  93. data/spec/lib/authorities_local_spec.rb +89 -0
  94. data/spec/lib/authorities_mesh_spec.rb +38 -0
  95. data/spec/lib/authorities_oclcts_spec.rb +49 -0
  96. data/spec/lib/authorities_tgnlang_spec.rb +22 -0
  97. data/spec/lib/mesh_data_parser_spec.rb +125 -0
  98. data/spec/models/subject_mesh_term_spec.rb +49 -0
  99. data/spec/spec_helper.rb +60 -0
  100. data/spec/support/lib/generators/test_app_generator.rb +20 -0
  101. metadata +396 -0
@@ -0,0 +1,28 @@
1
+ <?xml version="1.0" ?>
2
+ <?xml-stylesheet type="text/xsl" href="/theme/searchRetrieveResponse.xsl"?>
3
+ <searchRetrieveResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/zing/srw/ http://www.loc.gov/standards/sru/sru1-1archive/xml-files/srw-types.xsd" xmlns="http://www.loc.gov/zing/srw/"><version>1.1</version><numberOfRecords>74</numberOfRecords><resultSetId>gatsub</resultSetId><resultSetIdleTime>300</resultSetIdleTime><records xmlns:ns1="http://www.loc.gov/zing/srw/"><record><recordSchema>http://zthes.z3950.org/xml/1.0/</recordSchema><recordPacking>xml</recordPacking><recordData><Zthes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://tspilot.oclc.org/schema/zthes-1.0u.xsd" xmlns="">
4
+ <term>
5
+ <termId>D031329Q000821</termId>
6
+ <termName>Ballota--virology</termName>
7
+ <termType>PT</termType>
8
+ <termLanguage>eng</termLanguage>
9
+ <termCategory>topical</termCategory>
10
+ <termStatus>active</termStatus>
11
+ <termApproval>approved</termApproval>
12
+ <termSortkey>ballota virology</termSortkey>
13
+ <termNote label="X-NOTE-856">Use of this resource is governed by the OCLC ResearchWorks terms of use. [text/html]</termNote>
14
+ <termNote label="Change">Original cataloging agency is DNLM.</termNote>
15
+ <termNote label="Change">Transcribing agency is DNLM.</termNote>
16
+ <termNote label="Change">Modifying agency is OCoLC-O.</termNote>
17
+ <termCreatedDate>2002-07-02T00:00:00</termCreatedDate>
18
+ <termCreatedBy>DNLM</termCreatedBy>
19
+ <termModifiedDate>2012-04-02T18:39:28.6</termModifiedDate>
20
+ <termModifiedBy>OCoLC-O</termModifiedBy>
21
+ <relation>
22
+ <relationType>X-ID</relationType>
23
+ <termId>(DNLM)D031329Q000821</termId>
24
+ <termName>Ballota--virology</termName>
25
+ <termType>X-ALT</termType>
26
+ </relation>
27
+ </term>
28
+ </Zthes></recordData><recordPosition>10</recordPosition></record></records><nextRecordPosition>11</nextRecordPosition><echoedSearchRetrieveRequest xmlns:ns2="http://www.loc.gov/zing/srw/"><version>1.1</version><query>oclcts.rootHeading exact &quot;ball*&quot;</query><xQuery><ns3:searchClause xmlns:ns3="http://www.loc.gov/zing/cql/xcql/"><ns3:index>oclcts.rootHeading</ns3:index><ns3:relation><ns3:value>exact</ns3:value></ns3:relation><ns3:term>ball*</ns3:term></ns3:searchClause></xQuery><startRecord>1</startRecord><maximumRecords>10</maximumRecords><recordPacking>xml</recordPacking><recordSchema>http://zthes.z3950.org/xml/1.0/</recordSchema><resultSetTTL>300</resultSetTTL><sortKeys></sortKeys></echoedSearchRetrieveRequest><extraResponseData xmlns:ns4="http://www.loc.gov/zing/srw/"><ns5:extraData xmlns="http://oclc.org/srw/extraData" xmlns:ns5="http://oclc.org/srw/extraData"><ns5:databaseTitle>mesh &#x2014; Medical Subject Headings</ns5:databaseTitle></ns5:extraData></extraResponseData></searchRetrieveResponse>
@@ -0,0 +1,253 @@
1
+ <?xml version="1.0" ?>
2
+ <?xml-stylesheet type="text/xsl" href="/theme/searchRetrieveResponse.xsl"?>
3
+ <searchRetrieveResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/zing/srw/ http://www.loc.gov/standards/sru/sru1-1archive/xml-files/srw-types.xsd" xmlns="http://www.loc.gov/zing/srw/"><version>1.1</version><numberOfRecords>1227</numberOfRecords><resultSetId>ylxad6</resultSetId><resultSetIdleTime>300</resultSetIdleTime><records xmlns:ns1="http://www.loc.gov/zing/srw/"><record><recordSchema>http://zthes.z3950.org/xml/1.0/</recordSchema><recordPacking>xml</recordPacking><recordData><Zthes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://tspilot.oclc.org/schema/zthes-1.0u.xsd" xmlns="">
4
+ <term>
5
+ <termId>D060749Q000819</termId>
6
+ <termName>alpha-2-HS-Glycoprotein--agonists</termName>
7
+ <termType>PT</termType>
8
+ <termLanguage>eng</termLanguage>
9
+ <termCategory>topical</termCategory>
10
+ <termStatus>active</termStatus>
11
+ <termApproval>approved</termApproval>
12
+ <termSortkey>alpha 2 hs glycoprotein agonists</termSortkey>
13
+ <termNote label="X-NOTE-856">Use of this resource is governed by the OCLC ResearchWorks terms of use. [text/html]</termNote>
14
+ <termNote label="Change">Original cataloging agency is DNLM.</termNote>
15
+ <termNote label="Change">Transcribing agency is DNLM.</termNote>
16
+ <termNote label="Change">Modifying agency is OCoLC-O.</termNote>
17
+ <termCreatedDate>2011-06-24T00:00:00</termCreatedDate>
18
+ <termCreatedBy>DNLM</termCreatedBy>
19
+ <termModifiedDate>2012-04-02T18:42:11</termModifiedDate>
20
+ <termModifiedBy>OCoLC-O</termModifiedBy>
21
+ <relation>
22
+ <relationType>X-ID</relationType>
23
+ <termId>(DNLM)D060749Q000819</termId>
24
+ <termName>alpha-2-HS-Glycoprotein--agonists</termName>
25
+ <termType>X-ALT</termType>
26
+ </relation>
27
+ </term>
28
+ </Zthes></recordData><recordPosition>1</recordPosition></record><record><recordSchema>http://zthes.z3950.org/xml/1.0/</recordSchema><recordPacking>xml</recordPacking><recordData><Zthes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://tspilot.oclc.org/schema/zthes-1.0u.xsd" xmlns="">
29
+ <term>
30
+ <termId>D060749Q000744</termId>
31
+ <termName>alpha-2-HS-Glycoprotein--contraindications</termName>
32
+ <termType>PT</termType>
33
+ <termLanguage>eng</termLanguage>
34
+ <termCategory>topical</termCategory>
35
+ <termStatus>active</termStatus>
36
+ <termApproval>approved</termApproval>
37
+ <termSortkey>alpha 2 hs glycoprotein contraindications</termSortkey>
38
+ <termNote label="X-NOTE-856">Use of this resource is governed by the OCLC ResearchWorks terms of use. [text/html]</termNote>
39
+ <termNote label="Change">Original cataloging agency is DNLM.</termNote>
40
+ <termNote label="Change">Transcribing agency is DNLM.</termNote>
41
+ <termNote label="Change">Modifying agency is OCoLC-O.</termNote>
42
+ <termCreatedDate>2011-06-24T00:00:00</termCreatedDate>
43
+ <termCreatedBy>DNLM</termCreatedBy>
44
+ <termModifiedDate>2012-04-02T18:42:11</termModifiedDate>
45
+ <termModifiedBy>OCoLC-O</termModifiedBy>
46
+ <relation>
47
+ <relationType>X-ID</relationType>
48
+ <termId>(DNLM)D060749Q000744</termId>
49
+ <termName>alpha-2-HS-Glycoprotein--contraindications</termName>
50
+ <termType>X-ALT</termType>
51
+ </relation>
52
+ </term>
53
+ </Zthes></recordData><recordPosition>2</recordPosition></record><record><recordSchema>http://zthes.z3950.org/xml/1.0/</recordSchema><recordPacking>xml</recordPacking><recordData><Zthes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://tspilot.oclc.org/schema/zthes-1.0u.xsd" xmlns="">
54
+ <term>
55
+ <termId>D060749Q000737</termId>
56
+ <termName>alpha-2-HS-Glycoprotein--chemistry</termName>
57
+ <termType>PT</termType>
58
+ <termLanguage>eng</termLanguage>
59
+ <termCategory>topical</termCategory>
60
+ <termStatus>active</termStatus>
61
+ <termApproval>approved</termApproval>
62
+ <termSortkey>alpha 2 hs glycoprotein chemistry</termSortkey>
63
+ <termNote label="X-NOTE-856">Use of this resource is governed by the OCLC ResearchWorks terms of use. [text/html]</termNote>
64
+ <termNote label="Change">Original cataloging agency is DNLM.</termNote>
65
+ <termNote label="Change">Transcribing agency is DNLM.</termNote>
66
+ <termNote label="Change">Modifying agency is OCoLC-O.</termNote>
67
+ <termCreatedDate>2011-06-24T00:00:00</termCreatedDate>
68
+ <termCreatedBy>DNLM</termCreatedBy>
69
+ <termModifiedDate>2012-04-02T18:42:11</termModifiedDate>
70
+ <termModifiedBy>OCoLC-O</termModifiedBy>
71
+ <relation>
72
+ <relationType>X-ID</relationType>
73
+ <termId>(DNLM)D060749Q000737</termId>
74
+ <termName>alpha-2-HS-Glycoprotein--chemistry</termName>
75
+ <termType>X-ALT</termType>
76
+ </relation>
77
+ </term>
78
+ </Zthes></recordData><recordPosition>3</recordPosition></record><record><recordSchema>http://zthes.z3950.org/xml/1.0/</recordSchema><recordPacking>xml</recordPacking><recordData><Zthes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://tspilot.oclc.org/schema/zthes-1.0u.xsd" xmlns="">
79
+ <term>
80
+ <termId>D060749Q000652</termId>
81
+ <termName>alpha-2-HS-Glycoprotein--urine</termName>
82
+ <termType>PT</termType>
83
+ <termLanguage>eng</termLanguage>
84
+ <termCategory>topical</termCategory>
85
+ <termStatus>active</termStatus>
86
+ <termApproval>approved</termApproval>
87
+ <termSortkey>alpha 2 hs glycoprotein urine</termSortkey>
88
+ <termNote label="X-NOTE-856">Use of this resource is governed by the OCLC ResearchWorks terms of use. [text/html]</termNote>
89
+ <termNote label="Change">Original cataloging agency is DNLM.</termNote>
90
+ <termNote label="Change">Transcribing agency is DNLM.</termNote>
91
+ <termNote label="Change">Modifying agency is OCoLC-O.</termNote>
92
+ <termCreatedDate>2011-06-24T00:00:00</termCreatedDate>
93
+ <termCreatedBy>DNLM</termCreatedBy>
94
+ <termModifiedDate>2012-04-02T18:42:11</termModifiedDate>
95
+ <termModifiedBy>OCoLC-O</termModifiedBy>
96
+ <relation>
97
+ <relationType>X-ID</relationType>
98
+ <termId>(DNLM)D060749Q000652</termId>
99
+ <termName>alpha-2-HS-Glycoprotein--urine</termName>
100
+ <termType>X-ALT</termType>
101
+ </relation>
102
+ </term>
103
+ </Zthes></recordData><recordPosition>4</recordPosition></record><record><recordSchema>http://zthes.z3950.org/xml/1.0/</recordSchema><recordPacking>xml</recordPacking><recordData><Zthes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://tspilot.oclc.org/schema/zthes-1.0u.xsd" xmlns="">
104
+ <term>
105
+ <termId>D060749Q000648</termId>
106
+ <termName>alpha-2-HS-Glycoprotein--ultrastructure</termName>
107
+ <termType>PT</termType>
108
+ <termLanguage>eng</termLanguage>
109
+ <termCategory>topical</termCategory>
110
+ <termStatus>active</termStatus>
111
+ <termApproval>approved</termApproval>
112
+ <termSortkey>alpha 2 hs glycoprotein ultrastructure</termSortkey>
113
+ <termNote label="X-NOTE-856">Use of this resource is governed by the OCLC ResearchWorks terms of use. [text/html]</termNote>
114
+ <termNote label="Change">Original cataloging agency is DNLM.</termNote>
115
+ <termNote label="Change">Transcribing agency is DNLM.</termNote>
116
+ <termNote label="Change">Modifying agency is OCoLC-O.</termNote>
117
+ <termCreatedDate>2011-06-24T00:00:00</termCreatedDate>
118
+ <termCreatedBy>DNLM</termCreatedBy>
119
+ <termModifiedDate>2012-04-02T18:42:11</termModifiedDate>
120
+ <termModifiedBy>OCoLC-O</termModifiedBy>
121
+ <relation>
122
+ <relationType>X-ID</relationType>
123
+ <termId>(DNLM)D060749Q000648</termId>
124
+ <termName>alpha-2-HS-Glycoprotein--ultrastructure</termName>
125
+ <termType>X-ALT</termType>
126
+ </relation>
127
+ </term>
128
+ </Zthes></recordData><recordPosition>5</recordPosition></record><record><recordSchema>http://zthes.z3950.org/xml/1.0/</recordSchema><recordPacking>xml</recordPacking><recordData><Zthes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://tspilot.oclc.org/schema/zthes-1.0u.xsd" xmlns="">
129
+ <term>
130
+ <termId>D060749Q000633</termId>
131
+ <termName>alpha-2-HS-Glycoprotein--toxicity</termName>
132
+ <termType>PT</termType>
133
+ <termLanguage>eng</termLanguage>
134
+ <termCategory>topical</termCategory>
135
+ <termStatus>active</termStatus>
136
+ <termApproval>approved</termApproval>
137
+ <termSortkey>alpha 2 hs glycoprotein toxicity</termSortkey>
138
+ <termNote label="X-NOTE-856">Use of this resource is governed by the OCLC ResearchWorks terms of use. [text/html]</termNote>
139
+ <termNote label="Change">Original cataloging agency is DNLM.</termNote>
140
+ <termNote label="Change">Transcribing agency is DNLM.</termNote>
141
+ <termNote label="Change">Modifying agency is OCoLC-O.</termNote>
142
+ <termCreatedDate>2011-06-24T00:00:00</termCreatedDate>
143
+ <termCreatedBy>DNLM</termCreatedBy>
144
+ <termModifiedDate>2012-04-02T18:42:11</termModifiedDate>
145
+ <termModifiedBy>OCoLC-O</termModifiedBy>
146
+ <relation>
147
+ <relationType>X-ID</relationType>
148
+ <termId>(DNLM)D060749Q000633</termId>
149
+ <termName>alpha-2-HS-Glycoprotein--toxicity</termName>
150
+ <termType>X-ALT</termType>
151
+ </relation>
152
+ </term>
153
+ </Zthes></recordData><recordPosition>6</recordPosition></record><record><recordSchema>http://zthes.z3950.org/xml/1.0/</recordSchema><recordPacking>xml</recordPacking><recordData><Zthes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://tspilot.oclc.org/schema/zthes-1.0u.xsd" xmlns="">
154
+ <term>
155
+ <termId>D060749Q000627</termId>
156
+ <termName>alpha-2-HS-Glycoprotein--therapeutic use</termName>
157
+ <termType>PT</termType>
158
+ <termLanguage>eng</termLanguage>
159
+ <termCategory>topical</termCategory>
160
+ <termStatus>active</termStatus>
161
+ <termApproval>approved</termApproval>
162
+ <termSortkey>alpha 2 hs glycoprotein therapeutic use</termSortkey>
163
+ <termNote label="X-NOTE-856">Use of this resource is governed by the OCLC ResearchWorks terms of use. [text/html]</termNote>
164
+ <termNote label="Change">Original cataloging agency is DNLM.</termNote>
165
+ <termNote label="Change">Transcribing agency is DNLM.</termNote>
166
+ <termNote label="Change">Modifying agency is OCoLC-O.</termNote>
167
+ <termCreatedDate>2011-06-24T00:00:00</termCreatedDate>
168
+ <termCreatedBy>DNLM</termCreatedBy>
169
+ <termModifiedDate>2012-04-02T18:42:11</termModifiedDate>
170
+ <termModifiedBy>OCoLC-O</termModifiedBy>
171
+ <relation>
172
+ <relationType>X-ID</relationType>
173
+ <termId>(DNLM)D060749Q000627</termId>
174
+ <termName>alpha-2-HS-Glycoprotein--therapeutic use</termName>
175
+ <termType>X-ALT</termType>
176
+ </relation>
177
+ </term>
178
+ </Zthes></recordData><recordPosition>7</recordPosition></record><record><recordSchema>http://zthes.z3950.org/xml/1.0/</recordSchema><recordPacking>xml</recordPacking><recordData><Zthes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://tspilot.oclc.org/schema/zthes-1.0u.xsd" xmlns="">
179
+ <term>
180
+ <termId>D060749Q000600</termId>
181
+ <termName>alpha-2-HS-Glycoprotein--supply &amp; distribution</termName>
182
+ <termType>PT</termType>
183
+ <termLanguage>eng</termLanguage>
184
+ <termCategory>topical</termCategory>
185
+ <termStatus>active</termStatus>
186
+ <termApproval>approved</termApproval>
187
+ <termSortkey>alpha 2 hs glycoprotein supply &amp; distribution</termSortkey>
188
+ <termNote label="X-NOTE-856">Use of this resource is governed by the OCLC ResearchWorks terms of use. [text/html]</termNote>
189
+ <termNote label="Change">Original cataloging agency is DNLM.</termNote>
190
+ <termNote label="Change">Transcribing agency is DNLM.</termNote>
191
+ <termNote label="Change">Modifying agency is OCoLC-O.</termNote>
192
+ <termCreatedDate>2011-06-24T00:00:00</termCreatedDate>
193
+ <termCreatedBy>DNLM</termCreatedBy>
194
+ <termModifiedDate>2012-04-02T18:42:11</termModifiedDate>
195
+ <termModifiedBy>OCoLC-O</termModifiedBy>
196
+ <relation>
197
+ <relationType>X-ID</relationType>
198
+ <termId>(DNLM)D060749Q000600</termId>
199
+ <termName>alpha-2-HS-Glycoprotein--supply &amp; distribution</termName>
200
+ <termType>X-ALT</termType>
201
+ </relation>
202
+ </term>
203
+ </Zthes></recordData><recordPosition>8</recordPosition></record><record><recordSchema>http://zthes.z3950.org/xml/1.0/</recordSchema><recordPacking>xml</recordPacking><recordData><Zthes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://tspilot.oclc.org/schema/zthes-1.0u.xsd" xmlns="">
204
+ <term>
205
+ <termId>D060749Q000592</termId>
206
+ <termName>alpha-2-HS-Glycoprotein--standards</termName>
207
+ <termType>PT</termType>
208
+ <termLanguage>eng</termLanguage>
209
+ <termCategory>topical</termCategory>
210
+ <termStatus>active</termStatus>
211
+ <termApproval>approved</termApproval>
212
+ <termSortkey>alpha 2 hs glycoprotein standards</termSortkey>
213
+ <termNote label="X-NOTE-856">Use of this resource is governed by the OCLC ResearchWorks terms of use. [text/html]</termNote>
214
+ <termNote label="Change">Original cataloging agency is DNLM.</termNote>
215
+ <termNote label="Change">Transcribing agency is DNLM.</termNote>
216
+ <termNote label="Change">Modifying agency is OCoLC-O.</termNote>
217
+ <termCreatedDate>2011-06-24T00:00:00</termCreatedDate>
218
+ <termCreatedBy>DNLM</termCreatedBy>
219
+ <termModifiedDate>2012-04-02T18:42:11</termModifiedDate>
220
+ <termModifiedBy>OCoLC-O</termModifiedBy>
221
+ <relation>
222
+ <relationType>X-ID</relationType>
223
+ <termId>(DNLM)D060749Q000592</termId>
224
+ <termName>alpha-2-HS-Glycoprotein--standards</termName>
225
+ <termType>X-ALT</termType>
226
+ </relation>
227
+ </term>
228
+ </Zthes></recordData><recordPosition>9</recordPosition></record><record><recordSchema>http://zthes.z3950.org/xml/1.0/</recordSchema><recordPacking>xml</recordPacking><recordData><Zthes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://tspilot.oclc.org/schema/zthes-1.0u.xsd" xmlns="">
229
+ <term>
230
+ <termId>D060749Q000557</termId>
231
+ <termName>alpha-2-HS-Glycoprotein--secretion</termName>
232
+ <termType>PT</termType>
233
+ <termLanguage>eng</termLanguage>
234
+ <termCategory>topical</termCategory>
235
+ <termStatus>active</termStatus>
236
+ <termApproval>approved</termApproval>
237
+ <termSortkey>alpha 2 hs glycoprotein secretion</termSortkey>
238
+ <termNote label="X-NOTE-856">Use of this resource is governed by the OCLC ResearchWorks terms of use. [text/html]</termNote>
239
+ <termNote label="Change">Original cataloging agency is DNLM.</termNote>
240
+ <termNote label="Change">Transcribing agency is DNLM.</termNote>
241
+ <termNote label="Change">Modifying agency is OCoLC-O.</termNote>
242
+ <termCreatedDate>2011-06-24T00:00:00</termCreatedDate>
243
+ <termCreatedBy>DNLM</termCreatedBy>
244
+ <termModifiedDate>2012-04-02T18:42:11</termModifiedDate>
245
+ <termModifiedBy>OCoLC-O</termModifiedBy>
246
+ <relation>
247
+ <relationType>X-ID</relationType>
248
+ <termId>(DNLM)D060749Q000557</termId>
249
+ <termName>alpha-2-HS-Glycoprotein--secretion</termName>
250
+ <termType>X-ALT</termType>
251
+ </relation>
252
+ </term>
253
+ </Zthes></recordData><recordPosition>10</recordPosition></record></records><nextRecordPosition>11</nextRecordPosition><echoedSearchRetrieveRequest xmlns:ns2="http://www.loc.gov/zing/srw/"><version>1.1</version><query>oclcts.rootHeading exact &quot;alph*&quot;</query><xQuery><ns3:searchClause xmlns:ns3="http://www.loc.gov/zing/cql/xcql/"><ns3:index>oclcts.rootHeading</ns3:index><ns3:relation><ns3:value>exact</ns3:value></ns3:relation><ns3:term>alph*</ns3:term></ns3:searchClause></xQuery><startRecord>1</startRecord><maximumRecords>10</maximumRecords><recordPacking>xml</recordPacking><recordSchema>http://zthes.z3950.org/xml/1.0/</recordSchema><resultSetTTL>300</resultSetTTL><sortKeys></sortKeys></echoedSearchRetrieveRequest><extraResponseData xmlns:ns4="http://www.loc.gov/zing/srw/"><ns5:extraData xmlns="http://oclc.org/srw/extraData" xmlns:ns5="http://oclc.org/srw/extraData"><ns5:databaseTitle>mesh &#x2014; Medical Subject Headings</ns5:databaseTitle></ns5:extraData></extraResponseData></searchRetrieveResponse>
@@ -0,0 +1,28 @@
1
+ <?xml version="1.0" ?>
2
+ <?xml-stylesheet type="text/xsl" href="/theme/searchRetrieveResponse.xsl"?>
3
+ <searchRetrieveResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/zing/srw/ http://www.loc.gov/standards/sru/sru1-1archive/xml-files/srw-types.xsd" xmlns="http://www.loc.gov/zing/srw/"><version>1.1</version><numberOfRecords>1</numberOfRecords><resultSetId>ndch6a</resultSetId><resultSetIdleTime>300</resultSetIdleTime><records xmlns:ns1="http://www.loc.gov/zing/srw/"><record><recordSchema>http://zthes.z3950.org/xml/1.0/</recordSchema><recordPacking>xml</recordPacking><recordData><Zthes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://tspilot.oclc.org/schema/zthes-1.0u.xsd" xmlns="">
4
+ <term>
5
+ <termId>D031329Q000821</termId>
6
+ <termName>Ballota--virology</termName>
7
+ <termType>PT</termType>
8
+ <termLanguage>eng</termLanguage>
9
+ <termCategory>topical</termCategory>
10
+ <termStatus>active</termStatus>
11
+ <termApproval>approved</termApproval>
12
+ <termSortkey>ballota virology</termSortkey>
13
+ <termNote label="X-NOTE-856">Use of this resource is governed by the OCLC ResearchWorks terms of use. [text/html]</termNote>
14
+ <termNote label="Change">Original cataloging agency is DNLM.</termNote>
15
+ <termNote label="Change">Transcribing agency is DNLM.</termNote>
16
+ <termNote label="Change">Modifying agency is OCoLC-O.</termNote>
17
+ <termCreatedDate>2002-07-02T00:00:00</termCreatedDate>
18
+ <termCreatedBy>DNLM</termCreatedBy>
19
+ <termModifiedDate>2012-04-02T18:39:28.6</termModifiedDate>
20
+ <termModifiedBy>OCoLC-O</termModifiedBy>
21
+ <relation>
22
+ <relationType>X-ID</relationType>
23
+ <termId>(DNLM)D031329Q000821</termId>
24
+ <termName>Ballota--virology</termName>
25
+ <termType>X-ALT</termType>
26
+ </relation>
27
+ </term>
28
+ </Zthes></recordData><recordPosition>1</recordPosition></record></records><echoedSearchRetrieveRequest xmlns:ns2="http://www.loc.gov/zing/srw/"><version>1.1</version><query>dc.identifier exact &quot;D031329Q000821&quot;</query><xQuery><ns3:searchClause xmlns:ns3="http://www.loc.gov/zing/cql/xcql/"><ns3:index>dc.identifier</ns3:index><ns3:relation><ns3:value>exact</ns3:value></ns3:relation><ns3:term>D031329Q000821</ns3:term></ns3:searchClause></xQuery><startRecord>1</startRecord><maximumRecords>10</maximumRecords><recordPacking>xml</recordPacking><recordSchema>http://zthes.z3950.org/xml/1.0/</recordSchema><resultSetTTL>300</resultSetTTL><sortKeys></sortKeys></echoedSearchRetrieveRequest><extraResponseData xmlns:ns4="http://www.loc.gov/zing/srw/"><ns5:extraData xmlns="http://oclc.org/srw/extraData" xmlns:ns5="http://oclc.org/srw/extraData"><ns5:databaseTitle>mesh &#x2014; Medical Subject Headings</ns5:databaseTitle></ns5:extraData></extraResponseData></searchRetrieveResponse>
@@ -0,0 +1,48 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
4
+ gem 'rails', '4.0.0'
5
+
6
+ # Use sqlite3 as the database for Active Record
7
+ gem 'sqlite3'
8
+
9
+ # Use SCSS for stylesheets
10
+ gem 'sass-rails', '~> 4.0.0'
11
+
12
+ # Use Uglifier as compressor for JavaScript assets
13
+ gem 'uglifier', '>= 1.3.0'
14
+
15
+ # Use CoffeeScript for .js.coffee assets and views
16
+ gem 'coffee-rails', '~> 4.0.0'
17
+
18
+ # See https://github.com/sstephenson/execjs#readme for more supported runtimes
19
+ # gem 'therubyracer', platforms: :ruby
20
+
21
+ # Use jquery as the JavaScript library
22
+ gem 'jquery-rails'
23
+
24
+ # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
25
+ gem 'turbolinks'
26
+
27
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
28
+ gem 'jbuilder', '~> 1.2'
29
+
30
+ group :doc do
31
+ # bundle exec rake doc:rails generates the API under doc/api.
32
+ gem 'sdoc', require: false
33
+ end
34
+
35
+ # Use ActiveModel has_secure_password
36
+ # gem 'bcrypt-ruby', '~> 3.0.0'
37
+
38
+ # Use unicorn as the app server
39
+ # gem 'unicorn'
40
+
41
+ # Use Capistrano for deployment
42
+ # gem 'capistrano', group: :development
43
+
44
+ # Use debugger
45
+ # gem 'debugger', group: [:development, :test]
46
+ gem 'qa', :path=>'../../../questioning_authority'
47
+ gem 'rspec-rails'
48
+ gem 'webmock'
@@ -0,0 +1,156 @@
1
+ PATH
2
+ remote: ../../../questioning_authority
3
+ specs:
4
+ qa (0.0.1)
5
+ activerecord-import (>= 0.4.0)
6
+ curb
7
+ nokogiri (~> 1.6.0)
8
+ rails (~> 4.0.0)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ actionmailer (4.0.0)
14
+ actionpack (= 4.0.0)
15
+ mail (~> 2.5.3)
16
+ actionpack (4.0.0)
17
+ activesupport (= 4.0.0)
18
+ builder (~> 3.1.0)
19
+ erubis (~> 2.7.0)
20
+ rack (~> 1.5.2)
21
+ rack-test (~> 0.6.2)
22
+ activemodel (4.0.0)
23
+ activesupport (= 4.0.0)
24
+ builder (~> 3.1.0)
25
+ activerecord (4.0.0)
26
+ activemodel (= 4.0.0)
27
+ activerecord-deprecated_finders (~> 1.0.2)
28
+ activesupport (= 4.0.0)
29
+ arel (~> 4.0.0)
30
+ activerecord-deprecated_finders (1.0.3)
31
+ activerecord-import (0.4.1)
32
+ activerecord (>= 3.0)
33
+ activesupport (4.0.0)
34
+ i18n (~> 0.6, >= 0.6.4)
35
+ minitest (~> 4.2)
36
+ multi_json (~> 1.3)
37
+ thread_safe (~> 0.1)
38
+ tzinfo (~> 0.3.37)
39
+ addressable (2.3.5)
40
+ arel (4.0.0)
41
+ atomic (1.1.14)
42
+ builder (3.1.4)
43
+ coffee-rails (4.0.0)
44
+ coffee-script (>= 2.2.0)
45
+ railties (>= 4.0.0.beta, < 5.0)
46
+ coffee-script (2.2.0)
47
+ coffee-script-source
48
+ execjs
49
+ coffee-script-source (1.6.3)
50
+ crack (0.4.1)
51
+ safe_yaml (~> 0.9.0)
52
+ curb (0.8.4)
53
+ diff-lcs (1.2.4)
54
+ erubis (2.7.0)
55
+ execjs (2.0.2)
56
+ hike (1.2.3)
57
+ i18n (0.6.5)
58
+ jbuilder (1.5.1)
59
+ activesupport (>= 3.0.0)
60
+ multi_json (>= 1.2.0)
61
+ jquery-rails (3.0.4)
62
+ railties (>= 3.0, < 5.0)
63
+ thor (>= 0.14, < 2.0)
64
+ json (1.8.0)
65
+ mail (2.5.4)
66
+ mime-types (~> 1.16)
67
+ treetop (~> 1.4.8)
68
+ mime-types (1.25)
69
+ mini_portile (0.5.1)
70
+ minitest (4.7.5)
71
+ multi_json (1.8.0)
72
+ nokogiri (1.6.0)
73
+ mini_portile (~> 0.5.0)
74
+ polyglot (0.3.3)
75
+ rack (1.5.2)
76
+ rack-test (0.6.2)
77
+ rack (>= 1.0)
78
+ rails (4.0.0)
79
+ actionmailer (= 4.0.0)
80
+ actionpack (= 4.0.0)
81
+ activerecord (= 4.0.0)
82
+ activesupport (= 4.0.0)
83
+ bundler (>= 1.3.0, < 2.0)
84
+ railties (= 4.0.0)
85
+ sprockets-rails (~> 2.0.0)
86
+ railties (4.0.0)
87
+ actionpack (= 4.0.0)
88
+ activesupport (= 4.0.0)
89
+ rake (>= 0.8.7)
90
+ thor (>= 0.18.1, < 2.0)
91
+ rake (10.1.0)
92
+ rdoc (3.12.2)
93
+ json (~> 1.4)
94
+ rspec-core (2.14.5)
95
+ rspec-expectations (2.14.3)
96
+ diff-lcs (>= 1.1.3, < 2.0)
97
+ rspec-mocks (2.14.3)
98
+ rspec-rails (2.14.0)
99
+ actionpack (>= 3.0)
100
+ activesupport (>= 3.0)
101
+ railties (>= 3.0)
102
+ rspec-core (~> 2.14.0)
103
+ rspec-expectations (~> 2.14.0)
104
+ rspec-mocks (~> 2.14.0)
105
+ safe_yaml (0.9.7)
106
+ sass (3.2.11)
107
+ sass-rails (4.0.0)
108
+ railties (>= 4.0.0.beta, < 5.0)
109
+ sass (>= 3.1.10)
110
+ sprockets-rails (~> 2.0.0)
111
+ sdoc (0.3.20)
112
+ json (>= 1.1.3)
113
+ rdoc (~> 3.10)
114
+ sprockets (2.10.0)
115
+ hike (~> 1.2)
116
+ multi_json (~> 1.0)
117
+ rack (~> 1.0)
118
+ tilt (~> 1.1, != 1.3.0)
119
+ sprockets-rails (2.0.0)
120
+ actionpack (>= 3.0)
121
+ activesupport (>= 3.0)
122
+ sprockets (~> 2.8)
123
+ sqlite3 (1.3.8)
124
+ thor (0.18.1)
125
+ thread_safe (0.1.3)
126
+ atomic
127
+ tilt (1.4.1)
128
+ treetop (1.4.15)
129
+ polyglot
130
+ polyglot (>= 0.3.1)
131
+ turbolinks (1.3.0)
132
+ coffee-rails
133
+ tzinfo (0.3.37)
134
+ uglifier (2.2.1)
135
+ execjs (>= 0.3.0)
136
+ multi_json (~> 1.0, >= 1.0.2)
137
+ webmock (1.13.0)
138
+ addressable (>= 2.2.7)
139
+ crack (>= 0.3.2)
140
+
141
+ PLATFORMS
142
+ ruby
143
+
144
+ DEPENDENCIES
145
+ coffee-rails (~> 4.0.0)
146
+ jbuilder (~> 1.2)
147
+ jquery-rails
148
+ qa!
149
+ rails (= 4.0.0)
150
+ rspec-rails
151
+ sass-rails (~> 4.0.0)
152
+ sdoc
153
+ sqlite3
154
+ turbolinks
155
+ uglifier (>= 1.3.0)
156
+ webmock