Skip to contents
rx <- codex_medline(code_title = "Chantix 0.5 MG Oral Tablet", 
              code_system = "rxcui")

rx |> 
  dplyr::mutate(dplyr::across(everything(), as.character)) |> 
  tidyr::pivot_longer(cols = dplyr::everything()) |> 
  gluedown::md_table()
name value
updated 2023-04-25 15:20:56
entry_title Varenicline
source U.S. National Library of Medicine
search_description , RXNORM, Chantix 0.5 MG Oral Tablet, PAT
results_description MedlinePlus Connect results for RXCUI
entry_link https://medlineplus.gov/druginfo/meds/a606024.html?utm_source=mplusconnect&utm_medium=service
entry_summary Varenicline is used along with education and counseling to help people stop smoking. Varenicline is in a class of medications called smoking cessation aids. It works by blocking the pleasant effects of nicotine (from smoking) on the brain.
sno <- codex_medline(code = "41381004", 
              code_title = "Pneumonia due to Pseudomonas", 
              code_system = "snomed")

sno_gt <- sno |> 
  dplyr::mutate(dplyr::across(everything(), as.character)) |> 
  tidyr::pivot_longer(cols = dplyr::everything())

sno_gt |> 
  gt::gt() |> 
  gtExtras::gt_theme_538() |> 
  gt::tab_options(
    table.width = gt::pct(100),
    table.layout = "auto") |> 
  gt::tab_style(
    style = gt::cell_text(whitespace = "pre-wrap",
                          size = "medium",
                          weight = "normal",
                          style = "normal",
                          stretch = "ultra-condensed",
                          align = "left",
                          v_align = "top"),
    locations = gt::cells_body(columns = value, rows = 7))
name value
updated 2023-04-25 15:20:56
entry_title Pneumonia
source U.S. National Library of Medicine
search_description 41381004, SNOMEDCT, Pneumonia due to Pseudomonas, PAT
results_description MedlinePlus Connect results for SNOMED CT 41381004
entry_link https://medlineplus.gov/pneumonia.html?utm_source=mplusconnect&utm_medium=service
entry_summary <h3>What is pneumonia?</h3> <p>Pneumonia is an infection in one or both of the lungs. It causes the air sacs of the lungs to fill up with fluid or pus. It can range from mild to severe, depending on the type of germ causing the infection, your age, and your overall health.</p> <h3>What causes pneumonia?</h3> <p><a href="https://medlineplus.gov/bacterialinfections.html?utm_source=mplusconnect">Bacterial</a>, <a href="https://medlineplus.gov/viralinfections.html?utm_source=mplusconnect">viral</a>, and <a href="https://medlineplus.gov/fungalinfections.html?utm_source=mplusconnect">fungal</a> infections can cause pneumonia.</p> <p>Bacteria are the most common cause. Bacterial pneumonia can occur on its own. It can also develop after you've had certain viral infections such as a <a href="https://medlineplus.gov/commoncold.html?utm_source=mplusconnect">cold</a> or the <a href="https://medlineplus.gov/flu.html?utm_source=mplusconnect">flu</a>. Several different types of bacteria can cause pneumonia, including:</p><ul> <li><a href="https://medlineplus.gov/pneumococcalinfections.html?utm_source=mplusconnect">Streptococcus pneumoniae</a></li> <li>Legionella pneumophila; this pneumonia is often called <a href="https://medlineplus.gov/legionnairesdisease.html?utm_source=mplusconnect">Legionnaires' disease</a></li> <li>Mycoplasma pneumoniae</li> <li>Chlamydia pneumoniae</li> <li><a href="https://medlineplus.gov/haemophilusinfections.html?utm_source=mplusconnect">Haemophilus influenzae</a></li> </ul> <p>Viruses that infect the respiratory tract may cause pneumonia. Viral pneumonia is often mild and goes away on its own within a few weeks. But sometimes it is serious enough that you need to get treatment in a hospital. If you have viral pneumonia, you are at risk of also getting bacterial pneumonia. The different viruses that can cause pneumonia include:</p><ul> <li><a href="https://medlineplus.gov/respiratorysyncytialvirusinfections.html?utm_source=mplusconnect">Respiratory syncytial virus</a> (RSV)</li> <li>Some common cold and flu viruses</li> <li>SARS-CoV-2, the virus that causes <a href="https://medlineplus.gov/covid19coronavirusdisease2019.html?utm_source=mplusconnect">COVID-19</a></li> </ul> <p>Fungal pneumonia is more common in people who have chronic health problems or weakened immune systems. Some of the types include:</p><ul> <li><a href="https://medlineplus.gov/pneumocystisinfections.html?utm_source=mplusconnect">Pneumocystis pneumonia</a> (PCP)</li> <li>Coccidioidomycosis, which causes <a href="https://medlineplus.gov/valleyfever.html?utm_source=mplusconnect">valley fever</a></li> <li><a href="https://medlineplus.gov/histoplasmosis.html?utm_source=mplusconnect">Histoplasmosis</a></li> <li>Cryptococcus</li> </ul> <h3>Who is at risk for pneumonia?</h3> <p>Anyone can get pneumonia, but certain factors can increase your risk:</p><ul> <li>Age; the risk is higher for children who are age 2 and under and adults age 65 and older</li> <li>Exposure to certain chemicals, pollutants, or toxic fumes</li> <li>Lifestyle habits, such as <a href="https://medlineplus.gov/smoking.html?utm_source=mplusconnect">smoking</a>, <a href="https://medlineplus.gov/alcohol.html?utm_source=mplusconnect">heavy alcohol use</a>, and <a href="https://medlineplus.gov/malnutrition.html?utm_source=mplusconnect">malnourishment</a></li> <li>Being in a hospital, especially if you are in the <a href="https://medlineplus.gov/criticalcare.html?utm_source=mplusconnect">ICU</a>. Being sedated and/or on a ventilator raises the risk even more.</li> <li>Having a <a href="https://medlineplus.gov/lungdiseases.html?utm_source=mplusconnect">lung disease</a></li> <li>Having a weakened immune system</li> <li>Have trouble <a href="https://medlineplus.gov/cough.html?utm_source=mplusconnect">coughing</a> or <a href="https://medlineplus.gov/swallowingdisorders.html?utm_source=mplusconnect">swallowing</a>, from a <a href="https://medlineplus.gov/stroke.html?utm_source=mplusconnect">stroke</a> or other condition</li> <li>Recently being sick with a cold or the flu</li> </ul> <h3>What are the symptoms of pneumonia?</h3> <p>The symptoms of pneumonia can range from mild to severe and include:</p><ul> <li><a href="https://medlineplus.gov/fever.html?utm_source=mplusconnect">Fever</a></li> <li>Chills</li> <li>Cough, usually with phlegm (a slimy substance from deep in your lungs)</li> <li><a href="https://medlineplus.gov/breathingproblems.html?utm_source=mplusconnect">Shortness of breath</a></li> <li><a href="https://medlineplus.gov/chestpain.html?utm_source=mplusconnect">Chest pain</a> when you breathe or cough</li> <li><a href="https://medlineplus.gov/nauseaandvomiting.html?utm_source=mplusconnect">Nausea and/or vomiting</a></li> <li><a href="https://medlineplus.gov/diarrhea.html?utm_source=mplusconnect">Diarrhea</a></li> </ul> <p>The symptoms can vary for different groups. Newborns and infants may not show any signs of the infection. Others may vomit and have a fever and cough. They might seem sick, with no energy, or be restless.</p> <p>Older adults and people who have serious illnesses or weak immune systems may have fewer and milder symptoms. They may even have a lower than normal temperature. Older adults who have pneumonia sometimes have sudden changes in mental awareness.</p> <h3>What other problems can pneumonia cause?</h3> <p>Sometimes pneumonia can cause serious complications such as:</p><ul> <li>Bacteremia, which happens when the bacteria move into the bloodstream. It is serious and can lead to <a href="https://medlineplus.gov/sepsis.html?utm_source=mplusconnect">septic shock</a>.</li> <li>Lung <a href="https://medlineplus.gov/abscess.html?utm_source=mplusconnect">abscesses</a>, which are collections of pus in cavities of the lungs</li> <li><a href="https://medlineplus.gov/pleuraldisorders.html?utm_source=mplusconnect">Pleural disorders</a>, which are conditions that affect the pleura. The pleura is the tissue that covers the outside of the lungs and lines the inside of your chest cavity.</li> <li><a href="https://medlineplus.gov/kidneyfailure.html?utm_source=mplusconnect">Kidney failure</a></li> <li><a href="https://medlineplus.gov/respiratoryfailure.html?utm_source=mplusconnect">Respiratory failure</a></li> </ul> <h3>How is pneumonia diagnosed?</h3> <p>Sometimes pneumonia can be hard to diagnose. This is because it can cause some of the same symptoms as a cold or the flu. It may take time for you to realize that you have a more serious condition.</p> <p>Your health care provider may use many tools to make a diagnosis:</p><ul> <li>A medical history, which includes asking about your symptoms</li> <li>A physical exam, including listening to your lungs with a stethoscope</li> <li>Various tests, such as <ul> <li>A chest <a href="https://medlineplus.gov/xrays.html?utm_source=mplusconnect">x-ray</a></li> <li>Blood tests such as a <a href="https://medlineplus.gov/lab-tests/complete-blood-count-cbc/">complete blood count</a> (CBC) to see if your immune system is actively fighting an infection</li> <li>A <a href="https://medlineplus.gov/lab-tests/bacteria-culture-test/">Blood culture</a> to find out whether you have a bacterial infection that has spread to your bloodstream</li> </ul> </li> </ul> <p>If you are in the hospital, have serious symptoms, are older, or have other health problems, you may also have more tests, such as:</p><ul> <li>Sputum test, which checks for bacteria in a sample of your sputum (spit) or phlegm (slimy substance from deep in your lungs).</li> <li>Chest <a href="https://medlineplus.gov/ctscans.html?utm_source=mplusconnect">CT scan</a> to see how much of your lungs is affected. It may also show if you have complications such as lung abscesses or pleural effusions.</li> <li><a href="https://medlineplus.gov/lab-tests/pleural-fluid-analysis/">Pleural fluid culture</a>, which checks for bacteria in a fluid sample that was taken from the pleural space</li> <li>Pulse oximetry or <a href="https://medlineplus.gov/lab-tests/blood-oxygen-level/">blood oxygen level test,</a> to check how much oxygen is in your blood</li> <li>Bronchoscopy, a procedure used to look inside your lungs' airways</li> </ul> <h3>What are the treatments for pneumonia?</h3> <p>Treatment for pneumonia depends on the type of pneumonia, which germ is causing it, and how severe it is:</p><ul> <li><a href="https://medlineplus.gov/antibiotics.html?utm_source=mplusconnect">Antibiotics</a> treat bacterial pneumonia and some types of fungal pneumonia. They do not work for viral pneumonia.</li> <li>In some cases, your provider may prescribe antiviral medicines for viral pneumonia</li> <li>Antifungal medicines treat other types of fungal pneumonia</li> </ul> <p>You may need to be treated in a hospital if your symptoms are severe or if you are at risk for complications. While there, you may get additional treatments. For example, if your blood oxygen level is low, you may receive <a href="https://medlineplus.gov/oxygentherapy.html?utm_source=mplusconnect">oxygen therapy</a>.</p> <p>It may take time to recover from pneumonia. Some people feel better within a week. For other people, it can take a month or more.</p> <h3>Can pneumonia be prevented?</h3> <p>Vaccines can help prevent pneumonia caused by pneumococcal bacteria or the <a href="https://medlineplus.gov/flushot.html?utm_source=mplusconnect">flu virus</a>. Having <a href="https://medlineplus.gov/germsandhygiene.html?utm_source=mplusconnect">good hygiene</a>, not smoking, and having a <a href="https://medlineplus.gov/healthyliving.html?utm_source=mplusconnect">healthy lifestyle</a> may also help prevent pneumonia.</p> <p class="NLMattribution"> NIH: National Heart, Lung, and Blood Institute</p>