caruby-tissue 1.2.2 → 1.2.3

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.
Files changed (153) hide show
  1. data/History.txt +4 -0
  2. data/bin/crtdump +11 -3
  3. data/bin/{seed → crtseed} +0 -0
  4. data/conf/annotation/pathology_scg/AdditionalFinding.hbm.xml +19 -0
  5. data/conf/annotation/pathology_scg/BasePathologyAnnotation.hbm.xml +260 -0
  6. data/conf/annotation/pathology_scg/BreastMargin.hbm.xml +21 -0
  7. data/conf/annotation/pathology_scg/BreastMarginInvolved.hbm.xml +15 -0
  8. data/conf/annotation/pathology_scg/BreastMarginUninvolved.hbm.xml +14 -0
  9. data/conf/annotation/pathology_scg/CNSMargin.hbm.xml +19 -0
  10. data/conf/annotation/pathology_scg/CNSMarginLocation.hbm.xml +14 -0
  11. data/conf/annotation/pathology_scg/CarcinomaInSituStatus.hbm.xml +14 -0
  12. data/conf/annotation/pathology_scg/ColorectalLocalExcisionMarginUninvolved.hbm.xml +15 -0
  13. data/conf/annotation/pathology_scg/ColorectalResectedMarginUninvolved.hbm.xml +22 -0
  14. data/conf/annotation/pathology_scg/Cytogenetics.hbm.xml +15 -0
  15. data/conf/annotation/pathology_scg/DeepMelanomaMargin.hbm.xml +16 -0
  16. data/conf/annotation/pathology_scg/Details.hbm.xml +14 -0
  17. data/conf/annotation/pathology_scg/DirectExtensionOfTumor.hbm.xml +14 -0
  18. data/conf/annotation/pathology_scg/DistalMargin.hbm.xml +15 -0
  19. data/conf/annotation/pathology_scg/DistanceFromAnalVerge.hbm.xml +23 -0
  20. data/conf/annotation/pathology_scg/DistantMetastasis.hbm.xml +19 -0
  21. data/conf/annotation/pathology_scg/ExcionalBiopsyMarginUninvolved.hbm.xml +15 -0
  22. data/conf/annotation/pathology_scg/ExcisionalBiopsyColorectalDeepMargin.hbm.xml +15 -0
  23. data/conf/annotation/pathology_scg/ExcisionalBiopsyColorectalLateralOrMucosalMargin.hbm.xml +15 -0
  24. data/conf/annotation/pathology_scg/ExtraprostaticExtension.hbm.xml +20 -0
  25. data/conf/annotation/pathology_scg/ExtraprostaticExtensionTissueSites.hbm.xml +14 -0
  26. data/conf/annotation/pathology_scg/GleasonScore.hbm.xml +16 -0
  27. data/conf/annotation/pathology_scg/HistologicGrade.hbm.xml +16 -0
  28. data/conf/annotation/pathology_scg/HistologicType.hbm.xml +19 -0
  29. data/conf/annotation/pathology_scg/HistologicVariantType.hbm.xml +14 -0
  30. data/conf/annotation/pathology_scg/ImmunoPhenotyping.hbm.xml +16 -0
  31. data/conf/annotation/pathology_scg/Invasion.hbm.xml +16 -0
  32. data/conf/annotation/pathology_scg/KidneyMarginLocation.hbm.xml +15 -0
  33. data/conf/annotation/pathology_scg/KidneyNephrectomyMargin.hbm.xml +19 -0
  34. data/conf/annotation/pathology_scg/LateralMelanomaMargin.hbm.xml +16 -0
  35. data/conf/annotation/pathology_scg/LocalExcisionColorectalDeepMargin.hbm.xml +15 -0
  36. data/conf/annotation/pathology_scg/LocalExcisionColorectalLateralMargin.hbm.xml +20 -0
  37. data/conf/annotation/pathology_scg/LungResectionMargin.hbm.xml +17 -0
  38. data/conf/annotation/pathology_scg/LungResectionMarginsUninvolved.hbm.xml +14 -0
  39. data/conf/annotation/pathology_scg/MacroscopicExtentOfTumor.hbm.xml +14 -0
  40. data/conf/annotation/pathology_scg/MesentricMargin.hbm.xml +15 -0
  41. data/conf/annotation/pathology_scg/MetastasisTissueSite.hbm.xml +15 -0
  42. data/conf/annotation/pathology_scg/Microcalcification.hbm.xml +14 -0
  43. data/conf/annotation/pathology_scg/NottinghamHistologicScore.hbm.xml +17 -0
  44. data/conf/annotation/pathology_scg/OtherResectedOrgans.hbm.xml +15 -0
  45. data/conf/annotation/pathology_scg/PancreasMargin.hbm.xml +20 -0
  46. data/conf/annotation/pathology_scg/PancreasMarginInvolvedByInvasiveCarcinoma.hbm.xml +15 -0
  47. data/conf/annotation/pathology_scg/PancreasMarginUninvolvedByInvasiveCarcinoma.hbm.xml +20 -0
  48. data/conf/annotation/pathology_scg/PathologicalStaging.hbm.xml +16 -0
  49. data/conf/annotation/pathology_scg/PolypConfiguration.hbm.xml +15 -0
  50. data/conf/annotation/pathology_scg/PrimaryTumorStage.hbm.xml +14 -0
  51. data/conf/annotation/pathology_scg/ProstateMarginLocation.hbm.xml +15 -0
  52. data/conf/annotation/pathology_scg/ProximalMargin.hbm.xml +15 -0
  53. data/conf/annotation/pathology_scg/RadialMargin.hbm.xml +15 -0
  54. data/conf/annotation/pathology_scg/RadicalProstatectomyMargin.hbm.xml +20 -0
  55. data/conf/annotation/pathology_scg/RegionalLymphNode.hbm.xml +19 -0
  56. data/conf/annotation/pathology_scg/SatelliteNodule.hbm.xml +14 -0
  57. data/conf/annotation/pathology_scg/SpecimenCollectionGroup.hbm.xml +87 -0
  58. data/conf/annotation/pathology_scg/SpecimenIntegrity.hbm.xml +15 -0
  59. data/conf/annotation/pathology_scg/SpecimenSize.hbm.xml +17 -0
  60. data/conf/annotation/pathology_scg/TissueSide.hbm.xml +14 -0
  61. data/conf/annotation/pathology_scg/TumorSize.hbm.xml +29 -0
  62. data/conf/annotation/pathology_scg/TumorTissueSite.hbm.xml +20 -0
  63. data/conf/annotation/pathology_scg/UninvolvedMelanomaMargin.hbm.xml +15 -0
  64. data/conf/annotation/pathology_specimen/AdditionalFinding.hbm.xml +19 -0
  65. data/conf/annotation/pathology_specimen/AdditionalPathologicFinding.hbm.xml +18 -0
  66. data/conf/annotation/pathology_specimen/Details.hbm.xml +15 -0
  67. data/conf/annotation/pathology_specimen/GleasonScore.hbm.xml +16 -0
  68. data/conf/annotation/pathology_specimen/HistologicGrade.hbm.xml +16 -0
  69. data/conf/annotation/pathology_specimen/HistologicType.hbm.xml +19 -0
  70. data/conf/annotation/pathology_specimen/HistologicVariantType.hbm.xml +14 -0
  71. data/conf/annotation/pathology_specimen/Invasion.hbm.xml +16 -0
  72. data/conf/annotation/pathology_specimen/NottinghamHistologicScore.hbm.xml +17 -0
  73. data/conf/annotation/pathology_specimen/Specimen.hbm.xml +52 -0
  74. data/conf/annotation/pathology_specimen/SpecimenBaseSolidTissuePathologyAnnotation.hbm.xml +73 -0
  75. data/examples/galena/lib/galena/cli/seed.rb +0 -21
  76. data/examples/galena/lib/galena/migration/frozen_shims.rb +6 -5
  77. data/examples/galena/lib/galena/seed/defaults.rb +0 -5
  78. data/{lib → examples/galena/lib}/galena.rb +0 -0
  79. data/lib/catissue/annotation/annotatable.rb +37 -0
  80. data/lib/catissue/annotation/annotatable_class.rb +255 -0
  81. data/lib/catissue/annotation/annotation.rb +49 -0
  82. data/lib/catissue/annotation/annotation_class.rb +277 -0
  83. data/lib/catissue/annotation/annotation_module.rb +77 -0
  84. data/lib/catissue/annotation/hibernate_mapping.rb +46 -0
  85. data/lib/catissue/annotation/proxy.rb +28 -0
  86. data/lib/catissue/annotation/proxy_class.rb +68 -0
  87. data/lib/catissue/cli/migrate.rb +2 -2
  88. data/lib/catissue/cli/smoke.rb +6 -4
  89. data/lib/catissue/database/annotation/annotation_service.rb +75 -61
  90. data/lib/catissue/database/annotation/annotator.rb +17 -76
  91. data/lib/catissue/database/annotation/entity_facade.rb +265 -0
  92. data/lib/catissue/database/annotation/id_generator.rb +62 -0
  93. data/lib/catissue/database/annotation/integration_service.rb +105 -59
  94. data/lib/catissue/database/annotation/reference_writer.rb +150 -0
  95. data/lib/catissue/database/controlled_values.rb +12 -12
  96. data/lib/catissue/database.rb +148 -58
  97. data/lib/catissue/domain/abstract_specimen.rb +40 -14
  98. data/lib/catissue/domain/abstract_specimen_collection_group.rb +1 -3
  99. data/lib/catissue/domain/collection_protocol.rb +13 -5
  100. data/lib/catissue/domain/collection_protocol_event.rb +1 -14
  101. data/lib/catissue/domain/consent_tier_response.rb +2 -0
  102. data/lib/catissue/domain/consent_tier_status.rb +5 -3
  103. data/lib/catissue/domain/container.rb +14 -10
  104. data/lib/catissue/domain/container_position.rb +8 -0
  105. data/lib/catissue/domain/container_type.rb +13 -6
  106. data/lib/catissue/domain/participant.rb +15 -10
  107. data/lib/catissue/domain/site.rb +9 -3
  108. data/lib/catissue/domain/specimen.rb +79 -40
  109. data/lib/catissue/domain/specimen_array.rb +11 -1
  110. data/lib/catissue/domain/specimen_collection_group.rb +79 -41
  111. data/lib/catissue/domain/specimen_event_parameters.rb +5 -8
  112. data/lib/catissue/domain/specimen_position.rb +0 -2
  113. data/lib/catissue/domain/specimen_requirement.rb +1 -1
  114. data/lib/catissue/domain/storage_container.rb +109 -48
  115. data/lib/catissue/domain/storage_type.rb +1 -1
  116. data/lib/catissue/migration/migrator.rb +6 -14
  117. data/lib/catissue/resource.rb +18 -8
  118. data/lib/catissue/util/position.rb +11 -1
  119. data/lib/catissue/util/storable.rb +18 -11
  120. data/lib/catissue/util/storage_type_holder.rb +44 -6
  121. data/lib/catissue/version.rb +1 -1
  122. metadata +86 -35
  123. data/bin/migrate.rb +0 -42
  124. data/bin/seed.rb +0 -43
  125. data/examples/galena/doc/CaTissue/Participant.html +0 -241
  126. data/examples/galena/doc/CaTissue/SpecimenCollectionGroup.html +0 -190
  127. data/examples/galena/doc/CaTissue/StorageContainer.html +0 -179
  128. data/examples/galena/doc/CaTissue/TissueSpecimen.html +0 -320
  129. data/examples/galena/doc/CaTissue.html +0 -93
  130. data/examples/galena/doc/Galena/Seed/Defaults.html +0 -650
  131. data/examples/galena/doc/Galena/Seed.html +0 -203
  132. data/examples/galena/doc/Galena.html +0 -172
  133. data/examples/galena/doc/_index.html +0 -181
  134. data/examples/galena/doc/class_list.html +0 -36
  135. data/examples/galena/doc/css/common.css +0 -1
  136. data/examples/galena/doc/css/full_list.css +0 -53
  137. data/examples/galena/doc/css/style.css +0 -307
  138. data/examples/galena/doc/file.README.html +0 -153
  139. data/examples/galena/doc/file_list.html +0 -38
  140. data/examples/galena/doc/frames.html +0 -13
  141. data/examples/galena/doc/index.html +0 -153
  142. data/examples/galena/doc/js/app.js +0 -202
  143. data/examples/galena/doc/js/full_list.js +0 -149
  144. data/examples/galena/doc/js/jquery.js +0 -154
  145. data/examples/galena/doc/method_list.html +0 -163
  146. data/examples/galena/doc/top-level-namespace.html +0 -112
  147. data/lib/README.html +0 -33
  148. data/lib/catissue/database/annotation/annotatable_service.rb +0 -25
  149. data/lib/catissue/database/annotation/entity_manager.rb +0 -10
  150. data/lib/galena/cli/seed.rb +0 -43
  151. data/lib/galena/migration/filter_shims.rb +0 -43
  152. data/lib/galena/migration/frozen_shims.rb +0 -53
  153. data/lib/galena/seed/defaults.rb +0 -109
data/History.txt CHANGED
@@ -6,3 +6,7 @@
6
6
 
7
7
  * Enable Galena example
8
8
 
9
+ === 1.2.3 / 2011-02-18
10
+
11
+ * Support Dynamic Extensions
12
+
data/bin/crtdump CHANGED
@@ -16,16 +16,24 @@ end
16
16
  DEF_LOG_FILE = 'log/catissue.log'
17
17
 
18
18
  require 'catissue/cli/command'
19
+
20
+ SPECS = [
21
+ [:class, "class", "The class of the object"],
22
+ [:id, "id", "The database identifier of the object"]
23
+ ]
19
24
 
25
+ # Broken. TODO - fix.
20
26
  # run the command
21
- CaTissue::Command.new(:class, :id).execute do |opts, class_name, id|
27
+ CaTissue::CLI::Command.new(SPECS).start do |opts|
28
+ class_name = opts[:class]
29
+ identifier = opts[:id].to_i
22
30
  # the search template
23
- obj = CaTissue.const_get(class_name).new(:identifier=>id.to_i)
31
+ obj = CaTissue.const_get(class_name).new(:identifier=>identifier)
24
32
  unless obj.find then
25
33
  print("#{class_name} with identifier #{id} not found") and exit(-1)
26
34
  end
27
35
  # fetch the references
28
36
  obj.references
29
37
  # print the object graph
30
- puts obj.dump
38
+ puts obj.database.lazy_loader.suspend { obj.dump }
31
39
  end
File without changes
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="AdditionalFinding" table="DE_E_1454" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="PathologicFinding" type="java.lang.String" column="DE_AT_1457" />
11
+ <set name="Details" lazy="true" inverse="true">
12
+ <cache usage="read-write" />
13
+ <key column="DE_E_1454_1456_IDENTIFIER" />
14
+ <one-to-many class="pathology_scg.Details" />
15
+ </set>
16
+ <many-to-one name="BasePathologyAnnotation" class="pathology_scg.BasePathologyAnnotation" column="DE_E_1440_1442_IDENTIFIER" lazy="proxy" />
17
+ </class>
18
+ </hibernate-mapping>
19
+
@@ -0,0 +1,260 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="BasePathologyAnnotation" table="DE_E_1440" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="Comment" type="java.lang.String" column="DE_AT_1444" />
11
+ <property name="OtherSpecimenProcedure" type="java.lang.String" column="DE_AT_1445" />
12
+ <property name="SpecimenProcedure" type="java.lang.String" column="DE_AT_1446" />
13
+ <set name="HistologicType" lazy="true" inverse="true">
14
+ <cache usage="read-write" />
15
+ <key column="DE_E_1440_1443_IDENTIFIER" />
16
+ <one-to-many class="pathology_scg.HistologicType" />
17
+ </set>
18
+ <set name="AdditionalFinding" lazy="true" inverse="true">
19
+ <cache usage="read-write" />
20
+ <key column="DE_E_1440_1442_IDENTIFIER" />
21
+ <one-to-many class="pathology_scg.AdditionalFinding" />
22
+ </set>
23
+ <joined-subclass name="pathology_scg.BaseHaematologyPathologyAnnotation" table="DE_E_1577" lazy="true">
24
+ <key column="IDENTIFIER" />
25
+ <property name="AdequacyOfSpecimen" type="java.lang.String" column="DE_AT_1581" />
26
+ <property name="OtherBiopsyOrAspirateSite" type="java.lang.String" column="DE_AT_1582" />
27
+ <property name="BiopsyOrAspirateSite" type="java.lang.String" column="DE_AT_1583" />
28
+ <one-to-one name="Cytogenetics" class="pathology_scg.Cytogenetics" property-ref="BaseHaematologyPathologyAnnotation" />
29
+ <one-to-one name="immunoPhenotyping" class="pathology_scg.ImmunoPhenotyping" property-ref="baseHaematologyPathologyAnnotation" />
30
+ </joined-subclass>
31
+ <joined-subclass name="pathology_scg.BaseSolidTissuePathologyAnnotation" table="DE_E_1461" lazy="true">
32
+ <key column="IDENTIFIER" />
33
+ <one-to-one name="invasion" class="pathology_scg.Invasion" property-ref="baseSolidTissuePathologyAnnotation" />
34
+ <one-to-one name="tumorSize" class="pathology_scg.TumorSize" property-ref="baseSolidTissuePathologyAnnotation" />
35
+ <set name="tumorTissueSite" lazy="true" inverse="true">
36
+ <cache usage="read-write" />
37
+ <key column="DE_E_1461_1463_IDENTIFIER" />
38
+ <one-to-many class="pathology_scg.TumorTissueSite" />
39
+ </set>
40
+ <set name="HistologicGrade" lazy="true" inverse="true">
41
+ <cache usage="read-write" />
42
+ <key column="DE_E_1461_1465_IDENTIFIER" />
43
+ <one-to-many class="pathology_scg.HistologicGrade" />
44
+ </set>
45
+ <one-to-one name="pathologicStaging" class="pathology_scg.PathologicalStaging" property-ref="baseSolidTissuePathologyAnnotation" />
46
+ <joined-subclass name="pathology_scg.ColorectalPathologyAnnotation" table="DE_E_1593" lazy="true">
47
+ <key column="IDENTIFIER" />
48
+ <property name="IntratumoralPeritumoralLymphocyticResponse" type="java.lang.String" column="DE_AT_1596" />
49
+ <property name="TumorBorderConfiguration" type="java.lang.String" column="DE_AT_1597" />
50
+ <property name="OtherTumorConfiguration" type="java.lang.String" column="DE_AT_1598" />
51
+ <property name="TumorConfiguration" type="java.lang.String" column="DE_AT_1599" />
52
+ <one-to-one name="PolypSize" class="pathology_scg.PolypSize" property-ref="ColorectalPathologyAnnotation" />
53
+ <joined-subclass name="pathology_scg.ExcisionalBiopsyBasedColorectalPathologyAnnotation" table="DE_E_1631" lazy="true">
54
+ <key column="IDENTIFIER" />
55
+ <property name="TypeOfPolypInWhichInvasiveCarcinomaArose" type="java.lang.String" column="DE_AT_1638" />
56
+ <property name="ExtentOfInvasion" type="java.lang.String" column="DE_AT_1639" />
57
+ <set name="lateralOrMucosalMarginCollection" lazy="true" inverse="true">
58
+ <cache usage="read-write" />
59
+ <key column="DE_E_1631_1634_IDENTIFIER" />
60
+ <one-to-many class="pathology_scg.ExcisionalBiopsyColorectalLateralOrMucosalMargin" />
61
+ </set>
62
+ <one-to-one name="PolypConfiguration" class="pathology_scg.PolypConfiguration" property-ref="ExcisionalBiopsyBasedColorectalPathologyAnnotation" />
63
+ <set name="deepMarginCollection" lazy="true" inverse="true">
64
+ <cache usage="read-write" />
65
+ <key column="DE_E_1631_1633_IDENTIFIER" />
66
+ <one-to-many class="pathology_scg.ExcisionalBiopsyColorectalDeepMargin" />
67
+ </set>
68
+ <one-to-one name="DistanceOfInvasiveCarcinoma" class="pathology_scg.DistanceOfInvasiveCarcinoma" property-ref="ExcisionalBiopsyBasedColorectalPathologyAnnotation" />
69
+ <one-to-one name="DistanceOfAdenoma" class="pathology_scg.DistanceOfAdenoma" property-ref="ExcisionalBiopsyBasedColorectalPathologyAnnotation" />
70
+ <many-to-one name="SpecimenCollectionGroup" class="pathology_scg.SpecimenCollectionGroup" column="DYEXTN_AS_379_1631" lazy="proxy" />
71
+ </joined-subclass>
72
+ <joined-subclass name="pathology_scg.ResectionBasedColorectalPathologyAnnotation" table="DE_E_1715" lazy="true">
73
+ <key column="IDENTIFIER" />
74
+ <property name="IntactnessOfMesorectum" type="java.lang.String" column="DE_AT_1721" />
75
+ <property name="specimenLength" type="java.lang.Double" column="DE_AT_1722" />
76
+ <set name="distalMarginCollection" lazy="true" inverse="true">
77
+ <cache usage="read-write" />
78
+ <key column="DE_E_1715_1719_IDENTIFIER" />
79
+ <one-to-many class="pathology_scg.DistalMargin" />
80
+ </set>
81
+ <set name="ResectionColorectalMesentricMargin" lazy="true" inverse="true">
82
+ <cache usage="read-write" />
83
+ <key column="DE_E_1715_1718_IDENTIFIER" />
84
+ <one-to-many class="pathology_scg.MesentricMargin" />
85
+ </set>
86
+ <set name="ResectionColorectalRadialMargin" lazy="true" inverse="true">
87
+ <cache usage="read-write" />
88
+ <key column="DE_E_1715_1717_IDENTIFIER" />
89
+ <one-to-many class="pathology_scg.RadialMargin" />
90
+ </set>
91
+ <many-to-one name="SpecimenCollectionGroup" class="pathology_scg.SpecimenCollectionGroup" column="DYEXTN_AS_379_1715" lazy="proxy" />
92
+ <set name="proximalMarginCollection" lazy="true" inverse="true">
93
+ <cache usage="read-write" />
94
+ <key column="DE_E_1715_1720_IDENTIFIER" />
95
+ <one-to-many class="pathology_scg.ProximalMargin" />
96
+ </set>
97
+ </joined-subclass>
98
+ <joined-subclass name="pathology_scg.LocalExcisionBasedColorectalPathologyAnnotation" table="DE_E_1788" lazy="true">
99
+ <key column="IDENTIFIER" />
100
+ <set name="localExcisionColorectalLateralMargin" lazy="true" inverse="true">
101
+ <cache usage="read-write" />
102
+ <key column="DE_E_1788_1793_IDENTIFIER" />
103
+ <one-to-many class="pathology_scg.LocalExcisionColorectalLateralMargin" />
104
+ </set>
105
+ <set name="localExcisionColorectalDeepMargin" lazy="true" inverse="true">
106
+ <cache usage="read-write" />
107
+ <key column="DE_E_1788_1791_IDENTIFIER" />
108
+ <one-to-many class="pathology_scg.LocalExcisionColorectalDeepMargin" />
109
+ </set>
110
+ <one-to-one name="SpecimenIntegrity" class="pathology_scg.SpecimenIntegrity" property-ref="LocalExcisionBasedColorectalPathologyAnnotation" />
111
+ <many-to-one name="SpecimenCollectionGroup" class="pathology_scg.SpecimenCollectionGroup" column="DYEXTN_AS_379_1788" lazy="proxy" />
112
+ <one-to-one name="distanceOfTumor" class="pathology_scg.DistanceFromAnalVerge" property-ref="localExcisionBasedColorectalPathologyAnnotation" />
113
+ </joined-subclass>
114
+ </joined-subclass>
115
+ <joined-subclass name="pathology_scg.ProstatePathologyAnnotation" table="DE_E_1545" lazy="true">
116
+ <key column="IDENTIFIER" />
117
+ <property name="PeriprostaticFatInvasion" type="java.lang.String" column="DE_AT_1548" />
118
+ <property name="SeminalVesicleInvasion" type="java.lang.String" column="DE_AT_1549" />
119
+ <property name="ProportionOrPercentOfProstaticTissueInvolvedByTumor" type="java.lang.Double" column="DE_AT_1550" />
120
+ <one-to-one name="GleasonScore" class="pathology_scg.GleasonScore" property-ref="ProstatePathologyAnnotation" />
121
+ <joined-subclass name="pathology_scg.NeedleBiopsyProstatePathologyAnnotation" table="DE_E_1652" lazy="true">
122
+ <key column="IDENTIFIER" />
123
+ <property name="TotalNumberOfCores" type="java.lang.Long" column="DE_AT_1654" />
124
+ <property name="NumberOfPositiveCores" type="java.lang.Long" column="DE_AT_1655" />
125
+ <property name="OtherQuantitiation" type="java.lang.String" column="DE_AT_1656" />
126
+ <property name="CoreLengthInMillimeter" type="java.lang.Double" column="DE_AT_1657" />
127
+ <property name="TotalLinearCarcinomaInMillimeter" type="java.lang.Double" column="DE_AT_1658" />
128
+ <many-to-one name="SpecimenCollectionGroup" class="pathology_scg.SpecimenCollectionGroup" column="DYEXTN_AS_379_1652" lazy="proxy" />
129
+ </joined-subclass>
130
+ <joined-subclass name="pathology_scg.TransurethralProstaticResectionPathologyAnnotation" table="DE_E_1625" lazy="true">
131
+ <key column="IDENTIFIER" />
132
+ <property name="TotalNumberOfChips" type="java.lang.Long" column="DE_AT_1627" />
133
+ <property name="NumberOfPositiveChips" type="java.lang.Long" column="DE_AT_1628" />
134
+ <property name="IsTumorIncidentalHistologicFindingAbove5Percent" type="java.lang.Boolean" column="DE_AT_1629" />
135
+ <property name="SpecimenWeight" type="java.lang.Double" column="DE_AT_1630" />
136
+ <many-to-one name="SpecimenCollectionGroup" class="pathology_scg.SpecimenCollectionGroup" column="DYEXTN_AS_379_1625" lazy="proxy" />
137
+ </joined-subclass>
138
+ <joined-subclass name="pathology_scg.RadicalProstatectomyPathologyAnnotation" table="DE_E_1676" lazy="true">
139
+ <key column="IDENTIFIER" />
140
+ <one-to-one name="ExtraprostaticExtension" class="pathology_scg.ExtraprostaticExtension" property-ref="RadicalProstatectomyPathologyAnnotation" />
141
+ <many-to-one name="SpecimenCollectionGroup" class="pathology_scg.SpecimenCollectionGroup" column="DYEXTN_AS_379_1676" lazy="proxy" />
142
+ <one-to-one name="radicalProstatectomyMargin" class="pathology_scg.RadicalProstatectomyMargin" property-ref="radicalProstatectomyPathologyAnnotation" />
143
+ </joined-subclass>
144
+ <joined-subclass name="pathology_scg.RetropubicEnucleationPathologyAnnotation" table="DE_E_1794" lazy="true">
145
+ <key column="IDENTIFIER" />
146
+ <property name="SpecimenWeight" type="java.lang.Double" column="DE_AT_1796" />
147
+ <many-to-one name="SpecimenCollectionGroup" class="pathology_scg.SpecimenCollectionGroup" column="DYEXTN_AS_379_1794" lazy="proxy" />
148
+ </joined-subclass>
149
+ </joined-subclass>
150
+ <joined-subclass name="pathology_scg.LungPathologyAnnotation" table="DE_E_1516" lazy="true">
151
+ <key column="IDENTIFIER" />
152
+ <joined-subclass name="pathology_scg.LungBiopsyPathologyAnnotation" table="DE_E_1559" lazy="true">
153
+ <key column="IDENTIFIER" />
154
+ <property name="VisceralPleuraInvasion" type="java.lang.String" column="DE_AT_1561" />
155
+ <many-to-one name="SpecimenCollectionGroup" class="pathology_scg.SpecimenCollectionGroup" column="DYEXTN_AS_379_1559" lazy="proxy" />
156
+ </joined-subclass>
157
+ <joined-subclass name="pathology_scg.LungResectionBasedPathologyAnnotation" table="DE_E_1518" lazy="true">
158
+ <key column="IDENTIFIER" />
159
+ <property name="ArterialInvasion" type="java.lang.String" column="DE_AT_1522" />
160
+ <property name="OtherTumorExtensions" type="java.lang.String" column="DE_AT_1523" />
161
+ <set name="DirectExtensionOfTumor" lazy="true" inverse="true">
162
+ <cache usage="read-write" />
163
+ <key column="DE_E_1518_1521_IDENTIFIER" />
164
+ <one-to-many class="pathology_scg.DirectExtensionOfTumor" />
165
+ </set>
166
+ <many-to-one name="SpecimenCollectionGroup" class="pathology_scg.SpecimenCollectionGroup" column="DYEXTN_AS_379_1518" lazy="proxy" />
167
+ <set name="LungResectionMargin" lazy="true" inverse="true">
168
+ <cache usage="read-write" />
169
+ <key column="DE_E_1518_1520_IDENTIFIER" />
170
+ <one-to-many class="pathology_scg.LungResectionMargin" />
171
+ </set>
172
+ </joined-subclass>
173
+ </joined-subclass>
174
+ <joined-subclass name="pathology_scg.KidneyPathologyAnnotation" table="DE_E_1536" lazy="true">
175
+ <key column="IDENTIFIER" />
176
+ <property name="PercentOfSarcomatoidElement" type="java.lang.Double" column="DE_AT_1538" />
177
+ <joined-subclass name="pathology_scg.KidneyBiopsyBasedPathologyAnnotation" table="DE_E_1539" lazy="true">
178
+ <key column="IDENTIFIER" />
179
+ <many-to-one name="SpecimenCollectionGroup" class="pathology_scg.SpecimenCollectionGroup" column="DYEXTN_AS_379_1539" lazy="proxy" />
180
+ </joined-subclass>
181
+ <joined-subclass name="pathology_scg.KidneyNephrectomyBasedPathologyAnnotation" table="DE_E_1797" lazy="true">
182
+ <key column="IDENTIFIER" />
183
+ <property name="AdrenalGlandStage" type="java.lang.String" column="DE_AT_1801" />
184
+ <property name="Focality" type="java.lang.String" column="DE_AT_1802" />
185
+ <one-to-one name="KidneyNephrectomyMargin" class="pathology_scg.KidneyNephrectomyMargin" property-ref="KidneyNephrectomyBasedPathologyAnnotation" />
186
+ <set name="MacroscopicExtentOfTumor" lazy="true" inverse="true">
187
+ <cache usage="read-write" />
188
+ <key column="DE_E_1797_1800_IDENTIFIER" />
189
+ <one-to-many class="pathology_scg.MacroscopicExtentOfTumor" />
190
+ </set>
191
+ <many-to-one name="SpecimenCollectionGroup" class="pathology_scg.SpecimenCollectionGroup" column="DYEXTN_AS_379_1797" lazy="proxy" />
192
+ </joined-subclass>
193
+ </joined-subclass>
194
+ <joined-subclass name="pathology_scg.PancreasPathologyAnnotation" table="DE_E_1705" lazy="true">
195
+ <key column="IDENTIFIER" />
196
+ <one-to-one name="pancreaseMargin" class="pathology_scg.PancreasMargin" property-ref="pancreasePathologyAnnotation" />
197
+ <set name="otherResectedOrgans" lazy="true" inverse="true">
198
+ <cache usage="read-write" />
199
+ <key column="DE_E_1705_1708_IDENTIFIER" />
200
+ <one-to-many class="pathology_scg.OtherResectedOrgans" />
201
+ </set>
202
+ <many-to-one name="SpecimenCollectionGroup" class="pathology_scg.SpecimenCollectionGroup" column="DYEXTN_AS_379_1705" lazy="proxy" />
203
+ </joined-subclass>
204
+ <joined-subclass name="pathology_scg.MelanomaPathologyAnnotation" table="DE_E_1735" lazy="true">
205
+ <key column="IDENTIFIER" />
206
+ <property name="SatelliteNoduleStatus" type="java.lang.String" column="DE_AT_1744" />
207
+ <property name="MitoticIndex" type="java.lang.String" column="DE_AT_1743" />
208
+ <property name="TumorRegression" type="java.lang.String" column="DE_AT_1742" />
209
+ <property name="TumorInfiltratingLymphocytes" type="java.lang.String" column="DE_AT_1741" />
210
+ <property name="DepthOfInvasionCannotBeDetermined" type="java.lang.Boolean" column="DE_AT_1740" />
211
+ <property name="DepthOfInvasion" type="java.lang.Double" column="DE_AT_1739" />
212
+ <property name="Ulceration" type="java.lang.String" column="DE_AT_1738" />
213
+ <property name="Pigmentation" type="java.lang.String" column="DE_AT_1737" />
214
+ <property name="MacroscopicTumor" type="java.lang.String" column="DE_AT_1736" />
215
+ <set name="lateralMarginCollection" lazy="true" inverse="true">
216
+ <cache usage="read-write" />
217
+ <key column="DE_E_1735_1745_IDENTIFIER" />
218
+ <one-to-many class="pathology_scg.LateralMelanomaMargin" />
219
+ </set>
220
+ <set name="SatelliteNodule" lazy="true" inverse="true">
221
+ <cache usage="read-write" />
222
+ <key column="DE_E_1735_1746_IDENTIFIER" />
223
+ <one-to-many class="pathology_scg.SatelliteNodule" />
224
+ </set>
225
+ <many-to-one name="SpecimenCollectionGroup" class="pathology_scg.SpecimenCollectionGroup" column="DYEXTN_AS_379_1735" lazy="proxy" />
226
+ <set name="deepMarginCollection" lazy="true" inverse="true">
227
+ <cache usage="read-write" />
228
+ <key column="DE_E_1735_1747_IDENTIFIER" />
229
+ <one-to-many class="pathology_scg.DeepMelanomaMargin" />
230
+ </set>
231
+ </joined-subclass>
232
+ <joined-subclass name="pathology_scg.BreastPathologyAnnotation" table="DE_E_1754" lazy="true">
233
+ <key column="IDENTIFIER" />
234
+ <property name="mitoticCountIfOtherGradingSystemUsed" type="java.lang.Integer" column="DE_AT_1760" />
235
+ <property name="LymphNodeSampling" type="java.lang.String" column="DE_AT_1761" />
236
+ <set name="Microcalcification" lazy="true" inverse="true">
237
+ <cache usage="read-write" />
238
+ <key column="DE_E_1754_1756_IDENTIFIER" />
239
+ <one-to-many class="pathology_scg.Microcalcification" />
240
+ </set>
241
+ <one-to-one name="SizeOfInvasiveCarcinoma" class="pathology_scg.SizeOfInvasiveCarcinoma" property-ref="BreastPathologyAnnotation" />
242
+ <set name="breastMarginCollection" lazy="true" inverse="true">
243
+ <cache usage="read-write" />
244
+ <key column="DE_E_1754_1758_IDENTIFIER" />
245
+ <one-to-many class="pathology_scg.BreastMargin" />
246
+ </set>
247
+ <one-to-one name="NottinghamHistologicScore" class="pathology_scg.NottinghamHistologicScore" property-ref="BreastPathologyAnnotation" />
248
+ <one-to-one name="SizeOfSpecimen" class="pathology_scg.SizeOfSpecimen" property-ref="BreastPathologyAnnotation" />
249
+ <many-to-one name="SpecimenCollectionGroup" class="pathology_scg.SpecimenCollectionGroup" column="DYEXTN_AS_379_1754" lazy="proxy" />
250
+ </joined-subclass>
251
+ <joined-subclass name="pathology_scg.CNSPathologyAnnotation" table="DE_E_1773" lazy="true">
252
+ <key column="IDENTIFIER" />
253
+ <one-to-one name="cnsMargin" class="pathology_scg.CNSMargin" property-ref="cnsPathologyAnnotation" />
254
+ <one-to-one name="SpecimenSize" class="pathology_scg.SpecimenSize" property-ref="CNSPathologyAnnotation" />
255
+ <many-to-one name="SpecimenCollectionGroup" class="pathology_scg.SpecimenCollectionGroup" column="DYEXTN_AS_379_1773" lazy="proxy" />
256
+ </joined-subclass>
257
+ </joined-subclass>
258
+ </class>
259
+ </hibernate-mapping>
260
+
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="BreastMargin" table="DE_E_1667" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="MarginLocation" type="java.lang.String" column="DE_AT_1671" />
11
+ <property name="MarginStatus" type="java.lang.String" column="DE_AT_1672" />
12
+ <many-to-one name="breastPathologyAnnotation" class="pathology_scg.BreastPathologyAnnotation" column="DE_E_1754_1758_IDENTIFIER" lazy="proxy" />
13
+ <one-to-one name="BreastMarginUninvolved" class="pathology_scg.BreastMarginUninvolved" property-ref="BreastMargin" />
14
+ <set name="involvedMarginCollection" lazy="true" inverse="true">
15
+ <cache usage="read-write" />
16
+ <key column="DE_E_1667_1670_IDENTIFIER" />
17
+ <one-to-many class="pathology_scg.BreastMarginInvolved" />
18
+ </set>
19
+ </class>
20
+ </hibernate-mapping>
21
+
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="BreastMarginInvolved" table="DE_E_1659" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="OtherExtentOfInvolvement" type="java.lang.String" column="DE_AT_1661" />
11
+ <property name="ExtentOfInvolvement" type="java.lang.String" column="DE_AT_1662" />
12
+ <many-to-one name="breastMargin" class="pathology_scg.BreastMargin" column="DE_E_1667_1670_IDENTIFIER" lazy="proxy" />
13
+ </class>
14
+ </hibernate-mapping>
15
+
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="BreastMarginUninvolved" table="DE_E_1673" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="closestDistanceToTumor" type="java.lang.Double" column="DE_AT_1675" />
11
+ <many-to-one name="BreastMargin" class="pathology_scg.BreastMargin" column="DE_E_1667_1669_IDENTIFIER" unique="true" lazy="proxy" />
12
+ </class>
13
+ </hibernate-mapping>
14
+
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="CNSMargin" table="DE_E_1777" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="MarginStatus" type="java.lang.String" column="DE_AT_1780" />
11
+ <set name="CNSMarginLocation" lazy="true" inverse="true">
12
+ <cache usage="read-write" />
13
+ <key column="DE_E_1777_1779_IDENTIFIER" />
14
+ <one-to-many class="pathology_scg.CNSMarginLocation" />
15
+ </set>
16
+ <many-to-one name="cnsPathologyAnnotation" class="pathology_scg.CNSPathologyAnnotation" column="DE_E_1773_1776_IDENTIFIER" unique="true" lazy="proxy" />
17
+ </class>
18
+ </hibernate-mapping>
19
+
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="CNSMarginLocation" table="DE_E_1781" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="MarginLocation" type="java.lang.String" column="DE_AT_1783" />
11
+ <many-to-one name="CNSMargin" class="pathology_scg.CNSMargin" column="DE_E_1777_1779_IDENTIFIER" lazy="proxy" />
12
+ </class>
13
+ </hibernate-mapping>
14
+
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="CarcinomaInSituStatus" table="DE_E_1437" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="Status" type="java.lang.String" column="DE_AT_1439" />
11
+ <many-to-one name="PancreasMarginUninvolvedByInvasiveCarcinoma" class="pathology_scg.PancreasMarginUninvolvedByInvasiveCarcinoma" column="DE_E_1620_1622_IDENTIFIER" lazy="proxy" />
12
+ </class>
13
+ </hibernate-mapping>
14
+
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="ColorectalLocalExcisionMarginUninvolved" table="DE_E_1770" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="closestDistanceToTumor" type="java.lang.Double" column="DE_AT_1772" />
11
+ <many-to-one name="LocalExcisionColorectalDeepMargin" class="pathology_scg.LocalExcisionColorectalDeepMargin" column="DE_E_1784_1786_IDENTIFIER" unique="true" lazy="proxy" />
12
+ <many-to-one name="LocalExcisionColorectalLateralMargin" class="pathology_scg.LocalExcisionColorectalLateralMargin" column="DE_E_1765_1767_IDENTIFIER" lazy="proxy" />
13
+ </class>
14
+ </hibernate-mapping>
15
+
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="ColorectalResectedMarginUninvolved" table="DE_E_1697" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="marginLocation" type="java.lang.String" column="DE_AT_1699" />
11
+ <property name="closestDistanceToTumor" type="java.lang.Double" column="DE_AT_1700" />
12
+ <many-to-one name="resectionColorectalProximalMargin" class="pathology_scg.ProximalMargin" column="DE_E_1723_1725_IDENTIFIER" unique="true" lazy="proxy" />
13
+ <set name="resectionColorectalRadialMargin" lazy="true" inverse="true">
14
+ <cache usage="read-write" />
15
+ <key column="DE_E_1697_1733_IDENTIFIER" />
16
+ <one-to-many class="pathology_scg.RadialMargin" />
17
+ </set>
18
+ <many-to-one name="resectionColorectalMesentricMargin" class="pathology_scg.MesentricMargin" column="DE_E_1693_1695_IDENTIFIER" unique="true" lazy="proxy" />
19
+ <many-to-one name="resectionColorectalDistalMargin" class="pathology_scg.DistalMargin" column="DE_E_1727_1729_IDENTIFIER" unique="true" lazy="proxy" />
20
+ </class>
21
+ </hibernate-mapping>
22
+
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="Cytogenetics" table="DE_E_1589" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="Result" type="java.lang.String" column="DE_AT_1591" />
11
+ <property name="Status" type="java.lang.String" column="DE_AT_1592" />
12
+ <many-to-one name="BaseHaematologyPathologyAnnotation" class="pathology_scg.BaseHaematologyPathologyAnnotation" column="DE_E_1577_1579_IDENTIFIER" unique="true" lazy="proxy" />
13
+ </class>
14
+ </hibernate-mapping>
15
+
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="DeepMelanomaMargin" table="DE_E_1600" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="MarginLocation" type="java.lang.String" column="DE_AT_1603" />
11
+ <property name="MarginStatus" type="java.lang.String" column="DE_AT_1604" />
12
+ <one-to-one name="UninvolvedMelanomaMargin" class="pathology_scg.UninvolvedMelanomaMargin" property-ref="DeepMelanomaMargin" />
13
+ <many-to-one name="melanomaPathologyAnnotation" class="pathology_scg.MelanomaPathologyAnnotation" column="DE_E_1735_1747_IDENTIFIER" lazy="proxy" />
14
+ </class>
15
+ </hibernate-mapping>
16
+
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="Details" table="DE_E_1458" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="Detail" type="java.lang.String" column="DE_AT_1460" />
11
+ <many-to-one name="AdditionalFinding" class="pathology_scg.AdditionalFinding" column="DE_E_1454_1456_IDENTIFIER" lazy="proxy" />
12
+ </class>
13
+ </hibernate-mapping>
14
+
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="DirectExtensionOfTumor" table="DE_E_1524" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="ExtensionOfTumor" type="java.lang.String" column="DE_AT_1526" />
11
+ <many-to-one name="LungResectionBasedPathologyAnnotation" class="pathology_scg.LungResectionBasedPathologyAnnotation" column="DE_E_1518_1521_IDENTIFIER" lazy="proxy" />
12
+ </class>
13
+ </hibernate-mapping>
14
+
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="DistalMargin" table="DE_E_1727" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="MarginStatus" type="java.lang.String" column="DE_AT_1730" />
11
+ <one-to-one name="uninvolvedMargin" class="pathology_scg.ColorectalResectedMarginUninvolved" property-ref="resectionColorectalDistalMargin" />
12
+ <many-to-one name="resectionBasedColorectalPathologyAnnotation" class="pathology_scg.ResectionBasedColorectalPathologyAnnotation" column="DE_E_1715_1719_IDENTIFIER" lazy="proxy" />
13
+ </class>
14
+ </hibernate-mapping>
15
+
@@ -0,0 +1,23 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="DistanceFromAnalVerge" table="DE_E_1640" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="LengthInCentimeters" type="java.lang.Long" column="DE_AT_1642" />
11
+ <property name="DistanceKnown" type="java.lang.Boolean" column="DE_AT_1643" />
12
+ <many-to-one name="localExcisionBasedColorectalPathologyAnnotation" class="pathology_scg.LocalExcisionBasedColorectalPathologyAnnotation" column="DE_E_1788_1792_IDENTIFIER" unique="true" lazy="proxy" />
13
+ <joined-subclass name="pathology_scg.DistanceOfAdenoma" table="DE_E_1845" lazy="true">
14
+ <key column="IDENTIFIER" />
15
+ <many-to-one name="ExcisionalBiopsyBasedColorectalPathologyAnnotation" class="pathology_scg.ExcisionalBiopsyBasedColorectalPathologyAnnotation" column="DE_E_1631_1844_IDENTIFIER" unique="true" lazy="proxy" />
16
+ </joined-subclass>
17
+ <joined-subclass name="pathology_scg.DistanceOfInvasiveCarcinoma" table="DE_E_1847" lazy="true">
18
+ <key column="IDENTIFIER" />
19
+ <many-to-one name="ExcisionalBiopsyBasedColorectalPathologyAnnotation" class="pathology_scg.ExcisionalBiopsyBasedColorectalPathologyAnnotation" column="DE_E_1631_1843_IDENTIFIER" unique="true" lazy="proxy" />
20
+ </joined-subclass>
21
+ </class>
22
+ </hibernate-mapping>
23
+
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
+
4
+ <hibernate-mapping package="pathology_scg">
5
+ <class name="DistantMetastasis" table="DE_E_1497" lazy="true" polymorphism="explicit">
6
+ <cache usage="read-write" />
7
+ <id name="id" type="java.lang.Long" column="IDENTIFIER">
8
+ <generator class="assigned" />
9
+ </id>
10
+ <property name="MetastasisStage" type="java.lang.String" column="DE_AT_1500" />
11
+ <set name="MetastasisTissueSite" lazy="true" inverse="true">
12
+ <cache usage="read-write" />
13
+ <key column="DE_E_1497_1499_IDENTIFIER" />
14
+ <one-to-many class="pathology_scg.MetastasisTissueSite" />
15
+ </set>
16
+ <many-to-one name="pathologicStaging" class="pathology_scg.PathologicalStaging" column="DE_E_1484_1487_IDENTIFIER" unique="true" lazy="proxy" />
17
+ </class>
18
+ </hibernate-mapping>
19
+