The UMLS SOAP API is deprecated as of the 2020AA release. The SOAP API will be discontinued on December 31, 2020. SOAP API users are encouraged to switch to the REST API.
The Paging, Sorting, and Filtering (PSF) object of the UMLS SOAP allows you to customize the results of your Web service calls in a variety of ways. The PSF object allows a great deal of flexibility in customizing your view of returned data.
You can:
You can create a PSF object in java as follows:Psf psf = new Psf();
| Method | Use With | Use Case | Permitted Values | Default Value |
|---|---|---|---|---|
| setIncludeObsolete | UiLabel, UiLabelRootSource, AtomDTO | Include or exclude search results based on source-asserted obsolscence. | True, False | True |
| setIncludeSuppressible | UiLabel, UiLabelRootSource, AtomDTO | Include or exclude search results based on source-asserted obsolscence. | True, False | True |
| setIncludedLanguage | AtomDTO | Limit results to only include terms that meet the specified language abbreviation provided | Any valid language abbreviation in the UMLS | All languages are included by default |
| getIncludedTermTypes | AtomDTO | Limit results to include only atoms that match the specified term types | Any vaid term type in the UMLS | All term types are include by default |
| getIncludedSources | AtomDTO | Limit results to only include specific source vocabularies | Any valid source abbreviation (rsab) in the UMLS | All source vocabularies are included by default |
| getIncludedRelationLabels | AtomClusterRelationDTO | Limit results to include only relationships that meet the provided criteria | Any relation label in the UMLS | All relation labels are included by default |
| getIncludedAdditionalRelationLabels | AtomClusterRelationDTO | Limit results to include only additional relation labels that meet the provided criteria | Any additional relation label | All additional relation labels are included by default |
| getIncludedAttributeNames | AttributeDTO | Limit results to include only attributes that match the specified names | Any valid attribute name in the UMLS | All attribute names are included by default |
| setPageNum | any | Specify page number to retrieve | Any positive integer | 1 |
| setPageLn | any | Specify number of objects returned per page | Any positive integer between 25 - 1000 | 25 |
psf.setIncludeObsolete(false);
psf.setIncludeSuppressible(false);
psf.getIncludedTermTypes().add("PT");
psf.getIncludedTermTypes().add("FN");
psf.getIncludedRelationLabels().add("PAR");
psf.getIncludedRelationLabels().add("SY");
psf.getIncludedAdditionalRelationLabels().add("has_finding_site");
psf.getIncludedAdditionalRelationLabels().add("has_procedure_site");
psf.getIncludedAttributeNames().add("CONCEPTSTATUS");
psf.getIncludedAttributeNames().add("ISPRIMITIVE");
psf.setIncludedLanguage("CZE");
psf.getIncludedSources().add("SNOMEDCT_US");
psf.getIncludedSources().add("ICD10CM");
psf.setPageNum(2);
psf.setPageLn(50);