User Tools

Site Tools


parse

Usage

/resource?parse=value

Value

String containing one or more desired pill characteristics.

An input string may contain any of the following:

  • NDC (9, 10 or 11 digit, with or without dashes)
  • Imprint
  • Shape
  • Color
  • Brand Name
  • Generic Name
  • Active Ingredient
  • Inactive Ingredient

Remarks

This parameter will automatically parse a given input string to generate a results set of pills containing the desired characteristics. No other physical (e.g. shape, color etc.), or pharmaceutical (e.g. name, inactive etc.) defining parameters are required. With this powerful parameter, a fully featured pill image search can be quickly integrated into an application with just a single input line from the user.

Example Values

Example Reply

Reply for query : rxnav?parse=red+round&rLimit=1

{
  "replyStatus":{
    "success":true,
    "date":"2017-12-16 08:35:22 GMT",
    "imageCount":1,
    "totalImageCount":59,
    "matchedTerms":{
      "shape":"round",
      "color":"red"
    }
  },
  "nlmRxImages":[
    {
      "id":185644464,
      "ndc11":"00093-7155-98",
      "part":1,
      "relabelersNdc9":[
        {
          "@sourceNdc9":"00093-7155",
          "ndc9":[
            "51079-0456",
            "54458-0932",
            "55289-0395",
            "00179-1897"
          ]
        }
      ],
      "status":"Former imprint",
      "rxcui":198211,
      "acqDate":"11-05-2009",
      "name":"Simvastatin 40 MG Oral Tablet",
      "labeler":"Teva Pharmaceuticals USA Inc",
      "imageUrl":"https:\/\/rximage.nlm.nih.gov\/image\/images\/gallery\/original\/00093-7155-98_RXNAVIMAGE10_4A21A50D.jpg",
      "imageSize":604672,
      "attribution":"National Library of Medicine | Lister Hill National Center for Biomedical Communications | Office of High Performance Computing and Communications | Medicos Consultants LLC"
    }
  ]
}


Page Tools