caruby-tissue 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/bin/crtdump +11 -3
- data/bin/{seed → crtseed} +0 -0
- data/conf/annotation/pathology_scg/AdditionalFinding.hbm.xml +19 -0
- data/conf/annotation/pathology_scg/BasePathologyAnnotation.hbm.xml +260 -0
- data/conf/annotation/pathology_scg/BreastMargin.hbm.xml +21 -0
- data/conf/annotation/pathology_scg/BreastMarginInvolved.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/BreastMarginUninvolved.hbm.xml +14 -0
- data/conf/annotation/pathology_scg/CNSMargin.hbm.xml +19 -0
- data/conf/annotation/pathology_scg/CNSMarginLocation.hbm.xml +14 -0
- data/conf/annotation/pathology_scg/CarcinomaInSituStatus.hbm.xml +14 -0
- data/conf/annotation/pathology_scg/ColorectalLocalExcisionMarginUninvolved.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/ColorectalResectedMarginUninvolved.hbm.xml +22 -0
- data/conf/annotation/pathology_scg/Cytogenetics.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/DeepMelanomaMargin.hbm.xml +16 -0
- data/conf/annotation/pathology_scg/Details.hbm.xml +14 -0
- data/conf/annotation/pathology_scg/DirectExtensionOfTumor.hbm.xml +14 -0
- data/conf/annotation/pathology_scg/DistalMargin.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/DistanceFromAnalVerge.hbm.xml +23 -0
- data/conf/annotation/pathology_scg/DistantMetastasis.hbm.xml +19 -0
- data/conf/annotation/pathology_scg/ExcionalBiopsyMarginUninvolved.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/ExcisionalBiopsyColorectalDeepMargin.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/ExcisionalBiopsyColorectalLateralOrMucosalMargin.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/ExtraprostaticExtension.hbm.xml +20 -0
- data/conf/annotation/pathology_scg/ExtraprostaticExtensionTissueSites.hbm.xml +14 -0
- data/conf/annotation/pathology_scg/GleasonScore.hbm.xml +16 -0
- data/conf/annotation/pathology_scg/HistologicGrade.hbm.xml +16 -0
- data/conf/annotation/pathology_scg/HistologicType.hbm.xml +19 -0
- data/conf/annotation/pathology_scg/HistologicVariantType.hbm.xml +14 -0
- data/conf/annotation/pathology_scg/ImmunoPhenotyping.hbm.xml +16 -0
- data/conf/annotation/pathology_scg/Invasion.hbm.xml +16 -0
- data/conf/annotation/pathology_scg/KidneyMarginLocation.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/KidneyNephrectomyMargin.hbm.xml +19 -0
- data/conf/annotation/pathology_scg/LateralMelanomaMargin.hbm.xml +16 -0
- data/conf/annotation/pathology_scg/LocalExcisionColorectalDeepMargin.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/LocalExcisionColorectalLateralMargin.hbm.xml +20 -0
- data/conf/annotation/pathology_scg/LungResectionMargin.hbm.xml +17 -0
- data/conf/annotation/pathology_scg/LungResectionMarginsUninvolved.hbm.xml +14 -0
- data/conf/annotation/pathology_scg/MacroscopicExtentOfTumor.hbm.xml +14 -0
- data/conf/annotation/pathology_scg/MesentricMargin.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/MetastasisTissueSite.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/Microcalcification.hbm.xml +14 -0
- data/conf/annotation/pathology_scg/NottinghamHistologicScore.hbm.xml +17 -0
- data/conf/annotation/pathology_scg/OtherResectedOrgans.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/PancreasMargin.hbm.xml +20 -0
- data/conf/annotation/pathology_scg/PancreasMarginInvolvedByInvasiveCarcinoma.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/PancreasMarginUninvolvedByInvasiveCarcinoma.hbm.xml +20 -0
- data/conf/annotation/pathology_scg/PathologicalStaging.hbm.xml +16 -0
- data/conf/annotation/pathology_scg/PolypConfiguration.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/PrimaryTumorStage.hbm.xml +14 -0
- data/conf/annotation/pathology_scg/ProstateMarginLocation.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/ProximalMargin.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/RadialMargin.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/RadicalProstatectomyMargin.hbm.xml +20 -0
- data/conf/annotation/pathology_scg/RegionalLymphNode.hbm.xml +19 -0
- data/conf/annotation/pathology_scg/SatelliteNodule.hbm.xml +14 -0
- data/conf/annotation/pathology_scg/SpecimenCollectionGroup.hbm.xml +87 -0
- data/conf/annotation/pathology_scg/SpecimenIntegrity.hbm.xml +15 -0
- data/conf/annotation/pathology_scg/SpecimenSize.hbm.xml +17 -0
- data/conf/annotation/pathology_scg/TissueSide.hbm.xml +14 -0
- data/conf/annotation/pathology_scg/TumorSize.hbm.xml +29 -0
- data/conf/annotation/pathology_scg/TumorTissueSite.hbm.xml +20 -0
- data/conf/annotation/pathology_scg/UninvolvedMelanomaMargin.hbm.xml +15 -0
- data/conf/annotation/pathology_specimen/AdditionalFinding.hbm.xml +19 -0
- data/conf/annotation/pathology_specimen/AdditionalPathologicFinding.hbm.xml +18 -0
- data/conf/annotation/pathology_specimen/Details.hbm.xml +15 -0
- data/conf/annotation/pathology_specimen/GleasonScore.hbm.xml +16 -0
- data/conf/annotation/pathology_specimen/HistologicGrade.hbm.xml +16 -0
- data/conf/annotation/pathology_specimen/HistologicType.hbm.xml +19 -0
- data/conf/annotation/pathology_specimen/HistologicVariantType.hbm.xml +14 -0
- data/conf/annotation/pathology_specimen/Invasion.hbm.xml +16 -0
- data/conf/annotation/pathology_specimen/NottinghamHistologicScore.hbm.xml +17 -0
- data/conf/annotation/pathology_specimen/Specimen.hbm.xml +52 -0
- data/conf/annotation/pathology_specimen/SpecimenBaseSolidTissuePathologyAnnotation.hbm.xml +73 -0
- data/examples/galena/lib/galena/cli/seed.rb +0 -21
- data/examples/galena/lib/galena/migration/frozen_shims.rb +6 -5
- data/examples/galena/lib/galena/seed/defaults.rb +0 -5
- data/{lib → examples/galena/lib}/galena.rb +0 -0
- data/lib/catissue/annotation/annotatable.rb +37 -0
- data/lib/catissue/annotation/annotatable_class.rb +255 -0
- data/lib/catissue/annotation/annotation.rb +49 -0
- data/lib/catissue/annotation/annotation_class.rb +277 -0
- data/lib/catissue/annotation/annotation_module.rb +77 -0
- data/lib/catissue/annotation/hibernate_mapping.rb +46 -0
- data/lib/catissue/annotation/proxy.rb +28 -0
- data/lib/catissue/annotation/proxy_class.rb +68 -0
- data/lib/catissue/cli/migrate.rb +2 -2
- data/lib/catissue/cli/smoke.rb +6 -4
- data/lib/catissue/database/annotation/annotation_service.rb +75 -61
- data/lib/catissue/database/annotation/annotator.rb +17 -76
- data/lib/catissue/database/annotation/entity_facade.rb +265 -0
- data/lib/catissue/database/annotation/id_generator.rb +62 -0
- data/lib/catissue/database/annotation/integration_service.rb +105 -59
- data/lib/catissue/database/annotation/reference_writer.rb +150 -0
- data/lib/catissue/database/controlled_values.rb +12 -12
- data/lib/catissue/database.rb +148 -58
- data/lib/catissue/domain/abstract_specimen.rb +40 -14
- data/lib/catissue/domain/abstract_specimen_collection_group.rb +1 -3
- data/lib/catissue/domain/collection_protocol.rb +13 -5
- data/lib/catissue/domain/collection_protocol_event.rb +1 -14
- data/lib/catissue/domain/consent_tier_response.rb +2 -0
- data/lib/catissue/domain/consent_tier_status.rb +5 -3
- data/lib/catissue/domain/container.rb +14 -10
- data/lib/catissue/domain/container_position.rb +8 -0
- data/lib/catissue/domain/container_type.rb +13 -6
- data/lib/catissue/domain/participant.rb +15 -10
- data/lib/catissue/domain/site.rb +9 -3
- data/lib/catissue/domain/specimen.rb +79 -40
- data/lib/catissue/domain/specimen_array.rb +11 -1
- data/lib/catissue/domain/specimen_collection_group.rb +79 -41
- data/lib/catissue/domain/specimen_event_parameters.rb +5 -8
- data/lib/catissue/domain/specimen_position.rb +0 -2
- data/lib/catissue/domain/specimen_requirement.rb +1 -1
- data/lib/catissue/domain/storage_container.rb +109 -48
- data/lib/catissue/domain/storage_type.rb +1 -1
- data/lib/catissue/migration/migrator.rb +6 -14
- data/lib/catissue/resource.rb +18 -8
- data/lib/catissue/util/position.rb +11 -1
- data/lib/catissue/util/storable.rb +18 -11
- data/lib/catissue/util/storage_type_holder.rb +44 -6
- data/lib/catissue/version.rb +1 -1
- metadata +86 -35
- data/bin/migrate.rb +0 -42
- data/bin/seed.rb +0 -43
- data/examples/galena/doc/CaTissue/Participant.html +0 -241
- data/examples/galena/doc/CaTissue/SpecimenCollectionGroup.html +0 -190
- data/examples/galena/doc/CaTissue/StorageContainer.html +0 -179
- data/examples/galena/doc/CaTissue/TissueSpecimen.html +0 -320
- data/examples/galena/doc/CaTissue.html +0 -93
- data/examples/galena/doc/Galena/Seed/Defaults.html +0 -650
- data/examples/galena/doc/Galena/Seed.html +0 -203
- data/examples/galena/doc/Galena.html +0 -172
- data/examples/galena/doc/_index.html +0 -181
- data/examples/galena/doc/class_list.html +0 -36
- data/examples/galena/doc/css/common.css +0 -1
- data/examples/galena/doc/css/full_list.css +0 -53
- data/examples/galena/doc/css/style.css +0 -307
- data/examples/galena/doc/file.README.html +0 -153
- data/examples/galena/doc/file_list.html +0 -38
- data/examples/galena/doc/frames.html +0 -13
- data/examples/galena/doc/index.html +0 -153
- data/examples/galena/doc/js/app.js +0 -202
- data/examples/galena/doc/js/full_list.js +0 -149
- data/examples/galena/doc/js/jquery.js +0 -154
- data/examples/galena/doc/method_list.html +0 -163
- data/examples/galena/doc/top-level-namespace.html +0 -112
- data/lib/README.html +0 -33
- data/lib/catissue/database/annotation/annotatable_service.rb +0 -25
- data/lib/catissue/database/annotation/entity_manager.rb +0 -10
- data/lib/galena/cli/seed.rb +0 -43
- data/lib/galena/migration/filter_shims.rb +0 -43
- data/lib/galena/migration/frozen_shims.rb +0 -53
- data/lib/galena/seed/defaults.rb +0 -109
data/bin/migrate.rb
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
#!/usr/bin/env jruby
|
2
|
-
#
|
3
|
-
# == Synopsis
|
4
|
-
#
|
5
|
-
# catissue-migrate-galena: migrates the Galena example to caTissue
|
6
|
-
#
|
7
|
-
# == Usage
|
8
|
-
#
|
9
|
-
# catissue-migrate-galena.rb [options] file
|
10
|
-
#
|
11
|
-
# See catissue-migrate.rb for the argments
|
12
|
-
#
|
13
|
-
# == License
|
14
|
-
#
|
15
|
-
# This program is licensed under the terms of the +LEGAL+ file in
|
16
|
-
# the source distribution.
|
17
|
-
|
18
|
-
# Load the caruby-tissue gem.
|
19
|
-
require 'rubygems'
|
20
|
-
begin
|
21
|
-
gem 'caruby-tissue'
|
22
|
-
rescue LoadError
|
23
|
-
# if the gem is not available, then try a local source
|
24
|
-
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
|
25
|
-
end
|
26
|
-
|
27
|
-
# Add the example library to the Ruby class load path.
|
28
|
-
$:.unshift File.join(File.dirname(__FILE__), '..', 'examples', 'galena', 'lib')
|
29
|
-
|
30
|
-
# the default log file
|
31
|
-
DEF_LOG_FILE = 'log/migration.log'
|
32
|
-
|
33
|
-
# Load the caRuby classes.
|
34
|
-
require 'catissue'
|
35
|
-
require 'catissue/migration/command'
|
36
|
-
require 'galena/seed/defaults'
|
37
|
-
|
38
|
-
# Seed the database, if necessary.
|
39
|
-
Galena.seed
|
40
|
-
|
41
|
-
# Migrate the example input using the command line arguments.
|
42
|
-
CaTissue::CLI::Migrate.new.start
|
data/bin/seed.rb
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
#!/usr/bin/env jruby
|
2
|
-
#
|
3
|
-
# crtseed-galena: seeds the Galena example administrative objects in the database
|
4
|
-
#
|
5
|
-
# == Usage
|
6
|
-
#
|
7
|
-
# catissue-seed-galena.rb [options] file
|
8
|
-
#
|
9
|
-
# --help, -h:
|
10
|
-
# print this help message and exit
|
11
|
-
#
|
12
|
-
# --log file, -l file:
|
13
|
-
# log file (default ./log/migration.log)
|
14
|
-
#
|
15
|
-
# --debug, -d:
|
16
|
-
# print debug messages to log (optional)
|
17
|
-
#
|
18
|
-
# == License
|
19
|
-
#
|
20
|
-
# This program is licensed under the terms of the +LEGAL+ file in
|
21
|
-
# the source distribution.
|
22
|
-
|
23
|
-
# load the required gems
|
24
|
-
require 'rubygems'
|
25
|
-
begin
|
26
|
-
gem 'caruby-tissue'
|
27
|
-
rescue LoadError
|
28
|
-
# if the gem is not available, then try a local source
|
29
|
-
$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib')
|
30
|
-
end
|
31
|
-
|
32
|
-
# add the Galena lib to the path
|
33
|
-
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
|
34
|
-
|
35
|
-
# the default log file
|
36
|
-
DEF_LOG_FILE = 'log/migration.log'
|
37
|
-
|
38
|
-
require 'catissue'
|
39
|
-
require 'catissue/cli/command'
|
40
|
-
|
41
|
-
require 'galena/seed/defaults'
|
42
|
-
|
43
|
-
CaTissue::Command.new.start { Galena::Seed.defaults.ensure_exists }
|
@@ -1,241 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta name="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>Class: CaTissue::Participant</title>
|
7
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
-
|
10
|
-
<script type="text/javascript" charset="utf-8">
|
11
|
-
relpath = '..';
|
12
|
-
if (relpath != '') relpath += '/';
|
13
|
-
</script>
|
14
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
16
|
-
|
17
|
-
</head>
|
18
|
-
<body>
|
19
|
-
<script type="text/javascript" charset="utf-8">
|
20
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
-
</script>
|
22
|
-
|
23
|
-
<div id="header">
|
24
|
-
<div id="menu">
|
25
|
-
|
26
|
-
<a href="../_index.html">Index (P)</a> »
|
27
|
-
<span class='title'><span class='object_link'><a href="../CaTissue.html" title="CaTissue (module)">CaTissue</a></span></span>
|
28
|
-
»
|
29
|
-
<span class="title">Participant</span>
|
30
|
-
|
31
|
-
|
32
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="search">
|
36
|
-
<a id="class_list_link" href="#">Class List</a>
|
37
|
-
<a id="method_list_link" href="#">Method List</a>
|
38
|
-
<a id ="file_list_link" href="#">File List</a>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div class="clear"></div>
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<iframe id="search_frame"></iframe>
|
45
|
-
|
46
|
-
<div id="content"><h1>Class: CaTissue::Participant
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
</h1>
|
51
|
-
|
52
|
-
<dl class="box">
|
53
|
-
|
54
|
-
<dt class="r1">Inherits:</dt>
|
55
|
-
<dd class="r1">
|
56
|
-
<span class="inheritName">Object</span>
|
57
|
-
|
58
|
-
<ul class="fullTree">
|
59
|
-
<li>Object</li>
|
60
|
-
|
61
|
-
<li class="next">CaTissue::Participant</li>
|
62
|
-
|
63
|
-
</ul>
|
64
|
-
<a href="#" class="inheritanceTree">show all</a>
|
65
|
-
|
66
|
-
</dd>
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
<dt class="r2 last">Defined in:</dt>
|
77
|
-
<dd class="r2 last">examples/galena/lib/galena/migration/filter_shims.rb</dd>
|
78
|
-
|
79
|
-
</dl>
|
80
|
-
<div class="clear"></div>
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
<h2>
|
87
|
-
Instance Method Summary
|
88
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
89
|
-
</h2>
|
90
|
-
|
91
|
-
<ul class="summary">
|
92
|
-
|
93
|
-
<li class="public ">
|
94
|
-
<span class="summary_signature">
|
95
|
-
|
96
|
-
<a href="#migrate_first_name-instance_method" title="#migrate_first_name (instance method)">- (Object) <strong>migrate_first_name</strong>(value, row) </a>
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
</span>
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
<span class="summary_desc"><div class='inline'><p>
|
110
|
-
Extracts the Participant first name from the <tt>Initials</tt> input field.
|
111
|
-
</p>
|
112
|
-
</div></span>
|
113
|
-
|
114
|
-
</li>
|
115
|
-
|
116
|
-
|
117
|
-
<li class="public ">
|
118
|
-
<span class="summary_signature">
|
119
|
-
|
120
|
-
<a href="#migrate_last_name-instance_method" title="#migrate_last_name (instance method)">- (Object) <strong>migrate_last_name</strong>(value, row) </a>
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
</span>
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
<span class="summary_desc"><div class='inline'><p>
|
134
|
-
Extracts the Participant last name from the <tt>Initials</tt> input field.
|
135
|
-
</p>
|
136
|
-
</div></span>
|
137
|
-
|
138
|
-
</li>
|
139
|
-
|
140
|
-
|
141
|
-
</ul>
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
<div id="instance_method_details" class="method_details_list">
|
147
|
-
<h2>Instance Method Details</h2>
|
148
|
-
|
149
|
-
|
150
|
-
<div class="method_details first">
|
151
|
-
<p class="signature first" id="migrate_first_name-instance_method">
|
152
|
-
|
153
|
-
- (<tt>Object</tt>) <strong>migrate_first_name</strong>(value, row)
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
</p><div class="docstring">
|
158
|
-
<div class="discussion">
|
159
|
-
<p>
|
160
|
-
Extracts the Participant first name from the <tt>Initials</tt> input field.
|
161
|
-
</p>
|
162
|
-
|
163
|
-
|
164
|
-
</div>
|
165
|
-
</div>
|
166
|
-
<div class="tags">
|
167
|
-
|
168
|
-
</div><table class="source_code">
|
169
|
-
<tr>
|
170
|
-
<td>
|
171
|
-
<pre class="lines">
|
172
|
-
|
173
|
-
|
174
|
-
10
|
175
|
-
11
|
176
|
-
12</pre>
|
177
|
-
</td>
|
178
|
-
<td>
|
179
|
-
<pre class="code"><span class="info file"># File 'examples/galena/lib/galena/migration/filter_shims.rb', line 10</span>
|
180
|
-
|
181
|
-
<span class='def def kw'>def</span> <span class='migrate_first_name identifier id'>migrate_first_name</span><span class='lparen token'>(</span><span class='value identifier id'>value</span><span class='comma token'>,</span> <span class='row identifier id'>row</span><span class='rparen token'>)</span>
|
182
|
-
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='first_name identifier id'>first_name</span> <span class='assign token'>=</span> <span class='value identifier id'>value</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='comma token'>,</span> <span class='integer val'>1</span><span class='rbrack token'>]</span>
|
183
|
-
<span class='end end kw'>end</span>
|
184
|
-
</pre>
|
185
|
-
</td>
|
186
|
-
</tr>
|
187
|
-
</table>
|
188
|
-
</div>
|
189
|
-
|
190
|
-
<div class="method_details ">
|
191
|
-
<p class="signature " id="migrate_last_name-instance_method">
|
192
|
-
|
193
|
-
- (<tt>Object</tt>) <strong>migrate_last_name</strong>(value, row)
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
</p><div class="docstring">
|
198
|
-
<div class="discussion">
|
199
|
-
<p>
|
200
|
-
Extracts the Participant last name from the <tt>Initials</tt> input field.
|
201
|
-
</p>
|
202
|
-
|
203
|
-
|
204
|
-
</div>
|
205
|
-
</div>
|
206
|
-
<div class="tags">
|
207
|
-
|
208
|
-
</div><table class="source_code">
|
209
|
-
<tr>
|
210
|
-
<td>
|
211
|
-
<pre class="lines">
|
212
|
-
|
213
|
-
|
214
|
-
15
|
215
|
-
16
|
216
|
-
17</pre>
|
217
|
-
</td>
|
218
|
-
<td>
|
219
|
-
<pre class="code"><span class="info file"># File 'examples/galena/lib/galena/migration/filter_shims.rb', line 15</span>
|
220
|
-
|
221
|
-
<span class='def def kw'>def</span> <span class='migrate_last_name identifier id'>migrate_last_name</span><span class='lparen token'>(</span><span class='value identifier id'>value</span><span class='comma token'>,</span> <span class='row identifier id'>row</span><span class='rparen token'>)</span>
|
222
|
-
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='last_name identifier id'>last_name</span> <span class='assign token'>=</span> <span class='value identifier id'>value</span><span class='lbrack token'>[</span><span class='integer val'>-1</span><span class='comma token'>,</span> <span class='integer val'>1</span><span class='rbrack token'>]</span>
|
223
|
-
<span class='end end kw'>end</span>
|
224
|
-
</pre>
|
225
|
-
</td>
|
226
|
-
</tr>
|
227
|
-
</table>
|
228
|
-
</div>
|
229
|
-
|
230
|
-
</div>
|
231
|
-
|
232
|
-
</div>
|
233
|
-
|
234
|
-
<div id="footer">
|
235
|
-
Generated on Tue Nov 30 11:09:42 2010 by
|
236
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
237
|
-
0.6.1 (ruby-1.8.6).
|
238
|
-
</div>
|
239
|
-
|
240
|
-
</body>
|
241
|
-
</html>
|
@@ -1,190 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta name="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>Class: CaTissue::SpecimenCollectionGroup</title>
|
7
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
-
|
10
|
-
<script type="text/javascript" charset="utf-8">
|
11
|
-
relpath = '..';
|
12
|
-
if (relpath != '') relpath += '/';
|
13
|
-
</script>
|
14
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
16
|
-
|
17
|
-
</head>
|
18
|
-
<body>
|
19
|
-
<script type="text/javascript" charset="utf-8">
|
20
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
-
</script>
|
22
|
-
|
23
|
-
<div id="header">
|
24
|
-
<div id="menu">
|
25
|
-
|
26
|
-
<a href="../_index.html">Index (S)</a> »
|
27
|
-
<span class='title'><span class='object_link'><a href="../CaTissue.html" title="CaTissue (module)">CaTissue</a></span></span>
|
28
|
-
»
|
29
|
-
<span class="title">SpecimenCollectionGroup</span>
|
30
|
-
|
31
|
-
|
32
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="search">
|
36
|
-
<a id="class_list_link" href="#">Class List</a>
|
37
|
-
<a id="method_list_link" href="#">Method List</a>
|
38
|
-
<a id ="file_list_link" href="#">File List</a>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div class="clear"></div>
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<iframe id="search_frame"></iframe>
|
45
|
-
|
46
|
-
<div id="content"><h1>Class: CaTissue::SpecimenCollectionGroup
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
</h1>
|
51
|
-
|
52
|
-
<dl class="box">
|
53
|
-
|
54
|
-
<dt class="r1">Inherits:</dt>
|
55
|
-
<dd class="r1">
|
56
|
-
<span class="inheritName">Object</span>
|
57
|
-
|
58
|
-
<ul class="fullTree">
|
59
|
-
<li>Object</li>
|
60
|
-
|
61
|
-
<li class="next">CaTissue::SpecimenCollectionGroup</li>
|
62
|
-
|
63
|
-
</ul>
|
64
|
-
<a href="#" class="inheritanceTree">show all</a>
|
65
|
-
|
66
|
-
</dd>
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
<dt class="r2 last">Defined in:</dt>
|
77
|
-
<dd class="r2 last">examples/galena/lib/galena/migration/filter_shims.rb</dd>
|
78
|
-
|
79
|
-
</dl>
|
80
|
-
<div class="clear"></div>
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
<h2>
|
87
|
-
Instance Method Summary
|
88
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
89
|
-
</h2>
|
90
|
-
|
91
|
-
<ul class="summary">
|
92
|
-
|
93
|
-
<li class="public ">
|
94
|
-
<span class="summary_signature">
|
95
|
-
|
96
|
-
<a href="#migration_valid%3F-instance_method" title="#migration_valid? (instance method)">- (Boolean) <strong>migration_valid?</strong> </a>
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
</span>
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
<span class="summary_desc"><div class='inline'><p>
|
110
|
-
Returns whether this SCG has a SPN.
|
111
|
-
</p>
|
112
|
-
</div></span>
|
113
|
-
|
114
|
-
</li>
|
115
|
-
|
116
|
-
|
117
|
-
</ul>
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
<div id="instance_method_details" class="method_details_list">
|
123
|
-
<h2>Instance Method Details</h2>
|
124
|
-
|
125
|
-
|
126
|
-
<div class="method_details first">
|
127
|
-
<p class="signature first" id="migration_valid?-instance_method">
|
128
|
-
|
129
|
-
- (<tt>Boolean</tt>) <strong>migration_valid?</strong>
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
</p><div class="docstring">
|
134
|
-
<div class="discussion">
|
135
|
-
<p>
|
136
|
-
Returns whether this SCG has a SPN.
|
137
|
-
</p>
|
138
|
-
|
139
|
-
|
140
|
-
</div>
|
141
|
-
</div>
|
142
|
-
<div class="tags">
|
143
|
-
<h3>Returns:</h3>
|
144
|
-
<ul class="return">
|
145
|
-
|
146
|
-
<li>
|
147
|
-
|
148
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
</li>
|
154
|
-
|
155
|
-
</ul>
|
156
|
-
|
157
|
-
</div><table class="source_code">
|
158
|
-
<tr>
|
159
|
-
<td>
|
160
|
-
<pre class="lines">
|
161
|
-
|
162
|
-
|
163
|
-
39
|
164
|
-
40
|
165
|
-
41</pre>
|
166
|
-
</td>
|
167
|
-
<td>
|
168
|
-
<pre class="code"><span class="info file"># File 'examples/galena/lib/galena/migration/filter_shims.rb', line 39</span>
|
169
|
-
|
170
|
-
<span class='def def kw'>def</span> <span class='migration_valid? fid id'>migration_valid?</span>
|
171
|
-
<span class='surgical_pathology_number identifier id'>surgical_pathology_number</span>
|
172
|
-
<span class='end end kw'>end</span>
|
173
|
-
</pre>
|
174
|
-
</td>
|
175
|
-
</tr>
|
176
|
-
</table>
|
177
|
-
</div>
|
178
|
-
|
179
|
-
</div>
|
180
|
-
|
181
|
-
</div>
|
182
|
-
|
183
|
-
<div id="footer">
|
184
|
-
Generated on Tue Nov 30 11:09:43 2010 by
|
185
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
186
|
-
0.6.1 (ruby-1.8.6).
|
187
|
-
</div>
|
188
|
-
|
189
|
-
</body>
|
190
|
-
</html>
|
@@ -1,179 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta name="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>Class: CaTissue::StorageContainer</title>
|
7
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
-
|
10
|
-
<script type="text/javascript" charset="utf-8">
|
11
|
-
relpath = '..';
|
12
|
-
if (relpath != '') relpath += '/';
|
13
|
-
</script>
|
14
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
16
|
-
|
17
|
-
</head>
|
18
|
-
<body>
|
19
|
-
<script type="text/javascript" charset="utf-8">
|
20
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
-
</script>
|
22
|
-
|
23
|
-
<div id="header">
|
24
|
-
<div id="menu">
|
25
|
-
|
26
|
-
<a href="../_index.html">Index (S)</a> »
|
27
|
-
<span class='title'><span class='object_link'><a href="../CaTissue.html" title="CaTissue (module)">CaTissue</a></span></span>
|
28
|
-
»
|
29
|
-
<span class="title">StorageContainer</span>
|
30
|
-
|
31
|
-
|
32
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="search">
|
36
|
-
<a id="class_list_link" href="#">Class List</a>
|
37
|
-
<a id="method_list_link" href="#">Method List</a>
|
38
|
-
<a id ="file_list_link" href="#">File List</a>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div class="clear"></div>
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<iframe id="search_frame"></iframe>
|
45
|
-
|
46
|
-
<div id="content"><h1>Class: CaTissue::StorageContainer
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
</h1>
|
51
|
-
|
52
|
-
<dl class="box">
|
53
|
-
|
54
|
-
<dt class="r1">Inherits:</dt>
|
55
|
-
<dd class="r1">
|
56
|
-
<span class="inheritName">Object</span>
|
57
|
-
|
58
|
-
<ul class="fullTree">
|
59
|
-
<li>Object</li>
|
60
|
-
|
61
|
-
<li class="next">CaTissue::StorageContainer</li>
|
62
|
-
|
63
|
-
</ul>
|
64
|
-
<a href="#" class="inheritanceTree">show all</a>
|
65
|
-
|
66
|
-
</dd>
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
<dt class="r2 last">Defined in:</dt>
|
77
|
-
<dd class="r2 last">examples/galena/lib/galena/migration/frozen_shims.rb</dd>
|
78
|
-
|
79
|
-
</dl>
|
80
|
-
<div class="clear"></div>
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
<h2>
|
87
|
-
Instance Method Summary
|
88
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
89
|
-
</h2>
|
90
|
-
|
91
|
-
<ul class="summary">
|
92
|
-
|
93
|
-
<li class="public ">
|
94
|
-
<span class="summary_signature">
|
95
|
-
|
96
|
-
<a href="#migrate-instance_method" title="#migrate (instance method)">- (Object) <strong>migrate</strong>(row, migrated) </a>
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
</span>
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
<span class="summary_desc"><div class='inline'><p>
|
110
|
-
Creates the migrated box in the database, if necessary.
|
111
|
-
</p>
|
112
|
-
</div></span>
|
113
|
-
|
114
|
-
</li>
|
115
|
-
|
116
|
-
|
117
|
-
</ul>
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
<div id="instance_method_details" class="method_details_list">
|
123
|
-
<h2>Instance Method Details</h2>
|
124
|
-
|
125
|
-
|
126
|
-
<div class="method_details first">
|
127
|
-
<p class="signature first" id="migrate-instance_method">
|
128
|
-
|
129
|
-
- (<tt>Object</tt>) <strong>migrate</strong>(row, migrated)
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
</p><div class="docstring">
|
134
|
-
<div class="discussion">
|
135
|
-
<p>
|
136
|
-
Creates the migrated box in the database, if necessary.
|
137
|
-
</p>
|
138
|
-
|
139
|
-
|
140
|
-
</div>
|
141
|
-
</div>
|
142
|
-
<div class="tags">
|
143
|
-
|
144
|
-
</div><table class="source_code">
|
145
|
-
<tr>
|
146
|
-
<td>
|
147
|
-
<pre class="lines">
|
148
|
-
|
149
|
-
|
150
|
-
22
|
151
|
-
23
|
152
|
-
24
|
153
|
-
25</pre>
|
154
|
-
</td>
|
155
|
-
<td>
|
156
|
-
<pre class="code"><span class="info file"># File 'examples/galena/lib/galena/migration/frozen_shims.rb', line 22</span>
|
157
|
-
|
158
|
-
<span class='def def kw'>def</span> <span class='migrate identifier id'>migrate</span><span class='lparen token'>(</span><span class='row identifier id'>row</span><span class='comma token'>,</span> <span class='migrated identifier id'>migrated</span><span class='rparen token'>)</span>
|
159
|
-
<span class='super super kw'>super</span>
|
160
|
-
<span class='find identifier id'>find</span> <span class='or or kw'>or</span> <span class='create_box identifier id'>create_box</span>
|
161
|
-
<span class='end end kw'>end</span>
|
162
|
-
</pre>
|
163
|
-
</td>
|
164
|
-
</tr>
|
165
|
-
</table>
|
166
|
-
</div>
|
167
|
-
|
168
|
-
</div>
|
169
|
-
|
170
|
-
</div>
|
171
|
-
|
172
|
-
<div id="footer">
|
173
|
-
Generated on Tue Nov 30 11:09:43 2010 by
|
174
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
175
|
-
0.6.1 (ruby-1.8.6).
|
176
|
-
</div>
|
177
|
-
|
178
|
-
</body>
|
179
|
-
</html>
|