code – WoodSkinCodeX https://woodskincodex.com Medicine (particularly dermatology), technology, and topics of general interest. Sun, 27 Oct 2024 20:56:54 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 Caffeine Pharmokinetic Optimization https://woodskincodex.com/caffeine/ https://woodskincodex.com/caffeine/#respond Sat, 28 Sep 2024 20:00:44 +0000 https://woodskincodex.com/?p=184 Using a pharmacokinetic model that accounts for both absorption and elimination, the tool generates a dynamic graph showing how your caffeine levels peak and decline over 24 hours. This helps you understand the impact of your caffeine intake on alertness, sleep, and potential side effects.

You can input multiple caffeine doses, specifying the amount and time of consumption. The tool also allows you to adjust key pharmacokinetic parameters, such as the time to peak concentration (Tmax) and caffeine’s half-life, for a personalized simulation.


Advanced Options

Much of the logic for this tool comes from: White JR Jr, Padowski JM, Zhong Y, Chen G, Luo S, Lazarus P, Layton ME, McPherson S. Pharmacokinetic analysis and comparison of caffeine administered rapidly or slowly in coffee chilled or hot versus chilled energy drink in healthy young adults. Clin Toxicol (Phila). 2016;54(4):308-12. doi: 10.3109/15563650.2016.1146740. PMID: 27100333; PMCID: PMC4898153. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4898153

]]>
https://woodskincodex.com/caffeine/feed/ 0
Excision Comparison Tool https://woodskincodex.com/excision-comparison/ https://woodskincodex.com/excision-comparison/#respond Sat, 31 Aug 2024 10:44:39 +0000 https://woodskincodex.com/?p=133 Compare the relative area and length of standard rhomboid surgical excisions with variable margins.




Excision Area (cm²) Length (cm)
Excision A
Excision B

About This Tool

Skin cancer is typically excised in the shape of a “rhomboid” (as it is traditionally called, although it is not entirely rhomboid in the mathematical sense). Traditionally, the length to width ratio is 3:1.1

To achieve a certain cure rate, a specific margin size is selected—generally 1 to 2 centimeters for melanoma, or 4 mm for basal cell carcinoma, among others. However, for certain neoplasms, such as atypical nevi, recommended margins are less clearly defined. This tool may prove helpful when considering whether to take a 2 or 4 mm margin for an atypical nevus.

This tool may also assist in selecting an appropriate treatment. Certain treatment modalities can achieve similar cure rates with smaller margins.

For instance, in the study “Clinical Characteristics of Basal Cell Carcinomas of the Vulva: An Institutional Retrospective Review” by Munoz et al., vulvar basal cell carcinomas were treated with either Mohs surgery using 3 mm margins or vulvectomy with 6 mm margins.2

Our tool shows that for a 1 cm basal cell carcinoma, vulvectomy results in a scar that is 38% longer and requires the removal of 89% more skin.

Calculating The Area of The Rhomboid

The area of the rhomboid was previously described by Tilleman et al as:

A = d 2 2 × ( a 2 1 + arcsin ( 1 a ) )

Where a is the length to width ratio and d is the width (or the diameter of the circle). This can be derived from the below image. To do so, add the area of the circle to the area of four triangles (only one is pictured in the image), and then subtract the area of the sector of the circle occupied by the triangles.

  1. Raveh Tilleman T, Tilleman MM, Krekels GA, Neumann MH. Skin waste, vertex angle, and scar length in excisional biopsies: comparing five excision patterns–fusiform ellipse, fusiform circle, rhomboid, mosque, and S-shaped. Plast Reconstr Surg. 2004 Mar;113(3):857-61. doi: 10.1097/01.prs.0000105338.66597.a0. PMID: 15108876. ↩︎
  2. Muñoz G, Singla P, Hurst E, Council ML. Clinical Characteristics of Basal Cell Carcinomas of the Vulva: An Institutional Retrospective Review. Dermatol Surg. 2023 Jan 1;49(1):13-16. doi: 10.1097/DSS.0000000000003648. PMID: 36533789 ↩︎

]]>
https://woodskincodex.com/excision-comparison/feed/ 0
Financial Opportunity Cost of Smoking https://woodskincodex.com/money-for-smokers/ Sat, 17 Dec 2022 20:56:45 +0000 https://woodfinreview.com/?p=1 This is an exercise in financial opportunity cost and compound interest. The idea is to help smokers visualize the financial opportunity cost of smoking. It answers the question “How much money would I have if instead of smoking I invested?” Move the sliders below to try it out.

20
7.00
In… You Spend If You Invested That Money You Would Have
1 Day
1 Week
1 Month
1 Year
10 Years
20 Years
30 Years

You don’t have to use it for smoking though, you could also use it to see how much you would save by giving up your daily latte, or how much money you would have if you invested $5 every day for 10 years. To do this, you should set the cigarettes per day to 20 (1 pack).

Annual return on investment is set at 10%, based on the average annual S&P 500 performance over the past 100 years. Return on investment is calculated using the compound interest with daily contributions formula:

A = p × ( 1 + r ) t + p × ( 1 + r ) t 1 r

]]>