Skip to content

Commit cc7fa32

Browse files
authored
Added information about MPH API
1 parent a7878ea commit cc7fa32

1 file changed

Lines changed: 24 additions & 2 deletions

File tree

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ Download [the latest JAR][1] or grab via Maven:
2929
<dependency>
3030
<groupId>com.imsweb</groupId>
3131
<artifactId>seerapi-client-java</artifactId>
32-
<version>3.3</version>
32+
<version>3.4</version>
3333
</dependency>
3434
```
3535

3636
or via Gradle:
3737

3838
```
39-
compile 'com.imsweb:seerapi-client-java:3.3'
39+
compile 'com.imsweb:seerapi-client-java:3.4'
4040
```
4141

4242
## Usage
@@ -84,6 +84,28 @@ A searchable database of hematopoietic and lymphoid neoplasms and solid tumor di
8484
api.disease().samePrimaries("9870/3", "9872/3", "2010").execute().body()
8585
```
8686

87+
### Multiple Primaries (rest/mph)
88+
89+
The SEER implementation of the Multiple Primary and Histology Coding Rules. 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.
90+
91+
```java
92+
MphInput input1 = new MphInput();
93+
input1.setPrimarySite("C509");
94+
input1.setHistologyIcdO3("8000");
95+
input1.setBehaviorIcdO3("3");
96+
input1.setDateOfDiagnosisYear("2016");
97+
input1.setLaterality("1");
98+
99+
MphInput input2 = new MphInput();
100+
input2.setPrimarySite("C501");
101+
input2.setHistologyIcdO3("8000");
102+
input2.setBehaviorIcdO3("3");
103+
input2.setDateOfDiagnosisYear("2015");
104+
input2.setLaterality("1");
105+
106+
MphResult result = api.mph(new MphInputPair(input1, input2)).execute().body();
107+
```
108+
87109
### NAACCR (rest/naaccr)
88110

89111
The NAACCR API provides programmatic access to documentation for the NAACCR Standards for Cancer Registries Volume II. It includes

0 commit comments

Comments
 (0)