Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] RXNORM Properties

Michael Dorf mdorf at stanford.edu
Wed Jun 24 15:52:33 PDT 2020


Hi David,

Thanks for contacting us. All of the attributes of a calls are stored in the “properties” collection. You should be able to get those by using the “display” query parameter:

https://data.bioontology.org/search?q=Acetaminophen&ontologies=RXNORM&page=1&pagesize=2&roots_only=true&display=prefLabel,synonym,definition,notation,cui,semanticType,properties

Let me know if this works.

Thanks!

Michael

On Jun 24, 2020, at 8:52 AM, David Saylor <david.saylor at beyondlucid.com<mailto:david.saylor at beyondlucid.com>> wrote:

Hello, we are trying to use the BioPortal API to look up RXNORM codes.
We are able to do the search via a query like below.  What we really want to know is the more detailed properties of a particular

Here is the page for Acetaminophen (link<https://bioportal.bioontology.org/ontologies/RXNORM/?p=classes&conceptid=http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FRXNORM%2F161&jump_to_nav=true#details>).  We would really like to get the additional RXNORM properties from a page like, such as Has ingredient or Has ingredients.

Could you let me know the best way to pull out those properties?

Thanks and best regards,
David

Query
https://data.bioontology.org/search?q=Acetaminophen&ontologies=RXNORM&page=1&pagesize=2&roots_only=True


First Result
{
  "page": 1,
  "pageCount": 883,
  "totalCount": 1766,
  "prevPage": null,
  "nextPage": 2,
  "links": {
    "nextPage": "http://data.bioontology.org/search?q=Acetaminophen&ontologies=RXNORM&page=2&pagesize=2&roots_only=True",
    "prevPage": null
  },
  "collection": [
    {
      "prefLabel": "Acetaminophen",
      "cui": [
        "C0000970"
      ],
      "semanticType": [
        "T109",
        "T121"
      ],
      "obsolete": false,
      "matchType": "prefLabel",
      "ontologyType": "ONTOLOGY",
      "provisional": false,
      "@id": "http://purl.bioontology.org/ontology/RXNORM/161",
      "@type": "http://www.w3.org/2002/07/owl#Class",
      "links": {
        "self": "http://data.bioontology.org/ontologies/RXNORM/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FRXNORM%2F161",
        "ontology": "http://data.bioontology.org/ontologies/RXNORM",
        "children": "http://data.bioontology.org/ontologies/RXNORM/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FRXNORM%2F161/children",
        "parents": "http://data.bioontology.org/ontologies/RXNORM/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FRXNORM%2F161/parents",
        "descendants": "http://data.bioontology.org/ontologies/RXNORM/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FRXNORM%2F161/descendants",
        "ancestors": "http://data.bioontology.org/ontologies/RXNORM/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FRXNORM%2F161/ancestors",
        "instances": "http://data.bioontology.org/ontologies/RXNORM/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FRXNORM%2F161/instances",
        "tree": "http://data.bioontology.org/ontologies/RXNORM/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FRXNORM%2F161/tree",
        "notes": "http://data.bioontology.org/ontologies/RXNORM/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FRXNORM%2F161/notes",
        "mappings": "http://data.bioontology.org/ontologies/RXNORM/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FRXNORM%2F161/mappings",
        "ui": "http://bioportal.bioontology.org/ontologies/RXNORM?p=classes&conceptid=http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FRXNORM%2F161",
        "@context": {
          "self": "http://www.w3.org/2002/07/owl#Class",
          "ontology": "http://data.bioontology.org/metadata/Ontology",
          "children": "http://www.w3.org/2002/07/owl#Class",
          "parents": "http://www.w3.org/2002/07/owl#Class",
          "descendants": "http://www.w3.org/2002/07/owl#Class",
          "ancestors": "http://www.w3.org/2002/07/owl#Class",
          "instances": "http://data.bioontology.org/metadata/Instance",
          "tree": "http://www.w3.org/2002/07/owl#Class",
          "notes": "http://data.bioontology.org/metadata/Note",
          "mappings": "http://data.bioontology.org/metadata/Mapping",
          "ui": "http://www.w3.org/2002/07/owl#Class"
        }
      },
      "@context": {
        "@vocab": "http://data.bioontology.org/metadata/",
        "prefLabel": "http://data.bioontology.org/metadata/skosprefLabel",
        "obsolete": "http://data.bioontology.org/metadata/owlobsolete",
        "semanticType": "http://data.bioontology.org/metadata/umlssemanticType",
        "cui": "http://data.bioontology.org/metadata/umlscui"
      }
    }
  ]
}


David Saylor, Chief Engineer
Beyond Lucid Technologies, Inc.
(650) 648-ePCR office
(818) 660-5726 direct
_______________________________________________
bioontology-support mailing list
bioontology-support at lists.stanford.edu<mailto:bioontology-support at lists.stanford.edu>
https://mailman.stanford.edu/mailman/listinfo/bioontology-support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20200624/7adc54a4/attachment-0001.html>


More information about the bioontology-support mailing list