Hemoptysis

Hemoptysis

Share :


Definition

Hemoptysis is coughing up blood that can be bright red, pink, and frothy or mixed with mucus. It may come from different parts of the lungs or respiratory tract.

Blood may appear from elsewhere, for example, from inside your abdomen, and then be expelled from the mouth, so it's important to determine the location of the bleeding source. When bleeding originates from the abdomen and causes you to vomit blood, this is called hematemesis. This condition usually results in darker-colored blood that resembles coffee grounds.

Hemoptysis is a nonspecific symptom, as it can indicate a benign condition, a sign of a malignant disease, or a fatal process that can be life-threatening. However, if the amount of blood expelled during coughing is substantial, seek immediate medical attention for proper management.

 

Causes

The most common cause of coughing up blood is chronic bronchitis or bronchiectasis. Additionally, several other causes can lead to coughing up blood, including:

  • Chronic obstructive pulmonary disease (COPD) (during exacerbation of symptoms),
  • Cystic fibrosis,
  • Use of certain illicit drugs, such as crack cocaine,
  • Presence of foreign objects in the airways,
  • Lung abscess (accumulation of pus within lung tissue),
  • Lung cancer,
  • Parasitic infection,
  • Pneumonia,
  • Pulmonary embolism (presence of blood clot blockage in pulmonary blood vessels),
  • Chest injuries, such as gunshot wounds or motor vehicle accidents,
  • Tuberculosis (TB),
  • Use of certain blood-thinning medications,
  • Abnormalities in pulmonary blood vessels, causing them to rupture.

 

Risk factor

Several factors can increase the likelihood of hemoptysis, including smoking, exposure to lung irritants in the workplace, not receiving the COVID-19 vaccine, and experiencing accidents causing chest injuries.

 

Symptoms

The amount of blood expelled during coughing can vary from large to small. Even if the amount of blood expelled is small, it can be a warning sign of a serious condition. Hemoptysis is categorized based on the amount of blood expelled during coughing within 24 hours. However, in some cases, it may be difficult to describe the amount of blood expelled.

  • Massive hemoptysis: This condition is generally life-threatening and requires prompt treatment.
  • Non-massive hemoptysis: This condition tends to be less life-threatening, and the amount of blood expelled during coughing is not as much as massive hemoptysis. It amounts to approximately one cup of blood expelled during coughing within 24 hours.
  • Mild hemoptysis: This condition is defined when you experience coughing up blood for 24 hours and expel less than a tablespoon of blood.

 

Diagnosis

To diagnose hemoptysis, your doctor will ask several questions about your symptoms and medical history to determine the underlying cause. They will then conduct a physical examination, including assessing the need for intensive care in the ICU.

Your doctor may order several diagnostic tests to confirm the diagnosis and pinpoint the source of bleeding. These tests may include:

  • Chest X-ray: This test detects masses or fluid in the lungs that could be causing hemoptysis.
  • CT scan: This provides detailed images of your lung condition, often more detailed than X-rays.
  • Bronchoscopy: A flexible tube with a camera is inserted through your nose or mouth to examine your airways directly for abnormalities.
  • Blood count examination: This checks for abnormalities that may contribute to coughing up blood.
  • Urine examination: This helps detect underlying issues related to hemoptysis.

 

Management

Treatment for hemoptysis depends on the amount of blood expelled and its underlying cause. If significant blood loss occurs, prompt hospitalization, often in the ICU, is necessary. Initial management may involve assisting breathing, oxygen therapy, and positioning to control bleeding. Medications to aid clotting and address the cause may also be administered, and surgery might be necessary in severe cases.

For minor cases, treatment focuses on addressing the underlying condition. Antibiotics or other medications may be prescribed for infections, while smoking cessation may be advised for smokers.

 

Complications

Hemoptysis can be life-threatening if significant blood loss occurs. Untreated, it can exacerbate the underlying condition.

 

Prevention

Preventive measures include quitting smoking, maintaining hygiene, wearing masks, and receiving vaccinations against influenza, pneumonia, and COVID-19. At work, use appropriate personal protective equipment to avoid airway irritation.

 

When to see a doctor?

If you experience persistent coughing up of blood and symptoms like chest pain, weight loss, or shortness of breath, seek medical attention promptly, as this could indicate a serious condition.

 

Looking for more information about other diseases? Click here!

 

 

Writer : dr Sherly Deftia Agustina
Editor :
  • dr. Yuliana Inosensia
Last Updated : Wednesday, 10 July 2024 | 06:34

(Mayo clinic, 2018) Coughing up blood. Retrieved on April 16, 2022 from  https://www.mayoclinic.org/symptoms/coughing-up-blood/basics/causes/sym-20050934

(WebMD, 2020) Hemoptysis (Coughing up blood). Retrieved on April 16, 2022 from https://www.webmd.com/lung/coughing-up-blood

(Cleveland Clinic, 2018) Coughing up blood. Retrieved on April 16, 2022 from https://my.clevelandclinic.org/health/symptoms/17696-coughing-up-blood#care-and-treatment

(Mayo clinic, 2018) Bronchitis, Retrieved on April 16, 2022 from https://www.mayoclinic.org/diseases-conditions/bronchitis/symptoms-causes/syc-20355566

Request history8.1.29PHP Version980msRequest Duration6MBMemory UsageGET {category}/{slug}Route
  • warninglog[22:21:13] LOG.warning: str_contains(): Passing null to parameter #1 ($haystack) of type string is d...
  • warninglog[22:21:13] LOG.warning: str_contains(): Passing null to parameter #1 ($haystack) of type string is d...
  • infolog[22:21:13] LOG.info: Attempting to authenticate with: { "username": "administrator", "url": ...
  • Booting (272ms)time
  • Application (709ms)time
  • 1 x Application (72.28%)
    709ms
    1 x Booting (27.72%)
    272ms
    11 templates were rendered
    • 1x web.v2.single-post-healthpediasingle-post-healthpedia.blade.php#?blade
    • 1x web.v2.partials.single.breadcrumbbreadcrumb.blade.php#?blade
    • 2x web.partials.single-sharesingle-share.blade.php#?blade
    • 1x web.v2.partials.single.editoreditor.blade.php#?blade
    • 1x web.v2.partials.single.tagstags.blade.php#?blade
    • 1x web.v2.partials.single.referensireferensi.blade.php#?blade
    • 1x web.v2.partials.article-populararticle-popular.blade.php#?blade
    • 1x web.v2.partials.related-articlerelated-article.blade.php#?blade
    • 1x web.v2.partials.healthtopichealthtopic.blade.php#?blade
    • 1x layouts.v2.web_layoutweb_layout.blade.php#?blade
    uri
    GET {category}/{slug}
    middleware
    web
    controller
    App\Http\Controllers\WebController@newSinglePost
    namespace
    App\Http\Controllers
    prefix
    where
    as
    web.new.single.post
    file
    app/Http/Controllers/WebController.php:645-806
    34 statements were executed (2 duplicates)Show only duplicates378ms
    • WebController.php#656aicare_prod_new1.36msselect * from `categories` where (`slug` = 'respiratory-system-disorders-en' or `slug_en` = 'respiratory-system-disorders-en') and `categories`.`deleted_at` is null limit 1
      Bindings
      • 0: respiratory-system-disorders-en
      • 1: respiratory-system-disorders-en
      Hints
      • Use SELECT * only if you need all columns from table
      • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
      Backtrace
      • app/Http/Controllers/WebController.php:656
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#657aicare_prod_new29.21msselect * from `posts` where (`slug` = 'hemoptysis-en-en' or `slug_en` = 'hemoptysis-en-en') and `posts`.`deleted_at` is null limit 1
      Bindings
      • 0: hemoptysis-en-en
      • 1: hemoptysis-en-en
      Hints
      • Use SELECT * only if you need all columns from table
      • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
      Backtrace
      • app/Http/Controllers/WebController.php:657
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#703aicare_prod_new16.95msselect * from `posts` where (`slug` = 'hemoptysis-en-en' or `slug_en` = 'hemoptysis-en-en') and `status` = 1 and `publish_date` <= '2025-04-03 22:21:13' and `deleted_at` is null and `posts`.`deleted_at` is null limit 1
      Bindings
      • 0: hemoptysis-en-en
      • 1: hemoptysis-en-en
      • 2: 1
      • 3: 2025-04-03 22:21:13
      Hints
      • Use SELECT * only if you need all columns from table
      • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
      Backtrace
      • app/Http/Controllers/WebController.php:703
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#703aicare_prod_new1.29msselect `users`.*, `post_editor`.`post_id` as `pivot_post_id`, `post_editor`.`user_id` as `pivot_user_id`, `post_editor`.`created_at` as `pivot_created_at`, `post_editor`.`updated_at` as `pivot_updated_at` from `users` inner join `post_editor` on `users`.`id` = `post_editor`.`user_id` where `post_editor`.`post_id` in (3453)
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:703
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#703aicare_prod_new1.19msselect `users`.*, `post_english_editors`.`post_id` as `pivot_post_id`, `post_english_editors`.`user_id` as `pivot_user_id`, `post_english_editors`.`created_at` as `pivot_created_at`, `post_english_editors`.`updated_at` as `pivot_updated_at` from `users` inner join `post_english_editors` on `users`.`id` = `post_english_editors`.`user_id` where `post_english_editors`.`post_id` in (3453)
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:703
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#703aicare_prod_new7.44msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` in (3453) and `categories`.`deleted_at` is null
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:703
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#703aicare_prod_new820μsselect * from `categories` where `categories`.`id` in (0) and `categories`.`deleted_at` is null
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:703
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#721aicare_prod_new1.07msselect * from `categories` where `categories`.`id` = 7 and `categories`.`deleted_at` is null limit 1
      Bindings
      • 0: 7
      Hints
      • Use SELECT * only if you need all columns from table
      • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
      Backtrace
      • app/Http/Controllers/WebController.php:721
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#724aicare_prod_new27.57msselect `tags`.*, `post_tag`.`post_id` as `pivot_post_id`, `post_tag`.`tag_id` as `pivot_tag_id`, `post_tag`.`created_at` as `pivot_created_at`, `post_tag`.`updated_at` as `pivot_updated_at` from `tags` inner join `post_tag` on `tags`.`id` = `post_tag`.`tag_id` where `post_tag`.`post_id` = 3453
      Bindings
      • 0: 3453
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:724
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#1362aicare_prod_new12.33msselect `posts`.*, `post_tag`.`tag_id` as `pivot_tag_id`, `post_tag`.`post_id` as `pivot_post_id` from `posts` inner join `post_tag` on `posts`.`id` = `post_tag`.`post_id` where `post_tag`.`tag_id` = 2065 and `posts`.`deleted_at` is null
      Bindings
      • 0: 2065
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:1362
      • app/Http/Controllers/WebController.php:735
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
    • WebController.php#1362aicare_prod_new15.08msselect `posts`.*, `post_tag`.`tag_id` as `pivot_tag_id`, `post_tag`.`post_id` as `pivot_post_id` from `posts` inner join `post_tag` on `posts`.`id` = `post_tag`.`post_id` where `post_tag`.`tag_id` = 105 and `posts`.`deleted_at` is null
      Bindings
      • 0: 105
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:1362
      • app/Http/Controllers/WebController.php:735
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
    • WebController.php#1362aicare_prod_new14.88msselect `posts`.*, `post_tag`.`tag_id` as `pivot_tag_id`, `post_tag`.`post_id` as `pivot_post_id` from `posts` inner join `post_tag` on `posts`.`id` = `post_tag`.`post_id` where `post_tag`.`tag_id` = 2633 and `posts`.`deleted_at` is null
      Bindings
      • 0: 2633
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:1362
      • app/Http/Controllers/WebController.php:735
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
    • WebController.php#1362aicare_prod_new12.43msselect `posts`.*, `post_tag`.`tag_id` as `pivot_tag_id`, `post_tag`.`post_id` as `pivot_post_id` from `posts` inner join `post_tag` on `posts`.`id` = `post_tag`.`post_id` where `post_tag`.`tag_id` = 5040 and `posts`.`deleted_at` is null
      Bindings
      • 0: 5040
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:1362
      • app/Http/Controllers/WebController.php:735
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
    • WebController.php#743aicare_prod_new99.47msselect * from `posts` where `status` = 1 and `publish_date` <= '2025-04-03 22:21:13' and `deleted_at` is null and `content_type` = 'article' and `slug_en` != '' and `slug_en` is not null and `posts`.`deleted_at` is null order by RAND() limit 7
      Bindings
      • 0: 1
      • 1: 2025-04-03 22:21:13
      • 2: article
      • 3: 
      Hints
      • Use SELECT * only if you need all columns from table
      • ORDER BY RAND() is slow, try to avoid if you can. You can read this or this
      • The != operator is not standard. Use the <> operator to test for inequality instead.
      Backtrace
      • app/Http/Controllers/WebController.php:743
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • CategoryHealtTopics.php#11aicare_prod_new1.58msselect * from `categories` where (`slug` != 'penyakit-a-z' and `slug` != 'obat-a-z' and `slug` != 'pemeriksaan-a-z' and `parent_id` = '0') and `categories`.`deleted_at` is null order by `order` asc
      Bindings
      • 0: penyakit-a-z
      • 1: obat-a-z
      • 2: pemeriksaan-a-z
      • 3: 0
      Hints
      • Use SELECT * only if you need all columns from table
      • The != operator is not standard. Use the <> operator to test for inequality instead.
      Backtrace
      • app/Repositories/Categories/CategoryHealtTopics.php:11
      • app/Http/Controllers/WebController.php:744
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
    • WebController.php#748aicare_prod_new2.05msselect `healthpedia`.*, `healthpedia_post`.`post_id` as `pivot_post_id`, `healthpedia_post`.`healthpedia_id` as `pivot_healthpedia_id`, `healthpedia_post`.`created_at` as `pivot_created_at`, `healthpedia_post`.`updated_at` as `pivot_updated_at` from `healthpedia` inner join `healthpedia_post` on `healthpedia`.`id` = `healthpedia_post`.`healthpedia_id` where `healthpedia_post`.`post_id` = 3453 and `healthpedia`.`deleted_at` is null
      Bindings
      • 0: 3453
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:748
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#751aicare_prod_new960μsselect * from `categories` where `categories`.`id` = 7 and `categories`.`deleted_at` is null limit 1
      Bindings
      • 0: 7
      Hints
      • Use SELECT * only if you need all columns from table
      • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
      Backtrace
      • app/Http/Controllers/WebController.php:751
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#779aicare_prod_new9.23msupdate `posts` set `views_count` = 1317 where `id` = 3453
      Bindings
      • 0: 1317
      • 1: 3453
      Backtrace
      • app/Http/Controllers/WebController.php:779
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • ActivityLogger.php#174aicare_prod_new7.03msinsert into `activity_log` (`log_name`, `properties`, `batch_uuid`, `event`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('default', '[]', null, 'updated', 3453, 'App\\Models\\Admin\\Post', 'updated', '2025-04-03 22:21:13', '2025-04-03 22:21:13')
      Bindings
      • 0: default
      • 1: []
      • 2: 
      • 3: updated
      • 4: 3453
      • 5: App\Models\Admin\Post
      • 6: updated
      • 7: 2025-04-03 22:21:13
      • 8: 2025-04-03 22:21:13
      Backtrace
      • vendor/spatie/laravel-activitylog/src/ActivityLogger.php:174
      • vendor/spatie/laravel-activitylog/src/Traits/LogsActivity.php:88
      • app/Http/Controllers/WebController.php:779
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
    • single-post-healthpedia.blade.php#37aicare_prod_new1.61msselect * from `users` where `users`.`id` = 32 limit 1
      Bindings
      • 0: 32
      Hints
      • Use SELECT * only if you need all columns from table
      • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
      Backtrace
      • view::web.v2.single-post-healthpedia:37
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new10.34msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 9817 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9817
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new10.06msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 8907 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8907
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new9.96msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 9328 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9328
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new10.04msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 9725 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9725
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new10.02msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 9313 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9313
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new9.83msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 8525 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8525
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new10.16msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 606 and `categories`.`deleted_at` is null
      Bindings
      • 0: 606
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • related-article.blade.php#15aicare_prod_new9.92msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 2714 and `categories`.`deleted_at` is null
      Bindings
      • 0: 2714
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.related-article:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • related-article.blade.php#15aicare_prod_new10.03msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 2831 and `categories`.`deleted_at` is null
      Bindings
      • 0: 2831
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.related-article:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • related-article.blade.php#15aicare_prod_new9.79msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 2805 and `categories`.`deleted_at` is null
      Bindings
      • 0: 2805
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.related-article:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • related-article.blade.php#15aicare_prod_new9.17msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 2745 and `categories`.`deleted_at` is null
      Bindings
      • 0: 2745
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.related-article:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • web_layout.blade.php#122aicare_prod_new1.47msselect * from `pages` where `slug` = 'about-us' limit 1
      Bindings
      • 0: about-us
      Hints
      • Use SELECT * only if you need all columns from table
      • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
      Backtrace
      • view::layouts.v2.web_layout:122
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • web_layout.blade.php#549aicare_prod_new1.38msselect * from `faqs` where `name_en` is not null and `slug_en` is not null limit 1
      Hints
      • Use SELECT * only if you need all columns from table
      • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
      Backtrace
      • view::layouts.v2.web_layout:549
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • web_layout.blade.php#551aicare_prod_new2.05msselect * from `term_policies`
      Hints
      • Use SELECT * only if you need all columns from table
      • The SELECT statement has no WHERE clause and could examine many more rows than intended
      Backtrace
      • view::layouts.v2.web_layout:551
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    App\Models\Admin\Post
    101Post.php#?
    App\Models\Admin\Category
    26Category.php#?
    App\Models\Admin\Tag
    4Tag.php#?
    App\User
    3User.php#?
    App\Models\TermPolicy
    3TermPolicy.php#?
    App\Models\Admin\Page
    1Page.php#?
    App\Models\Admin\Faq
    1Faq.php#?
        locale
        en
        _token
        0CS7Q4M0SJBU8OETArdn2byTBCSP0xR17187yxqj
        _previous
        array:1 [ "url" => "https://ai-care.atmatech.id/respiratory-system-disorders-en/hemoptysis-en-en" ...
        _flash
        array:2 [ "old" => [] "new" => [] ]
        path_info
        /respiratory-system-disorders-en/hemoptysis-en-en
        status_code
        200
        
        status_text
        OK
        format
        html
        content_type
        text/html; charset=UTF-8
        request_query
        []
        
        request_request
        []
        
        request_headers
        0 of 0
        array:19 [ "accept-encoding" => array:1 [ 0 => "gzip, deflate, br, zstd" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "sec-fetch-site" => array:1 [ 0 => "none" ] "accept" => array:1 [ 0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" ] "user-agent" => array:1 [ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "upgrade-insecure-requests" => array:1 [ 0 => "1" ] "sec-ch-ua-platform" => array:1 [ 0 => ""Windows"" ] "sec-ch-ua-mobile" => array:1 [ 0 => "?0" ] "sec-ch-ua" => array:1 [ 0 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "cache-control" => array:1 [ 0 => "no-cache" ] "pragma" => array:1 [ 0 => "no-cache" ] "x-real-ip" => array:1 [ 0 => "3.133.91.171" ] "x-forwarded-for" => array:1 [ 0 => "3.133.91.171" ] "x-forwarded-proto" => array:1 [ 0 => "https" ] "x-forwarded-scheme" => array:1 [ 0 => "https" ] "host" => array:1 [ 0 => "ai-care.atmatech.id" ] "connection" => array:1 [ 0 => "keep-alive" ] ]
        request_cookies
        []
        
        response_headers
        0 of 0
        array:5 [ "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [ 0 => "no-cache, private" ] "date" => array:1 [ 0 => "Thu, 03 Apr 2025 15:21:13 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6Ikp2WFdONm5aVmxENVRLWFpKejB0eHc9PSIsInZhbHVlIjoiNGN4VERWMzdRV2ZKc3RsQVlLZlFROTJCSndtdms5cHpsaytMWVdaT3VtdEdPOFFmK0IraFNHeDhpY1pMQmNYeUh3Y2hhbE5FNWxzTWh4cWNDbXZYT0t2UlduM3dPRHJIRU50Vnp3Vm9RcUN5emJSazNkNytTcHFZV2NnYTJqZVgiLCJtYWMiOiI1OTUxNzk3NGQzOGYzMWM4NDFlMmNmNTZmMzJiMzgyMGM1MzI4ODZmYmFhOTVkYzdjOWU4MjRmODUxMzBiZWExIiwidGFnIjoiIn0%3D; expires=Thu, 03 Apr 2025 17:21:13 GMT; Max-Age=7200; path=/; secureXSRF-TOKEN=eyJpdiI6Ikp2WFdONm5aVmxENVRLWFpKejB0eHc9PSIsInZhbHVlIjoiNGN4VERWMzdRV2ZKc3RsQVlLZlFROTJCSndtdms5cHpsaytMWVdaT3VtdEdPOFFmK0IraFNHeDhpY1pMQmNYeUh3Y2hhb" 1 => "laravel_session=eyJpdiI6IjFaa1Brb2F2OWxxeGdoK0RrbEVQNWc9PSIsInZhbHVlIjoiSi90NU1zem5QUFhxTXRabDRvQkRCOHRkU0JZSlc5Z0pWNm1RZi85ZHJKalNLN0t5cmNlWUNlQUR2Z1NDeTl2L0s2RnVCd3BMU2xzeWxpTXAvTk9TcDhiOVJQQzVDMFIxTVVZNnp1anppS0pRa1BCZzdIeHhXcXI4L1JzU0pYcVoiLCJtYWMiOiJiMzFiZjkwNTc1MzE5Mzk3NzUyYWQ5ZDM0Mzg5OTIxMjg0ODQ2ZWQxYjExMmUzNGRhOTMwMDczZmI0NGE5ODA5IiwidGFnIjoiIn0%3D; expires=Thu, 03 Apr 2025 17:21:13 GMT; Max-Age=7200; path=/; httponlylaravel_session=eyJpdiI6IjFaa1Brb2F2OWxxeGdoK0RrbEVQNWc9PSIsInZhbHVlIjoiSi90NU1zem5QUFhxTXRabDRvQkRCOHRkU0JZSlc5Z0pWNm1RZi85ZHJKalNLN0t5cmNlWUNlQUR2Z1NDeTl2L0s2" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6Ikp2WFdONm5aVmxENVRLWFpKejB0eHc9PSIsInZhbHVlIjoiNGN4VERWMzdRV2ZKc3RsQVlLZlFROTJCSndtdms5cHpsaytMWVdaT3VtdEdPOFFmK0IraFNHeDhpY1pMQmNYeUh3Y2hhbE5FNWxzTWh4cWNDbXZYT0t2UlduM3dPRHJIRU50Vnp3Vm9RcUN5emJSazNkNytTcHFZV2NnYTJqZVgiLCJtYWMiOiI1OTUxNzk3NGQzOGYzMWM4NDFlMmNmNTZmMzJiMzgyMGM1MzI4ODZmYmFhOTVkYzdjOWU4MjRmODUxMzBiZWExIiwidGFnIjoiIn0%3D; expires=Thu, 03-Apr-2025 17:21:13 GMT; path=/; secureXSRF-TOKEN=eyJpdiI6Ikp2WFdONm5aVmxENVRLWFpKejB0eHc9PSIsInZhbHVlIjoiNGN4VERWMzdRV2ZKc3RsQVlLZlFROTJCSndtdms5cHpsaytMWVdaT3VtdEdPOFFmK0IraFNHeDhpY1pMQmNYeUh3Y2hhb" 1 => "laravel_session=eyJpdiI6IjFaa1Brb2F2OWxxeGdoK0RrbEVQNWc9PSIsInZhbHVlIjoiSi90NU1zem5QUFhxTXRabDRvQkRCOHRkU0JZSlc5Z0pWNm1RZi85ZHJKalNLN0t5cmNlWUNlQUR2Z1NDeTl2L0s2RnVCd3BMU2xzeWxpTXAvTk9TcDhiOVJQQzVDMFIxTVVZNnp1anppS0pRa1BCZzdIeHhXcXI4L1JzU0pYcVoiLCJtYWMiOiJiMzFiZjkwNTc1MzE5Mzk3NzUyYWQ5ZDM0Mzg5OTIxMjg0ODQ2ZWQxYjExMmUzNGRhOTMwMDczZmI0NGE5ODA5IiwidGFnIjoiIn0%3D; expires=Thu, 03-Apr-2025 17:21:13 GMT; path=/; httponlylaravel_session=eyJpdiI6IjFaa1Brb2F2OWxxeGdoK0RrbEVQNWc9PSIsInZhbHVlIjoiSi90NU1zem5QUFhxTXRabDRvQkRCOHRkU0JZSlc5Z0pWNm1RZi85ZHJKalNLN0t5cmNlWUNlQUR2Z1NDeTl2L0s2" ] ]
        session_attributes
        0 of 0
        array:4 [ "locale" => "en" "_token" => "0CS7Q4M0SJBU8OETArdn2byTBCSP0xR17187yxqj" "_previous" => array:1 [ "url" => "https://ai-care.atmatech.id/respiratory-system-disorders-en/hemoptysis-en-en" ] "_flash" => array:2 [ "old" => [] "new" => [] ] ]
        ClearShow all
        Date ↕MethodURLData
        #12025-04-03 22:21:13GET/respiratory-system-disorders-en/hemoptysis-en-en31134139