Releases: imsweb/seerapi-client-java
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
New field in staging error
The StagingError
entity returned from SEER*API now may include a list of columns involved in the error. The new field was added to the entity.
Bugfix
Added support for "source" in disease entity
A new field source
was added to the Disease
entity (#16)
Support SEER-specific NDC information
A new entity, seer
, was added to NDC in SEER*API. It contains SEER-managed fields about the drug. The new fields are:
seer_rx_id
link to SEER*Rxcategories
list of categories (i.e. HORMONAL_THERAPY, ANCILLARY, CHEMOTHERAPY, IMMUNOTHERAPY, RADIOPHARMACEUTICAL)subcategory
- String fieldmajor_drug_class
- String fieldminor_drug_class
- String fieldorphan_drug
- boolean fielddate_modified
- date theseer
information was updated
New NDC fields
The API now returns start_marketing_date
and end_marketing_date
in the list of packages for a drug. This is separate from those dates on the drug level. The client was updated to handle these new fields.
Fix error processing
SEER*API changed the format of the error entity that is returned for non-200 calls. The library was updated to reflect that change.
MPH
Add support for MPH
Support for the SEER implementation of the Multiple Primary and Histology Coding Rules was added to the client. The implementation combines Hematopoietic rules, SEER Multiple Primary and Histology Coding Rules. The rules used in the calculation are based on the diagnosis year and histology.
Fix memory leak
Under certain situations, the repeated creation of services was filling up metaspace. To be safe, the library creates all services on instantiation and uses cached copies on all calls.