File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
main/java/com/imsweb/seerapi/client/disease
test/java/com/imsweb/seerapi/client/disease Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,8 @@ public class Disease extends Publishable {
105105 private List <YearRangeString > _samePrimariesText ;
106106 @ JsonProperty ("progression" )
107107 private List <YearRangeString > _progression ;
108+ @ JsonProperty ("diagnostic_confirmation" )
109+ private List <YearRangeString > _diagnosticConfirmation ;
108110
109111 /**
110112 * Solid tumor specific
@@ -444,6 +446,14 @@ public void setProgression(List<YearRangeString> progression) {
444446 _progression = progression ;
445447 }
446448
449+ public List <YearRangeString > getDiagnosticConfirmation () {
450+ return _diagnosticConfirmation ;
451+ }
452+
453+ public void setDiagnosticConfirmation (List <YearRangeString > diagnosticConfirmation ) {
454+ _diagnosticConfirmation = diagnosticConfirmation ;
455+ }
456+
447457 // values for the datasources
448458 public enum Type {
449459 SOLID_TUMOR ,
Original file line number Diff line number Diff line change @@ -96,16 +96,6 @@ public void testDiseaseById() throws IOException {
9696 assertNull (disease .getFieldNotes ());
9797 assertNull (disease .getScore ());
9898 assertNull (disease .getGlossaryMatches ());
99- //assertNull(disease.getHistory());
100-
101- // assertTrue(disease.getHistory().size() > 0);
102- //
103- // DiseaseHistoryEvent event = disease.getHistory().get(0);
104- // assertEquals("[email protected] ", event.getUser()); 105- // assertNotNull(event.getDate());
106- // assertNull(event.getOld());
107- // assertNull(event.getNew());
108-
10999 assertEquals (1 , disease .getPrimarySite ().size ());
110100 assertEquals ("C421" , disease .getPrimarySite ().get (0 ).getLow ());
111101 assertEquals ("C421" , disease .getPrimarySite ().get (0 ).getHigh ());
@@ -142,6 +132,7 @@ public void testDiseaseById() throws IOException {
142132 assertEquals ("See abstractor notes" , disease .getModuleId ().get (0 ).getValue ());
143133 assertNull (disease .getBiomarkers ());
144134 assertNull (disease .getTreatmentText ());
135+ assertTrue (disease .getDiagnosticConfirmation ().get (0 ).getValue ().startsWith ("This histology can be determined by positive histology" ));
145136 }
146137
147138 @ Test
You can’t perform that action at this time.
0 commit comments