The Current State of CTS2
(Compared to the LexEVS API based on the Draft Standard for Trial Use)
The CTS2 REST API in LexEVS 6.1
The OMG CTS2 1.1 Specification is written as a REST based architecture. It can be implemented as a minimal set of modules as a result.
CodeSystemCatalogVersions Read
Returns a set of CodeSystemVersions
http://bmidev4:5555/cts2/codesystemversions
Output
CodeSystemVersions Query
Returns a set of CodeSystemVersions based on a text match
http://bmidev4:5555/cts2/codesystemversions?matchvalue=nci_thesaurus&filtercomponent=resourceName
Output
CodeSystemVersion Read
Returns a specific code system version
http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.07e
Output
Code System Entities
http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entities
Output
Enitity Read
http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entity/C3399
Output
Entity Query
http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entities?matchvalue=swelling
Output
Association Read
http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entity/C3399/children
http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entity/C3399/subjectof
<AssociationDirectory xmlns="http://schema.omg.org/spec/CTS2/1.0/Association" xmlns:core="http://schema.omg.org/spec/CTS2/1.0/Core"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schema.omg.org/spec/CTS2/1.0/Association http://www.omg.org/spec/cts2/201206/association/Association.xsd" complete="COMPLETE" numEntries="3"> <core:heading> <core:resourceRoot> codesystem/NCI_Thesaurus/version/10.10a/entity/C3399/subjectof </core:resourceRoot> <core:resourceURI> http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entity/C3399/subjectof </core:resourceURI> <core:accessDate>2013-09-13T16:11:23.417-05:00</core:accessDate> </core:heading> <entry> <subject uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C3399" href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entity/C3399"> <core:namespace>NCI_Thesaurus</core:namespace> <core:name>C3399</core:name> </subject> <predicate uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#A8"> <core:name>Concept_In_Subset</core:name> </predicate> <target> <core:entity uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C54450" href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entity/C54450"> <core:namespace>NCI_Thesaurus</core:namespace> <core:name>C54450</core:name> </core:entity> </target> <assertedBy> <core:version href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a">NCI_Thesaurus-10.10a</core:version> <core:codeSystem uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#">NCI_Thesaurus</core:codeSystem> </assertedBy> </entry> <entry> <subject uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C54450" href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entity/C54450"> <core:namespace>NCI_Thesaurus</core:namespace> <core:name>C54450</core:name> </subject> <predicate uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#A10"> <core:name>Has_CDRH_Parent</core:name> </predicate> <target> <core:entity uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C54027" href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entity/C54027"> <core:namespace>NCI_Thesaurus</core:namespace> <core:name>C54027</core:name> </core:entity> </target> <assertedBy> <core:version href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a">NCI_Thesaurus-10.10a</core:version> <core:codeSystem uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#">NCI_Thesaurus</core:codeSystem> </assertedBy> </entry> <entry> <subject uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C54027" href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entity/C54027"> <core:namespace>NCI_Thesaurus</core:namespace> <core:name>C54027</core:name> </subject> <predicate uri="http://www.w3.org/2000/01/rdf-schema#subClassOf"> <core:name>subClassOf</core:name> </predicate> <target> <core:entity uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C4876" href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entity/C4876"> <core:namespace>NCI_Thesaurus</core:namespace> <core:name>C4876</core:name> </core:entity> </target> <assertedBy> <core:version href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a">NCI_Thesaurus-10.10a</core:version> <core:codeSystem uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#">NCI_Thesaurus</core:codeSystem> </assertedBy> </entry> </AssociationDirectory>
http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entity/C3399/targetof
Association Query
Map Read
Map Query
ResolvedValueSet Read
ResolvedValueSet Query
ResolvedValueSetDefinition Read
ResolvedValueSetDefinition Query