Difference between revisions of "CTS2 RDF Plugin"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
* Find CodeSystemByURI: {{CTS2_RDF_base}}codesystembyuri?uri=http://bioportal.bioontology.org/ontologies/1030 | * Find CodeSystemByURI: {{CTS2_RDF_base}}codesystembyuri?uri=http://bioportal.bioontology.org/ontologies/1030 | ||
* Find CodeSystemByURI with redirect: {{CTS2_RDF_base}}codesystembyuri?uri=http://bioportal.bioontology.org/ontologies/1030&redirect=true | * Find CodeSystemByURI with redirect: {{CTS2_RDF_base}}codesystembyuri?uri=http://bioportal.bioontology.org/ontologies/1030&redirect=true | ||
+ | |||
+ | |||
=== CodeSystemCatalogVersionQuery === | === CodeSystemCatalogVersionQuery === | ||
Line 27: | Line 29: | ||
* CodeSystemCatalogRead by Name ** {{CTS2_RDF_base}}codesystem/CARO/version/CARO-46255 | * CodeSystemCatalogRead by Name ** {{CTS2_RDF_base}}codesystem/CARO/version/CARO-46255 | ||
* CodeSystemCatalogRead by Official Version Id ** {{CTS2_RDF_base}}codesystem/CL/version/2011-06-03 | * CodeSystemCatalogRead by Official Version Id ** {{CTS2_RDF_base}}codesystem/CL/version/2011-06-03 | ||
+ | |||
+ | |||
=== EntityDescriptionQuery === | === EntityDescriptionQuery === | ||
Line 38: | Line 42: | ||
*: NOTE: Does not support Entity lookup by URI (See notes below) | *: NOTE: Does not support Entity lookup by URI (See notes below) | ||
* 'Exists' via HEAD call | * 'Exists' via HEAD call | ||
+ | |||
+ | |||
=== ValueSetCatalogQuery === | === ValueSetCatalogQuery === | ||
Line 55: | Line 61: | ||
* Get ResolvedValueSet {{CTS2_RDF_base}}valueset/SNOMEDCT-TF/definition/SNOMEDCT-TF-43049/resolution/43049 | * Get ResolvedValueSet {{CTS2_RDF_base}}valueset/SNOMEDCT-TF/definition/SNOMEDCT-TF-43049/resolution/43049 | ||
* Get ResolvedValueSet {{CTS2_RDF_base}}valueset/SNOMEDCT-TF/definition/SNOMEDCT-TF-43049/resolution/43049?matchvalue=toe | * Get ResolvedValueSet {{CTS2_RDF_base}}valueset/SNOMEDCT-TF/definition/SNOMEDCT-TF-43049/resolution/43049?matchvalue=toe | ||
− | |||
Line 64: | Line 69: | ||
* AssociationQuery (subjectof) {{CTS2_RDF_base}}codesystem/ICD9CM/version/ICD9CM-47178/entity/E008/subjectof | * AssociationQuery (subjectof) {{CTS2_RDF_base}}codesystem/ICD9CM/version/ICD9CM-47178/entity/E008/subjectof | ||
* AssociationQuery (targetof) {{CTS2_RDF_base}}codesystem/ICD9CM/version/ICD9CM-47178/entity/E008/targetof | * AssociationQuery (targetof) {{CTS2_RDF_base}}codesystem/ICD9CM/version/ICD9CM-47178/entity/E008/targetof | ||
− | |||
− | |||
− | |||
− |
Revision as of 13:06, 1 June 2012
CTS2 REST Services
CodeSystemCatalogQuery
- Query: http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystems
- Query with 'name' filter: http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystems?matchvalue=nci&filtercomponent=resourceName
- Query with 'description' filter: http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystems?matchvalue=databases&filtercomponent=resourceSynopsis
- Get CodeSystems With Specified Limit: http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystems?maxtoreturn=5
- Get CodeSystems With Specified Limit and Page: http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystems?maxtoreturn=5&page=10
CodeSystemCatalogRead
- Read by name: http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystem/TGMA
- Read by uri: http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystembyuri?uri=http://bioportal.bioontology.org/ontologies/1030
- Find CodeSystemByURI: http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystembyuri?uri=http://bioportal.bioontology.org/ontologies/1030
- Find CodeSystemByURI with redirect: http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystembyuri?uri=http://bioportal.bioontology.org/ontologies/1030&redirect=true
CodeSystemCatalogVersionQuery
- Query: http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystemversions
- Query code system versions of code system: http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystem/SNOMEDCT/versions
- Query with 'name' filter: http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystemversions?matchvalue=nci&filtercomponent=resourceName
- Query with 'description' filter: http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystemversions?matchvalue=anatomy&filtercomponent=resourceSynopsis
- CodeSystemCatalogQuery by Description (default) http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystemversions?matchvalue=bioinformatics
- CodeSystemCatalogQuery by Name http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystemversions?filtercomponent=resourceName&matchvalue=bioa
- CodeSystemCatalogQuery Version of CodeSystem by CodeSystem URI http://informatics.mayo.edu/cts2/services/bioportal-rdf//codesystembyuri/versions?uri=http://bioportal.bioontology.org/ontologies/1030
- CodeSystemCatalogQuery Version of CodeSystem by CodeSystem URI (with redirect) http://informatics.mayo.edu/cts2/services/bioportal-rdf//codesystembyuri/versions?uri=http://bioportal.bioontology.org/ontologies/1030&redirect=true
CodeSystemVersionCatalogRead
- CodeSystemCatalogRead by Name ** http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystem/CARO/version/CARO-46255
- CodeSystemCatalogRead by Official Version Id ** http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystem/CL/version/2011-06-03
EntityDescriptionQuery
- Query with 'description' http://informatics.mayo.edu/cts2/services/bioportal-rdf/entities?matchvalue=swelling
- Get all entities of code system version: http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystem/AIR/version/AIR-42298/entities
- Query entities of code system version with 'keyword' filter: http://informatics.mayo.edu/cts2/rest/codesystem/LNC/version/LNC_226_RRF/entities?matchvalue=100
EntityDescriptionRead
- Read by name: http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystem/LNC/version/LNC_226_RRF/entity/LP31957-1
- Or using CSV OfficialResourceVersionId : http://informatics.mayo.edu/cts2/rest/codesystem/LNC/version/226/entity/LP31957-1
- NOTE: Does not support Entity lookup by URI (See notes below)
- 'Exists' via HEAD call
ValueSetCatalogQuery
- Query: http://informatics.mayo.edu/cts2/services/bioportal-rdf/valuesets
- ValueSetCatalogQuery by Description (default) http://informatics.mayo.edu/cts2/services/bioportal-rdf//valuesets?matchvalue=subtree
- Query with 'name' filter: http://informatics.mayo.edu/cts2/services/bioportal-rdf/valuesets?matchvalue=set&filtercomponent=resourceName
- Query with 'description' filter: http://informatics.mayo.edu/cts2/services/bioportal-rdf/valuesets?matchvalue=anatomy&filtercomponent=resourceSynopsis
- Query based on code system restriction: http://informatics.mayo.edu/cts2/services/bioportal-rdf/valuesets?codesystem=SNOMEDCT
ValueSetCatalogRead
ResolvedValueSetQuery
- Get all ResolvedValueSets http://informatics.mayo.edu/cts2/services/bioportal-rdf/resolvedvaluesets
- Get ResolvedValueSet http://informatics.mayo.edu/cts2/services/bioportal-rdf/valueset/SNOMEDCT-TF/definition/SNOMEDCT-TF-43049/resolution/43049
- Get ResolvedValueSet http://informatics.mayo.edu/cts2/services/bioportal-rdf/valueset/SNOMEDCT-TF/definition/SNOMEDCT-TF-43049/resolution/43049?matchvalue=toe
AssociationQuery
- AssociationQuery (all of CodeSystemVersion) http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystem/ICD9CM/version/ICD9CM-47178/associations
- AssociationQuery (children) http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystem/ICD9CM/version/ICD9CM-47178/entity/E008/children
- AssociationQuery (subjectof) http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystem/ICD9CM/version/ICD9CM-47178/entity/E008/subjectof
- AssociationQuery (targetof) http://informatics.mayo.edu/cts2/services/bioportal-rdf/codesystem/ICD9CM/version/ICD9CM-47178/entity/E008/targetof