If you decide to use MedlinePlus Connect, sign up for the email list to keep up with developments and exchange ideas with your colleagues. Please tell us if you implement MedlinePlus Connect by contacting us. You are welcome to link to and display the data provided by MedlinePlus Connect. For more information on how to link to MedlinePlus content outside of this service, please see our guidelines and instructions on linking.
The API for the Web application conforms to the HL7 Context-Aware Knowledge Retrieval (Infobutton) Knowledge Request URL-Based Implementation specification.
The structure of the request indicates what type of code you are sending. In all cases, the base URL for the Web application is:
MedlinePlus Connect works over HTTP or HTTPS.
MedlinePlus Connect matches ICD-10-CM, ICD-9-CM or SNOMED CT codes to related MedlinePlus topic pages of consumer health information. For example, a patient diagnosed with ICD-9-CM code 493.12, Extrinsic asthma with exacerbation, could be presented a link in an electronic health record (EHR) that leads to the MedlinePlus page Asthma.
Clicking on the link brings the user to a MedlinePlus Connect response page displaying up to three MedlinePlus topic summaries and selected links, if available. From that page, a user may continue to the complete MedlinePlus health topic page, or to any of the individual links on the response page.
Some SNOMED CT and ICD-10-CM requests may also produce responses from Genetics Home Reference (GHR). Currently these GHR links are available only for English SNOMED CT and ICD-10-CM requests.For requests by problem, the base URL of the application is:
This link displays a page with an empty search box. There are two required parameters for any query to this application:
Identify the name/title of the problem code. Sending no code will result in a query to the MedlinePlus search engine. If you specify a code and the name/title of the code, but MedlinePlus Connect has no results, the response page will display a MedlinePlus search box prepopulated with the name/title.
A complete request for Diabetes Mellitus with other coma type 1 uncontrolled, ICD-9 code 250.33, for a Spanish speaking patient would have the following URL address:
A patient diagnosed with "Pneumonia due to Pseudomonas" using SNOMED CT code 41381004:
A freeform query, with no code system or problem code, will use the MedlinePlus search engine (English only):
MedlinePlus Connect provides the best drug information matches when receiving an RXCUI. It also provides good results when receiving an NDC code. MedlinePlus Connect can provide responses to medication code requests in English or Spanish and will return a link to a results page with the best matches from the MedlinePlus drug information.
For requests for English medication information, if you do not send an NDC or RXCUI code or if we find no match based on the code, we will use the text string that you send to display the best drug information match. For requests for Spanish medication information, MedlinePlus Connect responds only to NDCs or RXCUIs; it does not use text strings. It is possible to have a response in English but no response in Spanish.
There may be multiple responses to one medication request. There may not always be a match for each request. If MedlinePlus Connect finds a null response for a drug request, the program displays a search box for the MedlinePlus site. A user can type in a drug name and may get a good response.For requests for drug information, the base URL is:
Requests for English and Spanish medication information have different requirements. To send a request, include these pieces of information:
For English requests, you should identify at a minimum the code system and the code, or the code system and the name of the drug. Send all three for best results for English requests. For Spanish requests, you should identity the code system and the code.
When sending a request for English information, you may include the optional parameter of the name of the medication. This is detailed in the above section. This parameter is not used for Spanish requests.Identify if you would like the request to be in English or Spanish. MedlinePlus Connect will assume English is the language if it is not specified.
Your drug information request should look like one of the following.To request information by an RXCUI, your request should look like this:
http://apps.nlm.nih.gov/medlineplus/services/mpconnect.cfm?mainSearchCriteria.v.cs=2.16.840.1.113883.6.88&mainSearchCriteria.v.c=%20637188%20&mainSearchCriteria.v.dn=Chantix%200.5%20MG%20Oral%20Tablet&informationRecipient.languageCode.c=enTo request information by an NDC for a Spanish speaker, your request should look like this:
http://apps.nlm.nih.gov/medlineplus/services/mpconnect.cfm?mainSearchCriteria.v.cs=2.16.840.1.113883.6.69&mainSearchCriteria.v.c=%2000310-0751-39&informationRecipient.languageCode.c=esTo send a text string without a medication code, you must identify your query as an NDC-type request so MedlinePlus Connect knows you are looking for medication information. This will work for English only. Your request could look like this:
MedlinePlus Connect provides matches to laboratory test information when receiving a LOINC request. MedlinePlus Connect can provide responses to lab test requests in English or Spanish and will return a link to a results page with the best matches from the MedlinePlus lab test information.For requests for lab test information, the base URL is:
These are two required parameters for any lab test query to this application:
Identify the name/title of the lab test. However, this information does not impact the response.
A freeform query, with no code system or lab code, will use the MedlinePlus search engine. This approach is more effective with diagnoses (see the problem code information above) instead of lab test text strings. Your lab test information request should look like one of the following.
To request information for an English speaker, your request may look like one of the following:
To request information for a Spanish speaker, your request may look like one of the following: