API changes
-
Change method signature of
DiseaseService.samePrimaries
call./** * Return whether the 2 morphologies represent the same primary for the given year. * @param version Disease version * @param morphology1 ICD O3 Morphology * @param morphology2 ICD O3 Morphology * @param year1 Year of Diagnosis1 * @param year2 Year of Diagnosis2 * @return a SamePrimary object */ @GET("disease/{version}/same_primary") Call<SamePrimaries> samePrimaries(@Path("version") String version, @Query("d1") String morphology1, @Query("d2") String morphology2, @Query("year1") String year1, @Query("year2") String year2);
The method now takes two year values. The result entity was also updated to reflect the new parameters.
@JsonProperty("disease1") protected String _disease1; @JsonProperty("disease2") protected String _disease2; @JsonProperty("year1") protected Integer _year1; @JsonProperty("year2") protected Integer _year2; @JsonProperty("is_same") protected Boolean _isSame;
-
The
NdcProduct
entity was updated to reflect changes in the API. TheNdcSeerInfo
sub-entity was modified with the following changes:subcategory
was removed- a new boolean field
exclusiveAgent
was added