ct_gov 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e726cad0b0d02673299f96f3d350d4d27a079218
4
+ data.tar.gz: df9624ee898759b807acf9ec6374711db6167895
5
+ SHA512:
6
+ metadata.gz: b46eb17b91d054b0b5d99ecc9312d5c144bc283d58137d45488d25812f4489c2ba0db10375ce7f9fc2681a116f1eadc92e3c6f57434748b2336ab771fbb9a0a7
7
+ data.tar.gz: c27d0f6f91a08049328749fc4453fae2a084ea289b8cc1aa71e0a1f107b038c04196d60d9f986c238323f792b2e8a3e643777be2774117cf49de35885598f3cf
data/.gitignore ADDED
@@ -0,0 +1,15 @@
1
+ /.c9/
2
+ /.bundle/
3
+ /.yardoc
4
+ /Gemfile.lock
5
+ /_yardoc/
6
+ /coverage/
7
+ /doc/
8
+ /pkg/
9
+ /spec/reports/
10
+ /tmp/
11
+ *.bundle
12
+ *.so
13
+ *.o
14
+ *.a
15
+ mkmf.log
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'rspec'
4
+
5
+ # Specify your gem's dependencies in ct_gov.gemspec
6
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Dan Carpenter
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
data/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # CtGov
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'ct_gov'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install ct_gov
20
+
21
+ ## Usage
22
+
23
+ TODO: Write usage instructions here
24
+
25
+ ## Contributing
26
+
27
+ 1. Fork it ( https://github.com/[my-github-username]/ct_gov/fork )
28
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
29
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
30
+ 4. Push to the branch (`git push origin my-new-feature`)
31
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
data/ct_gov.gemspec ADDED
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'ct_gov/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "ct_gov"
8
+ spec.version = CtGov::VERSION
9
+ spec.authors = ["Dan Carpenter"]
10
+ spec.email = ["daniel.carpenter01@gmail.com"]
11
+ spec.summary = %q{A ruby client for the ClinicalTrials.gov api.}
12
+ spec.description = %q{A ruby client for the ClinicalTrials.gov api.}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_runtime_dependency "saxerator"
22
+ spec.add_development_dependency "bundler", "~> 1.7"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ end
@@ -0,0 +1,49 @@
1
+ module CtGov
2
+ class ClinicalTrial
3
+ def initialize(raw_trial)
4
+ @raw_trial = raw_trial
5
+ end
6
+
7
+ def nctid
8
+ @raw_trial['id_info']['nct_id']
9
+ end
10
+
11
+ def brief_title
12
+ @raw_trial['brief_title']
13
+ end
14
+
15
+ def official_title
16
+ @raw_trial['official_title']
17
+ end
18
+
19
+ def brief_summary
20
+ @raw_trial['brief_summary']['textblock'].strip
21
+ end
22
+
23
+ def detailed_description
24
+ @raw_trial['detailed_description']['textblock'].strip
25
+ end
26
+
27
+ def eligibility_description
28
+ @raw_trial['eligibility']['criteria']['textblock']
29
+ end
30
+
31
+ def overall_status
32
+ @raw_trial['overall_status']
33
+ end
34
+
35
+ def publications
36
+ @raw_trial['reference'].map do |reference|
37
+ Publication.new(reference)
38
+ end
39
+ end
40
+
41
+ def start_date
42
+ Date.parse(@raw_trial['start_date'])
43
+ end
44
+
45
+ def study_type
46
+ @raw_trial['study_type']
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,17 @@
1
+ module CtGov
2
+ class Publication
3
+
4
+ def initialize(raw_publication)
5
+ @raw_publication = raw_publication
6
+ end
7
+
8
+ def citation
9
+ @raw_publication['citation']
10
+ end
11
+
12
+ def pmid
13
+ @raw_publication['PMID']
14
+ end
15
+
16
+ end
17
+ end
@@ -0,0 +1,3 @@
1
+ module CtGov
2
+ VERSION = "0.0.1"
3
+ end
data/lib/ct_gov.rb ADDED
@@ -0,0 +1,25 @@
1
+ require "ct_gov/version"
2
+ require 'ct_gov/clinical_trial'
3
+ require 'ct_gov/publication'
4
+
5
+ require 'saxerator'
6
+
7
+ module CtGov
8
+
9
+ BASE_URL = 'https://www.clinicaltrials.gov'
10
+ BASE_OPTIONS = '?displayxml=true'
11
+
12
+ def self.find_by_nctid(nctid)
13
+ uri = URI.parse("#{BASE_URL}/ct2/show/#{nctid}#{BASE_OPTIONS}")
14
+ http = Net::HTTP.new(uri.host, uri.port)
15
+ http.use_ssl = true
16
+ http.verify_mode = OpenSSL::SSL::VERIFY_NONE
17
+
18
+ request = Net::HTTP::Get.new(uri.request_uri)
19
+ response = http.request(request)
20
+
21
+ ClinicalTrial.new(Saxerator.parser(response.body)) if response.code == "200"
22
+ end
23
+
24
+ end
25
+
@@ -0,0 +1,72 @@
1
+ require_relative '../spec_helper'
2
+
3
+ describe CtGov::ClinicalTrial do
4
+
5
+ let(:raw_trial) { Saxerator.parser(File.read('rspec/data/sample_trial.xml')).for_tag(:clinical_study).first }
6
+
7
+ let(:study) { described_class.new(raw_trial) }
8
+
9
+ describe '#nctid' do
10
+ subject { study.nctid }
11
+
12
+ it { expect(subject).to eq 'NCT00001372' }
13
+ end
14
+
15
+ describe '#brief_title' do
16
+ subject { study.brief_title }
17
+
18
+ it { expect(subject).to eq 'Study of Systemic Lupus Erythematosus' }
19
+ end
20
+
21
+ describe '#official_title' do
22
+ subject { study.official_title }
23
+
24
+ it { expect(subject).to eq 'Studies of the Pathogenesis and Natural History of Systemic Lupus Erythematosus (SLE)' }
25
+ end
26
+
27
+ describe '#brief_summary' do
28
+ subject { study.brief_summary }
29
+
30
+ it { expect(subject).to eq raw_trial['brief_summary']['textblock'].strip }
31
+ end
32
+
33
+ describe '#detailed_description' do
34
+ subject { study.detailed_description }
35
+
36
+ it { expect(subject).to eq raw_trial['detailed_description']['textblock'].strip }
37
+ end
38
+
39
+ describe '#overall_status' do
40
+ subject { study.overall_status }
41
+
42
+ it { expect(subject).to eq 'Recruiting' }
43
+ end
44
+
45
+ describe '#start_date' do
46
+ subject { study.start_date }
47
+
48
+ it { expect(subject).to eq Date.parse('1994-02-01') }
49
+ end
50
+
51
+ describe '#study_type' do
52
+ subject { study.study_type }
53
+
54
+ it { expect(subject).to eq 'Observational' }
55
+ end
56
+
57
+ describe '#eligibility_description' do
58
+ subject { study.eligibility_description }
59
+
60
+ it { expect(subject).to eq raw_trial['eligibility']['criteria']['textblock'] }
61
+ end
62
+
63
+ describe '#publications' do
64
+ subject { study.publications }
65
+
66
+ it { expect(subject.first).to be_a CtGov::Publication }
67
+
68
+ it { expect(subject.count).to eq 3 }
69
+
70
+ it { expect(subject.first.pmid).to eq '7762914' }
71
+ end
72
+ end
@@ -0,0 +1,23 @@
1
+ require_relative '../spec_helper'
2
+
3
+ describe CtGov::Publication do
4
+
5
+ let(:raw_publication) { {
6
+ 'citation' => "Boumpas DT, Fessler BJ, Austin HA 3rd, Balow JE, Klippel JH, Lockshin MD. Systemic lupus erythematosus: emerging concepts. Part 2: Dermatologic and joint disease, the antiphospholipid antibody syndrome, pregnancy and hormonal therapy, morbidity and mortality, and pathogenesis. Ann Intern Med. 1995 Jul 1;123(1):42-53. Review.",
7
+ 'PMID' => '7762914'
8
+ }}
9
+
10
+ let(:publication) { CtGov::Publication.new(raw_publication) }
11
+
12
+ describe '#citation' do
13
+ subject { publication.citation }
14
+
15
+ it { expect(subject).to eq "Boumpas DT, Fessler BJ, Austin HA 3rd, Balow JE, Klippel JH, Lockshin MD. Systemic lupus erythematosus: emerging concepts. Part 2: Dermatologic and joint disease, the antiphospholipid antibody syndrome, pregnancy and hormonal therapy, morbidity and mortality, and pathogenesis. Ann Intern Med. 1995 Jul 1;123(1):42-53. Review." }
16
+ end
17
+
18
+ describe '#pmid' do
19
+ subject { publication.pmid }
20
+
21
+ it { expect(subject).to eq "7762914" }
22
+ end
23
+ end
@@ -0,0 +1,16 @@
1
+ require_relative 'spec_helper'
2
+
3
+ describe CtGov do
4
+
5
+ describe '#find_by_nctid' do
6
+
7
+ let(:nctid) { 'NCT01288560' }
8
+
9
+ subject { CtGov.find_by_nctid(nctid) }
10
+
11
+ it 'returns a clinical trial object' do
12
+ expect(subject).to be_a CtGov::ClinicalTrial
13
+ end
14
+ end
15
+
16
+ end
@@ -0,0 +1,263 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <clinical_study>
3
+ <!-- This xml conforms to an XML Schema at:
4
+ http://clinicaltrials.gov/ct2/html/images/info/public.xsd
5
+ and an XML DTD at:
6
+ http://clinicaltrials.gov/ct2/html/images/info/public.dtd -->
7
+ <required_header>
8
+ <download_date>ClinicalTrials.gov processed this data on January 07, 2015</download_date>
9
+ <link_text>Link to the current ClinicalTrials.gov record.</link_text>
10
+ <url>http://clinicaltrials.gov/show/NCT00001372</url>
11
+ </required_header>
12
+ <id_info>
13
+ <org_study_id>940066</org_study_id>
14
+ <secondary_id>94-AR-0066</secondary_id>
15
+ <nct_id>NCT00001372</nct_id>
16
+ </id_info>
17
+ <brief_title>Study of Systemic Lupus Erythematosus</brief_title>
18
+ <official_title>Studies of the Pathogenesis and Natural History of Systemic Lupus Erythematosus (SLE)</official_title>
19
+ <sponsors>
20
+ <lead_sponsor>
21
+ <agency>National Institute of Arthritis and Musculoskeletal and Skin Diseases (NIAMS)</agency>
22
+ <agency_class>NIH</agency_class>
23
+ </lead_sponsor>
24
+ </sponsors>
25
+ <source>National Institutes of Health Clinical Center (CC)</source>
26
+ <oversight_info>
27
+ <authority>United States: Federal Government</authority>
28
+ </oversight_info>
29
+ <brief_summary>
30
+ <textblock>
31
+ This protocol will evaluate patients with systemic lupus erythematosus (SLE) and their
32
+ relatives to learn more about how the disease develops and changes over time. It will also
33
+ study genetic factors that make a person susceptible to SLE.
34
+
35
+ Patients 10 years of age and older with known or suspected SLE and their relatives may be
36
+ eligible for this study. Patients will be evaluated with a medical history and physical
37
+ examination, blood and urine tests. Other procedures may include:
38
+
39
+ 1. Electrocardiogram
40
+
41
+ 2. 24-hour urine collection
42
+
43
+ 3. Imaging studies, such as chest and joint X-rays, magnetic resonance imaging (MRI)
44
+ scans, bone scans, and bone densitometry.
45
+
46
+ 4. Questionnaire about the degree of disease activity, and survey of risk factors for
47
+ disease complications.
48
+
49
+ 5. Apheresis Collection of plasma (fluid portion of blood) or blood cells for analysis.
50
+ Whole blood is collected through a needle in an arm vein. The blood circulates through
51
+ a machine that separates it into its components. The required component (plasma or
52
+ cells) is removed and the rest of the blood is returned to the body through the same
53
+ needle or through a second needle in the other arm.
54
+
55
+ 6. Skin biopsy Removal of a small skin sample for microscopic analysis. An area of skin
56
+ is numbed with an anesthetic and a small circular portion (about 1/4 inch in diameter)
57
+ is removed, using a sharp cookie cutter-type instrument.
58
+
59
+ 7. Kidney, bone marrow or other organ biopsy Removal of a small sample of organ tissue.
60
+ These biopsies are done only if they can provide information useful in better
61
+ understanding the disease or making treatment decisions.
62
+
63
+ 8. Genetic studies Collection of a blood sample for gene testing.
64
+
65
+ Patients will be followed at least once a year with a brief history and physical examination
66
+ and routine blood and urine tests. Some patients may be seen more often. Treatment
67
+ recommendations will be offered to patients' physicians, and patients who are eligible for
68
+ other research treatment studies will be invited to enroll.
69
+
70
+ Participating relatives of patients will fill out a brief medical history questionnaire and
71
+ provide a DNA sample (either a blood sample or tissue swab from the inside of the cheek) for
72
+ genetic testing.
73
+ </textblock>
74
+ </brief_summary>
75
+ <detailed_description>
76
+ <textblock>
77
+ This research protocol will evaluate subjects with systemic lupus erythematosus (SLE) and
78
+ their relatives to study the pathogenesis and natural history of the disease and the
79
+ mechanisms leading to enhanced organ damage. Patients will be evaluated by a history and
80
+ physical examination and routine laboratory studies will be obtained as needed to assess
81
+ disease activity or complications of the disease and to monitor for drug-related toxicities.
82
+ Blood, skin or urine specimens may be requested for research purposes, including genetic
83
+ studies. In addition, a subset of these patients will undergo several tests to understand
84
+ the pathogenic changes affecting their blood vessels. Patients who are eligible for other
85
+ research protocols will be offered the opportunity to participate in these studies by signed
86
+ informed consent. Any medical care recommended or provided to the patient will be
87
+ consistent with routine standards of practice and provided in consultation with the patient
88
+ s referring physician. Blood and urine samples and cardiovascular testing will also be
89
+ collected or applied to from healthy volunteers for research purposes and to support the
90
+ identification and validation of new biomarker candidates.
91
+ </textblock>
92
+ </detailed_description>
93
+ <overall_status>Recruiting</overall_status>
94
+ <start_date>February 1994</start_date>
95
+ <phase>N/A</phase>
96
+ <study_type>Observational</study_type>
97
+ <study_design>N/A</study_design>
98
+ <enrollment type="Anticipated">100000</enrollment>
99
+ <condition>Systemic Lupus Erythematosus</condition>
100
+ <eligibility>
101
+ <criteria>
102
+ <textblock>
103
+ - INCLUSION CRITERIA:
104
+
105
+ Patients with known or suspected SLE will be evaluated in either the outpatient or
106
+ inpatient research ward of the Clinical Center as indicated. Patients will not be
107
+ selected based on age, race or gender. However, due to the nature of the disease, the
108
+ patient population will not be expected to be evenly distributed, since SLE is
109
+ predominantly a disease of young females, with increased prevalence in select racial
110
+ groups, particularly African Americans and Hispanics. First and second-degree relatives of
111
+ the patient may be recruited in the study for genetic analysis. We will ask for the
112
+ patient s permission to contact his/her relatives, as described in details in Section
113
+ IV.H.
114
+
115
+ - SLE or suspected SLE established by ACR criteria
116
+
117
+ - Ability to give informed consent
118
+
119
+ - Adult and minor relatives (first and second degree) of individuals Included in IV-G
120
+ (only for genetic studies)
121
+
122
+ - Ability of the patient or minor relative s parents to give informed consent
123
+
124
+ EXCLUSION CRITERIA:
125
+
126
+ - Concomitant medical problems which would confound the interpretation of studies
127
+ gathered by this protocol. Included in this is the presence of HIV in the blood if it
128
+ interferes with interpretation of some lupus studies.
129
+
130
+ - Concomitant medical, surgical or other conditions for which inadequate facilities are
131
+ available to support their care at NIH
132
+
133
+ Criteria for Healthy Control Subjects:
134
+
135
+ INCLUSION CRITERIA:
136
+
137
+ - Age 18 years with no upper age limit.
138
+
139
+ - For vascular studies healthy control subjects will be age- and gender-matched.
140
+
141
+ - For genetic studies only: Minor relatives (first and second degree) of SLE subjects
142
+ Included in section IV-G.
143
+
144
+ - Ability to give informed consent or minor relative s parents to give informed
145
+ consent (for genetic studies only).
146
+
147
+ EXCLUSION CRITERIA:
148
+
149
+ -Any concomitant medical problems or are taking medications which would confound the
150
+ interpretation of studies they are considered for
151
+
152
+ Exclusion Criteria for vascular studies only, for SLE and healthy controls:
153
+
154
+ - Subjects with a contraindication to MRI scanning will not receive the optional
155
+ PET/MRI. These contraindications include subjects with the following devices:
156
+
157
+ - Central nervous system aneurysm clips
158
+
159
+ - Implanted neural stimulator
160
+
161
+ - Implanted cardiac pacemaker or defibrillator
162
+
163
+ - Cochlear implant
164
+
165
+ - Ocular foreign body (e.g. metal shavings)
166
+
167
+ - Implanted Insulin pump
168
+
169
+ - Metal shrapnel or bullet
170
+
171
+ - Subjects with a BMI &gt; 40 will also not receive the PET MRI.
172
+
173
+ - Subjects with renal excretory dysfunction, estimated glomerular filtration rate &lt; 60
174
+ mL/min/1.73m(2) body surface area according to the Modification of Diet in Renal
175
+ Disease criteria, will not receive the cardiac CT angiography, or gadolinium contrast
176
+ agent during the PET/MRI.
177
+
178
+ - Pregnant or lactating women will be excluded from vascular studies.
179
+
180
+ - Healthy controls with known history of coronary artery disease, peripheral vascular
181
+ disease or atherosclerosis.
182
+
183
+ - Individuals younger than 18 years old will be excluded given the radiation exposure
184
+ as well as the lack of proper validation for the proposed vascular function studies.
185
+ </textblock>
186
+ </criteria>
187
+ <gender>Both</gender>
188
+ <minimum_age>N/A</minimum_age>
189
+ <maximum_age>N/A</maximum_age>
190
+ <healthy_volunteers>Accepts Healthy Volunteers</healthy_volunteers>
191
+ </eligibility>
192
+ <overall_official>
193
+ <last_name>Sarfaraz A Hasni, M.D.</last_name>
194
+ <role>Principal Investigator</role>
195
+ <affiliation>National Institute of Arthritis and Musculoskeletal and Skin Diseases (NIAMS)</affiliation>
196
+ </overall_official>
197
+ <overall_contact>
198
+ <last_name>Elizabeth Joyal, R.N.</last_name>
199
+ <phone>(301) 435-4489</phone>
200
+ <email>ejoyal@mail.cc.nih.gov</email>
201
+ </overall_contact>
202
+ <overall_contact_backup>
203
+ <last_name>Sarfaraz A Hasni, M.D.</last_name>
204
+ <phone>(301) 451-1599</phone>
205
+ <email>hasnisa@mail.nih.gov</email>
206
+ </overall_contact_backup>
207
+ <location>
208
+ <facility>
209
+ <name>National Institutes of Health Clinical Center, 9000 Rockville Pike</name>
210
+ <address>
211
+ <city>Bethesda</city>
212
+ <state>Maryland</state>
213
+ <zip>20892</zip>
214
+ <country>United States</country>
215
+ </address>
216
+ </facility>
217
+ <status>Recruiting</status>
218
+ <contact>
219
+ <last_name>For more information at the NIH Clinical Center contact Patient Recruitment and Public Liaison Office (PRPL)</last_name>
220
+ <phone>800-411-1222</phone>
221
+ <phone_ext>TTY8664111010</phone_ext>
222
+ <email>prpl@mail.cc.nih.gov</email>
223
+ </contact>
224
+ </location>
225
+ <location_countries>
226
+ <country>United States</country>
227
+ </location_countries>
228
+ <link>
229
+ <url>http://clinicalstudies.info.nih.gov/cgi/detail.cgi?A_1994-AR-0066.html</url>
230
+ <description>NIH Clinical Center Detailed Web Page</description>
231
+ </link>
232
+ <reference>
233
+ <citation>Boumpas DT, Fessler BJ, Austin HA 3rd, Balow JE, Klippel JH, Lockshin MD. Systemic lupus erythematosus: emerging concepts. Part 2: Dermatologic and joint disease, the antiphospholipid antibody syndrome, pregnancy and hormonal therapy, morbidity and mortality, and pathogenesis. Ann Intern Med. 1995 Jul 1;123(1):42-53. Review.</citation>
234
+ <PMID>7762914</PMID>
235
+ </reference>
236
+ <reference>
237
+ <citation>Emlen W, Niebur J, Kadera R. Accelerated in vitro apoptosis of lymphocytes from patients with systemic lupus erythematosus. J Immunol. 1994 Apr 1;152(7):3685-92.</citation>
238
+ <PMID>8144943</PMID>
239
+ </reference>
240
+ <reference>
241
+ <citation>Casciola-Rosen LA, Anhalt G, Rosen A. Autoantigens targeted in systemic lupus erythematosus are clustered in two populations of surface structures on apoptotic keratinocytes. J Exp Med. 1994 Apr 1;179(4):1317-30.</citation>
242
+ <PMID>7511686</PMID>
243
+ </reference>
244
+ <verification_date>August 2014</verification_date>
245
+ <lastchanged_date>November 11, 2014</lastchanged_date>
246
+ <firstreceived_date>November 3, 1999</firstreceived_date>
247
+ <responsible_party>
248
+ <responsible_party_type>Sponsor</responsible_party_type>
249
+ </responsible_party>
250
+ <keyword>Systemic Lupus Erythematosus</keyword>
251
+ <keyword>Natural History</keyword>
252
+ <keyword>Lupus Nephritis</keyword>
253
+ <keyword>Lupus</keyword>
254
+ <keyword>Systemic Lupus</keyword>
255
+ <keyword>SLE</keyword>
256
+ <is_fda_regulated>No</is_fda_regulated>
257
+ <has_expanded_access>No</has_expanded_access>
258
+ <condition_browse>
259
+ <!-- CAUTION: The following MeSH terms are assigned with an imperfect algorithm -->
260
+ <mesh_term>Lupus Erythematosus, Systemic</mesh_term>
261
+ </condition_browse>
262
+ <!-- Results have not yet been posted for this study -->
263
+ </clinical_study>
@@ -0,0 +1,4 @@
1
+ require 'bundler/setup'
2
+ Bundler.setup
3
+
4
+ require 'ct_gov'
metadata ADDED
@@ -0,0 +1,101 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ct_gov
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Dan Carpenter
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-01-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: saxerator
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.7'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.7'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ description: A ruby client for the ClinicalTrials.gov api.
56
+ email:
57
+ - daniel.carpenter01@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - Gemfile
64
+ - LICENSE
65
+ - README.md
66
+ - Rakefile
67
+ - ct_gov.gemspec
68
+ - lib/ct_gov.rb
69
+ - lib/ct_gov/clinical_trial.rb
70
+ - lib/ct_gov/publication.rb
71
+ - lib/ct_gov/version.rb
72
+ - rspec/ct_gov/clinical_trial_spec.rb
73
+ - rspec/ct_gov/publication_spec.rb
74
+ - rspec/ct_gov_spec.rb
75
+ - rspec/data/sample_trial.xml
76
+ - rspec/spec_helper.rb
77
+ homepage: ''
78
+ licenses:
79
+ - MIT
80
+ metadata: {}
81
+ post_install_message:
82
+ rdoc_options: []
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ requirements: []
96
+ rubyforge_project:
97
+ rubygems_version: 2.4.2
98
+ signing_key:
99
+ specification_version: 4
100
+ summary: A ruby client for the ClinicalTrials.gov api.
101
+ test_files: []