Releases: imsweb/seerapi-client-java
Support additional NAACCR field information
Added additional fields to NaaccrField. section and default_value are now supported. These will get populated when SEER*API is updated next. #19
Missing getter
Fixed a bug where NdcSeerInfo was missing a getter for the new Exclusive Oncologic Agent field. This was an oversight and has now been corrected.
API changes
-
Change method signature of
DiseaseService.samePrimariescall./** * 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
NdcProductentity was updated to reflect changes in the API. TheNdcSeerInfosub-entity was modified with the following changes:subcategorywas removed- a new boolean field
exclusiveAgentwas 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_idlink to SEER*Rxcategorieslist 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 theseerinformation 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.