All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.imsweb.seerapi.client.mph.MphService Maven / Gradle / Ivy

There is a newer version: 5.7
Show newest version
/*
 * Copyright (C) 2016 Information Management Services, Inc.
 */
package com.imsweb.seerapi.client.mph;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;
import retrofit2.http.Query;

import com.imsweb.seerapi.client.mph.MphInput.HistologyMatchMode;

public interface MphService {

    /**
     * Uses multiple primary rules to compare two diseases using strict histology matching mode
     * @param pair a pair of diseases
     * @return a result indicating whether the two diseases are the same primary
     */
    @POST("mph")
    Call mph(@Body MphInputPair pair);

    /**
     * Uses multiple primary rules to compare two diseases
     * @param pair a pair of diseases
     * @param matchMode match mode
     * @return a result indicating whether the two diseases are the same primary
     */
    @POST("mph")
    Call mph(@Body MphInputPair pair, @Query("histology-matching-mode") HistologyMatchMode matchMode);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy