My Lucky Charm!!

"Joy" is the meaning of the first kanji character in my name and "Shine" is the meaning of the second kanji character in my name,
which were offered by the Seimei Shrine, my parents chose their favorite name from four names suggested by the shrine.

So, "Diary of Joy and Shine" means "Diary of Me"!! lol

In the most difficult time of my life, I started writing my diary on the web to change for the better.

Since then, whenever I felt lonely in a distant place, I came here to alleviate the anxiety,
whenever I was nervous before exams, I came here to encourage myself.

So far, this diary is the place that holds a lot of good old memories from my medical school days, as well as the place that has brought me a lot of miracles.

First, when I was a student, I wrote my first computer program (July 23, 2004).

Gradually, I started writing some software programs using Visual Basic (I don't use Visual Basic anymore. Now I use C++ and C#),
published them on a download site, then many computer books asked me to include them in their books,
and a few months later, a famous IT company asked me to meet them even though I was still a student (August 31, 2005).

Second, I write articles in English on this web diary, and finally, I passed the Eiken Grade 1, which is said to be achieved by 1 out of 100 Japanese English teachers.

I once had two family names because I was born in Japan with South Korean nationality,
overseas it is 'Lee' and in Japan it is 'Yasuoka', which were later merged into one Japanese surname when I obtained Japanese nationality.
My name, which consists of two Kanji characters, is pronounced differently, "Hee Cheong" in Korean and "Yoshiharu" in Japanese, both of which are identical.

After graduation, I worked in various fields and in 2010, I was in charge of the medical room at APEC - Asia-Pacific Economic Cooperation.
I've been through a lot with this website since I was a student, so this is My Lucky Charm, so far and from now on.




April 14, 2024 : Street Walking Day for Shopping

Today we walked along Horikawa Street to Marutamachi Street and went shopping at a nearby department store.
Then walked along Marutamachi Street to the intersection of Senbon-Marutamachi, and from there along Senbon Street to a cafe at the intersection of Senbon-Oike for a rest.
Then we walked from Senbon Street to Shijo-Omiya intersection via Koin Street and had dinner at a restaurant at the intersection.
After that, we went shopping at a nearby supermarket, went home, and took a break while watching Netflix.

April 13, 2024 : Gion Shirakawa, Yasaka Shrine and Maruyama Park

We walked along Nishikikoji Street to Kiyamachi Street.
From Kiyamachi Street, we walked along Shijo Street, crossed the Shijo Bridge, and walked around the Gion Shirakawa area.
We then walked along Shijo Street to Yasaka Shrine and had fun in Maruyama Park.

April 10, 2024 : We Never Know What's Going to Happen in the Future

Today, I went to Jujo Omiya to work as an occupational physician.
On my way home, I saw Nintendo as I walked along Omiya Street.



Nintendo, a small company that sold playing cards when I was a kid, is now a very big company.
We never know what's going to happen in the future. I really feel that.



March 31, 2024 : The Bridge That Has Watched Kyoto from Ancient Times

I never thought that this bridge near Seimei Shrine had been there since 794 A.D., when Kyoto was founded.



March 30, 2024 : Chion-in Temple

We went to Chion-in Temple to see the cherry blossoms at night.
When I entered the garden for the first time, I felt what a beautiful garden.



The layout of the garden seems to be very well considered, furthermore, the nighttime lighting made its inherent beauty even more beautiful.
The ground of the temple was so vast, we could feel the scale of the temple as the main temple of the Jodo sect of Buddhism.



There is a large bell at the top that is rung only twice a year.
The ringing at the beginning of the year is broadcast nationwide by the Japan Broadcasting Corporation.



I felt that this place is a must see.

The light of the moon shines equally on every field, every mountain, and every village, but its beauty is not delivered to the heart unless you look at it.
(By Saint Honen, the founder of Jodo sect)

March 30, 2024 : Maruyama Park

After Chion-in Temple, we went to Maruyama Park.

There were so many people watching the cherry blossoms and many food stalls on both sides of the road, and we had a fun time there.

I was especially impressed by the large cherry tree in the center of the park.



The cherry blossom is not only large and beautiful, but also majestic, and its overwhelming aura is mesmerizing to behold.



Many people gather to see this cherry blossom.
That is how much power this cherry tree has to attract people.
I would say that this cherry tree is the center of the park.



March 28, 2024 : About the Red Yeast Rice Incident in Japan

The U.S. FDA banned red yeast rice supplements in 1998, because it is actually a drug.
Looking at the case of red yeast rice incident now happening in Japan, I think the FDA had a great eye on the risks of red yeast rice supplements.

First of all, the safety of red yeast rice is not related to the safety of its supplements.
Experts who emphasize the safety of red yeast rice do not understand this.

The content of monacolin K, the cholesterol-lowering active ingredient, is not consistent from product to product, and this active ingredient is no different from statins.
So it is not surprising that it has the same side effect as statins, which is kidney failure due to rhabdomyolysis, and the risk varies greatly depending on the combination of drugs.

The risk of rhabdomyolysis and kidney failure increases when combined with cholesterol-lowering drugs,
and the risk is also increased when combined with certain antidepressants and antibiotics.

I think the biggest problem is that the ingredient, which should have been controlled as a hospital prescription,
has been sold as a health food that all people can easily take through the general market, and some people may take too much at their own discretion.

I think it is dangerous to leave such things on the market.

I really want Japan to establish an agency like the U.S. FDA.

March 9, 2024 : Time to Bloom

After I woke up, I went to a ramen shop where I usually go.
On my way home from there, I saw a cherry blossom blooming at the intersection of Horikawa Takatsuji.

I wonder why cherry blossoms attract so many people.
Some poets say that cherry blossoms are so attractive because they don't bloom for so long, but I think not many flowers bloom for so long.
So there must be other reasons.

My answer is that cherry blossoms attract many people because they have many meanings in just one tree.
I remember that Japan once sent many cherry blossoms to the United States because of their relationship.
Cherry blossoms are not only with their beauty and attractiveness, but also with the trademark of affection for others from the long past.



February 27, 2024 : Body Fat and Aerobic Exercise

A patient has asked me a question.

"I've been working really hard on weight training and my stomach has shrunk, my body is toned and my weight is going down,
but for some reason my body fat just won't go down. Is something wrong with my body?"

Weight training does not actually reduce body fat. You need to do aerobic exercise to reduce body fat.
To begin with, weight fluctuates with water content. This is why the initial weight loss is fast.
The problem is when the weight loss stops, from then on it is not so easy to lose weight.
In other words, you only lose water and weight, but not body fat.

The only way to reduce body fat is to burn fat through aerobic exercise.

When you were a student, you went to school in the morning, had sports lessons, joined clubs after school and worked out at the gym.
Exercise was a natural part of your life, but as you got older, especially after middle age, you became more prone to injury after a hard workout,
and it became impossible to do the same amount of exercise as when you were a student.

So you need to change all your weight training time to aerobic exercise to reduce body fat.

When I gave him this answer, he agreed.

February 25, 2024 : Eating Chige Udon for Lunch

Today I woke up just after midday.

I wondered what to have for lunch, chige udon at a nearby restaurant or the ramen shop I usually go to.

I went to the ramen restaurant two days ago, and I would like to go there about once a week.
It seems to me that ramen has a lot of salt and is bad for health, but I'm in the mood for ramen now.
I thought, chige udon also seems to have a lot of salt in it, so if both seem bad for health, why not eat ramen?
But the ramen shop staff might think "Oh, there he comes again!", so I don't want to go there too often.
Thinking about it, I remembered the flavor of the topping I ordered with chige udon.
For no reason, I had an irresistible craving for it, and ended up eating chige udon at the restaurant.

December 3, 2023 : Everyone Lives for the Beautiful Moment That Will Come One Day

Today, we had planned to go to the Tofukuji temple.

After we woke up, we walked to Kyoto Station and had lunch at Ramen Street.
Then we walked along the Kyoto Station Skyway.
Soon we noticed that there were only 40 minutes left before the Tofukuji temple's entrance closed.
She said, "What do you want to do? Shall we go?" I replied, "Yes. Let's go!"

Actually, we had tried to go to Tofukuji Temple several times in the past, but we couldn't get there because it started raining on the way,
and we had to stop at Kyoto Station, and it was too hot to go there, and so on.

So today's "Let's go!" shows that our determination to go there this time is so strong! lol


Why are autumn leaves so beautiful? It's because they have lived for this beautiful moment.
People are the same. Everyone lives for the beautiful moment that will come one day.



Kyoto Tofukuji Temple (December 3, 2023)(Movie)

Kyoto Tofukuji Temple (Winter 2023)(Movie)

December 2, 2023 : I Won a Prize in a Crane Game! (Chiikawa Edition)

I Won a Prize in a Crane Game! (Chiikawa Edition)



November 26, 2023 : Everyone's Efforts Saved Japan

The statistics of new coronaviruses in Japan are based on the result of the total mobilization of medical resources,
and due to everyone's efforts, Japan's medical resources did not collapse, so the results didn't look as frightening as in other countries.

All scientists should understand this, COVID-19 is very scary, it's not a cold virus, it's a pneumonia virus.

November 19, 2023 : Starbucks Coffee Kyoto Nineizaka Yasaka Chaya

Having coffee at Starbucks Coffee Kyoto Nineizaka Yasaka Chaya (Movie).



November 16, 2023 : Going Out to Give Flu Shots to People

Today I saw patients in the morning and went out in the afternoon to give flu shots to people.
Then I returned to the center to confirm the results of the patients' tests the other day. Then I went home.

November 15, 2023 : It Seems Like a Long Time Ago, Even Though It Was Only a Few Years Ago

Today I went to the Nijo Castle area.

On my way home from work, I entered BiVi from the west side of the building.

Then suddenly a memory came back to me that I used to come this way with my dad.
He would drive me to BiVi, and I would go to the amusement arcade on the second floor to get some items for an online game.
Meanwhile, he waited for me in the car.

It seems like a long time ago, even though it was only a few years ago.

But I feel strangely nostalgic.

November 12, 2023 : I Usually Avoid Crowded Places

I got up and went to a Japanese restaurant for lunch, but it was crowded, so I went to Mos Burger to kill some time.
I don't like crowded places! So I usually avoid crowded places.

November 11, 2023 : Thinking About Forex Techniques

I got up, went to a ramen restaurant, took a break at Holly's Cafe, and came home. Today I thought about Forex techniques.


November 10, 2023 : What Rainy Days Signify to Me

When I went outside in the morning, I noticed that it was raining.

But great timing, I brought one of my umbrellas to use as an extra umbrella at my workplace.

What rainy days signify to me : So far, the days that were important turning points in my life were often rainy.

Of course, I won't know that until later.

Today, I developed a special technique in Forex trading. Impressive!

November 9, 2023 : A Year Really Flies By, Doesn't It?

Today I went to a school that I visited last year. Around this time of year, flu shots are almost an annual event in Japan.
It's been a year already. A year really flies by, doesn't it?

October 13, 2023 : Relations Between Japan and South Korea Are Improving!

Today after work, I had a break at Mos Burger, and while I was there, I read the article that says,
Japanese with a favorable impression of South Korea outnumbered those with an unfavorable one for the first time in a decade,
a survey showed, amid signs that relations between Japan and South Korea are improving!

October 12, 2023 : It Was Not Too Hot Today

It was not too hot today, so I had a walk to work. I ran a lot last time, but I left the house earlier today than last time, so I only ran a little lol.
On the way home, Mos Burger was crowded, so I took a break at Holly's Cafe instead.

October 11, 2023 : My First Forex Account

After work, I took a break at Holly's Cafe and transferred some money to my Forex account.
I got home a little later than usual today.

October 10, 2023 : City of Nostalgia

I went to Nagaokakyo city, where I have many fond memories, to attend a safety and health committee meeting.
I took a break at Holly's Cafe after work and came back.

October 9, 2023 : I Won Three Prizes in a Crane Game!

I got up at 1PM, and then we had lunch at a noodle shop on Nishinotoin-dori Street, and we took a break at Mos Burger, and I had a cafe au lait there.

Then we walked down Oike-dori Street to Senbon-dori Street and stopped at Holly's Cafe near the train station.

After that we went to BiVi and won three prizes in the crane game!

I Won a Prize in a Crane Game!(1)

I Won a Prize in a Crane Game!(2)

I Won a Prize in a Crane Game!(3)

Then we took a break at Mos Burger and had dinner at a ramen restaurant in BiVi.

We went south on Senbon-dori Street, crossed Bukkyo University and Ritsumeikan University, went to Seven-Eleven and FamilyMart looking for Chiikawa carddass, but could not find any.

Finally, we found Chiikawa carddass at the FamilyMart on Sanjo Shopping Street.

After that, we walked along Sanjo Shopping Street to Horikawa-dori Street and went home.

October 8, 2023 : I Won a Prize in a Crane Game!

I woke up and cleaned my room.

Then we had lunch at a ramen restaurant around 4:30 PM.

Next, we took a break at Izutsu Cafe around 5:20 PM.

After that, we went to the subway in Shijo-Kawaramachi to see Mario, because we heard that Super Mario was coming to the subway station,
and we came all the way here, but it's just painted on the wall, so I played Super Mario Brothers instead.

I played Super Mario Brothers

Super Mario Brothers 1-1

Super Mario Brothers 1-2

When we went up from the subway to the ground, I didn't know which direction to go from there to Round One,
but I found the direction by looking at the shape of the lights on the streets.

Shijo-dori Street and Kawaramachi-dori Street can be distinguished by the shape of the lights,
the lights on Kawaramachi-dori Street are cup-shaped.
It is very useful, with just one photo you can tell which street is Kawaramachi-dori Street.

After that, we played a crane game at Round One.

I Won a Prize in a Crane Game!

Then we took a break at Ueshima Coffee around 8:20 PM.

Then we had dinner at Gusto and went home.

October 7, 2023 : Setting up My Mail Redirection and Watching Football on TV

I got up and went to a ramen restaurant for lunch.
Then I took a break at Holly's Cafe, and during my break I set up my mail redirection from the Internet.
Then I went to the grocery store to buy dinner and went home.
After that I watched football on TV.

October 6, 2023 : Legal Basis for Refusing Patient Harassment (In Japan)

We discussed patient harassment.

The physician's duty to provide medical care is a public law duty to the nation, not a private law duty to individual patients, so any dispute is a civil dispute.

Principle of freedom of contract indicates that the medical worker can refuse to accept the contracts at any time,
but if they do so without reasonable cause, they may be liable for damages depending on the situation.
Actually, the situation of "lack of trust with the patient" is considered as a reasonable cause.

The right to manage the facility means that the manager of the facility can determine who is allowed to enter.
For example, a manager can refuse entry to a person who refuses to wear a mask.

I believe that if the above mentioned legal basis can be used successfully, we can deal well with harassing patients.

October 5, 2023 : Scary Patient Came In

I got a medical card from a clerk, put it through the barcode reader, looked to the side and noticed an old man who suddenly became very scary last year was there!
But this time, I don't know why, he was quiet this year and everything ended without incident. Phew... I was really relieved!

October 4, 2023 : From the Depths of Memory

A vending machine on the premises of a certain company.

After finishing today's work, I bought a warm caramel macchiato there.
As I drank it, I felt very nostalgic.

Then, memories of vending machines surfaced from the depths of my memory.

In the past, my father used to drive me to different companies.
On the way home, I would often buy hot coffee from a vending machine and drink it.

The feeling of that time came back to me as a nostalgic memory.

I used to walk an hour each way to the gym.
On the way there and on the way back, I would buy a cup of hot coffee and drink it.

The feeling of that time made me feel nostalgic.

I can't go back to those days, but sometimes I wish I could.

At that time I never imagined that my future self would want to come back to the present.

I wonder if my future self would want to come back to the present.

October 3, 2023 : Still a Little Pain in the Lower Back

I still have a little bit of pain in my lower back today as well.

My lower back pain seems to be a little worse this morning than yesterday,
because when I put on my socks yesterday, I felt like I could put them on easier.

However, by the time I got home from work in the afternoon, my back pain was much better.
It still hurts a little when I bend over a little, like when I go to the bathroom, which scares me.

On my way home from work, I made a withdrawal at the Japan Post Bank,
and then I had a cafe au lait and a baumkuchen at a coffee shop, and went home.

October 2, 2023 : The mRNA Vaccine Technology Has Been Awarded a Nobel Prize

The mRNA vaccine technology has been awarded a Nobel Prize.
This is the true assessment of the new coronavirus vaccine by the world's scientific community.

October 1, 2023 : Back Pain from Sit-ups

Today is Sunday.

I woke up and when I was changing my pants, I felt a slight pain in my lower back and it turned into lower back pain.
I'm a little scared because a few years ago I had lower back pain after doing sit-ups in my bed and squats right after waking up,
which made it difficult for me to move around for about two days.
Since then, I've avoided doing sit-ups in bed right after waking up, but I think I'm still at risk for lower back pain, probably because of my age.
I think I need to be careful and cautious when exercising. I went out and had lunch at a restaurant, then took a break at Holly's Cafe and went home.

Even when I sleep at night, I have lower back pain and it hurts a little when I turn over, so I really hope it gets better soon.

September 30, 2023 : Taking a Break at Holly's Cafe

I got up a little after noon, went to a ramen shop for lunch, then took a break at Holly's Cafe and went home.

September 29, 2023 : The Harvest Moon

Tonight they say we can see the harvest moon, so after work I took a break at Holly's Cafe until the sun went down.

After leaving Holly's Cafe, I went to a place where I could see the moon clearly.



The moon was really beautiful tonight.



September 28, 2023 : Taking a Break at a Coffee Shop After Work

After work, I took a break at a coffee shop and went home.

September 27, 2023 : Two Items on the Agenda for Today's Committee Meeting

There are two items on the agenda for today's committee meeting.

First, emergency response to a head injury from a fall.

First, check the patient's level of consciousness.
Ask them the following questions;

Where are you now?
What is the date today?
And tell them a three-digit number and have them say it backwards.

If they cannot answer any of these questions correctly, call an ambulance immediately.

Next, check for breathing. If there is no breathing, start BLS immediately.
Do not move their neck until the emergency medical team arrives;
they will immobilize their neck and take them to the hospital. Do not move them until then.
If vomit appears to be blocking the airway, place the patient in the recovery position without moving the neck as much as possible.
Symptoms often appear within 6 hours of the injury,
but they can appear as late as 24 hours, or in some rare cases, 2 or 3 days, weeks, or months after the injury,
so do not hesitate to go to the hospital if you notice any unusual symptoms.

The next topic was the status of flu infections.

Some people find it strange that the flu is prevalent throughout the year.
But it is not really strange.

Since the manufacturing process for influenza vaccine involves incubation of the virus at approximately 34 degrees Celsius for two days in order to multiply,
it is expected that the incidence of influenza will increase as the temperature rises.

However, because flu can be spread by both air and droplets, airborne infection predominates as humidity decreases, and droplet infection predominates as humidity increases.
Airborne infection is more contagious than droplet infection.
In addition, as humidity decreases and the air becomes drier, the barrier function of the human respiratory mucosa decreases.
This tug-of-war between incidence, infectivity and respiratory mucosal barrier function determines whether an epidemic occurs or not.
It is not always determined by a simple factor of decrease with warmer weather and increase with colder weather.

Therefore, it is not surprising that flu is prevalent during the hot season.
In fact, flu occurs throughout the year in tropical regions.

This summer in Japan was the hottest in recorded history.
Therefore, it would not be surprising if there were a flu epidemic in Japan in the middle of the summer.

September 26, 2023 : Taking a Break at Mos Burger

After work, I took a break in the medical examination room until about 6:40 PM.
Then I took a break at Mos Burger from about 7 PM and came back home.

September 25, 2023 : There's No Harm in Trying

I took a cab to work in the morning, completed my work successfully, and then took a break at a coffee shop, and came back home.

Today, FF Record Keeper has added the feature to list the damage done to enemies by each character.
A few months ago, I frequently sent messages to Square Enix asking for this feature.
I asked them to list the damage done by each character after a battle.

I'm glad I asked. I really experienced the fact that there's no harm in trying.

September 24, 2023 : I Won a Prize in a Crane Game!

Today I got up before 2:00 and we went out for yakisoba.

Then we took a break at Holly's Cafe.

During our break, we talked about going to the former Maekawa residence, which used to be a Shinsengumi garrison,
but we decided not to go because it was open until 5:00 PM.

Then, we decided to go to Bivi, so we walked along Koin-dori Street to Senbon-dori Street.
From there we entered Bivi and went to the amusement arcade.

Then we played the crane game and I won a prize!

Movie : I Won a Prize in a Crane Game!

After that, we took a break at Mos Burger, had dinner at a ramen restaurant in Bivi, and returned home.

September 23, 2023 : Ninenzaka, the Most Beautiful Street I Have Ever Seen

Today I woke up at 2 pm. Then we went to Ippudo for lunch. Then we took a break at Ueshima Coffee.

During the break, we decided to see the beautiful night view and decided to walk from Hanamikoji Street to Sannenzaka.
So we left the restaurant, turned right, and walked for a while, but on the way we realized that we were walking in the wrong direction.
We always take a break at a coffee shop on Shijo-dori Street, so I accidentally turned right after leaving the shop.
To get to Hanamikoji Street, we had to turn left from the shop onto Shijo-dori Street. I was surprised by my conditioned reflex.

We walked east on Shijo-dori Street. On the way, we stopped at Edion and bought a mousepad.
After that, we walked further east and saw the Kabuki Theater, the Minami-za.
We saw a sign in front of the Minami-za that said the play they were performing was "Shin-Suikoden" (New Water Margin).
She asked me what Suikoden was, and I talked about Suikoden as we walked east, and then we started talking about Sangokushi (The History of the Three Kingdoms).

We walked along Hanamikoji Street and finally came to Kenninji Temple.


Then we turned left and walked east until we reached Higashioji-dori Street.
From there, we walked south and saw the Yasaka Pagoda, then turned east and walked toward the pagoda.



Walking along the road, we reached Ninnenzaka.


Then we walked along Sannenzaka and came to Kiyomizu-dera Temple.



From there, we walked back along Sannenzaka and Ninnenzaka to Kodaiji Temple.





On the way, we found a Starbucks.


And a Peter Rabbit shop.


From there, we entered Nene no Michi and walked for a while to Chion-in Temple,
but we got carried away chatting and realized that we had passed Yasaka Shrine, so we went back to Yasaka Shrine.

I was a little relieved to see that Yasaka Shrine was still crowded with people at that time of day.

After that, we walked from Gion to Shijo Ohashi Bridge and had dinner at Sukiya.

On the way home, I bought a bottle of tea at a convenience store.

September 22, 2023 : At the Conference

I went to the meeting place, but I got lost and was a little late.
The main topic of the meeting was the simultaneous outbreak of a new coronavirus and influenza.
After the meeting, I took a break at a coffee shop and returned home.

September 21, 2023 : A Case of Wilson's Disease

In Wilson's disease, copper taken in daily life is not normally excreted from the liver into the bile and intestinal tract,
resulting in the accumulation of large amounts of copper, which causes severe liver and nerve damage,
leading to tremors, difficulty speaking and other central nervous system disorders, and is a common cause of chronic liver disease in childhood.
However, Wilson's disease can be treated or prevented if caught early.

After work, I took a break at Mos Burger instead of Holly's Cafe and went home.

September 20, 2023 : A Case of Power Harassment

Sometimes I go to different places as an occupational physician.

At the company I went to today, a girl suddenly came in.
She had tears in her eyes because she had been severely scolded, and she said that her boss is always like that, very hard on her.

This is a case of power harassment.

Every time I experience something like that, it reminds me of that incident.
The incident of the Dentsu employee, a girl who graduated from Tokyo University, who committed suicide after being severely and continuously bullied by her boss.
Whenever I remember that incident, my heart aches. I wonder what the occupational physician at that company did.
To put it bluntly, that case was a defeat for the occupational physician who caused such an incident to happen.

Therefore, I would never overlook bullying or power harassment.

After discussing the matter with an officer in the General Affairs Department, we decided to send a message to the person in charge to treat her subordinates kindly and nicely.

Hopefully, this will improve the situation.

September 19, 2023 : A Case of Idiopathic Hypersomnia

Today I came across a case of idiopathic hypersomnia.

He was referred to a sleep clinic by his doctor and is now on medication for idiopathic hypersomnia.
Idiopathic hypersomnia is a disorder that causes excessive daytime sleepiness despite adequate sleep hours and is characterized by normal or prolonged sleep at night
and a tendency to take longer naps during the day, but not feeling refreshed upon awakening.
Sleep duration tends to be long, more than 10 hours, and the patient often does not feel refreshed upon awakening and repeatedly falls asleep because of drowsiness.

The person I met today is not sleepy during the day and does not feel sleepy when he wakes up.
He said he sleeps about six hours and about seven hours on his days off.
When I asked him if his symptoms occur on his days off, he said that they do not occur on his days off.
In other words, his symptoms only occur when he is working.

The above episodes did not seem typical of idiopathic hypersomnia.

When I checked his prescription, I found that the drug is effective for both narcolepsy and idiopathic hypersomnia,
and he said that the frequency had decreased dramatically since he started taking the drug.

So maybe there is no doubt that it is either narcolepsy or idiopathic hypersomnia.
Well, if the prescription is working, I don't think there's any need to strictly differentiate between the two, and I felt it was okay.

September 18, 2023 : Vaccination Also Has a Positive Effect on Post-Covid-19 Conditions

New coronavirus infections have recently resurged in the United States.

According to the Centers for Disease Control and Prevention (CDC), new coronavirus-associated deaths are on the rise.
The number of infections, hospitalizations, and deaths could continue to rise through the autumn and winter as new mutant strains spread.
A recent study has shown that the updated vaccine also provides stronger immune responses against the currently dominant mutant strains.

When the Omicron strain was first discovered, there was concern that its high number of mutations would result in a high ability to evade vaccines and pre-existing immunity,
known as immune escape, leading to an explosive epidemic.

BA.2.86 has attracted worldwide attention due to its high number of mutations and could be the cause of a pandemic.
A study analyzing neutralizing antibody titers to different mutant strains using blood from people vaccinated with XBB-compatible vaccines
showed a good response to BA.2.86 and an increase in neutralizing antibody titers to EG.5, which is spreading in Japan.

This suggests that the Omicron strain XBB.1.5 compatible vaccine can be expected to have efficacy against the mutant strains that are likely to become dominant in the future.

Vaccination also has a positive effect on post-COVID-19 conditions.

This is a problem that can sometimes have serious consequences and is a good reason to get the updated version of the vaccine.
A person who was previously healthy and active may suffer from post-COVID-19 conditions,
which is characterized by severe fatigue, inability to walk or a decrease in memory and concentration that lasts for months, making it impossible to work.

According to the CDC, it is estimated that nearly one in five adults infected with COVID-19 suffer from post-COVID-19 conditions.
In addition, the research group of the Ministry of Health, Labor and Welfare published the results of a survey that found that 11.7% to 23.4% of adults infected with the virus have post-COVID-19 conditions.

The study which combined the results of 41 previously published studies on post-COVID-19 condition and analyzed data from 860,783 patients,
showed that women, older age, smoking, obesity, hospitalization, and the presence of underlying diseases such as asthma and diabetes increased the risk of post-COVID-19 conditions.
In this study, a 43% reduction in the risk of post-COVID-19 condition after infection was observed in those vaccinated against new coronavirus.


(https://jamanetwork.com/journals/jamainternalmedicine/fullarticle/2802877)

Those who had been vaccinated prior to infection had a lower percentage of new coronavirus post-COVID-19 condition symptoms than those who had not been vaccinated,
and in addition to preventing the severity of symptoms caused by infection, the purpose of vaccination could also be for the prevention of these post-COVID-19 conditions.

September 17, 2023 : Lunch at Ramen Restaurant, Break at Holly's Cafe

I woke up today and had lunch at a ramen restaurant.
Then I took a break at Holly's Cafe and came back home.

September 16, 2023 : The New Coronavirus Epidemic Continues to Rage

The new coronavirus epidemic continues to rage.

The new coronavirus is more infectious than influenza, so we must continue to isolate patients in the hospital to prevent them from becoming infected, especially those at high risk of severe illness.
Thus, hospitals that are operating with nearly full beds will be unwilling to accept new coronavirus patients because they cannot afford to admit new coronavirus patients in shared rooms.
In addition, since it has become a "Class 5 Infectious Disease," the government cannot make strong demands,
so the public must accept the current situation in which emergency medical services are under pressure.

So I think this is a time when we all need to think through the measures we take against the new coronavirus.

When I walk around outside with a mask on, there are guys looking at me like they're tired of seeing people wearing masks outside,
but I wear a mask because I'm more afraid of creepy guys who insensitively make a loud, disgusting sound of coughing, sneezing, or phlegm, etc. than of corona.

Wearing a mask is not only the countermeasure against corona or flu, but a deep body language that contains many thoughts like "Don't come near me".

When all guys realize this, a true mask-off society will come.

September 15, 2023 : Japan Must Stand Firm Against Child Sexual Abuse

During the break I read the following article.

Corporate sponsors are pulling out of that entertainment company that has been accused of sexually abusing hundreds more children.
Considering that a famous American producer who did such things was caught and sentenced to 250 years in prison, this movement is quite natural.

I am really concerned about the lack of awareness in Japan about child sexual abuse.

Until recently, society didn't move and the victims' groups were slammed as victims' business, or doing it out of jealousy because they weren't selling well,
and the only thing that moved society was the BBC broadcast and the UN recommendation.

Why didn't society take action until then? If appropriate measures had been taken earlier, the number of victims would not have been so high.

We need to learn from this and make an effort to create a better future for our children.

September 14, 2023 : Going to a Beauty Parlor to Get My Hair Cut

I have an appointment at the beauty parlor today for a haircut, so I went to Mos Burger to spend some time after work,
but it was crowded, so I decided to wait at Holly's Cafe.

I went home right after I got my hair cut.

September 13, 2023 : The Sexual Abuse Case of Japan's Most Influential Entertainment Agency Is Now Shocking the Entire Country

I went to a ramen shop and then took a break at Holly's Cafe.

While resting at Holly's Cafe, I read an article about cases of underage boy idol candidates being sexually abused in the most influential entertainment agency in Japan.

The late founder of one of the most famous and powerful entertainment agencies in Japan was found to have sexually abused hundreds of underage boy idol candidates for decades,
and because of this, the companies they did business with canceled their contracts with the agency, and among them, Mos Burger announced the termination of their contract,
and a picture of them putting stickers over the posters of the agency's celebrities in their stores to make them invisible went viral on SNS.

There was a Mos Burger store nearby, so I thought about checking it out on my way home, but it was a hassle, so I decided to stop by on my way home from work another day.

September 12, 2023 : Crystalline Silica Is Classified as a Carcinogenic Substance Under the Industrial Safety and Health Act

What impressed me in the morning was a woman who could not understand why her family doctor was prescribing an antiepileptic drug and an EPA drug for
her scintillating scotoma symptoms and why she was being prescribed these drugs even though she did not have epilepsy.

In my heart, I want her to ask these questions to her family doctor, because I haven't really seen the medical situation between her and her family doctor, so my answer is ultimately just an assumption.
However, I am the one to whom she is asking the questions, so I have to give her some answers.
So after confirming with her that this is just my opinion and telling her to ask her family doctor if she has anything she is worried about, I gave her these answers.

A scintillating scotoma is thought to be caused by a temporary change in cerebral blood flow due to constriction of blood vessels near the nerves that control vision.
A migraine, on the other hand, is thought to be caused by the contraction and rapid dilation of blood vessels in the brain for some reason,
which in turn stimulates the sensory nerves surrounding the blood vessels, resulting in a headache.

The antiepileptic drug valproic acid increases levels of GABA, which inhibits and stabilizes the rapid contraction of blood vessels in the brain.
As a result, it prevents the onset of migraine.

EPA drugs are used for hyperlipidemia, but they are also used to reduce and stabilize plaque in the blood vessels.

In other words, the antiepileptic drugs used in this patient are used to prevent the rapid vasoconstriction that triggers the onset of scintillating scotomas.
The EPA drugs, on the other hand, are probably used to treat a suspected occult cerebral infarction or microcirculatory cerebrovascular disorder, since there is no migraine following the scintillating scotoma,
if the scintillating scotoma is the result of a functional constriction of blood vessels, it is more likely to be followed by a migraine, but since she says she has never had a migraine,
so this doesn't look like the result of a constriction of blood vessels, I thought her family doctor suspected a cerebrovascular stenosis somewhere in her brain,
and I thought that's why her family doctor prescribed her EPA drugs.

In any case, the prescription is logically okay.

So I explained this to her and advised her to continue treatment as directed by her primary care physician.

In the afternoon, I attended a committee meeting.

At the meeting, I was informed that crystalline silica, which is used in refractory materials, has been classified as a "carcinogenic substance" under the Industrial Safety and Health Act.
I think crystalline silica was classified as a Group 1 carcinogen in 1996, which means it is a definite human carcinogen. That was more than 20 years ago, why now? Super late.

On my way home from work, I took a break at Holly's Cafe.

September 11, 2023 : Ordinary Day as Usual, I Worked Hard at My Job

Today I woke up in the morning, left the house and was able to catch a cab as soon as I got to the intersection, that's really good timing!
The driver was a lady, and she didn't seem to know exactly where my destination was, so I gave her directions.

I saw patients in the morning, afternoon, attended a meeting, took a break with a cup of coffee and a snack in the exam room, and then went home.

September 10, 2023 : Stayed in My Room All Day

I stayed in my room all day today and did not go out.
I spent my time watching baseball, playing on the computer, and relaxing.
Tomorrow I have to work.

September 9, 2023 : Late and in a Hurry in a Dream

Today I dreamed that I was late and in a hurry.

The details of the dream are not so clear, but I think I was teaching a biology class in a high school? and I was late and in a hurry.
I looked at the schedule and saw that my class was in the first period, and I thought, "Why is it that right when I'm late, the class is in the first period!"
I got on my bike and rushed to school.

When I woke up, I realized it was a dream and I was relieved.

Why did I have this dream? And why biology?
I used to read a lot of biology books, but not lately.
I wonder if it was a memory of my past that came into the dream?
Or is it some kind of anxiety that was reflected in the dream?
I've had a lot of fortune-telling dreams, so I'm quite worried about my dreams.

After I woke up, I went to a ramen shop, had lunch there, and then went to Holly's Cafe for coffee.

September 8, 2023 : To Be Happier Than I've Ever Been

It was raining a bit this morning, and maybe that's why it was so hard to catch an available cab.

There has been a lot of talk about cabs lately.
That's because I take a cab to work in the summer.

The reason is the extreme heat.
I don't want to run out of energy when I get to work in this murderous heat.

Was it this hot when I was in high school?
Or do I just get tired easily in the heat because I'm getting older and my physical strength has decreased?

Which is it? I don't know.

When I was in high school, it was around the time that I was playing Final Fantasy 6, and around that time,
it was the most fun time I had so far, so my goal was to become happier than that at any time.

So when I feel the difference between my physical strength and that of my high school days, I feel a little sad.

Two years ago, when I could run to the station in the same time as in high school, I felt happy.

September 7, 2023 : Sometimes the Title and the Content Are Not the Same Happened Today!

In the morning when I went to work, I saw a cab at the traffic light up ahead, which displayed "vacant", so I raised my hand, and the driver signaled that he would come,
so I waited for the light to change, but after I got in, he asked me my name, then I thought, "Why?" and soon it turned out that the cab was reserved!
As I was getting out of the cab, I thought, "If it is reserved, don't show "vacant" on the display!"

The cab showed "available", but it was actually "reserved"!

OMG~, as soon as I wrote the article "Sometimes the Title and the Content Are Not the Same" yesterday, it happened today! Surprising! lol

September 6, 2023 : Sometimes the Title and the Content Are Not the Same

Today, I went to a ramen restaurant near Gojo-dori Street.

Speaking of Gojo-dori Street, if you go east on that street, you will find Gojo Bridge.
This Gojo Bridge is known for the legend that Ushiwakamaru (Minamoto no Yoshitsune) and Benkei met in the Heian period.

In fact, this Gojo Bridge was moved from its original location.
The old Gojo Bridge is now Matsubara Bridge, and the old Gojo-dori Street is now Matsubara-dori Street.

Confusing? Yes, indeed. But we must remember that sometimes the title and the content are not the same.

After leaving the ramen shop, I took a break at Holly's Cafe.

After that, I went back home. I have work tomorrow.

September 5, 2023 : Occupational Disease in the Food Industry

Today I went to a committee meeting.

The most common cause of occupational disease in the food industry is musculoskeletal disorders, such as back pain and work-related upper limb disorders due to repetitive work.
Occupational asthma and rhinitis are caused by exposure to flour and bread dust and are relatively industry-specific.
Among the chemicals used, hydrochloric acid is a volatile acid and workers with a history of asthma or other allergies should be cautious when handling it.

According to the Health and Safety Executive, injuries to food industry workers are very common,
affecting about 5% of workers each year and accounting for about a quarter of all reported injuries in all manufacturing industries.

Nearly 16% of injuries are serious, resulting in broken bones and hospitalization, mostly due to slips, falls and machinery;
relatively minor injuries, which allow workers to return to work after a three-day absence,
are mainly due to lifting and loading, slips and trips, and being struck by objects such as hand knives and falling objects.

In particular, "caught in" accidents involving machinery are very common in manufacturing industries and highly likely to result in serious injuries.
Among these, fatal entanglements and entrapments account for nearly 90% of all fatal accidents, and it is imperative that measures be taken to prevent these industrial accidents.
If a safety-related part is not working properly, such as an emergency stop button actuator that has come loose or a safety cover that has been damaged,
it must not be left unattended, even if it doesn't affect production, because it is a very dangerous situation.
In this case, it must be reported immediately to the responsible person on site.

Similarly, in situations such as cleaning the belt while the conveyor is running, washing the hose while the mixer is running, or cleaning the floor next to a moving conveyor,
be sure to stop the machine and conveyor before doing so.

It is important that all workers always know the location of the safety device buttons and always check to see that the safety device buttons are always located where people are working,
and that all workers, not just managers and supervisors, establish rules that they can follow and ensure that these rules are thoroughly disseminated to prevent industrial accidents.

The basic principle for preventing these workplace accidents is to establish and disseminate rules that all workers, not just managers and site supervisors, can follow.

September 4, 2023 : Share Your Worries With Others

I was wondering if a patient with a history of complete transposition of the great arteries and a recent onset of a heart murmur needs a referral to a specialized hospital for detailed examination?
This is highly associated with ventricular septal defect, and the auscultation shows a systolic ejection murmur and this finding strongly suggests the presence of ventricular septal defect,
but in this case the murmur appeared recently, so I thought there was a possibility that it could be a case of adult tricuspid regurgitation,
but if this is the case, it must be characterized by a regurgitant murmur, but it is sometimes hard to distinguish between them, so finally I went to get another doctor's opinion.

"Share your worries with others" is my principle.

September 3, 2023 : Kyoto Ramen Street, Doutor, Soiree, Daimaru, Restaurant, Mos Burger

Today I woke up around 12:40 and we took the bus to Kyoto Station.

We had lunch on Kyoto Ramen Street near Kyoto Station.

After that, we looked for various cafes and coffee shops, but they were all crowded, so we ended up taking a cab to Shijo Kiyamachi.

We thought about going to Cafe Francois, but the tables were lined up side by side and I was worried about the corona countermeasures,
so we took a break on the fourth floor of Doutor near the entrance to Ponto-cho on Shijo-dori Street.

After that, we wanted to go somewhere interesting, but the heat was so intense that we decided to stay in a cafe until it cooled down a bit.

Then we went to Soiree, which looks different but each customer's seating area is actually separate, at least the tables are not arranged side by side.
At Soiree we had a fruit jelly punch.

After that we tried to return home, but it was a bit hard to walk all the way, so we decided to take a break on the way home and stopped at a coffee shop in Daimaru.

I had heard that today would be the hottest day in recorded history, I had seen it on the news many times before,
I don't know if it was because of that or not, but I felt a little tired the whole day.

We took a break at a coffee shop in Daimaru, had dinner at a restaurant on Oike-dori Street, had a cup of coffee at Mos Burger, and went home.

September 2, 2023 : Kamo River Noryo Yuka

Today we celebrated her birthday at Kamo River Noryo Yuka.
Just like last year, we walked along the Kamo River.





September 1, 2023 : Myths and Facts About Sexual Assault

I took a break at Holly's after work today.
I usually do outdoor cafes, but there were a lot of mosquitoes at the last outdoor cafe, so I didn't do it this time.

While taking a break at the cafe, I saw the following discussion on the Internet.

"According to research by Utah State University, provocative dress contributes to 1 in 22 sexual assaults.
By comparison, dress contributes to 22% of murder cases.
So women should be careful about how they dress in unsafe places.
It is a lie that there is absolutely no relationship between dress and sexual victimization."

This statement was made by a very well-known and influential commentator,
but when I read the article cited as the source, I didn't find such a conclusion.

Moreover, the conclusions stated in the article seem to be the exact opposite of what he claims.

--------------------------------------------------------------------------------

Utah State University Sexual Assault and Anti Violence Information

Myth: Rape victims provoke the attach by wearing provocative clothing

- A Federal Commission on Crime of Violence Study found that only
4.4% of all reported rapes involved provocative behavior on the part
of the victim. In murder cases 22% involved such behavior (as simple as a glance).

- Most convicted rapists do not remember what their victims were wearing.
- Victims range in age from days old to those in their nineties, hardly provocative dressers."



--------------------------------------------------------------------------------

If 4.4% of the people who take a cold medicine recover from a certain disease by coincidence, can we say that the cold medicine has a curative effect on that disease?

The answer is no, because there is "coincidence" in that 4.4%.
Moreover, some would answer like that even if it is not the real reason, or in order to shift the blame to the women's side, some would answer like that.

So in this case, we need to compare the control and experimental groups to see how the causal relationship changes.

According to the survey by Amnesty International, 34% of men believe that a woman's provocative behavior is to blame if she is raped,
and 26% say that a woman's provocative clothing is partly to blame. In spite of this, only 4.4 percent of the criminals said that their behavior was provocative.

Now, let us set up the control group and the experimental group in the following way.

The control group : 34% of the men believe that the woman's provocative behavior is to blame.
The experimental group : 4.4% of the criminals who committed the sexual assaults said that the woman's provocative behavior was to blame.

Although one in three to four men believe that provocative behavior by women must be the cause,
but only 4.4% of criminals said the victim's behavior was provocative.

Considering the above factors, the link between dress and sexual crimes seems to be almost zero.

Both Amnesty International and the U.S. Department of Justice have come to the conclusion that a woman's dress has nothing to do with rape cases,
that these crimes are not a problem on the woman's side, but rather stem from the criminal's desire to conquer someone by force.

So this kind of male-oriented thinking, like the idea that a woman's provocative behavior or provocative dress is to blame, is not acceptable.



August 31, 2023 : This Is How Things Are

I took a cab this morning, and while I was fiddling with my phone,
the driver took a wrong turn, and I had to take an extra detour to get to work.

This is how things are. It's really rare that I get distracted by my phone and forget to check if the driver is going the right way,
but at the right time when that rare thing happened, the super rare thing like the taxi driver accidentally taking the wrong turn happened.

How unlikely is that? It's never happened to me before.

Yes, this is how things are, maybe. lol

August 30, 2023 : I Will Find the Answer Someday

I went on a business trip today.

I went from Shijo-dori Street to Nishioji-dori Street and crossed the Katsura River,
which was probably the reverse route that Akechi Mitsuhide took in the Honnoji incident.

The Honnoji incident occurred during the medieval Warring States period,
when Oda Nobunaga, who was on the verge of unifying the country, was defeated by his retainer Akechi Mitsuhide, who rebelled against him,
and Toyotomi Hideyoshi, a retainer of Oda Nobunaga, took his place and unified Japan (later the country belonged to Tokugawa Ieyasu).

By the way, the Honnoji incident took place in the neighborhood where I live now.
When I close my eyes, I imagine the day of the Honnoji incident.
Oda Nobutada's army was stationed at the current location of the International Manga Museum, and it takes about 15 minutes to reach Honnoji Temple.
Given that time, the only way to gain the advantage of distance is to cross the Katsura River and come up from Nishioji-dori Street.
If they went west from the Shiga direction, they would collide with Nobutada's forces,
and if they went up Omiya-dori Street from the Toji direction, Nobutada's forces would reach Honnoji Temple first.
Therefore, the only way to gain a time advantage in attacking Honnoji Temple was to secretly cross the Katsura River,
pretending to go to Osaka via Mount Tennozan.

By the way, Honnoji Temple was located in a different place than it is today.
The Honnoji Temple of today is located near Kyoto City Hall, but the Honnoji Temple of the past was located near Shijo Horikawa.

The Kyoichi Amusement Park, which can be seen before crossing the Kuze Bridge from east to west, is a mysterious place to me,
it has been there since I was a child, but I don't know if it is open now or not.
Looking through the window of a moving bus, there are traces that it used to be open and crowded with people.

Is it open now?

The answer is quick if I get off the bus and go there to check, but it's too much trouble to get off all the way at the bus stop and check,
and I don't feel like doing that, so it's okay it will remain a mystery in my brain forever.

As for the Kuze Bridge, when I was a kid, I used to go by it to visit my relatives.
So whenever I pass it, I always remember the time when I was a child.

But today I am going to a different place.

Back then, my path went straight through the crossroads, but today my path will turn left at the crossroads.

The path I took when I was a child, and the path I'm taking now,
which path will lead to happiness?

I am sure I will find the answer someday.

August 29, 2023 : Thinking About Fatigue

I woke up, looked at the clock and saw that it was 15 minutes later than usual!
I thought I had to be in a super hurry and I acted very quickly and made it to work at the same time as usual.
Thank goodness. I can do it if I try! I thought.

Today was a tough morning. Although the number of patients I had to see was not so different from yesterday,
even though I went to bed earlier than yesterday,
even though I slept more than yesterday,
but somehow I felt more tired than yesterday.

Is it just a matter of whether I feel it or not?

Even if you have pain, it doesn't always mean that something is wrong with you.
In other words, the essence of pain is whether you feel it or not.

Once, when I was doing home visits for more than 200 families, I realized this so strongly.

Even if you have back pain and are examined, often nothing can be found.
(Of course, there may be something wrong, so an examination is necessary.)

Likewise, even if you feel that there is something there and you have an examination, it often turns out that there is nothing there.

For example, a patient who complains that there must be something wrong with the throat,
but in most cases nothing is found after a detailed examination (globus sensation),
the same pattern is often seen with palpitations,
a feeling of a loud heartbeat, a momentary blockage in the chest, or a skipping pulse, most of the time it's just a feeling or not,
on the contrary, if the palpitations are felt as a rapid heartbeat, we should be careful;
If they last more than a few minutes, consider the possibility that some kind of treatment may be needed;
and if symptoms such as lightheadedness, dizziness, shortness of breath, chest pain or fainting are present,
consider the need for some kind of treatment first.

If you're feeling tired or fatigued, you might want to find out if you're just feeling it or not,
and then consider the possibility that something is wrong with your health.

Coenzyme Q10 is a coenzyme needed to produce ATP, which is used as the body's energy currency.
The total amount of coenzyme Q10 decreases with age, but it can be taken orally into the body.
Moderate fatigue-reducing effects are observed.

Imidazole dipeptide is abundantly distributed in the pectoral muscles of birds.
Birds can flap their wings over long, long oceans without resting.
It is said that the source of their endurance is this amino acid, and clinical studies have shown that it is highly effective in relieving fatigue.

Imidazole dipeptide: Very high effect is observed.
Coenzyme Q10: Slightly high effect is observed.
Caffeine : No effect is observed, just makes you feel less tired.
Taurine : No effect is observed.

I think I'll take imidazole dipeptide. lol

Anyway, I don't know why, but I felt too tired today and fell asleep at my desk after work.
Why...maybe it's due to the sudden temperature changes?

August 28, 2023 : A Cafe in the Office After Work

Today I enjoyed a cafe in the medical office after work!
I put the pudding I bought during my lunch break in the fridge, to eat after work. :)



I always go to a coffee shop on my way home from work to take a break, but I feel like this is better.
No other customers, more relaxing, and no charge for coffee!
I'm not in the crowd at the coffee shop, so the risk of getting COVID-19 is reduced.
It's all good. I think I'll do it from now on. lol

I went home, had a yogurt drink, and went online to have some fun.
Then I took the socks I washed yesterday out of the washer, put my t-shirts in the washer and washed them.

Today's news that caught my eye.

The news said that Japan has been getting a lot of harassing phone calls from overseas because Japan is dumping polluted water into the sea,
and Japanese schools overseas are being harassed, like being stoned or egged.

If there are people in trouble, we should help each other.
If there are people in trouble, we should all cooperate and support each other.

So countries around the world should share the burden,
we should not put all the burden only on Japan.
The burden must be shared by all countries with high aspirations.

August 27, 2023 : Invisible but Present

The sun was so strong today that I stayed indoors until the evening,
when the sun was fading and the temperature got cooler, I went out and took a break at Holly's Cafe.

I returned home and noticed that the kitchen worktop was soaking wet.
I've had a lot of weird episodes lately, could this be one of them?

Then I noticed that the water level in one of the three cups had dropped.
I thought there might be a crack in the cup, so I filled it with water and moved it to another place, and it gradually became wet.

It seems that there is an invisible crack in the cup.

This kind of thing happens a lot in this room.

August 26, 2023 : Miracles Do Happen

I've been writing my diary for 18 days in a row! I write a diary every day!
I've been saying this for over 20 years, but never kept up, but this time I'm keeping up!
I'm going to keep it up!

What impressed me today was the javelin throw!
Before I went to bed, I watched World Athletics 2023 on TV.
And then I saw that she came from the 4th place to win the gold medal in the last throw of the competition!
It sent a shiver up my spine.

Such miracles happen, right?
Today I learned that miracles do happen.

August 25, 2023 : Sanshoku Dango and Warabi Mochi

Before I went to bed at night, something unexpected happened.

The story goes back several days. A few days ago, I bought sanshoku dango at the supermarket.
I couldn't decide between sanshoku dango and warabi mochi, but in the end I chose sanshoku dango because it had a longer expiration date than warabi mochi.
A few days later, I bought warabi mochi. At this point, sanshoku dango and warabi mochi were in the fridge.
However, I forgot that warabi mochi was in the fridge, and I bought another pack of warabi mochi yesterday,
so there is now one pack of sanshoku dango and two packs of warabi mochi in the fridge.
Before going to bed at night, I opened the fridge to eat the warabi mochi and found that there was another pack of warabi mochi than the one I wanted to eat,
so I thought I'd eat the old one, and I checked the expiration date and found that the old one expired yesterday, and the sanshoku dango expired yesterday, too.
I had an experience where I ate a warabi mochi that was 2 days past its expiration date and I was fine,
but I was afraid to eat the sanshoku dango that was 2 days past its expiration date because the other day
I was threatened by the manager who said that if I caught COVID-19 there would be no replacement for me at work,
so after all, I ate both of them because I did not want to throw the sanshoku dango in the garbage, nor did I want to get food poisoning as well.
I finished both and went to bed.

After a while I woke up. Looking at the clock, I realized that I had slept for about an hour.
I got up, went to the bathroom, and went back to bed.
Then I had a hard time falling back asleep, and on the way I had a scary thought, something like this:
I always check carefully to make sure that the lights are off when I go outside, and I would normally notice if the TV was on when the lights were off, and also, the TV volume was on.
So why was the TV on when I came home? This has happened three or four times so far.
I thought I had turned it off, but when I got home it was on, or I was asleep and heard a noise, so I went over and found the TV on.
I am very conscious of checking the lights and the air conditioner.
While I was thinking about these things, I fell asleep before I knew it.

Today I woke up later than usual, even though I am in a hurry every morning, so I had to hurry even more.
I went to work and did my best to complete my work successfully today.

On my way home, I took a break at a coffee shop.

August 24, 2023 : When I Got Home, the TV Was On

At dusk I looked out of the window of the examination room. I was surprised to see that it was dark outside and it looked like it was going to rain heavily at any moment.
After completing the outpatient service, I went near the window to look out and saw that it was raining!
I didn't expect it to rain at all. Well, I always leave several umbrellas in the room just in case, so it's okay.

Then I felt very tired and fell asleep at my desk.
After a while, a girl working on the same floor brought me some snacks she had bought as a souvenir from her trip.
I ate them, had a cup of coffee, threw the plastic waste from the lunch I had bought at a convenience store into the trash, and went home.

On the way home, I thought about taking a break at a coffee shop, but there were no good seats, so I went straight home.
When I got home, the TV was on. That happens from time to time these days.
Had I been in such a hurry this morning that I forgot to turn it off?
Or did it turn on by itself?

If it was the latter, I would be scared, but it is quite possible that I forgot to turn it off because I was in a hurry this morning.

August 23, 2023 : A Patient Told Me My Socks Were Cute

A patient told me that the socks I wore were cute.
The socks have a Pikachu design on them.



I bought them at the Pokemon Center in Kyoto last year, and I also bought stuffed animals.



August 22, 2023 : The Advent of the New Drug Lecanemab

Lecanemab, a drug for Alzheimer's disease jointly developed by Eisai and Biogen, was approved yesterday by the Ministry of Health, Labor and Welfare.

Previously, a drug for symptomatic treatment had been approved, but this "Lecanemab" is the first drug to act directly on the substance in the brain believed to be the cause of the disease.
Recanemab is only used for patients with mild Alzheimer's disease or "mild cognitive impairment," the stage before dementia sets in.

The problem is the price of the drug, which can't be too high to make it more widely available,
and I think the drugs, community activities, and nutrients in the diet should be combined appropriately to achieve the best treatment,
and how the importance of each factor will change with the advent of the new drug is what we will see in the near future,
the drug that can be used in the early stages gives us hope, and the increasing number of medical professionals interested in treating the disease could lead to drastic advances in technology in this field.

Today I went to Nagaokakyo City to attend a meeting of the safety and health committee.
Nagaokakyo City is close to where I was born and raised, and every time I come here I feel a little nostalgic.
I used to come here often, riding in my parents' car, going to restaurants with my family, or visiting the stores they owned.

This area is full of my old memories.

August 21, 2023 : Taxes You Pay to Society Help Someone

I saw an argument on the Internet today between a businessman and a doctor.

The businessman said, "There are three kinds of people who say, "Let's help the weak unconditionally",
the weak-minded people who think that money will come from somewhere unlimited,
the hypocrites who say "Let's help," and the businessmen who pretend to help people to make money."

The doctor was offended by his comment and replied,
"His comment is a poor idea in mind and heart, it is the basis of medical practice to help the weak unconditionally."

In response, the businessman asked him, "When is your clinic going to be free of charge? Or are you just being cool and lying?"

The doctor replied, "It is my pride as a doctor that I charge a fee. I do many surgeries and treatments free of charge."

I believe that the word "society" itself contains a structure based on mutual aid.
In other words, I believe that when you pay taxes, you indirectly help the weak, so everyone helps the weak unconditionally.
Sometimes the taxes you pay to society help someone, and sometimes you are helped.
So it is unclear what these two are referring to as the weak.
The businessman and the doctor are always helped by society.
The society that helps them is financed by the taxes we pay.
And it is from taxes that social security funds are allocated.
In other words, paying taxes is the same as helping someone unconditionally.
When a system in which individuals help each other without realizing it is structurally embodied, I think it is called a society.

August 20, 2023 : Find the Good in Others

I had a dream while I was sleeping this morning.

The place was probably a professor's office at a university. I and two students were there. And a person who looked like a professor was sitting in front of me.
I didn't know who the two students and the professor were. Then the professor asked me three questions. And I answered the three questions.

I answered the first question wrong and the other two questions right.
Then the professor started making fun of me for getting the first question wrong. I said, "The other two are right, aren't they?"
Then the professor replied, "It's no surprise that you got the other two right.",
and he tried to ignore the fact that I got two questions right, so I got into an argument with the professor.
I said, "You're an educator, aren't you? You only look at the bad parts and ignore the good parts! Are you okay with being such an educator?"

I woke up when I snapped at him in the dream. Well, I don't belong to any schools anymore, and I don't know why I had this dream,
but the first answer I gave him had the word "forensic..." in it, so I guess it was the old forensic class memory, the one where we got ten points taken off for one absence.
The number of absences I had was three, which matches the number of questions in the dream, three. Coincidence? Irrelevant? I don't care. lol

I took a short break in my room and went out around 6PM.
I took a break at Holly's Cafe. It was hot outside, but hot coffee is the best, drinking hot even when it's hot is the best.
I got home before 8PM and watched the NHK historical drama.
At first I didn't find it interesting, but lately it has become more interesting.

August 19, 2023 : A Chocolate Parfait and a Hot Cafe Au Lait at Holly's Cafe

It was super hot today, so I stayed in my room until dusk and went out a little after 5:00 PM.
I had a chocolate parfait and a hot cafe au lait at Holly's Cafe.

My sister had told me on LINE that there would be a scary drama at night,
so I got home by 9:00 PM and watched the scary drama, but it wasn't as scary as last year.

August 18, 2023 : Safety and Health Committee

At a committee meeting, the topic of cancer came up.

A man said that his grandmother had a tingling sensation in her lower right abdomen, so she went for a checkup and was found to have metastatic liver cancer.
The colon was the source of the metastasis. She was told she had one month to live, and she died just after one month.

A woman said that her grandfather had recently been having difficulty swallowing food.
After a while his hand became numb, so he went for a checkup and found out that his lung cancer had metastasized to his brain.

One of the committee members asked me, "What is the difference between people who smoke a lot and get lung cancer and those who don't? "

I answered, "Mice have a short lifespan, so they die before they get cancer. If you smoke a lot, you will get lung cancer, but the time when you get it varies from person to person,
so those who did not get it died for other reasons before they got it," and he was convinced by what I said.

August 17, 2023 : Seimei Festival Next Month

There will be a Seimei Festival next month.
Seimei Shrine is the place that gave me my name.
I have been to the shrine several times, but I have not attended the festival.
If my schedule allows, I would love to go.

August 16, 2023 : Gozan-no-Okuribi (Daimonji Bon Fire)

Today we went to Demachiyanagi to see Gozan-no-Okuribi.

We met at a cafe near Okazaki Road and soon found out that there was no direct bus service to Demachiyanagi,
so we decided to take a bus to Ginkakuji Temple, get off at Ginkakuji-mae, and walk to Demachiyanagi.

On the way, we stopped at a ramen restaurant, but the amount of bean sprouts was too much for us to finish,
so we stopped eating halfway through and left the restaurant.

After leaving the restaurant and walking for a while, we saw the Kyoto University campus.
After walking along the campus road for a while, we came to the area where my grandma used to live.
Long ago, when I was a child, I used to watch Gozan-no-Okuribi from the balcony of my grandma's apartment.

To beat the heat, we decided to go to a cafe in front of the station and rest until the festival started.
There was still an hour and a half before the bonfire started.
I ordered a hot coffee and she ordered an iced cafe au lait.
I didn't feel comfortable in the cafe because three clerks were looking at us all the time as if they were watching us,
so I thought it would be nice if they put a screen there.

We left the cafe around 7:30. The event was scheduled to start at 8:00, so we had to get a good seat before then.
From the cafe we walked to the Kamo Ohashi Bridge.
There were many people on the sidewalks along the way, and the police were controlling the crowd.
We crossed the Kamo Ohashi Bridge and walked out to the bank of the Kamo River.
Then we went under the Kamo Ohashi Bridge to a place called Kamo River Delta.
There we waited for the ignition.

When the ignition started, I was moved to see the character of Dai was lit up on the mountain.
It reminded me of the scene I used to see from the balcony of my grandma's apartment when I was a child.



(Watch Movie)
https://www.youtube.com/watch?v=OSxS13xnuXU

After a while, walking north along the Kamo River, we found a place where we could see it even more clearly.

I asked a guard on the riverbank where we could see other characters, and he told me that if we walked north from here, we might be able to see them.
On the way, an English-speaking foreign visitor to Japan asked me, "Do you speak English?" and I said, "Yes."
Then he continued, "Where can I see the second fire?", I said, "I have no idea, but a man on the riverbank said we can see it ahead this way,
but a woman on the riverbank said we may not be able to see it," I said, then he said, "Why can't we see it?", and I said I have no idea.

We walked for a while and decided to turn back because we were not sure if we could see it while it was still lit and many people were turning back on the way.
We turned back and walked up the slope by the Aoi-bashi Bridge, and when we came out at the Aoi-bashi Bridge,
we saw a lot of flames drawing a character on the mountain to the north.
That must have been the character we wanted to see when we walked north!
We were lucky to see it by chance!



After that, we walked down the street next to Shimogamo Shrine and came out at Demachiyanagi.
There was a nostalgic Lotteria, so we decided to go in and cool off.
I remembered ordering something at this Lotteria with Korean friends more than 10 years ago.

After leaving the Lotteria, we walked to Kamo Ohashi Bridge.
We bought a soda at a convenience store near the bridge and walked along Imadegawa-dori Street to Imadegawa subway station,
then we took the train to Shijo subway station and walked home along Shijo-dori Street.

August 15, 2023 : Typhoon Lan Crosses the Main Island of Japan

Typhoon Lan hit Kyoto today.

I made some preparations yesterday, including stocking up on food, and stayed in my room all day today.
She was supposed to come today, but because of the typhoon, it was postponed until tomorrow.
I thought she was coming today until I got a message from her, and that was the first time I realized the typhoon was coming.
Speaking of typhoons, when I was in junior high and high school, I hoped that a typhoon would cancel school.
I was very disappointed when the typhoons didn't cancel school.
This is the only memory I have of typhoons so far, probably because I lived in an area where a typhoon was not so dangerous; earthquakes are much scarier to me than typhoons.
But in some countries and regions, typhoons are scarier than earthquakes. A friend of mine from the Philippines once told me that in the Philippines they are more afraid of typhoons than earthquakes.
In the Philippines, earthquakes usually occur in unpopulated areas, but when it comes to typhoons, it is no longer an ordinary event.

By the way, today is the last day of the war, the end of the fighting between the Japanese and the Allied forces.
I once saw a documentary on television about the Battle of Okinawa, and it showed the communication record of the U.S. troops who wanted to protect the residents they found.
If they can protect and help each other in such a devastating situation like the Battle of Okinawa, why are they killing each other with guns?
It is a mystery how the public mind is so inclined to go to war.

Also, today I added a conversion function to Lee22.Net's "CONVERT CHARACTERS" for title case.
I write all article titles in uppercase because I thought it would be easier to read since all my site articles are vertically aligned up and down,
but now that I've made it, I think I'll use this to convert the article titles to Title Case.
http://medicine.lee22.net/CONVERT_CHARACTERS.aspx

(Normal text) August 15, 2023 : Typhoon Lan crosses the main island of Japan
(Title Case) August 15, 2023 : Typhoon Lan Crosses the Main Island of Japan
(UPPERCASE) AUGUST 15, 2023 : TYPHOON LAN CROSSES THE MAIN ISLAND OF JAPAN

Title Case is used in article titles in English language journals.



August 14, 2023 : Preparing for Tomorrow's Typhoon Today

I had a creepy dream while I was sleeping today. I was in a slightly dimly lit room with a desk that looked like a reception desk, and two women were there.
And I saw a big white camellia blooming on the wall near the ceiling, and I thought, "Really, a big camellia." Then I left the room and went to another room.
The room I moved to and the room with the reception desk were connected by a sliding door, and it looked like the rooms I lived in when I was in elementary school and when I was in my 30s.
Then, out of nowhere, someone said, "They say my mother's sister's husband has died," and then my third oldest sister said, "Really?" and then I woke up.

I have had many prophetic dreams in my life, so I am very concerned about the dreams I have had and always worry about the content of the dreams I have.
According to Japanese oneiromancy books, a dream in which a healthy person dies is considered a good dream.
But in my cases, there have been many cases that have nothing to do with oneiromancy, my prophetic dreams have been straightforward, and the content of the dream is almost exactly as it is.
For example, when I dreamed that I reunited with a classmate from elementary school, soon I reunited with a different elementary school classmate from the one who appeared in my dream.
This has happened many times before, and even though there are subtle differences, the total is right. That is why I am worried.
However, I have also had many dreams that have nothing to do with prophetic dreams, so I hope this case is the latter, it is just a dream. I hope this case is the latter, just a dream.

I had a lunch of chicken and furikake rice and went out. They say a typhoon is coming tomorrow, so I need to stock up today.
And since I'll be home all day tomorrow, I thought I'd clean the room, so I went to the 100-yen store and bought a lot of things,
like a sponge on the end of a stick for cleaning the bathtub, tissues for the floor, and insulated paper cups for relaxing with cafe au lait tomorrow.
Then I went to the supermarket and bought some microwaveable white rice and snacks and went home.
Tomorrow is a typhoon. I'm going to spend the day with a lot of energy.

August 13, 2023 : Ramen Restaurant Near Horikawa-Matsubara

Today we went to a ramen restaurant near Horikawa-Matsubara.

Going to Horikawa-dori Street, and passing Ayanokoji-dori Street, Bukouji-dori Street and Takatsuji-dori Street,
and soon after passing Horikawa Matsubara, we will come to see it.

By the way, Horikawa Matsubara is the intersection of Horikawa-dori Street and Matsubara-dori Street.
There are many intersections in Kyoto, but all of them have names, and each name is a combination of street names.
For example, Horikawa-Matsubara is the intersection of Horikawa-dori Street and Matsubara-dori Street.

It is very convenient to remember this.
You can easily find out where you are by just looking at the address,
and when you get in a cab, you can tell the driver where you'd like to go just by saying the name of the intersection.

August 12, 2023 : Diary

I woke up in the early afternoon and went out for lunch. Later, I took a break at Maeda Coffee.
In the evening, I watched a TV program that my sister told me that it seemed to be scary, so don't miss it.
The TV program showed an old man who was said to be the descendant of demons, but it wasn't frightening at all.

August 11, 2023 : Japanese National Holiday Called Mountain Day

Today is a national holiday, a Japanese national holiday called Mountain Day.

I set my alarm for 11:40 and 12:30, but ended up sleeping until about 2:00. I got up and played Dissidia FF.
Then I wanted to go to a ramen shop, but it was crowded, so I went to Holly's Cafe instead and had a parfait and a cup of cocoa.

While I was there, I read an article about a guy who sued a medical school because it wasn't fair that he was disadvantaged in the entrance exam because he was a ronin.
And he won, and the university was ordered to pay compensation. This is very surprising news, because it has the potential to change the way they think about how selection should be done in schools.
When I was 20 years old, I had an 80% or more chance of passing the exams in all private medical schools in Japan except Keio University School of Medicine on the national mock exam,
and I applied to many schools, but I failed most of them in the interviews except Japan Medical Univ. and Kansai Medical Univ.
I think the interviews held after the exams at private medical schools are for that purpose, they just look to see if an applicant is a serious and hardworking student or not,
as for me, my high school grades were at the bottom, so I didn't pass the interviews. I always thought that it was up to the discretion of the schools, but the applicant who sued the school won.
If this is the case, it seems strange to me that 18-year-old students and working teachers much older than them who apply to medical school should be treated equally.
I wonder if it is good or bad that everything is determined by paper test scores.
I don't know which is better, but at least I don't think that 18-year-old students who spent their junior and senior high school years doing their best to get into schools,
and me, who spent the high school years in a very sloppy way and adjusted the way of life to get high scores only when entrance exams came around, should be treated equally.

And I think we shouldn't say it's discrimination because it's our fault for becoming a ronin, just work hard and get it back, no need to sue them.

I left the cafe, bought some food at the supermarket, and came back home.
Then I played Dissidia FF again while doing computer programming.

August 10, 2023 : Impressive Case of Weight Gain

It looked like it was going to be very hot again today. In the morning I took a taxi to work.
The driver said, "It's going to be hot again today, isn't it?", I replied, "Yes, it's already hot!"

I went through Aburanokoji-dori Street to Aneyakoji-dori Street, and from there to Karasuma-dori Street.
Karasuma-dori and Shijo-dori are both the main streets of Kyoto.
The intersection of these two streets is called Shijo-Karasuma, and this is the place where traffic is most likely to become congested,
Therefore, experts avoid this route and use Shinmachi-dori or Aburanokoji-dori to reach Karasuma-dori.

Arriving at the office and entering the examination room.
The most impressive patient today was a woman who said she had gained 20 or more kilograms in one year,
and a pharmacist recommended a packaged over-the-counter medicine,
but I personally don't recommend it because many people suffer from some kind of diarrhea.
Weight gain should be controlled by diet and exercise, but there are so many people who gain weight with medications prescribed by their doctors,
and I strongly suspected that in this case.

Weight gain caused by medication is really hard to reduce no matter what they do until they stop the medication.
In this case, it seemed best to ask her doctor to prescribe another drug that would have the same effect, so I advised her.

August 9, 2023 : The Weather Is so Capricious

When I got to work, the sky didn't tell me if it was going to rain or not.
Then I checked the weather forecast on my smartphone: cloudy, 40% chance of precipitation with no rain mark.
But before I left my room, I heard on the TV news that a typhoon was approaching Kyushu, so I took an umbrella just in case.

On the way, while walking on Sanjo-dori Street, it suddenly started raining, and I opened my umbrella, but the rain stopped within a few minutes.
The weather was really capricious today, was the weather capricious in the past? Is this weird or just my imagination?

I found Holly's Cafe on the way, I didn't know that Holly's Cafe was here until now.
There are so many Holly's Cafe, Starbucks around here, but not so many family restaurants for dinner.
Why is that? It's so strange.

August 5, 2023 : Happy Father's Birthday!!

I went to the beauty parlor where I had an appointment to get a haircut.
At night, I called my parents because today is my dad's birthday.
I'm glad to hear that he's doing well.

July 24, 2023 : Yamaboko on Karasuma-dori Street

In the morning, I took a taxi to work, but Aneyakoji-dori was closed because of the Gion Festival, so I had to walk.
On the way, I found two yamaboko on Shimmachi-dori and Muromachi-dori streets, and there were guys carrying a yamaboko on Karasuma-dori street.

VIEW MORE

July 18, 2023 : Celebrity

There are so many Korean movies on Netflix, so I tried watching this... how nice!! I really love it!!



July 17, 2023 : Kyoto Gion Festival 2023 Shinkosai Nakagoza Mikoshi





(Movie) Kyoto Gion Festival 2023 Shinkosai Nakagoza Mikoshi on Kawaramachi-dori Street

(Movie) Kyoto Gion Festival 2023 Shinkosai Nakagoza Mikoshi on Shijo-dori Street

July 16, 2023 : Buying Chimaki from Children at Gion Festival

I bought chimaki from the children at the Gion Festival.

July 15, 2023 : Gion Festival 2023

Today we enjoyed the Gion Festival.

Shijo-dori Street and Karasuma-dori Street were turned into a pedestrian paradise, with food stalls lining the streets,
and we got stuck at Shijo-Karasuma because there were so many people.
She said, "At this rate, it might take about five hours to get to Oike-dori Street..." and I thought so, too,
but it started moving after passing Rokkaku-dori Street, and we made it to Oike-dori Street much sooner than we thought,
it took about 40 minutes, four times longer than usual.



May 28, 2023 : Saiji (West) Temple Park

We went to the Saiji Temple Park.

Once upon a time, there was a temple called Saiji Temple (West Temple), which was built symmetrically to the west of Toji Temple (East Temple).
Both temples were built in 796 CE, but the West Temple was burnt down in a fire in 1233 CE and was lost, while the East Temple has flourished to this day,
as a landmark at the entrance to Kyoto for more than a thousand years.
Now, the Saiji ruins have become the park we wanted to visit today.

Walking along the sidewalk along the Toji Temple and turning right at the corner, we will find the Great South Gate.


From there, we continued west and turned right at the corner and walked north until we saw the gate on the west side of Toji Temple,
then we turned left to enter the residential area and went straight for about 15 minutes until we reached Saiji Temple Park.



The site of the West Temple, which once flourished, is now the local park where children play with their friends.
On the hill in the park, the monument represents the place where Saiji Temple used to be.


It is said that we can find the bricks that were burned when Saiji Temple burned down on the ground,
but we didn't search for them, because we were already too tired to search the weed-covered ground. lol

VIEW MORE

May 5, 2023 : Kyoto Arashiyama

We went to the Arashiyama area of Kyoto.

At Shijo Omiya station, we took the Randen line to Arashiyama station.
After arriving at the station, we went to Tenryuji Temple.
Then we had a break at Ueshima Coffee, and then we had ice cream.

We really had a good time today!



VIEW MORE

April 16, 2023 : Release of Lee22.Net Password Generator

I have developed a very powerful password generator.

You can generate very strong passwords from two simple keywords that you can easily remember.

They say that using your birthday as a password is very dangerous for your security, but with this tool you can generate a really strong password.

It will generate the same password if you set the same value for each of the keywords, so you can easily remember your passwords.

You can set the password length from 5 to 128 and all the languages you can use as your keywords.



(English version) LEE22.NET PASSWORD GENERATOR

(Japanese version) LEE22.NET PASSWORD GENERATOR

April 13, 2023 : Convert Characters Web Application



I have made a web application "Convert Characters".

You can convert characters to uppercase, lowercase, encrypted, decrypted, narrow, wide, MD5, SHA1, SHA256 and SHA512.

http://medicine.lee22.net/CONVERT_CHARACTERS.aspx

April 7, 2023 : Dynamically Generated Regular Expressions for Checkbox Checked State



Today I tried some interesting things. This program creates regular expressions for each checked state and checks if it matches the user's requirements.

(Declarations)

public static string REGULAR_EXPRESSION_PATTERN = "";
public static string REGULAR_EXPRESSION_NUMBERS = "[0-9]+";
public static string REGULAR_EXPRESSION_UPPERCASE = "[A-Z]+";
public static string REGULAR_EXPRESSION_LOWERCASE = "[a-z]+";
public static string REGULAR_EXPRESSION_SYMBOLS = "[\'\"#$%&!@(){}*]+";

(dynamically generate regular expressions)

if (checkBox1.Checked == true) { REGULAR_EXPRESSION_PATTERN += REGULAR_EXPRESSION_SYMBOLS; }
if (checkBox2.Checked == true) { REGULAR_EXPRESSION_PATTERN += REGULAR_EXPRESSION_NUMBERS; }
if (checkBox3.Checked == true) { REGULAR_EXPRESSION_PATTERN += REGULAR_EXPRESSION_UPPERCASE; }
if (checkBox4.Checked == true) { REGULAR_EXPRESSION_PATTERN += REGULAR_EXPRESSION_LOWERCASE; }

REGULAR_EXPRESSION_PATTERN = "^" + REGULAR_EXPRESSION_PATTERN + "$";

The checkBox1 corresponds to the "Symbols" checkbox, checkBox2, checkBox3, and checkBox4 correspond to "Number", "Uppercase", and "Lowercase", respectively.
For example, if all four checkboxes are checked, this will generate the regular expression "^[\'\"#$%&!@(){}*]+[0-9]+[A-Z]+[a-z]+$",
which is used to check if the generated password matches the user's definitions.

("LEE22.NET PASSWORD GENERATOR" is the upcoming application I'm developing right now).

March 27, 2023 : Kyoto Prefectural Government (First Day of the Agency for Cultural Affairs)

Today we went to Kyoto Prefectural Government.

In fact, today is the first business day since the Agency for Cultural Affairs moved to Kyoto.
So the staff of the TV station was doing interviews in front of the building.

After a short break at a rest area in the building, we went to the Heian-jingu Shrine.


March 27, 2023 : Heian-jingu Shrine

After leaving the Kyoto Prefectural Government, we walked to the Heian-jingu Shrine.










March 13, 2023 : Miracle of Two Sakaki Trees at Shimogamo Shrine

We visited Shimogamo Shrine, one of the World Heritage Sites in Kyoto.



VIEW MORE

February 27, 2023 : The Sun Shines Gold Just Before Sunset

I know the sun shines gold just before sunset.
I know the dream shines gold just before it gives up.

I hope my dreams still shine gold like that sunset.

(AT KIYOMIZU-DERA TEMPLE)

February 24, 2023 : How to Redirect to Another Website

This is how to redirect to another website instead of displaying html error pages.
Create a file named ".htaccess" in the top root directory and write the code as below:

Redirect donations.html https://www.un.org/en/about-us/how-to-donate-to-the-un-system
ErrorDocument 404 https://www.un.org/en/about-us/how-to-donate-to-the-un-system

I redirect all 404 error responses to the United Nations donation page.

February 22, 2023 : My New Japanese Website Starts!!

My new Japanese website starts!! : http://estiale.net/

FEBRUARY 19, 2023 RELAXING TIME AT MY APARTMENT ROOM

I woke up a little past 3pm and went to the ramen shop for some lunch. Then, I stopped by the supermarket and got some food for dinner,
and after getting home I played video games and watched TV starting from 8pm.

FEBRUARY 11, 2023 GETTING NINTENDO SWITCH AND OTHER GAMES

We went to an electronics store near Kyoto station and got a Nintendo Switch, and other games.
Hope these items make our daily life happier!!



JANUARY 6, 2023 CORRELATION BETWEEN LIVER ULTRASONOGRAPHY AND LIVER FUNCTION TESTS RESULTS

Today, I wondered if a dull liver surface edge in ultrasonography really implies liver dysfunction, for I have experienced many cases of this so far,
but most of them show completely normal in liver function tests, so I searched the Internet and found the thesis which seems to be affirmative to my experiences.

"Correlation between Liver Ultrasonography with AST and ALT Value in Suspect Hepatitis"

The result shows there is a significant relationship between echostructure, liver size, and portal vein dilatation, but no significant relationship between liver surface edge.



JANUARY 3, 2023 AT AMUSEMENT ARCADE TWO DAYS IN A ROW

Woke up in the afternoon, and went to a ramen shop for lunch. After that, we stopped by a cafe, and amusement arcade to play Mario kart two days in a row.

DECEMBER 9, 2022 HONEYMADE LUNCH!!

Lately, I've been feeling dull and she tries to help me save my energy... starting today, my wife makes lunch for me!!
Yeah, it's really helpful for me, because at the workplace there is no need for me to go out for lunch anymore,
and I can concentrate better on my work. Really really thanks honey!!

DECEMBER 7, 2022 SPRING UP MEMORIES

3:27 PM : I'm waiting in the room for work coming soon, and during that time I remembered the time I visited my website when I was in Tokyo.
So, I imitated what I did those days; I visited here to alleviate my anxiety again!!
The rest of the day, all things went well, probably with the power of my lucky charm.

NOVEMBER 27, 2022 MY OLD PASTIME IS COMING BACK

I noticed when I read my past diary that, although I thought I quit making software after I became a doctor, I was in books for five years from then until 2012.
Lately, I don't know why, I'm starting to have fun with the PC and I didn't go out yesterday, so I may be in many books again. lol


NOVEMBER 20, 2022 EIKANDO TEMPLE (FORMALLY KNOWN AS ZENRINJI TEMPLE)



VIEW MORE

NOVEMBER 13, 2022 SANRIO'S KAWAII EXHIBITION IN KYOTO



VIEW MORE

October 23, 2022 : Fushimi Inari Taisha Shrine

We went to the Fushimi Inari Taisha Shrine.







SEPTEMBER 30, 2022 LONG COVID PATIENT WITH SEVERE WHEEZING

First time I met him, I was shocked because he had severe wheezing, and I asked him "Did you run in a hurry?", "No." he answered, "I just walked here."
Soon after, I came to realize breathing difficulties as part of a long covid could ruin their precious time, for he had to stop working for months because of that symptom.

AUGUST 10, 2022 WE NEED TO ROLL UP SLEEVES FOR NEXT COVID WAVE

I left home at about 8:18 AM, I called a taxi, but they said it would take a bit long, so I had to walk to the station, the moment I missed the train I usually take.
It's hot outside, but there was a comfortable light breeze, so I didn’t sweat as much as I thought.
Today, I got the fourth vaccination for novel coronavirus.
Rolled up my sleeves, and got the vaccine even though I didn't want to for fear of aftereffect.
In Japan, new coronavirus variants are starting to go around, but the vaccination rate isn’t high enough to prevent the seventh wave, especially low among young ages.
So we need to roll up our sleeves for the forthcoming COVID wave.

JUNE 5, 2022 MY GIRLFRIEND’S HEAD REACHES THE TOP OF THE ENTRANCE TO THE WASHROOM!!

My girlfriend’s head reaches the top of the entrance to the washroom. I’m jealous! lol

MAY 22, 2022 WE ARE ENGAGED!!

I proposed to her and we got engaged on this day!!

VIEW MORE

April 3, 2022 : Road to the Mountain Top

Today, I came to realize that once I thought the top of the mountain was not the real top.

When we got to the place where I once thought it was the top, we saw the sign that said "the top is about 5 minutes from here" and it pointed the direction to the top.

Then I reached the top of the mountain for the first time, with my girlfriend!!

(Photo Album : Fushimi Inari Taisha Shrine)



MARCH 8, 2022 MAKING REMARK ABOUT OMICRON VARIANT CONCERNS AT SAFETY AND HEALTH COMMITTEE

I attended the safety and health committee.

There, I warned them about the Omicron variant concerns.

The Omicron variant now prevails at the nursing facility I'm involved in.

So far, more than 40 out of more than 200 infected people were sent to hospitals by ambulance and three have already died.

I'm really worried that so many people think the Omicron variant is less dangerous than the original variant is.

When the Delta variant prevailed in Japan, our facilities were all safe from them.

But, when it comes to the Omicron variant, it's really hard to block them, because of their rapid transmission.

This variant seems to be less serious to young people, but it's still dangerous to elder people.

I'm really afraid of how things will go if the next variant, the Omicron BA.2 variant, strikes our facilities.

FEBRUARY 18, 2022 ONCE NORMAL BUILDING TURN INTO REAL BIOHAZARD SITE

Getting used to seeing this building, I never imagined this building would look like a demon castle, standing in the darkness of night.
I never never never imagined this building turning into the real biohazard site.
I prayed to not be infected before entering, and swore I'll do my best.

FEBRUARY 16, 2022 COVID-19 CLUSTER AT NURSING HOME

Update of COVID-19 cluster the other day.

It exceeded 40 infected on Monday, and today on Wednesday it exceeded 120 infected,
it increased about three times within a few days, and more than 20 patients were sent to hospitals by ambulance.

Very very very fast they spread, even though we wear masks, face shields and protectors.

How do we control this savage virus?

FEBRUARY 12, 2022 COVID-19 CLUSTER AT NURSING HOME

COVID-19 cluster at the nursing home, where I often go there.
29 infected, 36 infected and soon it's more than 40 infected persons, and two were sent to the hospital by ambulance.
The Common cold or flu don't get worse as suddenly as this, I felt it's like the difference between sightseeing boats and maglev trains.
The speed of infection spreads from person to person, and the speed of worsening into severe cases,
both are very very unusually fast, fast enough this obviously doesn't look like a common cold.

December 24, 2021 : Great Christmas Gift!!

On Christmas Eve, I received a request to become the deputy chief of the medical clinic, and I accepted.
I'll try my best to be worthy of the position.



DECEMBER 12, 2021 I CAN STILL CHASE DREAMS

I visited the Imperial Palace, and after work, I went to the Mcdonald's restaurant, where I used to come when I was 18 years old, it's about 25 years ago now, the time when I went to a cram school around here to study for university entrance exams.
At the restaurant, I remembered the dreams the 18 years old me had, and still, I'm chasing the dream.

I was wondering while having lunch at the restaurant, should I apologize to the 18 years old myself in the past, for still having not realized the dreams, or should I not apologize, because I can realize the dreams from now.
Those were the days, I wish I could go back in time to tell my past self then how the future would go.

Finally, I have decided to not apologize to my past self, instead, I have decided to share joy with the 18 years old me in the past, when I realize my dreams in the future.

Then I noticed the milk in the tea looked the shape of Pikachu!! lol Interesting!! lol



NOVEMBER 28, 2021 ABOUT OMICRON VARIANT

About the Omicron variant, most cases are mild or asymptomatic.
Fatigue, cough are the main symptom, and loss of sense of smell or taste haven't been observed, relatively younger patients,
65% of hospitalized patients have no vaccine shot, 35% of them have only one shot, and 0% among second shots done. 
Vaccines seem to be very effective against Omicron variants.

I'm worried about what he says in the article "some needing intensive care."



(https://slate.com/news-and-politics/2021/11/omicron-covid-south-africa-travel-bans-hospitals-surge.html)

NOVEMBER 8, 2021 SMOKING IS FRIGHTENING

I cover house visits to more than 200 patients, and today made visits to 16 patients.

Among them, there is a man who is undergoing home oxygen therapy for pulmonary emphysema.

He said, usually the flow rate of 0.75 liter per minute is okay, but when he moves to a table about 3 meters ahead,
the SpO2 decreases to less than 90% and feels suffocated if he doesn't increase the flow rate to 4 liter per minute.

Everyone should know, "Smoking is Frightening."

NOVEMBER 7, 2021 GREAT STEPS TOWARD END OF COVID-19 PANDEMIC

Yeah!! Pfizer has done a very very very great job!! Their antiviral oral drugs have reduced the risk of COVID-19 hospitalization and death by 89%!!

Really really a great game changer to fight and end the COVID-19 pandemic!!



https://www.pfizer.com/news/press-release/press-release-detail/pfizers-novel-covid-19-oral-antiviral-treatment-candidate

October 27, 2021 : We Are Not as Old as We Think We Are

When I was in high school, I was habitually late for school.

I would get up around 7:00, leave the house at 7:25, sprint to the train station, and barely make it in time to catch the 7:31 train.
If I missed that train, I would be late for school. So those 6 minutes were very important to me at that time.

More than 25 years have passed since then, and those memories have been swept away by the waves of time.
Whenever I remember it, I always feel that young people are so great, so great that they seem to me to be out of this world.
As for me, as time goes by, I easily get tired both physically and mentally, and I always feel jealous of young people's vitality.

Today I went to work by train. I woke up, got ready to go out, but I was in a crucial situation again, I had to reach the station in 9 minutes in order not to be late.
So I had to sprint to the station like I did more than 25 years ago. Surprisingly, I made it to the station in 6 minutes, the same time as when I was a senior high school student!

Unbelievable! Can this really happen? It's been more than 25 years since those days!

Today I came to know that we are not as old as we think we are, that what really ages is not the body, but the mind.
I'm really happy to see that I still have the same potential that I had in high school.

October 22, 2021 : It's Me Who Should Say Thanks

It's me who should say thanks, I want to thank them more than 1000000000000 times.
If it were not for their vaccines, I get chills just thinking about it.



OCTOBER 1, 2021 JAPAN LIFTS COVID-19 STATE OF EMERGENCY NATIONWIDE

Japan lifts all prefectures' COVID-19 state of emergency.

The manager said to me, "Thanks for your hard work for the vaccination tasks."
I was really glad to hear that, actually, I respect them because although COVID-19 vaccinations are in the red business,
they raised their hands saying that they didn't want to ignore this national crisis.
I know, this successful results, one of the biggest vaccination sites they prepared, is thanks to their hard work.

Recently, I've been working harder than ever, because the hospital director has been hospitalized for months,
and in addition to that, vaccination tasks were on my shoulder, which made me even work harder.

Tonight, I treated myself to something special. lol

SEPTEMBER 28, 2021 TREATING MYSELF TO DINNER AFTER WORK

Being in charge of vaccination tasks from morning till dusk, I was tired out.

Come to think of it, it's been almost half a year since Japan started COVID-19 vaccinations.
During that time, my mind and body are exhausted, and it seems I might want to rest.

So I treated myself to dinner after work!! 

SEPTEMBER 27, 2021 JAPAN APPROVES SOTROVIMAB AS ANTIBODY TREATMENT FOR COVID-19

Japan approves Sotrovimab as the second antibody drug for COVID-19.
This antibody was for SARS-CoV-1, but effective on SARS-CoV-2 as well.
So, this is widely effective on SARS, which suggests this is widely effective on new variants.



SEPTEMBER 16, 2021 CORRELATION BETWEEN COVID ARM AFTER FIRST DOSE AND INTENSITY OF SIDE EFFECTS AFTER SECOND DOSE

I was asked, "If COVID arm shows up after the first dose, could there be a higher rate of COVID arm again after the second dose, and any increased intensity in side effects after the second dose?"

This may be a very difficult question to answer, for it seems not enough evidence is so far.

So I thought logically and answered.

The first question, If COVID arm shows up after the first dose, could there be a higher rate of COVID arm again after the second dose?

My opinion is, if COVID arm shows up after the first dose, chances are COVID arm occurs at higher rate after the second dose but shows up sooner than first dose,
because the procedure of COVID arm showing up must have been memorized by immune system, so I think there are correlations between COVID arm after the first dose and the rate of COVID arm again after the second dose.

The second question, If COVID arm shows up after the first dose, can there be any increased intensity in side effects after the second dose?

My opinion is, COVID arm is delayed localized immune system responses, and any other side effects such as fever and fatigue, are systemic immune responses,
so I don't think there are any correlations between COVID arm showing up after the first dose and the intensity of side effects after the second dose.

These are just my opinions. Maybe later, when I find evidence about these topics, I will post the article here.

SEPTEMBER 15, 2021 COVID-19 PATIENT THE OTHER DAY BEING MUCH BETTER

The COVID-19 patient the other day is now getting better. First, he had a loss of sense of taste and smell, now he just only has a slight cough and sore throat.
I've been afraid of sudden escalation to a serious case, and now, he seems to be on the mend. Yay!!

SEPTEMBER 14, 2021 FEELING THAT PATIENTS WITH COVID-19 HISTORY ARE INCREASING

At 9 am, the start of work, I felt as if it's the beginning of a long long journey.

At 1 pm, after the break, I felt as if this never ends.

At 4:30 pm, I felt as if it's nearly the goal.

Yeah, working from 9 am to 5 pm, sitting on the same seat, keeping on vaccinating people after people is really tough work.

Today, 2 patients with COVID-19 past history came.

Recently, I feel an increased number of patients with COVID-19 history coming over to my place.

SEPTEMBER 10, 2021 PATIENT WITH LOSS OF SENSE OF SMELL COMES OVER

Today, a patient with a loss of sense of smell came over to the medical room.

Recently, I have come to feel, coming to the central area of the city is kinda scary.
For, lately every time I come here, at least one with COVID-19 past history comes over to the medical room.

The patient, infected by COVID virus about seven month ago, lost her sense of smell then, and still hasn't recovered.
Although I have seen dozens of patients day after day for years, this is the first time I saw a patient with no sense of smell this far.

She is a very beautiful girl, and still in her 20's. I will never forgive this virus.

SEPTEMBER 8, 2021 MU VARIANT FOUND IN JAPAN

The Mu variant was found in Japan.



Mu variant has the mutations of N501Y, E484K, P681H.

N501Y mutation, seen in Alpha, Beta, Gamma variants, can increase transmissibility.
E484K mutation, seen in Beta, Gamma variants, can increase the ability to escape antibodies (reduced vaccine efficacy).
P681H mutation, seen in Alpha variant, can facilitate rapid transmission.

mRNA vaccines remain highly effective against the E484K variants (Beta and Gamma),
and its prevalence is increasing in some countries but decreasing in some countries,
so I think Delta variant remains the scariest variant so far.

SEPTEMBER 7, 2021 SECOND ROUND OF MODERNA VACCINATION TASKS

Second round of Moderna vaccination tasks for company workers starts today.

I was so surprised COVID arms are more prevalent than I thought,
about 15 out of 200, whom I saw today, 2 out of them are still having difficulty in raising their arms.

Then, to me, Pfizer's look more preferable.

SEPTEMBER 3, 2021 START TO MONITOR COVID-19 PATIENT RESTING AT HOME

A worker in the company I'm managing their health conditions got a fever and tested PCR positive, and got into the process of home remedy. (he didn't get vaccinated because he didn't want)
I said to him, there is no cure in this stage, so take enough water, rest and stay in bed, and always be careful of pulse oximeter's value.
In the conversation, he voiced the name of Avigan, so I said there is no positive effect in Avigan for COVID-19.
At this time of now coming up with a name of Avigan or Ivermectin really really sucks, they should trust in vaccines rather than such suspicious stuff.

AUGUST 31, 2021 WORKPLACE VACCINATION TASKS

I'm in charge of workplace vaccination tasks, from 9 am to 5 pm.
Two girls were feeling sick after the vaccinations, and rested at the medical room for observations.
Both of them had stable vital signs, and got better before long. I was relieved.

AUGUST 27, 2021 SAFETY AND HEALTH COMMITTEE VIA ZOOM

I attended the safety and health committee via Zoom, as one of anti-coronavirus measures.
The meeting's topic was about long Covid and COVID-19 vaccines.

AUGUST 19, 2021 GIRL WHO IS WORRIED ABOUT TAKING TRANEXAMIC ACID BEFORE TAKING MODERNA COVID-19 VACCINE

A girl asked me, "Taking tranexamic acid can increase the risk of blood clots after the vaccination?"

Tranexamic acid helps blood to clot, and she was worried about increased blood clot risk by the side reactions of the Moderna COVID-19 vaccine.

First, they say forming blood clots are attributed to AstraZeneca's, later, some start to say it's as prevalent with Moderna's and Pfizer's as with AstraZeneca's.

And my answer is, the risk is so rare in each case that it shouldn't be counted as risks, for the great advantages, which overwhelms the disadvantages.

AUGUST 18, 2021 INSPIRING MYSELF AGAIN

India's excess deaths during pandemic can be up to 4.9 million.
I've got to try harder to cope with this demonish virus.



AUGUST 12, 2021 WORKPLACE VACCINATION DAY FOR COVID-19

It continues from 9am to 5pm. This happiness I feel, when the task is done successfully.

AUGUST 10, 2021 START OF WORKPLACE VACCINATION FOR COVID-19

It's the start of workplace vaccination.
The Media are coming to the site, which gives me cryptic pressure. lol

AUGUST 4, 2021 GROWING CONCERNS ABOUT LAMBDA VARIANT

Looking at the figures below, the Lambda variant shows high infectivity as much as that of Delta variant, as well as being highly resistant to current vaccines.




(SARS-CoV-2 Lambda variant exhibits higher infectivity and immune resistance)
(https://doi.org/10.1101/2021.07.28.454085)


JULY 31, 2021 COVID-19 DEATH RATES IN HOSPITALS ARE DECREASING AS TREATMENTS IMPROVE

The in-hospital death rates of COVID-19 patients are over 25% in March last year.

It decreases to the current rate, as treatments improve.

We must realize that the death rates of COVID-19 now are "due to hospitals' hard workings."

Seasonal flu can never be a rival to COVID-19, because COVID-19 is far-deadlier than seasonal flu.

This is the reason why many hospitals are not willing to accept COVID-19 patients;
if this virus spreads to many hospitalized patients, they are at the very high risk of being dead.



JULY 18, 2021 BEGINNING OF THE LONG JOURNEY IN EORZEA

I was mesmerized by the beautiful starry sky. I wonder how many stars are over there?
Time goes by, with days and nights are flirting with capricious weather even while sleeping,
I’m setting out on the long journey with no end in this amazing world, Eorzea.



JULY 11, 2021 UNDERSTANDING MORE ABOUT LONG COVID

The recent research of long COVID has been published by Imperial College London.

Worthy of a special mention should be 37.7% of all symptomatic patients are still symptomatic 12 weeks after onset,
even young people between 18 to 24 have a high probability of 30.2% of long COVID, the risks almost don't change till 50s,
women have relatively higher risks, obese increases the risks, healthcare workers have higher risks,
smoking increases the risks, the risks increase with severity, but be aware, even in mild cases 25.4% of them have long COVID.

In my opinion, the cause of long COVID can be attributed to this research,
within 80 days, the emergence of SARS-CoV2 which is completely resistant to convalescent patient plasma.
http://lee22.net/#20210105

Could it be difficult to remove this highly resistant virus?
Probably, Antibody Drugs can be the key to cure this symptom.





(https://spiral.imperial.ac.uk/bitstream/10044/1/89844/9/REACT_long_covid_paper_final.pdf)

JULY 1, 2021 SHIRT WITH STRONG CUTIE

I sense, cute, strong, and brave powers are somewhere in my shirt. I really like this shirt!!



JUNE 29, 2021 HAVING VACCINATED MY PARENTS MYSELF

My dad and mom have received the second dose of SARS-CoV-2 vaccine.

The doctor who vaccinated my parents is me!!

I'm really happy I have vaccinated my parents myself!!

JUNE 28, 2021 LEGEND OF MANA

They have announced "Legend of Mana" is going to be an animated film (in Japan).

I was really into this game more than 20 years ago, in my apartment room.

How nostalgic! Classics live forever!!


JUNE 16, 2021 TWO CASES OF CONTRAINDICATION TO COMIRNATY

Comirnaty, SARS-CoV-2 mRNA vaccine, seems to have more people with anaphylaxis past history come to get a shot, than flu vaccine.
During the last two weeks in my workplace, already four cases of people with anaphylaxis past history have been confirmed, two are to contrast medium, and the others are to Xylocaine.

PEG is included both in contrast medium and Comirnaty, so anaphylaxis past history to contrast medium are a major contraindication to Comirnaty, so I stopped the vaccination to them,
whereas anaphylaxis past history to Xylocaine are not a contraindication to this vaccine, so they got a dose and observation period was extended from 15 minutes to 30 minutes.

As for flu vaccine, people with a medical history of anaphylaxis seldom come to get a shot, (at least, I don't remember people with anaphylaxis history came to take flu shot so far),
but when it comes to COVID vaccine, there are already four cases... does this mean even though they have anaphylaxis history they want to take a vaccine?

Looking into past anaphylaxis cases caused by Comirnaty in Japan, asthma seems to be the most common cause, and other allergies follow.
I re-realized the importance of extension of observation period in cases with allergies.

JUNE 10, 2021 BODY SURFACE AREA (BSA) AND BMI EVALUATIONS

I have updated "LEE22.NET MEDICAL SERVICES" with new functions.

Body Surface Area (BSA) and BMI Evaluations
Calculate Body Surface Area in many ways, Boyd Formula, Gehan and George Formula, Haycock Formula, Du Bois and Du Bois Formula, Mosteller Formula,
and Mean Value as the Estimated Body Surface Area, and additionally, get Body Mass Index (BMI) and BMI Prime Evaluations.

Variables and equations are as follows :

double BOYD_FORMULA = 0.03330 * Math.Pow(kg, 0.6157 - 0.0188 * Math.Log10(kg)) * Math.Pow(cm, 0.3);
double GEHAN_AND_GEORGE_FORMULA = 0.0235 * Math.Pow(cm, 0.42246) * Math.Pow(kg, 0.51456);
double HAYCOCK_FORMULA = 0.024265 * Math.Pow(cm, 0.3964) * Math.Pow(kg, 0.5378);
double DUBOIS_AND_DUBOIS_FORMULA = 0.20247 * Math.Pow(cm / 100, 0.725) * Math.Pow(kg, 0.425);
double MOSTELLER_FORMULA = Math.Sqrt(cm * kg / 3600);

JUNE 9, 2021 WOMAN WITH PAST HISTORY OF ANAPHYLAXIS TO XYLOCAINE

A woman who said she had a history of anaphylaxis to Xylocaine came to the vaccination site.
She said her doctor said it's okay to take a vaccine, and there seems to be no materials which could cause cross-reactivity, so I approved her to take a vaccine.

JUNE 8, 2021 ME TO COMPLETE MEDICAL INTERVIEW WITH MY PARENTS FOR VACCINATION!!

Today, my parents came to the vaccination site and I'm the very doctor who vaccinated them!!
My parents look really happy and I'm really thankful for this miracle!!

JUNE 1, 2021 JOINING VACCINE TASKS FOR PREVENT-PANDEMICS OPERATIONS

I have started to work on tasks to vaccinate people against SARS-CoV-2.

In times of adversity, I visit here and swear to myself that I will definitely overcome the situation.
So this time too, I will definitely overcome this adversity, like I have done so far.

I'm really counting on my Littmann!! lol  



MAY 30, 2021 SENSITIVITY AND SPECIFICITY

I have updated "LEE22.NET MEDICAL SERVICES" with new functions.

This new function calculates Sensitivity (Recall, Hit Rate, True Positive Rate (TPR)), Specificity (Selectivity, True Negative Rate (TNR)), Positive Posttest Probability, Negative Posttest Probability, Positive Likelihood Ratio, Negative Likelihood Ratio, Pretest Odds, Posttest Odds, Pretest Probability (Prevalence), Posttest Probability, Positive Predictive Value (PPV, Precision), Negative Predictive Value (NPV), False Positive Rate (FPR, Fall-out), False Negative Rate (FNR, Miss Rate), False Discovery Rate (FDR), False Omission Rate (FOR), Prevalence Threshold (PT), Threat Score (TS) (Critical Success Index (CSI)), Accuracy (ACC), Balanced Accuracy (BA), Matthews Correlation Coefficient (MCC), Fowlkes–Mallows Index (FM), Informedness (Bookmaker Informedness, BM), Markedness (MK)(DeltaP (Δp)) in a sec.
http://medicine.lee22.net/SENSITIVITY_AND_SPECIFICITY.aspx

Variables and equations for "SENSITIVITY AND SPECIFICITY" are : 

double sensitivity = true_positives / (true_positives + false_negatives);
double specificity = true_negatives / (true_negatives + false_positives);
double positive_predictive_value = true_positives / (true_positives + false_positives);
double negative_predictive_value = true_negatives / (true_negatives + false_negatives);
double false_positive_rate = false_positives / (false_positives + true_negatives);
double false_negative_rate = false_negatives / (false_negatives + true_positives);
double false_discovery_rate = false_positives / (false_positives + true_positives);
double false_omission_rate = false_negatives / (false_negatives + true_negatives);
double prevalence_threshold = (Math.Sqrt(sensitivity * (1 - specificity)) + (specificity - 1))/(sensitivity + specificity - 1);
double threat_score = true_positives / (true_positives + false_positives + false_negatives);
double accuracy = (true_positives + true_negatives) / (true_positives + true_negatives + false_positives + false_negatives);
double balanced_accuracy = (sensitivity + specificity) / 2;
double F1_score = 2 * true_positives / (2 * true_positives + false_positives + false_negatives);
double Matthews_correlation_coefficient = (true_positives * true_negatives - false_positives * false_negatives) / (Math.Sqrt((true_positives + false_positives) * (true_positives + false_negatives) * (true_negatives + false_positives) * (true_negatives + false_negatives)));
double Fowlkes_Mallows_index = Math.Sqrt(sensitivity * positive_predictive_value);
double informedness = sensitivity + specificity - 1;
double markedness = positive_predictive_value + negative_predictive_value - 1;
double prevalence_pretest_probability = (true_positives + false_negatives) / (true_positives + false_negatives + true_negatives + false_positives);
double positive_posttest_probability = true_positives / (true_positives + false_positives);
double negative_posttest_probability = false_negatives / (false_negatives + true_negatives);
double positive_likelihood_ratio = sensitivity / (1 - specificity);
double negative_likelihood_ratio = (1 - sensitivity) / specificity;
double pretest_odds = prevalence_pretest_probability / (1 - prevalence_pretest_probability);
double posttest_odds = pretest_odds * positive_likelihood_ratio;
double posttest_probability = posttest_odds / (posttest_odds + 1);



May 21, 2021 : COMPLETE SECOND DOSE OF PFIZER VACCINE

I got the second dose of Pfizer COVID-19 vaccine.

May 12, 2021 : MORE ATTENTION NEED TO BE PLACED ON SARS-COV-2 AEROSOL INFECTIONS

As the new variants are becoming dominant in Japan, it looks like infections through aerosol are gaining dominance,
so I bought ASTM level 3 masks, which offers maximum protection to wearers.
I think the more important home-visit nursing care are, the more protection measures against aerosol infections are gaining its importance,
especially among homebound people, who are more likely to have low-ventilation environments. 



May 7, 2021 : TOTAL BODY WATER (WATSON, HUME, CHERTOW, CHEEK FORMULA)

I have developed the total body water estimation system on my medical system.
This offers you 12 different estimates of total body water by using the major 4 formulas,
and mean value estimated by those formulas in a sec.


Additionally, this also gives you the intracellular, extracellular, interstitial, and plasma volume in each estimation.
This is all compatible for both adult males, females, children, and infants.

http://medicine.lee22.net/TOTAL_BODY_WATER.aspx

May 4, 2021 : BODY MASS INDEX (BMI) & BMI PRIME EVALUATIONS

I have expanded my "LEE22.NET MEDICAL SERVICES", with the new function "Body Mass Index (BMI) & BMI Prime Evaluations."

This makes you calculate and evaluate your BMI easily and quickly as well as BMI Prime at a time, and tells how much weight needs to be adjusted for normal healthy weight.



MAY 3, 2021 : CEREBROVASCULAR DISEASE FUTURE RISK CALCULATOR

I have reopened the web system I have ported from the procedure developed by Japan National Cancer Center. Once I stopped this, since I don’t wanna lead a daily life with the concerns of server maintenance, especially security measures against hackers, and now I have found a very nice VPS service managed by a reliable group, which makes me feel safe against hackers.

http://medicine.lee22.net/CVDFRC/index.aspx

MAY 2, 2021 : THE WORLD IS IN THE MIDST OF ITS WORST COVID CRISIS

We must stop this COVID crisis, immediately. Everyone must fight COVID to stop this crisis.
We must be vaccinated to stop this crisis. Our vaccinations as individuals will protect others.



APRIL 30, 2021 : COMPLETE FIRST DOSE OF PFIZER VACCINE

I got the first dose of Pfizer COVID-19 vaccine.

APRIL 30, 2021 : TYLENOL TO RELIEVE SIDE EFFECTS OF VACCINES

I got Tylenol to relieve possible side effects after taking the vaccination for SARS-CoV-2.
Anti-inflammatory drugs like Loxonin or Ibuprofen may reduce the immune responses and thus may intervene in the introduction of immunological memory by vaccines,
so I got Tylenol, which is not an anti-inflammatory drug, and suppresses the feeling of pain by brain.



APRIL 23, 2021 : SHOCKING SARS-COV-2 MORTALITY RATE IN MEXICO

I’m really worried about the shocking SARS-CoV-2 mortality rate in Mexico, it exceeds 9%.

Previously, I heard a rumor saying medical resources in Mexico is in a desperate situation, and most patients in critical conditions ended up death, though I’m not sure this rumor is true,
but this abnormally high death rate of 9% in Mexico gives me a thought that by any chance the true SARS-CoV-2 mortality rate would be this high,
and we lower the mortality rate to 2% by medical resources, and respectful efforts of medical institutions and medical workers.




APRIL 22, 2021 : SUPER FACE SHIELD FUNCTIONING AS SUN VISOR AS WELL

I got a super face shield for coronavirus prevention, which functions as sun visor for UV rays prevention as well.
This item would be best for me, while making round visits to patients home, I can prevent both coronavirus infections and ultraviolet rays.

April 7, 2021 : There Seems to Be Links Between AstraZeneca Vaccine and Blood Clot Cases

AstraZeneca refused, but finally there seems to be relations between AstraZeneca COVID-19 vaccines and life threatening blood clots cases,
scientists believe they have found antibodies that look the same type of antibodies that cause heparin-induced thrombocytopenia and the formation of blood clots,
and they aren't found in patients without blood clot cases.

These cases are rare and still the benefits outweigh the risks, but for me, I would like to choose Pfizer's or Moderna's vaccines,
because the South African government has suspended the use of AstraZeneca's vaccine because of its minimal efficacy against South African variants,
and I don't want to take another extra shot if South African variants start spreading in Japan.

I really don't understand why the Japanese government is investing in building domestic AstraZeneca vaccine factories, because considering the mutation speed of this virus,
Pfizer or Moderna vaccines, which can quickly adapt to new emerging variants, are the ones that can survive the vaccine competitions.



https://tribune.com.pk/story/2292669/immune-response-may-be-linked-to-astrazeneca-vaccine-clot-issue

https://www.forbes.com/sites/williamhaseltine/2021/03/17/astrazeneca-vaccine-fails-to-protect-against-the-south-african-variant

https://www.bbc.com/news/world-africa-55975052


February 19, 2021 : Cohort Study Between the Patients Hospitalized for Covid-19 and for Influenza

The cohort study between the patients hospitalized for COVID-19 and for influenza.

The study concluded that patients hospitalized for COVID-19 were almost 5 times more likely to die than those hospitalized for influenza,
4 times more likely to require a mechanical ventilator, 2.4 times more likely to require ICU admission.



https://www.bmj.com/content/371/bmj.m4677


January 22, 2021 : Happy Mother's Birthday!!

A birthday present for my mom. I got it at liLYS épice. How nice!!


JANUARY 17, 2021 : NEW VACCINE DEVELOPMENT FOR SOUTH AFRICA VARIANT



They say new vaccine development for South Africa variant has begun. If this is true, each E484K mutation for virus to gain antibodies evasion ability we need a new vaccine which matches each variant.
In the future, we might need combined several SARS-CoV-2 vaccines every year.


JANUARY 6, 2021 : WORRYING ABOUT BRITAIN

I'm really really worried about the current situation of Britain.

About one in four hospitalized patients are SARS-CoV-2 confirmed patients, and nearly 90% of hospital beds are occupied.


(https://www.england.nhs.uk/statistics/statistical-work-areas/covid-19-hospital-activity/)

JANUARY 5, 2021 : SARS-COV2 CAN BE RESISTANT TO NEUTRALIZING PLASMA FROM CONVALESCENT PATIENT IN THREE MONTHS

They say within 80 days, three mutations make SARS-CoV2 completely resistant to highly neutralizing plasma from convalescent patient.
Does this possibly mean vaccines don’t work against it? So scary.


(https://www.biorxiv.org/content/10.1101/2020.12.28.424451v1.full.pdf?fbclid=IwAR1fQQ2oMooQtXxLeAYqlVIL7mxy7Ijz46-3gIUPKTYCNeATHaPKoDPvEEM)

They also concluded the virus have the potential to evade immune response, and vaccines should be developed to each emerging strains,
so I’d like to believe the research group doesn’t deny the effectiveness of vaccines.

In my personal opinion, the prolonged aftereffects caused by this virus can be attributed to this gaining-mutation and resistance rapidly.
Mutation can cause PCR test negative, and thought-to-be recovered be just a mutations-and-tested-negative, but virus remains in the body pattern can be possible.

JANUARY 3, 2021 : SARS-COV2 UPDATES ON NEW VARIANT

SARS-CoV2 updates on new variant.

CDC stats show SARS-CoV2 deaths are 301679, and flu deaths are 6946.



This stats is between February 2020 and December 2020, and flu deaths seem to be undercounted (because December 2019 and January 2020 are uncounted),

but we can say this stats clearly shows SARS-CoV2 are now much more at risk than flu.

Imperial College London has announced the new updates on SARS-CoV2 new variant.
(https://www.imperial.ac.uk/media/imperial-college/medicine/mrc-gida/2020-12-31-COVID19-Report-42-Preprint-VOC.pdf)



S-gene negative S(-) indicates the strain but earlier strain s-spike gene PCR negative = new strain.

S gene positive S(+) indicates the strain earlier strain s-spike gene PCR positive.

And, S(-) to S(+) ratio increases in age 0 to 9 and 10 to 19, whereas decreases in elderly, which means possible more future risks in younger ages.



Furthermore, R(S-), which indicates the ability to transmit the new variant, and R(S+) the earlier variant.

The R(S-) overwhelms the R(S+), which means a great increase in the ability to spread in the new variant.

Many people concern about whether the new strains are associated with more severity,

but I think higher ability to spread is much scarier than ability to cause severe cases,

because the ability to spread implies, the deaths can be exponentially increased.

DECEMBER 28, 2020 : EVEN IF THEY DON’T PLUCK THE LIFE FROM YOU, THEY CAN PLUCK THE PRECIOUS TIME FROM YOU

This thesis is a must-read for everyone.

Regardless of severity, 78% of them have cardiac abnormal findings in CMR,
and 60% of them have ongoing cardiac inflammations, even after more than two months from recovery.
More surprisingly, 67% of them recovered at home, which implies mild or even asymptomatic cases can show long-term cardiac involvements.

I’d say, COVID-19 is more than the infection mortality or crude mortality.

"Even if they don’t pluck the life from you, they can pluck the precious time from you."



MARCH 24, 2020 : NEO-DARWINISM CAN BE A KEY TO SOLVE X-FACTOR IN COVID-19 PANDEMIC

Among global fights against COVID-19 pandemic, one growing and recurring question about how Japan has been avoiding a serious outbreak of COVID-19 so far, now some think it attributes to the unknown factor called X-factor.

There can be many factors in the X-factor, I thought up one potential answer which can be a part of the X-factor.

The region on a gene called "Intron", which was thought to be almost nothing to do with the genetic expressions 20 years ago, was in recent years found a lot of genetic sequences playing important roles for resistance to a specific disease. These genes determine whether one can get diabetes or not, and probably whether you get flu every year although you get vaccinated every year or you never get flu although you never get vaccinated, must be determined at genetic level. Thus, resistance to new corona viruses must be different from races to races. If we suppose this new corona pneumonia originated from China is true, the rate of people having new corona viruses resistant genes must be higher than European people, because people in China and near China like Korea and Japan must have been coexisting for a long long time with the viruses which share the same genetic sequences that new corona viruses have. They say that the differences of fatality rate in each country are mainly because of the different rate of elderly people of each country, but the factor like this may play some role.

December 3, 2019 : Looking up to the Sky, and Doves Fly High Into the Sky

I visited the Imperial Palace. I look up to the sky, and doves fly high into the sky.
I hope the world will be peaceful like those doves say.



October 22, 2019 : Prayer in the Fushimi Inari Mountains

It's the year of the enthronement of the new emperor of Japan.

To commemorate the day, I visited the Fushimi Inari Taisha Shrine and prayed in the mountains.





October 6, 2019 : TRANSLATION REQUESTS

Need to do it sometime? No, I won't. lol



JULY 27, 2019 FINAL NIGHT AT THIS APARTMENT

This is the final night at this apartment room, near the university.
In bed, I remember this atmosphere I felt at the hotel more than 20 years ago, the night before taking the entrance exam for university.
My good old days memories, this time what dreams I have tonight?
Hope all my dreams will come true someday.

JULY 5, 2019 : AMUSEMENT ARCADE AFTER WORK

Having fun at the amusement arcade after work.



JUNE 21, 2019 : SAFETY AND HEALTH COMMITTEE

The safety and health committee is starting soon. I'll do my best.



JUNE 20, 2019 : UPDATE OF STATISTICS FOR SUBJECTIVE SYMPTOMS

Stats of subjective symptoms on medical questionnaires in complete medical checkups service (starting January 31).

Stats of subjective symptoms (March 28)
Stats of subjective symptoms (February 28)
Stats of subjective symptoms (January 31)

total 438

cough : 10
chest pain : 13 (tightness : 3)
palpitation : 10
shortness of breath : 11
headache : 38
tinnitus : 32

numbness in legs and feet : 8
numbness in hands : 20

(Arthralgia (joint pain) : 65)
lumbago (lower back pain) : 51
shoulder pain : 3
elbow : 1
knee pain : 9
neck : 1
fingers : 1
hip : 1
(include toes)

anxiety : 13
insomnia : 7

(stomach ache 13)
right hypochondrium : 0
epigastric region : 7
left hypochondrium : 0
right lumber : 0
umbilical region : 3
left lumber : 0
right iliac region : 2
hypogastrium : 4
left iliac region : 1

heavy stomach : 2
heartburn : 2
constipation : 2
diarrhea : 4
nausea 1

(dizziness, vertigo : 16)
dizziness : 8
vertigo : 8

urinary frequency : 20 (nocturia : 4)

edema : 25

tired feeling : 34

MAY 1, 2019 : WELCOME NEW REIWA ERA!!

In Japan, the Heisei era ended yesterday and new Reiwa era starts today!!
And I went to the amusement arcade to have fun on this historical day!!


APRIL 21, 2019 : BEAUTIFUL CHERRY BLOSSOMS


MARCH 28, 2019 : UPDATE OF STATISTICS FOR SUBJECTIVE SYMPTOMS

Stats of subjective symptoms on medical questionnaires in complete medical checkups service (starting January 31).

Stats of subjective symptoms (February 28)
Stats of subjective symptoms (January 31)

total : 196

cough : 4
chest pain : 4 (tightness : 1)
palpitation : 3
shortness of breath : 1
headache : 16
tinnitus : 9

numbness in legs and feet : 1
numbness in hands : 6

(Arthralgia (joint pain) : 30)
lumbago (lower back pain) : 23
shoulder pain : 1
knee pain : 3
neck : 1
fingers : 1
(include toes)

anxiety : 8
insomnia : 4

(stomach ache : 7)
right hypochondrium : 0
epigastric region : 3
left hypochondrium : 0
right lumber : 0
umbilical region : 3
left lumber : 0
right iliac region : 1
hypogastrium : 3
left iliac region : 0

heavy stomach : 2
constipation : 2
diarrhea : 1
nausea : 1

(dizziness, vertigo)
dizziness : 4
vertigo : 5

urinary frequency : 8 (nocturia : 3)

edema : 8

tired feeling : 16


MARCH 12, 2019 : DREAM OF MAN FROM GOOD OLD DAYS

I had a dream that my tutor back in the days of 30 years ago came over to my place to give me a lesson.
Back then, I studied with him to pass the entrance exam of junior high school.
In the dream when we parted, I assured he was going to come to my place on a weekly basis to study with me.
Waking up, I was feeling quite nostalgic for the days I was studying with him.
I haven't met him since then, but I know, he is now a great medical doctor.

MARCH 6, 2019 : GETTING DUSTPAN AND BROOM COMBINED SUPER BROOM

Today is my day off, and I went to a department store in my neighborhood.
The moment I stepped outside the door, I got wet in the rain, and opened up an umbrella.

The department store is about 5 bus stops from here, and I bought bucket, dustpan and broom.
Believe it or not, this broom is super cool, the dustpan-and-broom-combined broom.
I got it since it looks so convenient.

FEBRUARY 28, 2019 : STATISTICS FOR SUBJECTIVE SYMPTOMS

Stats of subjective symptoms on medical questionnaires in complete medical checkups service (starting January 31).

Stats of subjective symptoms (January 31)

total 145

cough : 3
chest pain : 3 (tightness : 1)
headache : 11
tinnitus : 5

numbness in legs and feet : 1
numbness in hands 3

lumbago (lower back pain) : 17
shoulder pain : 1 (right 1 left )
knee pain : 1 (right 1 left )
neck : 1
fingers : 1
(include toes)

anxiety : 7
insomnia : 4

(stomach ache 4)
right hypochondrium
epigastric region 1
left hypochondrium
right lumber
umbilical region 2
left lumber
right iliac region
hypogastrium 2
left iliac region

heavy stomach : 1
constipation : 2
diarrhea : 1

pulsating 2
nausea 1

(dizziness, vertigo : 5)
dizziness : 3
vertigo : 2

urinary frequency : 6 (nocturia : 3)

edema : 5

tired feeling : 9

Lower back pain is the most common subjective symptom so far, and headache follows.


FEBRUARY 20, 2019 : AT AMUSEMENT ARCADE

I went to the amusement arcade.


FEBRUARY 17, 2019 : HERO'S SHIELD

Weekend and I got to my house, so I started to take over my old will the me of 25 years ago once made but still left undone.



Only after eight minutes, and only after eight battles, the shield transformed into "Hero's Shield."

OMG!! The me of 25 years ago stopped this at the 248th battle winnings!!
So I'd strongly like to say to the me of 25 years ago, "Finish the rest of just only eight battles!! lol"

FEBRUARY 13, 2019 : THE THING THAT WAS LEFT BEHIND TWENTY-FIVE YEARS AGO

A few days ago, I was super happy to know my good old days memories are still alive.
Looking into the save data, and there were some parts I didn't understand.
Why equipping "Cursed Shield"? When going into a battle with this shield equipped, numerous ailments are inflicted.
I didn't understand, and I googled it and got the answer.



It says, after winning 256 battles with "Cursed Shield" equipped, it transforms into the finest excellent shield, "Hero's Shield."

Reading the article, I regain the memories I almost forgot. The me in 1994, about 25 years ago, was trying to transform this shield into "Hero's Shield", but stopped doing halfway, before realized it.
So this "Cursed Shield" still remains equipped on her left hand, meaning that the thing which is undone and left behind for about 25 years.
Interesting!! So I have decided to take over the will, the will the me in my teens once made.

FEBRUARY 2, 2019 : HELLO MY GOOD OLD DAYS MEMORIES AGAIN!!

Finally, I'm super glad to know these save data decades ago are still alive!! (At the time, it's said that NES and SNES batteries don't last more than 10 years, so it's miracle)
From left to right, Final Fantasy 4 (FF4), when I was in the 8th grade (27 years ago), Final Fantasy 5 (FF5), when I was in the 9th grade (26 years ago), Final Fantasy 6 (FF6), when I was in the 11th grade (25 years ago).



JANUARY 31, 2019 : STARTING OF STATISTICS FOR SUBJECTIVE SYMPTOMS

Starting today, I count the number of subjective symptoms made by patients on medical questionnaires.

Following is the result today.

total 20

cough 1
chest pain 1
headache 1
tinnitus 3
Numbness in legs and feet

(Arthralgia (joint pain))
Lumbago (lower back pain) 3
shoulder pain : right 1 left

Anxiety 3

(stomach ache 2)
right hypochondrium
epigastric region 1
left hypochondrium
right lumber
umbilical region 1
left lumber
right iliac region
hypogastrium 1
left iliac region

pulsating 1
nausea 1
dizziness 1
vertigo
low vision 1

Notice, this stats is just the sum of subjective symptoms written on medical questionnaires by patients in complete medical checkups service,
and the results don't always mean the stats for objective symptoms.

I think I'll update this stats on a regular basis from now.

JANUARY 22, 2019 : VISIT TO KYOTO PREFECTURAL GOVERNMENT

I visited Kyoto Prefectural Government.


JANUARY 6, 2019 : SUPER AMAZING MIRACLE HAPPENS!!

A totally true super amazing real miracle has happened!! My save data of Dragon Warrior 3 (about 30 years ago) is still alive!! Thirty years ago, a FC (NES) saved data are maintained by electricity from the battery in the rom, and they say the batteries don't last for more than 10 years, and when the battery dies the data would be lost. I can't figure out why this battery is living this long, I transferred and saved this data to another device, bestowing this data a forever life.


And my other FC(NES) roms save data are all alive!!

Dragon Warrior (Dragon Quest) 4 : ALIVE


Final Fantasy 1 : ALIVE



Final Fantasy 2 : ALIVE


Final Fantasy 3 : ALIVE



Dragon Warrior (Dragon Quest) 3 : ALIVE
Dragon Warrior (Dragon Quest) 4 : ALIVE
Final Fantasy 1 : ALIVE
Final Fantasy 2 : ALIVE
Final Fantasy 3 : ALIVE
Ultima 3 : ALIVE
Ultima 4 : ALIVE
Glory of Heracles 2 : ALIVE
Ys 2 : ALIVE

I never thought this could happen!! This is so miracle!!

January 5, 2019 : Hopes for Retro Freak

I ordered "Retro Freak" from Amazon, which I heard that this product allows us to absorb saved data from old FC(NEC), SFC(SNES) and GB roms and transfer the absorbed data to another hard drive.
I have FC, SFC and GB roms that I played about 20 or 30 years ago, and I want to know if my saved data from those days is still alive or not.
I have hope because I read an article on the Internet saying that NES Dragon Quest 3 data from 29 years ago is still alive,
and I'll be happy if my Dragon Quest 3 saved data from 30 years ago is still alive too, the saved data that 10 years old self worked hard and reached level 99 first in the class.



December 28, 2018 : New TV and New PS4 Arrived in My Apartment

New TV and PS4 arrived in my apartment.

I was really into Dissidia Final Fantasy, so I'm happy to be able to play it in my apartment.
After receiving the TV and PS4, I went to a bank to send the rent.
I googled the location of a bank and chose the one in front of the Kyoto Prefectural Government building.

Riding a bike through the good old days area, more than twenty years ago, where I once studied to be accepted into a medical school.
When I was in high school, I wasn't a student who worked hard, I was always fooling around, and my grade was the lowest,
so the teachers laughed at what I said when I said that I would get into a medical school.
Later, I surprised them when I passed the entrance exam and was accepted into a medical school.

This area, where I once moved to study, is the land where everything began for me.

The bank was a bit crowded, probably because it's near the end of this year 2018, I got in line and finished sending the rent.
I was about to leave the building when I noticed that it was starting to snow.

The snow always reminds me of what my mother says, she always remembers the day I was born, it's snowing.

December 27, 2018 : Happiness Lives in Contentment

Everyone wants to be happy.

Recently in Japan, a certain super-rich CEO was arrested for alleged breach of trust, even though he received several billion yen as his salary,
but he was still chasing more money, and money doesn't make him happy in the end.

The more you chase after happiness, the more you want happiness.
There is no end to this pursuit, and in the end happiness is only in satisfaction, not in other things.

So if you want to be happier, try to increase your happiness hormone - serotonin.

Serotonin is used as a medication to treat depression and is commonly associated with feeling good.
There are ways to increase this hormone without drugs, one of which is to take tryptophan.

The following study shows that after five hours on a tryptophan-free diet, a given rat had halved the concentration of serotonin (5-HT) in the brain.
So taking enough amount of tryptophan can increase your brain serotonin level which can lead to your contentment where happiness resides.


"Rapid depletion of serum tryptophan, brain tryptophan, serotonin and 5-hydroxyindoleacetic acid by a tryptophan-free diet"
(Giovanna Biggio,Fabio Fadda,Patrizia Fanni,Alessandro Tagliamonte and Gian Luigi Gessa Institutes of Pharmacology and Nutritional Physiology University of Cagliari,Italy)

December 21, 2018 : Rising Sun Over Kyoto Imperial Palace

It's the first day that I go to work from my new apartment.

I rode my bike past the Kyoto Imperial Palace for the first time, and was impressed by the rising sun over the palace.

Like this sun, I will definitely shine in this area!!

(Photo Album : Kyoto Imperial Palace)



December 20, 2018 : A Light in the Night



November 20, 2018 : First Activation of My Apartment

Today I went to my apartment in Kyoto city and turned on the light for the first time.

I had already entered the room on November 7, but I couldn't find out where the breaker was because it was already dark and I didn't think the breaker was in the bathroom,
and today I asked the manager to find out where the breaker was.

I turned on the breaker and turned on the light and went out to get the necessities like toothbrush, toothpaste, toilet paper and hand soap.

After that, I took my first nap in the room and went home.

October 21, 2018 : Charm for Happiness



September 25, 2018 : Looking for an Apartment Near the University

My first day of school after summer vacation. Actually, school started yesterday, but I have regular work on Mondays, so I skipped class yesterday.
I woke up at 11:40 PM, because the class starts at 2:55 PM, and ate some ramen noodles, then left the house around 1:30 PM.
I got to the station, and in front of the ticket machines, I noticed that I didn't have that much money in my wallet, so I thought I would withdraw some money from the ATM at the bank,
but finally didn't coz a woman handling the ATM in front of me was very slow and I thought I would miss a train if I was obsessed with withdrawing money here.
I was about 10 minutes late for class, and after class I went to a real estate agency to look for a room to rent.

The first room was too small for me, the second room I didn't like, the third room was a little scary, the atmosphere of the room was old and gloomy, so I didn't like it.
I liked the fourth room, so I made a reservation to rent it, saying that I would think about it overnight and decide tomorrow.

September 24, 2018 : Harvest Moon Dumplings

Today is a holiday, and I woke up around 3 PM. As soon as I woke up and went downstairs, I saw my mom and talked to her for a while while eating Japanese rice crackers.
The crackers were a little big, so I broke them into pieces before eating them.
After that, I went to the department store in the south and had lunch there, and on my way back, I got a bottle of fluoride mouthwash.
Before I got to my house, I had a relaxing time having a cup of coffee at a cafe near my house.

Today is Harvest Moon Day, and the Japanese have the custom of looking at the moon while eating rice dumplings called "Harvest Moon Dumplings",
and I made myself follow the custom by eating the harvest moon dumplings.



September 23, 2018 : Four Major Causes of Acute Abdomen in Obstetrics and Gynecology

Today is Sunday, and I went to a ramen shop for lunch, and then I went to the department store north of my house, and had a cup of cocoa, thinking about my own things,
and then I went to the department store south of my house to shop, and after shopping, I relaxed in a cafe.

I left the department store at 9 PM and had dinner around 10 PM. Then I studied about acute abdomen in the field of obstetrics and gynecology.
We must always be aware of ovarian hemorrhage, ovarian torsion, ectopic pregnancy, and pelvic inflammatory disease in addition to common diseases when acute abdominal pain occurs in women.



September 21, 2018 : New Health Management Visits to Companies

I worked in the morning, and after work I had a talk about new health management visits to companies.

September 8, 2018 : My Facebook Profile Picture Update

I updated my Facebook profile picture. This is at Kiyomizudera Temple in Japan in 2014.



September 3, 2018 : At Kyoto Prefectural Police Headquarters

I visited the Kyoto Prefectural Police Headquarters, which is located on the premises of the Kyoto Prefectural Government, creating a unique atmosphere of the traditional city of Kyoto.



August 29, 2018 : At Kyoto Prefectural Government

I visited the Kyoto Prefectural Government.



July 21, 2018 : Treating Heat Stroke in the Emergency Room

During my night shift at the hospital, a man came into the emergency room with a fever and general malaise.
He thought he had a cold, but I soon found out that it was not a cold, but a heat stroke.
What he said indicated that he had a heat stroke, not a cold, because he worked hard outside yesterday in the intense heat,
and this morning an air conditioner in his room didn't work well because of the intense heat.
There have been a lot of heat strokes here lately due to the extreme heat wave that has been going on for days.

July 4, 2018 : New Smartphone SC-02K!!

I got a new smartphone SC-02K!!

June 7, 2018 : We Can't Judge a Book by Its Cover

I was working in the morning. A woman who looked polite and friendly came into the exam room.

I examined her heart murmur, and when I was about to examine her back, I was surprised by her back.
On her back is a large tattoo, in fact, Japanese tattoos are strongly associated with Japan's mafia.

Today I learned that you can't judge a book by its cover.

June 3, 2018 : Scum Remark About Twenty Years Ago

By chance, I found the Facebook page of Nihon Hoei Pro Corporation, where I once worked about 20 years ago.
It reminded me of the scum remark made by my then manager, who said, "If you say no to me, it's the end of your career in this showbiz world. Keep that in mind."
I thought that comment was scum, but I had decided to hang on as long as my friend was there, and when my friend left the company, that was the moment I did too.

May 18, 2018 : New Contract

I work in two ways, a physician and an occupational health physician, and today my occupational health part signed a new contract with the headquarters of a listed company.
The number of companies under contract with me is increasing with time.

May 16, 2018 : Submit Seminar Application

I submitted my seminar application to the university. Very close to the deadline, so I rushed and made it in the nick of time. Yeah really good job indeed. lol

May 8, 2018 : Top-Priority Issue in Company Health Care Management

In the morning, I was in charge of the outpatient service, and in the afternoon, I visited a company that has contracted with me for their health care management.
During my visit there, I met a certain worker who helps me with my service and talked with her about how dealing with mental illness is critical in the field of company health care management.
I feel that mental illness is more common rather than physical illness as for leave of absence among company workers (though no actual statistics taken).
So I'm more motivated to do another study on it.

April 26, 2018 : Falling Asleep After Work

I worked in the morning and wanted to attend an aikido club practice afterward, but after work I was so exhausted that I fell asleep as soon as I got home.
I always try to do well like the teenagers, but things are not so kind to me. Ah, it's okay, I'll join the next practice, for sure!

April 11, 2018 : Playing Baseball Before Class

For the first time in a while, I played baseball with about 20 university students until about 2:15 PM.
After that I attended two classes and returned home around 7 PM.

April 3, 2018 : Transformation Into Leafeon

At the university event. I turned into Leafeon to help them hand out flyers. lol



April 2, 2018 : First Day of Welcome Week

It's the first day of Welcome Week. I woke up at about 6:40 AM and left home at 7:30 AM to go to the university.
I got there around 8:40 AM and we started the invitation activities for our club.
First, we started handing out flyers to let newcomers join the club.
It was a bit hard work, and it's getting hotter and hotter, so I took off my jacket on the way and worked until 5:00 PM and went home.

March 26, 2018 : Relaxing Time at the Restaurant

After I woke up and took a shower, I went for a bike ride around town.
On the way, I went to the department store in the north and had some udon.
Then I got to the department store in the south and entered the restaurant,
and I wasted the time reading a book until I was on my way home.

March 2, 2018 : My Last Round Visits to Police Stations

I have visited two police stations and this is my last round visits to police stations.
I have been doing this medical engagement for about ten years, and the last visit is very close to my university campus.
Interesting! My last visit was very close to my university.
Is this some kind of destiny? Hmmmm, there is no telling. 





February 28, 2018 : Visit to Fushimi Inari Taisha Shrine

I made my first New Year's visit to the Fushimi Inari Taisha Shrine to pray for good fortune and happiness.



February 27, 2018 : Visit to Police Station

I visited a police station. The weather was so nice and peaceful, and I felt like spring was really just around the corner.
After I completed my work, I ate ramen noodles at my favorite ramen shop near my house and took a nap on my bed at home.

February 18, 2018 : To the Video Rental Store

I returned the DVDs to the rental video shop in the department store south of my house.
I wanted to get a mouthwash with high concentration of fluorine to prevent cavities,
but I didn't get it because it requires the presence and control of a pharmacist, and the pharmacist wasn't there at the time.
The main purpose I came all the way here is to get the mouthwash, and I didn't expect that a pharmacist wasn't there, that was too bad.
Maybe I should come back another day.

January 4, 2018 : Good Luck Opening the New Year!

What a lucky opening of the new year!



January 1, 2018 : Happy New Year 2018!

Happy New Year 2018!
I hope this year will be a great year for me and you.

December 25, 2017 : Merry Christmas 2017!

Merry Christmas 2017! Today, I bought the stocks of SDS HOLDINGS Co., Ltd for the first thing in the morning,
according to the news that this company will cooperate with the conglomerate giant, Marubeni Corporation, and the shares went up to the limit-up.
I noticed that this company has the very small current aggregate value compared to that of Marubeni, so I thought the shares went up to the limit-up.

December 5, 2017 : Jogging for the Third Night in a Row

I went to the pharmaceutical college to hold a tuberculosis testing event. Although many students had taken a flu vaccine and a hepatitis B vaccine within a month,
they don't need to delay a test because these vaccines are inactivated, not live.
After I got home, I went jogging for the third night in a row. The weather forecast said a big cold snap was coming tonight, and I was looking for a sweatshirt and found one that brought back good memories.
Ah, when I was still in that apartment, I used to jog at night and look up at the starry night sky like tonight, wearing that sweatshirt.
I ran around the city, remembering the resolutions I made there, and I believed that from now on I would accomplish all my resolutions.

November 26, 2017 : First Day of the Eve Festival

The first day of the Eve Festival at Doshisha University. I drove halfway and took the subway from the train station to the university.
This year I participated through the volunteer group, and my task is to hand out flyers to attract a lot of customers.
At first, I started the task with a guy, but soon we went our separate ways.
This is my first experience of handing out flyers to customers, and I think it could be a great growth experience for me.



November 24, 2017 : Rally for the Eve Celebration

I participated in the rally for the Eve celebration, which starts the day after tomorrow.


November 21, 2017 : Epoch-Making Computer Released

Yesterday, Fixstars Corporation hit the limit-up on the stock market, and today I can find out the reason.
The epoch-making supercomputer has been released and offered to the public for free to stimulate further development.
The computer is called a quantum computer, it uses a long looped optical fiber that contains a lot of photons inside and provides a hundred times the computing speed of current supercomputers.
A group of researchers who developed it say it is now the best in the world in terms of performance, and by using it, we can find out the optimal way in various occasions,
such as connecting tens of thousands of smartphone users in a given space without interfering with the signals, easing the heavy traffic congestion that always plagues city drivers,
finding the right combination of medical chemicals to give patients the best results.
I was really amazed by the possibilities that this new technology can give us in the future.

November 19, 2017 : Entity What We Call Responsibility

A friend of mine, who works as a nurse, complained about a patient who complained that the diagnosis they made is different from a diagnosis made by a smartphone.
I think this is kind of an annoying case for them, because a computer can't cover all cases, especially in the field of medicine, because medicine is more like art than science.
Of course, medicine is based on scientific evidence. But when we try to interpret the evidence, a sense of art is required.
For example, the same value in a physical examination will be interpreted differently depending on the patient's background, and that can't be done by computers.
People say that artificial intelligence (AI) can replace human labor in the near future, but I don't think that can happen for the following reasons.
First, the computer-driven society is quite contradictory to the current legal system. Computers are not given human rights.
As long as they don't have human rights, they can never take responsibility for what they have done.
What if a terrible situation is caused by AI, and there is no place for responsibility? Responsibility is essential to maintaining a balanced world.
Second, what if a larger number of unemployed people is detrimental to the economy? If AI replaces human labor, a large number of workers will be laid off.
This situation can cause the economically devastating situation.
Why do we need to introduce these expensive technologies to make the economy even worse?
It doesn't make any economic sense at all.

November 10, 2017 : APEC 2017 Starts Today

APEC 2017 starts today and my dad watched it on TV and he praised me for what I've done seven years ago.
This is the first time since then that he's praised me for it, so I'm in a good mood now.

November 4, 2017 : Chocolate Cake and Caffe Mocha

Today, a day off and I planned to go to the department store, but I didn't because I woke up late and it took more time than I expected to take a shower and get dressed to go out,
so instead it ended up going to the cafe near my house and eating chocolate cake and drinking caffe mocha to enjoy the relaxing and peaceful moment.

October 21, 2017 : Relaxing Moment in the Cafe

It's supposed to be heavy rain and it came as predicted. Too bad, I really like to relax in a cafe in the department store on weekends, but this rain makes it hard.
I thought about whether I should go there or not, but in the end I decided not to go there and had a coffee at the cafe near my house instead.
Then I stopped at the convenience store and got a chicken steak to eat while I walked about ten minutes to the drug store and got two toothpastes and a toothbrush and went home.
What a bummer. I was really looking forward to spending some time at the mall today.

October 19, 2017 : Treating a Girl Who Suddenly Collapsed

At work, a girl on the first floor suddenly collapsed and I was called to treat her.
Fortunately, she regained consciousness and no CPR was performed.
It was fortunate that there was no seizure after the collapse, or it would have been an emergency.
All my previous worries, such as not feeling well since the morning, such as wishing that the work would be completed immediately, were gone when she collapsed.

Now she is completely safe, and that is all that makes my day pretty good.
Ah, the coffee after a good job is really nice, so nice indeed.

And today 11 years ago I got my first job offer as a doctor.

I have never forgotten that day, and this has been a kind of memorial day for me so far.
I'm really happy that I did a good job on this memorial day.

October 18, 2017 : Interesting and Impressive Coincidence

I worked in the morning and attended a class at the university in the afternoon.

After the class was over, I went to the Faculty of Commerce office because I was told to come there.

Actually, an office worker who helps me here has the same name as the one who helped me when I was a medical student more than ten years ago.
Whenever I see her at this university, I always remember her at the medical school.
It's an interesting and impressive coincidence.

Although I left the school shortly after graduation, I have never forgotten the people who supported me wholeheartedly.

One of my dreams in life is to repay them one day.

October 15, 2017 : Resuming Aikido After Months of Break

I resumed Aikido after a four-month break to recover from severe stiffness in my neck and shoulders.
During the class, I really felt that I'm almost overcoming the adversity to regain my past energetic physical body.

Today I'm really happy to realize that I can regain my strength.

October 1, 2017 : Joining Volunteer Activities

I joined the volunteer activities to clean up the city of Kyoto. Although I was late for the designated time, I was miraculously blessed enough not to be late for the start of the task. lol
After completing the task, I realized that in addition to the main goal of cleaning the city, there was the secondary goal of having a conversation with at least three or more people.
However, I also noticed that I had already accomplished this secondary goal, because when I came in the morning I said "Good morning",
when I went to the bathroom I said "May I go to the bathroom? " and when the task was done, I said, "Thank you for today."
So I already had a conversation with three people (although I wonder if I should consider these talks as conversations... lol).
It was really nice of me to go to the bathroom during the task!

September 14, 2017 : Melodies That Bring Back Old Memories

I visited the medical room at the headquarters of Kansai Electric Power Company.

As I entered the room, I heard the music box melodies of Beatles songs.

After graduating from high school, I started studying to pass the entrance exam for medical school.

I studied in that small room, listening to those Beatles songs and looking at the ordinary scenery outside the small window.

Twenty-one years have passed since then, and I'm listening to those melodies again.

The scenery I once looked at through the window while listening to those melodies was not as magnificent as the scenery I am looking at now.

But I prefer the scenery I once looked at while listening to those melodies.



September 2, 2017 : Coffee Break After Cleaning up

Today is Saturday and I'm off from work and I had a relaxing time at my house. Meanwhile, I cleaned my room to receive my luggage from my apartment.
I'm moving out of my current apartment, so my luggage will come here until I decide on my next new apartment.

Around 7:30 PM, I went to the coffee shop to have a cup of coffee, and it's really great!



August 29, 2017 : Missile Reportedly Flew Over Head

North Korea launched a missile in the early morning, which could lead to further international condemnation.
They said it traveled about 2700 kilometers with a maximum altitude of 550 kilometers and flew over the northern Japanese territory and fell into the northern Pacific Ocean,
about 1200 kilometers off the northern island of Hokkaido. In the area, the J-Alert system, which is designed to warn all people in the area, was triggered and many train services were reportedly halted,
and many passengers were delayed at their workplaces. Japan is probably an easy target for them because of its pacifist constitution, which is unlikely to provoke an armed response.
When I heard the news, I was really scared because, imagine, a missile went over your head! So scary!

August 7, 2017 : River-like Sidewalk

There was a heavy rain in the area and the sidewalk in front of my house looked like a river!

August 6, 2017 : The Sound of Thunder

I went to the department store to the south of my house. As soon as I got out of the department store, I heard the sound of thunder from far away.
So I hurried down the street to get home before it came, because it would be a big trouble if I got caught in a thunderstorm.
I was desperate to beat the situation and I got home before it came! That's really close!

August 5, 2017 : Summer Party

It's been really hot these days and this summer heat is really getting to me.
So I hope everyone is taking effective precautions against this scorching heat to prevent heat exhaustion and heat stroke.

Today I went to the summer party.

August 4, 2017 : Wrap-Up Party

I attended a wrap-up party for the Model United Nations Club. In the meeting, we were divided into three groups: the supportive faction, the cautious faction, and the opposition faction.
And this time, I took the role of an Israeli ambassador, and I had to belong to the cautious faction against the draft idea of Responsibility to Protect defined in the 2005 World Summit Document.
In the end, the cautious faction won the conference, and this wrap-up party is being held by and for the cautious faction.

August 3, 2017 : The Best Moments Are Always in Remembrance

Looking back on my past days, I realized that the best moments are always in remembrance.

At the time, I never thought that the moment would be precious.
Sometimes I was tired, and sometimes I felt bored, and I never thought it would turn out to be precious later, but in reality, things like nostalgic memories that seem to never fade away,
even after a long time has passed, the more I felt they were annoying in the first place, the more I felt they were precious things after they'd turned into remembrance.

Now I can say, "Anything that might happen, even if it seems annoying at the time, might have a profound meaning later".

August 2, 2017 : Working on Exam Day

In the morning, I visited a multinational electronics company, and in the afternoon, I went to the university to take the final exam.
I was just after work and burned out, so I made careless mistakes.

I should have been more careful, and I decided not to take a job on the day of an exam.

August 1, 2017 : Double Header Day

I visited a multinational electronics company in the morning and a child welfare center in the afternoon.
In baseball they call it a "double header" when a team plays two games on the same day.
So today is like a double header day for me because I completed two jobs in the same day.

GOOD JOB!! lol

July 26, 2017 : Profound City of Kyoto

I visited the Kyoto City Office to hold a medical service. I don't know why, but this year it is held in a different place than usual.
During the lunch break, I walked around the construction site and came across the monument marking the site of the abolished Japanese first elementary school,
it seems it's been merged with the high school building that stands there now. I have visited this place many times, but I didn't know that there was such a historical monument here.
Today I realized the profoundness of this city, a lot of historically valuable things are merged into the modern city of Kyoto.

July 25, 2017 : Things to Throw Away, Things to Keep

I sorted things to throw away and things to keep for the move.
My current room is a mishmash of old things I got in my medical school days and new things I got after moving into this room.
Actually, there are many things that I'm attached to, but I would throw many things away to forget my past bitter memories and welcome new happiness.
Although I went through many hard times back then, I was also with them when I survived hardships.
I have to be thankful for all those things that have watched over me from those days to now,
regardless of whether it was the me in a hard time or the me in a time of success.
I know I have to swear to these things that I will make a fantastic growth and success in my next space and I will definitely make it.

July 24, 2017 : Things That Look Mumbo Jumbo

I came to my apartment room to prepare for moving out.
There are a lot of things I want to throw out, but among them there are still many things I'm attached to.
So I have to sort out what I want to keep and what I don't.
Maybe it will take some time, probably a few more days.

At night I started to study a textbook on international law.
(Because I joined Model United Nations at Doshisha University)

This field is completely new to me, so the textbook is almost talking mumbo jumbo to me. lol

July 23, 2017 : Picky Eater

I had lunch at my usual restaurant. Definitely, I seem picky here because I always have the same order,
but I think it's not because I'm picky, but because this restaurant doesn't have much variety of dishes... I'm not a picky eater!! lol

July 22, 2017 : Things That Haven't Changed and Things That Have Changed

I went to a place near the department store that I used to frequent when I was in medical school.
We left home much earlier than usual, and luckily we got there before rush hour.
This route is sometimes hard to get there on time because of the heavy traffic, so we thought it'd be safe to be an early bird this morning.

After I finished work, I visited a bookstore on the seventh floor of the department store.
The interior of the store hasn't changed a bit, and it reminded me of the days more than ten years ago.

Back then, I often rode my bike here and bought computer books.
But today I bought a medical book, not a computer book.
Because now I'm living on medicine, not on computers.

July 20, 2017 : Relaxing Time to Sail Through a Problem

I'm off work today and I went to the department store north of my house for lunch. This department store has a nice udon shop and it's really my kind of place.
After eating, I went back home and rested for a while and then went to get a haircut nearby. Then I went to the department store south of my house and had a crepe.
Whenever I hit a brick wall, I take a relaxing time over a cup of coffee or something to eat, which makes me always get creative to sail through the problem.

July 16, 2017 : Probably the Last Jog Here

I'm going to move near the university soon, so this is probably the last jog here.

I really wonder how much I have jogged here so far.
I jogged while watching the moon, watching the stars, and dreaming my dreams.
I will never forget this place.

THANK YOU!!

July 15, 2017 : Preparing for the Super Jump

I came to my room to prepare for moving to a room near the university.

This room, where I've lived for six years, has a lot of memories.
Six years ago, I chose this room mainly because this room has the same interior structure as the room I lived in 30 years ago,
because this room is just one floor below the room I lived in from the age of five to eleven.

I spent my elementary school years in the room above.
And when I was eleven, we moved to the house where my parents now live, and moving to my parents' house later showed me another leap into the brighter future.
So this time I strongly believe that moving to a new apartment room is a strong sign of another leap of happiness into the brighter future.

I miss this room, but I know that I have to leave here for my further growth.
Even after moving to a new apartment room, I will never forget this room.

And one day, when I become a super-rich man who can rent all the rooms I have lived in, I will definitely come back and spend the rest of my life there.

July 14, 2017 : Remembrance of Kamo River Bank

I turned in the pet bottle caps I collected for the vaccine volunteer.
I was supposed to turn them in the other day, but I carelessly forgot, so I did it today.

On my way home from the university, I stopped by the bank of the Kamo River.
Lately, I often visit the Kamo River, but this time, for no reason, the sight of the riverbank reminded me of that day.

It was about 20 years ago. It was snowing and I was walking on the bank of the Kamo River.
At that time, I was walking on the bank, whispering a song, thinking about my future, wondering if my efforts would be successful in the end.
Then I would like to say to the me of that time, "Hey, your worries and efforts have created the me of now! Thank you!!" lol

July 13, 2017 : Which One Is the Real Guard?

When I finished work and was on my way home, I saw an old man guarding many kids crossing the crosswalk at the intersection.
It looked like the guard was guarding the kids, but it's not obvious to me which side is a real guard, the old man or the kids,
because the guard looked decrepit, and it's so hot today, and there's a possibility that the guard fell down because of the scorching heat.

In this case it is important which possibility is higher, the man falling down in this scorching heat or the kids getting involved in an accident.

If the first case is higher, the kids must be the real guard.
If the latter case is higher, the man must be the real guard.

So which side should be a real guard, the man or the kids?
To me, the kids looked like a real guard. lol

July 12, 2017 : Time Repeats Itself

I joined a volunteer club and collected pet bottle caps, hoping these caps would lead to vaccines.

In the afternoon, I chatted with a man while sitting on a bench on a college campus. I remembered that 17 years ago I used to do the same thing with my friends, sometimes over a cup of coffee.
So I said to the guy, "Actually, 17 years ago I often sat on a bench and talked about various things with friends of mine in the previous university",
at that time we often looked over the tall building behind us and said how many years it would be until we would graduate,
we would move to the upper floor when we moved to the next grade, "Just like I'm telling you now!", then the guy started laughing. lol



July 6, 2017 : Travel to North Kyoto

I have to take a trip to the north because I've accepted the job offer in northern Kyoto.
Normally I never accept a job offer in a remote area, but this time it's something special and I couldn't refuse this offer because I love Japan.

I arrived at Kyoto station about 20 minutes after 4:00 PM, and when I asked a station attendant for directions,
she told me that the train had left the station a few minutes ago and that the next train would be in an hour.
So I went through the turnstiles and had a coffee in the station cafe. It was a relaxing moment.

The train arrived, and I set off for north Kyoto.
I was the only passenger in the car, which gave me a more relaxing moment.



I arrived at my destination around 8:40 PM.
I had dinner at the hotel restaurant and went to bed early.

July 5, 2017 : Knowledge Can Suppress Fears

I treated a woman who suddenly lost consciousness. Even though it happened suddenly, I wasn't afraid at all because I know how to deal with it.
Yes, I wasn't afraid because I have knowledge. Knowledge can suppress fear.

June 23, 2017 : Visit to the Hospital

I visited a hospital. Actually, I don't like examining doctors, because sometimes I meet a mean doctor who tries to beat me in medical knowledge.
A childish doctor like that is very annoying, especially when I have a lot of work to do. I came here to work, not to fight. lol

June 22, 2017 : Searching for Happiness

I missed a group meeting because I was supposed to see hundreds of patients today and I was pretty sure I was too tired to attend the meeting.
As I expected, the task was hard, and when I completed the work, I felt that I couldn't be happier,
but soon I felt that I was back to my normal state, looking for my happiness, which looks much happier than now.

Why? Why do people always look for things that look happier than they have now?
Probably the answer is that the first instinct is to avoid pain.

June 21, 2017 : Super Rainy Day

It's a super rainy day and many heavy rain advisories and warnings have been issued across the country.
Actually, rainy days are very auspicious for me and I really love rainy days!

June 20, 2017 : Having Decided to Take a Break from Aikido Lessons for a While

After being plagued by stiff neck and shoulders, I decided today to take a break from Aikido lessons for a while.
On my way home, I stopped by my apartment room and brought an emergency medicine textbook back to my parents' house, where I moved from my apartment room months ago.

June 19, 2017 : Volunteer Monthly Meeting

I attended the monthly meeting of the volunteer group I belong to. This time I wasn't late. lol
During the meeting, I learned that saving 860 plastic bottle caps can result in a vaccine that can save a child's life.
This means that if everyone in Japan saves one PET bottle cap a day, we can provide more than 100000 vaccines for children in needy countries every day.
So I'll join the project that encourages others and collect PET bottle caps.
After the meeting, I had dinner with them and it took much longer than I thought, I got home at midnight.

June 18, 2017 : Study Group in Osaka

I went to Osaka to attend a study group to discuss emergency cases.
During the study session, I remembered the scene where I performed CPR with my colleagues when I was in Tokyo.
At that time, I had just graduated from medical school and passed the national examination, so I didn't know what to do for the best performance of the team.
Ten years have passed since then, and I'm really confident that I can do it now.

June 17, 2017 : Futsal Convention

I went to a super local futsal convention. As usual, I got lost on the way and was more than an hour late.
I thought it would be easy to find the place, but it's much more complicated than I expected.
OMG! They say that the soul at 3 years old remains the same as it is at 100 years old, and that is true.
When I was a kid, I was always late. And I'm still often late, although I'm rarely late in critical situations like when my jobs, tasks, and missions need to be carried out smoothly.

In the game, I scored two goals and the game ended in a 2 to 2 tie, and I was told by other teammates that I should have come earlier!

June 16, 2017 : Basic Life Support Provider Manual

I have purchased the latest version of the Basic Life Support Provider Manual, published by the American Heart Association.



June 14, 2017 : Dinner With Friends

I had dinner with my friends in the volunteer group. Having this kind of dinner makes me feel pretty good,
because we can share our loneliness and forget about life for a while, and I bet it is better than eating alone.

When I was a medical student, I preferred loneliness. But now it's the opposite.
Why is that? I don't know the answer, but I think it's because back then I had to isolate myself to develop my skills.
For example, a martial arts master will want to lock himself up in a mountain to get more power.
I think I was like that at that time. Certainly I had to shut myself up to develop myself.

Anyway, the me of the past has left me the me of the present now! lol

June 11, 2017 : Going to the Department Store North and South

Today I was also absent from the study group. Instead, I had a relaxing time having lunch and coffee at the department store to the north, and at the department store to the south I grabbed a bite again!
Today I really refreshed myself and replenished my energy for the upcoming work!

June 10, 2017 : Absent from Study Group

I thought I would attend the study session in the morning, but I didn't and took it easy at home.
Instead, in the afternoon, I went to the nearby department store for lunch and a cup of coffee,
and then I bought something at the electronics store on my way home.

I also have a study session tomorrow, but I'm wondering if I'll go or not since it's in the morning and I have to get up early to attend.
All in all, tomorrow is Sunday, and I have a feeling in the corner of my head that I'd like to rest at home :)

May 26, 2017 : Board Breaking Day

I attended the introductory Kempo Fighter class hosted by the university.
I borrowed a karate uniform and chose a green belt, my favorite color, and tried board breaking.
Green and successful are my favorite words!


May 21, 2017 : General Meeting of the Volunteer Organization

I participated in the General Assembly of the Volunteer Organization.

Exactly one year ago today, it was "For the First Time in Both the Library and the Sports Club Nearby" day!
http://www.lee22.net/#20160521

It's kind of "ah~ memories..." lol

May 1, 2017 : Afternoon Coffee

I went to school, and after returning home, I went to the department store to have coffee.
Ah~ coffee after doing the task is especially good!

April 27, 2017 : Starting Aikido

I started practicing aikido today. (Joined aikido club)

April 25, 2017 : Welcome Party

I went to the welcome party for new students at the university.

April 24, 2017 : Visit to SHARP Corporation

I visited SHARP Corporation. Actually, I have a class in the university at this time of a week, but I can't attend because I have work now.
In March this year, I didn't know the university class schedule at that time and I didn't even think that a mandatory class would come to the first class on Monday.
Already, I can't get credit for the ongoing class now. That's too bad.



April 23, 2017 : Minerals from Deep Sea Water

I went to the gym to play basketball. After the game, I stopped at the ramen shop and had a bowl of ramen.
This shop serves really tasty ramen, so I'd like to visit this shop after playing basketball.

When I got to the station, it was more than 10 minutes before the next train.
So I thought I'd get some kind of canned juice, and I ended up buying a bottle of water whose label said it was deep sea mineral water.
Later, I noticed that there was a label on the bottom of the bottle that says this is a water that the ingredients were added from deep ocean water,
and also says the mineral means potassium and magnesium. OMG!

I bought this because I thought it was deep sea water, but actually it is deep sea "mineral" water!
I didn't even think about what this "mineral" means!

April 22, 2017 : Riverside BBQ Party

I went to a riverside BBQ party and it was fun!

April 21, 2017 : Work in the Morning and School in the Afternoon

I went to work in the morning and then went to Doshisha University.

On the way, I had trouble finding a bus stop, so I ended up being late for class, even though I didn't want to be late.
After class, I wanted to take a school bus to Kyotanabe, but I missed the bus, so I took a train to go home.

April 20, 2017 : Getting New Clothes at the Department Store

I went to Panasonic to offer them medical support. After I got home, I went to the department store to have lunch and buy new clothes.
After returning home, I took a nap for a few hours and then went to another department store and had a cup of coffee.

While I was drinking coffee, I checked a news site, and then I saw the photo of a president I once saw at the Nidec Corporation headquarters.

I remember ... I was on the top floor of the building at that time, and he said to me, "Oh, you're a very young doctor," and he started lecturing me,
so I stopped in the middle of the lecture and finished the medical examination super fast.

But now I realized that the strictness he has is just because of his enthusiasm to make the world better than it is now, the world including the people around him.
At that time, I was just scared, probably because... no one around me had lectured me for a long time, since I became a freelancer!! lol

April 16, 2017 : Kyosensu Art Experience

I experienced Kyosensu art making. Four and five-leaved clovers bloom on bamboo trees. lol



April 12, 2017 : My New Facebook Cover Photo!!

This is the first photo I took when I entered the Doshisha Imadegawa campus for the first time after the entrance ceremony.



April 11, 2017 : Visiting My Medical School for the First Time in a While

I visited my medical school, Kansai Medical University, for the first time in a while.
When I did things to do and got out of the building, I met an office girl who was helpful to me about 12 years ago!!

Before I noticed her, she said to me, "It's been a while since we last met!"

I was really happy since she still remembered me and could recognize me even though it's after a long absence!

April 8, 2017 : Surreal Sight of Golden Lights





April 7, 2017 : First Day of Doshisha University Classes

Today is the first day of my Doshisha University classes, but things are not so easy for me.
Because, I have to enter Doshisha University as a doctor, not as a student, to see students.
Phew, I was really looking forward to playing softball in gym class today. Things are so complicated.


April 1, 2017 : Entrance Ceremony at Doshisha University

At the entrance ceremony of Doshisha University. I founded a company in January this year, and entered the Faculty of Commerce to learn how to manage companies.



February 28, 2017 : Certificate of Eiken Grade 1

I have received the certificate of EIKEN GRADE 1. My essay scored 90% and I did well in the subsequent interview.


February 18, 2017 : Accepted to Doshisha University

Yippee!! I got accepted to the Faculty of Commerce at Doshisha University.

I had to work and didn't have time to prepare for the exam, and just the day before the exam, I realized that it was really hard for me to pass the exam with World History selected,
so I decided to choose Math instead, and I finally passed it!

Thank God!! This spring, I'll be a student while working as a freelancer.

January 31, 2017 : Establishment of a New Non-Profit Organization


I was successfully allowed to establish a new non-profit organization dedicated to medical education campaigns.
I hope this will be helpful in raising people's awareness about how to prevent specific diseases before they get them.


January 21, 2017 : Golden Statue


During the New Year's visit to the shrine, I came across a golden statue.
This statue is very beautiful because it reflects the light of the sun.


(Click the image for larger photo)

January 15, 2017 : Snowy Golden Pavilion

I went to see the Golden Pavilion (Kinkakuji Temple).





January 1, 2017 : Happy New Year 2017 !



December 26, 2016 : Volleyball Day

I started playing volleyball, badminton, futsal and basketball to regain my past physical strength.
Today is a volleyball day, and this volleyball day is the first time for me in 20 years since I've graduated from high school.

My mom was once an ace attacker, and her team won the preliminary tournament for the National Sports Festival,
but she wasn't allowed to join the team because she didn't have Japanese nationality.
Today, in the same case (born and raised in Japan), she is allowed to participate, but that was the rule back then.
Whenever I hear this kind of story, I realize that people in the past suffered a sad era.
Definitely, that rule was very sad for both my mom's side and her teammates' side.
For the teammates, someone who worked hard and fought together suddenly disappears and isn't there anymore.
If I were one of the teammates, I would not accept this and I would boycott the festival no matter what the people around me say.
I know there is a rule, but I couldn't go against my feelings, because she was born like others, grew up like others, and made great efforts like others in Japan.
I think a lot of Japanese students complained about the rule, and later it was changed to the current rule; regardless of nationality, all students can participate in the festival.

As for me, I'm a complete amateur, and I had to be careful not to hit a ball in my face! lol



December 22, 2016 : My Supernatural Ability

OMG~~!! lol



December 12, 2016 : First Visit to Seimei Shrine

For the first time in my life, I visited the Seimei Shrine, which enshrines a legendary leading onmyodo specialist, Abe Seimei.
Actually, my name was suggested by this shrine, and my name partly includes the part of his name written in Kanji characters.



I was really surprised when I realized that this shrine is just a few minutes' walk from the apartment room where I spent my old rounin days.

That room, where I once shared my worries and dreams, where I once spent my youth, was always with me at that time.

One day I had to leave that room, and soon after, one of the dreams I shared with that room came true : to successfully enter a medical school.
That's the story of more than 20 years ago, but the memory and the moment with that room are still alive in my heart.
And still, I strongly believe that the rest of the dreams I once shared with that room will come true from now on.

A few days ago, while walking in the area where I spent my rounin days, I happened to see a sign indicating the location of the shrine :
The moment I realized that my rounin days were actually near Seimei Shrine, the shrine once gave me my name.

I was surprised by the fact that I didn't know this, but in fact, I started my career near Seimei Shrine.
What a coincidence. I only knew that the shrine gave me my name, and I didn't know where the shrine was.
But as it turned out, I spent my rounin days near the shrine without knowing it.

This coincidence is a kind of miracle for me, because in my memory, whenever I was worried, the shrine that gave me my name was always right next to me, just a few minutes' walk from my room.

So my first impression when I came here was that I had finally come to my soul shrine!

I tried to donate some money and there were two options, 221 yen according to Seimei's birthday on February 21 and 222 yen according to my birthday on February 22.
In the end, I chose 222 yen, because after all, they gave me my name according to my birthday. lol

I'm really glad I came here today, and I'll definitely come here from time to time from now on.

December 10, 2016 : The Place of Beginning

I visited the apartment room where I began to take years off to study to enter a medical school.

Until I graduated from high school, I had been a very unserious student.

My high school grades were always at the bottom, and I was late 60-90 times a year.

I barely graduated from high school.

I had been such a person, but later in this room, I discovered the fun of science.

Since then, my lonely but somewhat warm struggle began.

This room is the place of beginning for me.



December 1, 2016 : Princess to Save People's Lives

I talked with some of my allies about the medical company I have belonged to since graduation.
Actually, the leader of this company is the princess of this country, and there is a reason for that.
A long time ago, there was a deadly epidemic disease all over the country.
At that time, the royal family took the initiative to form the group to save people's lives from those terrible diseases.
Since then, successive princesses have taken the lead.

November 28, 2016 : Visit to National Institute

I visited the National Institute of Advanced Industrial Science and Technology.
After completing the task and leaving the building, I felt a little cold wind pass by my cheek, and I realized that winter is just around the corner.
I hope this winter will be a good one for me.

November 21, 2016 : Visit to Automobile Company

I visited Mitsubishi Motors.


November 17, 2016 : Visit to TV Station

I visited a TV station.



November 13, 2016 : Autumn Leaves Ablaze With Blossoms




November 2, 2016 : The Power of Dream

I had another prophetic dream. Before going to bed, I made a strong mental vow that I would see the whereabouts of my lost passport in my dream tonight.
Prophetic dreams that I've been having since I was about 25 years old, and in recent years I can have them intentionally when I'm in need.

And tonight's dream was:

I was on the street near the familiar park. Then I found a cute cat and I put my bag on the street and approached the cat to pet it.
When I came back, I noticed that my bag had been stolen and some money was in it.

I was really upset, but I said, "But it's okay. Because my passport wasn't stolen. I'm glad I always have it with me."

And I went to another bag that was in the park and I tried to put the passport in the bag.

That's all I dreamed while I was sleeping.

After I got up, I thought that my lost passport must be in one of many bags, so I looked in my bags to find the passport.
But I couldn't find it.

So I thought about the dream I had last night.
In that dream, I had my passport in my hand, and I was trying to put it in the bag, which indicates that the passport shouldn't be in a bag, according to the dream.

I had the idea ... by any chance, the lost passport is ... quite near me ... ?

So I started to look near me, and when I pushed aside some receipts on the box, the passport appeared from there.
The passport was covered by many receipts, so I didn't notice it.

In fact, I had been searching for weeks, including my mom's house.

But it only took me a few minutes to find the one I was looking for.

This time I really learned that my dream is really something.

November 1, 2016 : Changing a Light Bulb

First I planned to go to the city office for some business, but I was tired, so I changed my mind halfway and didn't go there and had a relaxing time at home instead.
The light bulb of the room I often use for PC was out yesterday, so I replaced it with the bulb in the next room, maybe I'll get the new one in a few days.
At night, starting around 11:50 PM, I went for a jog around the housing complex.

October 24, 2016 : Relaxing Day at Home

I had the day off today and had a relaxing time at home.

October 23, 2016 : Going to Mother's House

I went to mom's house to look for something.
At night, my dad drove me back to my room in the apartment.

October 16, 2016 : Relaxing Time at Home

I had a relaxing time at home today, as it's Sunday.
I went to the nearby sushi shop for lunch and on my way back home I bought some food for dinner at the convenience store.
Then I surfed the Internet until I had dinner.
After twelve o'clock I went to bed.

October 15, 2016 : Time of Adversity Will One Day Turn Into Time of Victory

I'm really happy to hear that one of my favorite singers, Bob Dylan, won the Nobel prize.
Actually, I was once encouraged by his lyrics when I was 19.

I was such a legendary silly student with the lowest grade in school and the highest rate of tardiness,
and I suffered a series of failures until I overturned the norm with the still unforgettable memory of my teachers being surprised when I said I was accepted to medical school.

And it was during this period of my adversity that I encountered his song The Times They Are A-Changin'.

Even now, this song is still excellent for me and brings back those good old days memories.

October 14, 2016 : The Fat Burning Effect of Carnitine

If you want to lose weight, take carnitine.

This chemical is a monopolized carrier to transport your body fat into the mitochondria in your body cells, where body fat is burned into energy,
it is found in high amounts in meat, especially red meat, but not so much in vegetables.

Carnitine is produced in our body on our own, but most carnitine in our body comes from diet, and its synthesis amount in our body decreases with age.
And for those under certain medications, for example, valproic acid, which is mainly used in the psychiatric field, can cause carnitine deficiency.

So if you don't eat much meat and feel tired easily, you should try taking these chemicals.
Side effects are reported around the dose of 3000mg per day, so we can say it's a safe supplement.

October 11, 2016 : Getting a Haircut

I went to the barber and had my hair cut.
At night I jogged 2 laps.

October 10, 2016 : Relaxing Time at Home

Today is Health Sports Day in Japan and Columbus Day in the USA, so it's a national holiday in both countries.
I relaxed at home, went out for dinner and shopped on the way home.
Then I lay on the sofa and slept for hours.

And today it's exactly four years since that day.
http://www.lee22.net/#20121010

Time is flying so fast for sure.



October 6, 2016 : Dream a Dream



October 5, 2016 : Visit to Electronics Company

I visited the medical room of Panasonic Corporation Headquarters.
After completing the task, I went straight home and took a nap from 3 PM to 5 AM.



October 4, 2016 : What Awaits Us in the Future, There Is No Telling

Years ago, when I was a student, I often walked along this road. At that time, I never imagined that I would enter this site years later.
So time has passed and things have changed a lot. What awaits us in the future, there is no telling.


October 3, 2016 : Visit to the Power Company

Yesterday I woke up at 7:30 PM and lay on the sofa and slept until 9 PM and went out for three laps of jogging.
Then I went to bed and today I visited the medical room of an electric power company.
After I got home, I went to the gym for some exercise and came back home around 3:40 PM.
Then I took a nap until 10:30 PM and watched the news on TV and went jogging and ran two laps.
After jogging, I took a shower and went to bed.



October 2, 2016 : Development of the Allowable Blood Loss Theory

Finally, I completed the development of "Allowable Blood Loss Theory" in LEE22 MEDICAL CALCULATOR.



I have added four new variables to the enum INPUT_MODE structure.

enum INPUT_MODE
{
MD_AGE, MD_SUCCESS, MD_CM, MD_KG, MD_SEX, MD_FEET, MD_INCH, MD_LBS,
MD_SERUMCREATININEMILLIGRAMPERDECILITER, MD_SERUMCREATININEMICROMOLPERLITER,
MD_URINECREATININEMILLIGRAMPERDECILITER, MD_URINECREATININEMICROMOLPERLITER,
MD_URINEOUTPUTPERMINUTE, MD_URINEOUTPUTPERHOUR, MD_URINEOUTPUTPERDAY,
MD_DRUGDOSAGEFORNORMALKIDNEYPATIENTS, MD_DRUGDOSINGINTERVALFORNORMALKIDNEYPATIENTS,
MD_URINARYEXCRETIONRATEOFFREEDRUGPERCENTAGE,
MD_MILLIGRAMPERDECILITER,
MD_MICROMOLPERLITER,
MD_MILLIMOLPERLITER,
MD_MOLECULAR_WEIGHT,
MD_AGE_UNIT,
MD_HEIGHT_UNIT,
MD_WEIGHT_UNIT,
MD_PREMATURE_NEONATES,
MD_FULL_TERM_NEONATES,
MD_INFANTS,
MD_ADULT_MEN,
MD_ADULT_WOMEN,
MD_PATIENTS_TYPE,
MD_WEIGHT,
MD_ALLOWABLE_BLOOD_LOSS_FIRST_HCT,
MD_ALLOWABLE_BLOOD_LOSS_LAST_HCT

};

Declare MODE and PARAMETERS structures and pass them to the core function.

MODE MD;
PARAMETERS PR;

void ALLOWABLE_BLOOD_LOSS_USING_AVERAGE_BLOOD_VOLUME_PATIENTS_TYPE_WEIGHT_FIRST_HCT_LAST_HCT_MAIN(MODE &MD, PARAMETERS &PR)
{

CString CS1, CS2;

if (PR.PATIENTS_TYPE == MD_ADULT_MEN) { PR.AVERAGE_BLOOD_VOLUME = 75; CS1 = L"Patient's Type : Adult Man";}
else if (PR.PATIENTS_TYPE == MD_ADULT_WOMEN) { PR.AVERAGE_BLOOD_VOLUME = 65; CS1 = L"Patient's Type : Adult Woman";}
else if (PR.PATIENTS_TYPE == MD_INFANTS) { PR.AVERAGE_BLOOD_VOLUME = 80; CS1 = L"Patient's Type : Infant";}
else if (PR.PATIENTS_TYPE == MD_PREMATURE_NEONATES) { PR.AVERAGE_BLOOD_VOLUME = 95; CS1 = L"Patient's Type : Premature Neonate";}
else if (PR.PATIENTS_TYPE == MD_FULL_TERM_NEONATES) { PR.AVERAGE_BLOOD_VOLUME = 85; CS1 = L"Patient's Type : Full Term Neonate";}

if (PR.WEIGHT_UNIT == WEIGHT_UNIT_LBS)
{
PR.WEIGHT_KG = LBS_TO_KG(PR.WEIGHT);
CS2 = L"Weight : " + DOUBLE_TO_CSTRING(PR.WEIGHT) + L" (pounds) ";
}
else
{
PR.WEIGHT_KG = PR.WEIGHT;
CS2 = L"Weight : " + DOUBLE_TO_CSTRING(PR.WEIGHT_KG) + L" (kilograms) ";
}

PR.ESTIMATED_BLOOD_VOLUME= PR.WEIGHT_KG*PR.AVERAGE_BLOOD_VOLUME;
PR.ALLOWABLE_BLOOD_LOSS = (PR.ESTIMATED_BLOOD_VOLUME*(PR.ALLOWABLE_BLOOD_LOSS_FIRST_HCT - PR.ALLOWABLE_BLOOD_LOSS_LAST_HCT)) / PR.ALLOWABLE_BLOOD_LOSS_FIRST_HCT;

PR.RESULT1 = DOUBLE_TO_CSTRING(PR.ALLOWABLE_BLOOD_LOSS);
PR.RESULT2 = L"Allowable Blood Loss : " + DOUBLE_TO_CSTRING(PR.ALLOWABLE_BLOOD_LOSS) + L" (mL) " + CS_NEWLINE + CS_NEWLINE +
CS1 + CS_NEWLINE +
CS2 + CS_NEWLINE +
L"Patient's Initial HCT : " + DOUBLE_TO_CSTRING(PR.ALLOWABLE_BLOOD_LOSS_FIRST_HCT) + CS_NEWLINE +
L"Patient's Allowable Lowest HCT : " + DOUBLE_TO_CSTRING(PR.ALLOWABLE_BLOOD_LOSS_LAST_HCT) + CS_NEWLINE +
L"Estimated Blood Volume : " + DOUBLE_TO_CSTRING(PR.ESTIMATED_BLOOD_VOLUME) + L" (mL) ";

return;

}

You can now use this "Allowable Blood Loss Theory" function in the LEE22 MEDICAL CALCULATOR.

October 1, 2016 : Approach to Allowable Blood Loss Theory

I went to bed in the morning and woke up around 7:30 PM.
After getting up, I continued to develop the "Allowable Blood Loss Theory".

Maybe there are a lot of case divisions, this is a bit tedious work to implement.

First, the text for the window is set.

m_edit1.SetWindowTextW(L"");
m_edit2.SetWindowTextW(CS2 + CS_1 + CS_SELECT_PATIENTS_TYPE + CS_NEWLINE +
CS_2 + CS_ENTER_WEIGHT + CS_NEWLINE +
CS_3 + CS_SELECT_WEIGHT_UNIT + CS_NEWLINE +
CS_4 + CS_ENTER_PATIENT_INITIAL_HCT + CS_NEWLINE +
CS_5 + CS_ENTER_PATIENT_ALLOWABLE_LOWEST_HCT + message_unit_conversion_available);

And make case divisions based on patient type.

double patients_type = _tstof(CS1);

if (patients_type == 1)
{
PR.PATIENTS_TYPE = MD_ADULT_MEN;
MF.ALINE(m_edit2, 1, CS_SELECT_PATIENTS_TYPE + CS_EQUAL + CS_ADULT_MAN);
}
else if (patients_type == 2)
{
PR.PATIENTS_TYPE = MD_ADULT_WOMEN;
MF.ALINE(m_edit2, 1, CS_SELECT_PATIENTS_TYPE + CS_EQUAL + CS_ADULT_WOMAN);
}
else if (patients_type == 3)
{
PR.PATIENTS_TYPE = MD_INFANTS;
MF.ALINE(m_edit2, 1, CS_SELECT_PATIENTS_TYPE + CS_EQUAL + CS_INFANT);
}
else if (patients_type == 4)
{
PR.PATIENTS_TYPE = MD_PREMATURE_NEONATES;
MF.ALINE(m_edit2, 1, CS_SELECT_PATIENTS_TYPE + CS_EQUAL + CS_PREMATURE_NEONATE);
}
else if (patients_type == 5)
{
PR.PATIENTS_TYPE = MD_FULL_TERM_NEONATES;
MF.ALINE(m_edit2, 1, CS_SELECT_PATIENTS_TYPE + CS_EQUAL + CS_FULL_TERM_NEONATE);
}
else
{
MF.MB(CS_MESSAGE_SELECT_PATIENTS_TYPE);
m_edit1.SetWindowTextW(L"");
return;
}

And made a weight unit case division.

double weight_unit = _tstof(CS1);

if (weight_unit == 1)
{
PR.WEIGHT_UNIT = WEIGHT_UNIT_LBS;
MF.ALINE(m_edit2, 3, CS_SELECT_WEIGHT_UNIT + CS_EQUAL + CS_WEIGHT_UNIT_LBS);
}
else if (weight_unit == 2)
{
PR.WEIGHT_UNIT = WEIGHT_UNIT_KG;
MF.ALINE(m_edit2, 3, CS_SELECT_WEIGHT_UNIT + CS_EQUAL + CS_WEIGHT_UNIT_KG);
}
else
{
MF.MB(CS_MESSAGE_SELECT_WEIGHT_UNIT);
m_edit1.SetWindowTextW(L"");
return;
}

At this point, I went for a jog and ran 3 laps, and on the way I stopped at the convenience store and got some food.
This theory development is a bit cumbersome, it's not because of the formula expression, but rather because of the system integration along with the enter button push and case division streams.


September 30, 2016 : Thinking About the Allowable Blood Loss Theory

I went to a power company, and after the job was done, I went straight home and took a nap on the sofa for hours.
After I got up, I thought about the "Allowable Blood Loss Theory," which is used to grasp the overall tipping point of transfusion initiation.

If a patient continues to lose blood, we need to start a transfusion.
And the most important thing in this case is how much blood a patient loses, we have to start the transfusion.
This "Allowable Blood Loss Theory" is used to measure this "tipping point".
If it is estimated to be 1000 milliliters, we should start blood transfusion when they lose 1000 milliliters of their blood.

This should be estimated according to the 5 types of patients.

1. PREMATURE NEONATAL : the first 28 days after birth, less than 37 weeks gestation.
2. FULL TERM NEONATE : the first 28 days baby after birth which has 37 to 42 weeks gestation period.
3. INFANT
4. ADULT MALE
5. ADULT FEMALE

PREMATURE NEONATE has an average blood volume of 95 milliliters per kilogram,
whereas FULL TERM NEONATE has 85, INFANT has 80, ADULT MAN has 75 and ADULT WOMAN has 65.

So I need to make 5 different cases in the program, and I defined these 5 different parameters in the enum structure as follows.

enum INPUT_MODE
{
MD_AGE, MD_SUCCESS, MD_CM, MD_KG, MD_SEX, MD_FEET, MD_INCH, MD_LBS,
MD_SERUMCREATININEMILLIGRAMPERDECILITER, MD_SERUMCREATININEMICROMOLPERLITER,
MD_URINECREATININEMILLIGRAMPERDECILITER, MD_URINECREATININEMICROMOLPERLITER,
MD_URINEOUTPUTPERMINUTE, MD_URINEOUTPUTPERHOUR, MD_URINEOUTPUTPERDAY,
MD_DRUGDOSAGEFORNORMALKIDNEYPATIENTS, MD_DRUGDOSINGINTERVALFORNORMALKIDNEYPATIENTS,
MD_URINARYEXCRETIONRATEOFFREEDRUGPERCENTAGE,
MD_MILLIGRAMPERDECILITER,
MD_MICROMOLPERLITER,
MD_MILLIMOLPERLITER,
MD_MOLECULAR_WEIGHT,
MD_AGE_UNIT,
MD_HEIGHT_UNIT,
MD_WEIGHT_UNIT,
MD_PREMATURE_NEONATES,
MD_FULL_TERM_NEONATES,
MD_INFANTS,
MD_ADULT_MEN,
MD_ADULT_WOMEN

};

Enum structure is defined in C++, this structure automatically assigns incremental sequential integer numbers to all variables in the structure.
So, using enum is very handy, I no longer need to manually define actual numbers to all variables, making it easier to make many case divisions on the program like the following.

if (PR.PATIENTS_TYPE == MD_ADULT_MEN) { PR.AVERAGE_BLOOD_VOLUME = 75; }
else if (PR.PATIENTS_TYPE == MD_ADULT_WOMEN) { PR.AVERAGE_BLOOD_VOLUME = 65; }
else if (PR.PATIENTS_TYPE == MD_INFANTS) { PR.AVERAGE_BLOOD_VOLUME = 80; }
else if (PR.PATIENTS_TYPE == MD_PREMATURE_NEONATES) { PR.AVERAGE_BLOOD_VOLUME = 95; }
else if (PR.PATIENTS_TYPE == MD_FULL_TERM_NEONATES) { PR.AVERAGE_BLOOD_VOLUME = 85; }

PR is declared elsewhere as a PARAMETERS structure, and this structure is :

struct PARAMETERS
{
double AGE;
double SEX;
double GFR;

double CM;
double INCH;
double KG;
double LBS;
double HEIGHT_CM;
double WEIGHT_KG;
double HEIGHT_FEET;
double HEIGHT_INCH;
double WEIGHT_LBS;

double BMI;
double BMI_PRIME;
double KAUP_INDEX;

double BSA_MOSTELLER;
double BSA_DUBOIS_DUBOIS;
double BSA_HAYCOCK;
double BSA_GEHAN_GEORGE;
double BSA_BOYD;
double BSA_AVERAGE_VALUE;

double MOLECULAR_WEIGHT;
double MILLIGRAMPERDECILITER;
double MICROMOLPERLITER;
double MILLIMOLPERLITER;

double very_severely_underweight_zone;
double severely_underweight_zone;
double underweight_zone;
double healthy_weight_zone;
double overweight_zone;
double moderately_obese_zone;
double severely_obese_zone;
double very_severely_obese_zone;

double low_weight_zone;
double slight_low_weight_zone;
double normal_weight_zone;
double slight_overweight_zone;
double obese_level_1_zone;
double obese_level_2_zone;
double obese_level_3_zone;
double obese_level_4_zone;

double CREATININE_CLEARANCE;
double SERUM_CREATININE_MG_DL;
double SERUM_CREATININE_MMOL_L;

double URINE_CREATININE_MG_DL;
double URINE_CREATININE_MMOL_PER_L;

double URINE_OUTPUT_PER_MINUTE;
double URINE_OUTPUT_PER_HOUR;
double URINE_OUTPUT_PER_DAY;

double ADJUSTED_HALF_LIFE_FOR_DRUG;
double URINARY_EXCRETION_RATE_OF_FREE_DRUG_PERCENTAGE;

double DRUG_DOSAGE_FOR_NORMAL_KIDNEY_PATIENTS;
double DRUG_DOSING_INTERVAL_FOR_NORMAL_KIDNEY_PATIENTS;

double ADJUSTED_DRUG_DOSAGE_FOR_PATIENTS;
double ADJUSTED_DRUG_DOSING_INTERVAL_FOR_PATIENTS;

double YEARS;
double MONTHS;
double WEEKS;
double DAYS;

double AGE_UNIT;
double HEIGHT_UNIT;
double WEIGHT_UNIT;

double PATIENTS_TYPE;
double AVERAGE_BLOOD_VOLUME;


CString RESULT1;
CString RESULT2;

};

Two lines highlighted above,

double PATIENTS_TYPE;
double AVERAGE_BLOOD_VOLUME;


are newly added parameters to actualize this function.
This function will be available in this program soon.

After that, I went for a jog and ran 3 laps, then I enjoyed surfing the Internet,
took a shower and went to bed in the morning, it's Saturday!

September 29, 2016 : Last Night's Dream Becomes Prophetic

After the job was done, I stopped by a nonprofit organization where I receive assignments as an occupational health physician.

Last night I had a dream that I visited a hospital where I once worked years ago, and I cooperated for work with the colleagues there.

And today, at the nonprofit organization, I was told that consultations by the safety and health committee for each midnight worker will soon be mandatory by law,
and they just thought they would inform me and want me to join them.

In fact, the non-profit organization I visited today and the hospital in my dream last night have the same name in their corporate names.

Dreams really are such a prophetic thing.

September 28, 2016 : Super Torrential Rain

I was on a visit to an electrical power company. After the job was done and I was on my way home, I got caught in a shower,
and at the time I didn't think this rain would eventually lead to a record torrential rain.

After returning home, I took a nap on the sofa for hours, and when I got up, I noticed that evacuation advisories and orders had been issued in many parts of Kyoto.
This torrential rain accompanied by thunder was really frightening, and I had to shut down my laptop for hours.

You can hear the sound of this rain and thunder from the following movie.


(Movie : Super Torrential Rain)

September 27, 2016 : Visit to Electric Power Company

I visited the medical room of a power company. After returning home, I took a nap on the sofa for several hours as I had only a few hours of sleep last night.
After getting up, I updated LEE22 MEDICAL CALCULATOR and went jogging around 11PM and ran 2 laps.
Then I took a shower and went to bed.


September 26, 2016 : Visit to an Agricultural Organization

I went to visit an agricultural organization. I had a few hours of sleep last night, so I was very sleepy in the morning.
It's pretty slow and easy compared to two days ago, and I was able to sleep on the desk from about 10:30 AM to 11:30 AM,
because one of the staff told me that no patients were likely to come.

After the task, I stopped at the supermarket and went home and took a nap on the sofa until about 7:30 PM.
Then I went for a jog and ran 3 laps around my neighborhood.

September 22, 2016 : Sudden Rain Shower

It's a national holiday (Autumnal Equinox Day), and I relaxed at home.
Around 8 PM, I went out for dinner.

First I went to the beef bowl shop, but it was busy, so I went to the second restaurant, which was also busy.

I always like quiet places, so the above two were not candidates.

I went to the third restaurant where the ramen is excellent even though it's a sushi-go-round restaurant.

First I had a plate with two Inari sushi and then a sushi with shrimps.
Then I had a plate of two sushi topped with salmon and onion with mayonnaise,
when a spicy soy sauce ramen I ordered arrived on the conveyor belt.
(When I order something, it comes on the conveyor and stops beside me)

After I finished the ramen, I continued eating sushi. I ate a plate of sushi topped with deep water shrimp and then salmon.
And then I ate the next spicy soy sauce ramen and left the shop.

As I walked out, I saw that it was raining.

I went to the convenience store first and then to the drugstore, which is almost a convenience store even though it says it's a drugstore.
By the time I went from the convenience store to the drugstore, I was caught in a heavy rain,
and this time my shoes couldn't resist the rain because I put on a sports shoe, not a leather shoe.
(http://www.lee22.net/index.html#20160920)

The sole of my foot got a little wet, but it wasn't too bad because it was just a little.

When I came out of the drugstore, the rain was lighter and I could go home safely.

September 20, 2016 : Miracles Over Puddles

I visited an agricultural cooperative and it was a super heavy rainy day because the typhoon passed near the area.



After work, I went to the nearby supermarket.

There was a shortcut and a detour, and I didn't want to take the detour.
So I tried the shortcut, but there were a lot of big puddles.

Looking around, it seemed impossible to cross the puddles, but I had decided to take the shortcut.
I didn't want to take the detour, even though my shoes might get soaked, because the detour is more than a kilometer long.

I made up my mind and stepped into the puddles, but contrary to my expectations, my shoes are much stronger than I thought.

After the shopping, and even on the way back, my shoes didn't let any water in.
So my legs didn't get wet at all. I must thank my lucky stars.

At night the rain had already stopped and I went for a jog and ran 2 laps.
(I would have gone jogging even if it was raining hard). 

September 19, 2016 : Additional Measures Against Brute Force Attacks



It's a national holiday in Japan, Respect for the Aged Day, and I had a relaxing time at home all day.

I used this time to add additional brute force attack measures to LEE22 SECURE BOOK.
And, this new version is not compatible with previous versions,
so copy and paste articles to this new one. Sorry for the inconvenience.


September 17, 2016 : New Design of Lee22 Medical Calculator



I changed the design of LEE22 MEDICAL CALCULATOR.

I tried both vertical and lateral symmetry, and the result was satisfactory to me.

IDD_LEE22_MEDICAL_CALCULATOR_DIALOG DIALOGEX 0, 0, 322, 315
STYLE DS_SETFONT | DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION "LEE22 MEDICAL CALCULATOR"
MENU IDR_MENU1
FONT 8, "Arial", 400, 0, 0x0
BEGIN
CONTROL "", IDC_RICHEDIT2, "RichEdit20W", ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY | WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP, 5, 27, 312, 125, WS_EX_DLGMODALFRAME
CONTROL "", IDC_RICHEDIT1, "RichEdit20W", ES_RIGHT | ES_AUTOHSCROLL | ES_READONLY | WS_BORDER | WS_TABSTOP, 5, 2, 312, 25, WS_EX_DLGMODALFRAME
PUSHBUTTON "RESET",IDC_BUTTON_RESET,5,278,156,32
PUSHBUTTON "ENTER (=)",IDC_BUTTON_ENTER,161,278,156,32
PUSHBUTTON "0",IDC_BUTTON_0,5,253,78,25
PUSHBUTTON ".",IDC_BUTTON_POINT,83,253,78,25
PUSHBUTTON "BACK",IDC_BUTTON_BACK,161,253,78,25
PUSHBUTTON "TO INCHES",IDC_BUTTON_INCHES,239,253,78,25
PUSHBUTTON "1",IDC_BUTTON_1,5,228,78,25
PUSHBUTTON "2",IDC_BUTTON_2,83,228,78,25
PUSHBUTTON "3",IDC_BUTTON_3,161,228,78,25
PUSHBUTTON "TO POUNDS",IDC_BUTTON_POUNDS,239,228,78,25
PUSHBUTTON "4",IDC_BUTTON_4,5,203,78,25
PUSHBUTTON "5",IDC_BUTTON_5,83,203,78,25
PUSHBUTTON "6",IDC_BUTTON_6,161,203,78,25
PUSHBUTTON "TO KG",IDC_BUTTON_KILOGRAMS,239,203,78,25
PUSHBUTTON "7",IDC_BUTTON_7,5,178,78,25
PUSHBUTTON "8",IDC_BUTTON_8,83,178,78,25
PUSHBUTTON "9",IDC_BUTTON_9,161,178,78,25
PUSHBUTTON "TO CM",IDC_BUTTON_CENTIMETERS,239,178,78,25
PUSHBUTTON "+",IDC_BUTTON_ADDITION,5,153,39,25
PUSHBUTTON "-",IDC_BUTTON_SUBTRACTION,44,153,39,25
PUSHBUTTON "×",IDC_BUTTON_MULTIPLICATION,83,153,39,25
PUSHBUTTON "÷",IDC_BUTTON_DIVISION,122,153,39,25
PUSHBUTTON "log",IDC_BUTTON_LOGARITHM,161,153,39,25
PUSHBUTTON "log10",IDC_BUTTON_LOGARITHM10,200,153,39,25
PUSHBUTTON "root",IDC_BUTTON_ROOT,239,153,39,25
PUSHBUTTON "power",IDC_BUTTON_POWER,278,153,39,25
END

I think this design is cooler than the previous one. lol


September 16, 2016 : Two Buildings Crossing Each Other

I visited an electric power company and found a funny layout there.
It is, one building comes from the left and the other from the right. lol
Hmmmmm... unusual rare layout indeed. lol 



September 14, 2016 : Blood Volume Estimation



I added blood volume estimation functions to LEE22 MEDICAL CALCULATOR.

First, I added new parameters to the enum MEDICAL_CALCULATION_MODE.

enum MEDICAL_CALCULATION_MODE
{

BMI_JAPAN_CM_KG,
BMI_UNIVERSAL_CM_KG,
BMI_UNIVERSAL_INCH_LBS,
BMI_UNIVERSAL_FEET_INCH_LBS,
Creatinine_Clearance_Cockcroft_Gault_Equation_Male_AGE_KG_SERUMCREATININEMILLIGRAMPERDECILITER,
Creatinine_Clearance_Cockcroft_Gault_Equation_Female_AGE_KG_SERUMCREATININEMILLIGRAMPERDECILITER,
Creatinine_Clearance_Cockcroft_Gault_Equation_Male_AGE_KG_SERUMCREATININEMICROMOLPERLITER,
Creatinine_Clearance_Cockcroft_Gault_Equation_Female_AGE_KG_SERUMCREATININEMICROMOLPERLITER,
GFR_MDRD_Male_Black_AGE_SERUMCREATININEMILLIGRAMPERDECILITER,
GFR_MDRD_Female_Black_AGE_SERUMCREATININEMILLIGRAMPERDECILITER,
GFR_MDRD_Male_Black_AGE_SERUMCREATININEMICROMOLPERLITER,
GFR_MDRD_Female_Black_AGE_SERUMCREATININEMICROMOLPERLITER,
GFR_MDRD_Male_Japanese_AGE_SERUMCREATININEMILLIGRAMPERDECILITER,
GFR_MDRD_Female_Japanese_AGE_SERUMCREATININEMILLIGRAMPERDECILITER,
GFR_MDRD_Male_Japanese_AGE_SERUMCREATININEMICROMOLPERLITER,
GFR_MDRD_Female_Japanese_AGE_SERUMCREATININEMICROMOLPERLITER,
GFR_MDRD_Male_Chinese_AGE_SERUMCREATININEMILLIGRAMPERDECILITER,
GFR_MDRD_Female_Chinese_AGE_SERUMCREATININEMILLIGRAMPERDECILITER,
GFR_MDRD_Male_Chinese_AGE_SERUMCREATININEMICROMOLPERLITER,
GFR_MDRD_Female_Chinese_AGE_SERUMCREATININEMICROMOLPERLITER,
GFR_MDRD_Male_Other_AGE_SERUMCREATININEMILLIGRAMPERDECILITER,
GFR_MDRD_Female_Other_AGE_SERUMCREATININEMILLIGRAMPERDECILITER,
GFR_MDRD_Male_Other_AGE_SERUMCREATININEMICROMOLPERLITER,
GFR_MDRD_Female_Other_AGE_SERUMCREATININEMICROMOLPERLITER,
Giusti_Hayton_Tozer_CM_KG_SERUMCREATININEMGDL_URINECREATININEMGDL_URINARYEXCRETIONRATEOFFREEDRUGPERCENTAGE_DRUGDOSAGEFORNORMALKIDNEYPATIENTS_DRUGDOSINGINTERVALFORNORMALKIDNEYPATIENTS_URINEOUTPUTPERMINUTE,
Giusti_Hayton_Tozer_CM_KG_SERUMCREATININEMGDL_URINECREATININEMGDL_URINARYEXCRETIONRATEOFFREEDRUGPERCENTAGE_DRUGDOSAGEFORNORMALKIDNEYPATIENTS_DRUGDOSINGINTERVALFORNORMALKIDNEYPATIENTS_URINEOUTPUTPERHOUR,
Giusti_Hayton_Tozer_CM_KG_SERUMCREATININEMGDL_URINECREATININEMGDL_URINARYEXCRETIONRATEOFFREEDRUGPERCENTAGE_DRUGDOSAGEFORNORMALKIDNEYPATIENTS_DRUGDOSINGINTERVALFORNORMALKIDNEYPATIENTS_URINEOUTPUTPERDAY,
KAUP_INDEX_CM_KG,
KAUP_INDEX_FEET_INCH_LBS,
UNIT_CONVERSION_MILLIGRAMPERDECILITER_TO_MICROMOLPERLITER,
UNIT_CONVERSION_MICROMOLPERLITER_TO_MILLIGRAMPERDECILITER,
UNIT_CONVERSION_MILLIGRAMPERDECILITER_TO_MILLIMOLPERLITER,
UNIT_CONVERSION_MILLIMOLPERLITER_TO_MILLIGRAMPERDECILITER,
UNIT_CONVERSION_POUNDS_TO_KILOGRAMS,
UNIT_CONVERSION_KILOGRAMS_TO_POUNDS,
UNIT_CONVERSION_CENTIMETERS_TO_INCHES,
UNIT_CONVERSION_INCHES_TO_CENTIMETERS,
UNIT_CONVERSION_CREATININE_MILLIGRAMPERDECILITER_TO_MICROMOLPERLITER,
UNIT_CONVERSION_CREATININE_MICROMOLPERLITER_TO_MILLIGRAMPERDECILITER,
UNIT_CONVERSION_GLUCOSE_MILLIGRAMPERDECILITER_TO_MILLIMOLPERLITER,
UNIT_CONVERSION_GLUCOSE_MILLIMOLPERLITER_TO_MILLIGRAMPERDECILITER,
BSA_CM_KG,
BSA_FEET_INCH_LBS,
BLOOD_VOLUME_Nadler_Formula_CM_KG,
BLOOD_VOLUME_Nadler_Formula_FEET_INCH_LBS

};

And then made a case division according to the MD.SELECTION value.

if (MD.SELECTION == BLOOD_VOLUME_Nadler_Formula_CM_KG)
{
BLOOD_VOLUME_Nadler_Formula_CM_KG_MAIN(MD, PR);
MD.INPUT = MD_SUCCESS; MD.SELECTION = MD_SUCCESS;
}
else if (MD.SELECTION == BLOOD_VOLUME_Nadler_Formula_FEET_INCH_LBS)
{
BLOOD_VOLUME_Nadler_Formula_FEET_INCH_LBS_MAIN(MD, PR);
MD.INPUT = MD_SUCCESS; MD.SELECTION = MD_SUCCESS;
}

Finally, I wrote the core blood volume estimation procedure.

void BLOOD_VOLUME_Nadler_Formula_CM_KG_MAIN(MODE &MD, PARAMETERS &PR)
{

PR.HEIGHT_INCH = CM_TO_INCH(PR.HEIGHT_CM);
PR.WEIGHT_LBS = KG_TO_LBS(PR.WEIGHT_KG);

if (PR.SEX == MALE)
{
PR.RESULT1 = DOUBLE_TO_CSTRING((0.006012 * pow(PR.HEIGHT_INCH, 3) + (14.6 * PR.WEIGHT_LBS)) + 604);
}
else if (PR.SEX == FEMALE)
{
PR.RESULT1 = DOUBLE_TO_CSTRING((0.005835 * pow(PR.HEIGHT_INCH, 3) + (15 * PR.WEIGHT_LBS)) + 183);
}

PR.RESULT2 = L"Estimated Blood Volume : " + PR.RESULT1 + L" (milliliters) ";

}

void BLOOD_VOLUME_Nadler_Formula_FEET_INCH_LBS_MAIN(MODE &MD, PARAMETERS &PR)
{

PR.HEIGHT_INCH += PR.HEIGHT_FEET * 12;

if (PR.SEX == MALE)
{
PR.RESULT1 = DOUBLE_TO_CSTRING((0.006012 * pow(PR.HEIGHT_INCH, 3) + (14.6 * PR.WEIGHT_LBS)) + 604);
}
else if (PR.SEX == FEMALE)
{
PR.RESULT1 = DOUBLE_TO_CSTRING((0.005835 * pow(PR.HEIGHT_INCH, 3) + (15 * PR.WEIGHT_LBS)) + 183);
}

PR.RESULT2 = L"Estimated Blood Volume : " + PR.RESULT1 + L" (milliliters) ";

}

CString DOUBLE_TO_CSTRING(double m_double){ CString m_cstring; m_cstring.Format(L"%g", m_double); return m_cstring;}
double CSTRING_TO_DOUBLE(CString m_cstring){return _tstof(m_cstring);}
double CM_TO_INCH(double centimeters) { return (centimeters / 2.54); }
double KG_TO_LBS(double kilograms) { return (kilograms / 0.453592); }

September 13, 2016 : New Features in Lee22 Medical Calculator



I have added new calculation functions to LEE22 MEDICAL CALCULATOR.
This time I added natural logarithm, common logarithm, centimeters to inches, kilograms to pounds, pounds to kilograms and inches to centimeters calculation buttons.

It is very simple and easy to use.

If you want to convert inches to centimeters, just enter the numbers and press the "TO CM" button.
If you want to convert pounds to kilograms, just enter the numbers and press "TO KG" button.

You can download and use these functions from here.

September 12, 2016 : First Step in Establishing a New Non-Profit Organization

I submitted documents to a municipal office for the establishment of my new nonprofit organization, which mainly engages in the research of dementia progress in elderly people
through sharing social interactions with them, and will figure out what factors have a positive impact on hindering the progress of dementia.

For example, DASH diet and Mediterranean diet are established theories as "effective", but when it comes to like regular physical exercises, social connections or intellectual activities,
the state is still "may." To what degree those factors affect dementia are still not well-evidenced. (most factors which are now thought to be effective, are actually not evidenced, except diet factors)

In my new nonprofit organization, we will measure the transition of dementia state using international dementia scales and statistically find out what factors are effective and what factors are not effective.

I submitted documents to a municipal office to establish my new nonprofit organization, mainly dedicated to researching the progression of dementia in the elderly,
through shared social interactions with them, and will find out what factors positively influence the progression of dementia.

For example, the DASH diet and the Mediterranean diet are established theories as "effective," but when it comes to things like regular physical exercise, social connections, or intellectual activities,
we don't have answers as to whether it has a positive impact, to what degree these factors affect dementia.
(Most of the factors that are now thought to be effective are actually not proven, except for dietary factors).

In my new non-profit organization we will measure the progression of dementia using international dementia scales and statistically find out which factors are effective and which are not.

September 11, 2016 : Body Surface Area Estimation



body surface area estimation functions to the LEE22 MEDICAL CALCULATOR.

PR.BSA_BOYD = 0.0003207 * pow(PR.HEIGHT_CM, 0.3) * pow(PR.WEIGHT_KG * 1000, 0.7285 - (0.0188 * log10(PR.WEIGHT_KG * 1000)));
PR.BSA_DUBOIS_DUBOIS = 0.20247 * pow(PR.HEIGHT_CM/100,0.725) * pow(PR.WEIGHT_KG,0.425);
PR.BSA_GEHAN_GEORGE = 0.0235 * pow(PR.HEIGHT_CM, 0.42246) * pow(PR.WEIGHT_KG, 0.51456);
PR.BSA_HAYCOCK = 0.024265 * pow(PR.HEIGHT_CM, 0.3964) * pow(PR.WEIGHT_KG, 0.5378);
PR.BSA_MOSTELLER = sqrt(PR.HEIGHT_CM*PR.WEIGHT_KG / 3600);
PR.BSA_AVERAGE_VALUE = (PR.BSA_BOYD + PR.BSA_DUBOIS_DUBOIS + PR.BSA_GEHAN_GEORGE + PR.BSA_HAYCOCK + PR.BSA_MOSTELLER) / 5;

PR.RESULT1 = DOUBLE_TO_CSTRING(PR.BSA_AVERAGE_VALUE);

PR.RESULT2 = L"Estimated Body Surface Area : " + DOUBLE_TO_CSTRING(PR.BSA_AVERAGE_VALUE) + L" (square meters) " + L"\r\n" + L"\r\n" +
L"BOYD FORMULA : " + DOUBLE_TO_CSTRING(PR.BSA_BOYD) + L" (square meters) " + L"\r\n" +
L"DUBOIS AND DUBOIS FORMULA : " + DOUBLE_TO_CSTRING(PR.BSA_DUBOIS_DUBOIS) + L" (square meters) " + L"\r\n" +
L"GEHAN AND GEORGE FORMULA : " + DOUBLE_TO_CSTRING(PR.BSA_GEHAN_GEORGE) + L" (square meters) " + L"\r\n" +
L"HAYCOCK FORMULA : " + DOUBLE_TO_CSTRING(PR.BSA_HAYCOCK) + L" (square meters) " + L"\r\n" +
L"MOSTELLER FORMULA : " + DOUBLE_TO_CSTRING(PR.BSA_MOSTELLER) + L" (square meters) " + L"\r\n" + L"\r\n" +
L"AVERAGE VALUE : " + DOUBLE_TO_CSTRING(PR.BSA_AVERAGE_VALUE) + L" (square meters) " + L"\r\n" + L"\r\n";

PR.BMI = PR.WEIGHT_KG / pow(PR.HEIGHT_CM / (double)100, 2);
PR.BMI_PRIME = PR.BMI / 25;
PR.very_severely_underweight_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 15;
PR.severely_underweight_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 16;
PR.underweight_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 18.5;
PR.normal_weight_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 25;
PR.overweight_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 30;
PR.moderately_obese_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 35;
PR.severely_obese_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 40;
PR.very_severely_obese_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 40;

if (PR.BMI<15) { CS1 = "very severely underweight zone"; }
else if (15 <= PR.BMI && PR.BMI < 16) { CS1 = "severely underweight zone"; }
else if (16 <= PR.BMI && PR.BMI < 18.5) { CS1 = "underweight zone"; }
else if (18.5 <= PR.BMI && PR.BMI < 25) { CS1 = "normal weight zone"; }
else if (25 <= PR.BMI && PR.BMI < 30) { CS1 = "overweight zone"; }
else if (30 <= PR.BMI && PR.BMI < 35) { CS1 = "moderately obese zone"; }
else if (35 <= PR.BMI && PR.BMI < 40) { CS1 = "severely obese zone"; }
else if (40 <= PR.BMI) { CS1 = "very severely obese zone"; }

if (PR.BMI_PRIME<0.6) { CS2 = "very severely underweight zone"; }
else if (0.6 <= PR.BMI_PRIME && PR.BMI_PRIME < 0.64) { CS2 = "severely underweight zone"; }
else if (0.64 <= PR.BMI_PRIME && PR.BMI_PRIME < 0.74) { CS2 = "underweight zone"; }
else if (0.74 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.0) { CS2 = "normal weight zone"; }
else if (1.0 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.2) { CS2 = "overweight zone"; }
else if (1.2 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.4) { CS2 = "moderately obese zone"; }
else if (1.4 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.6) { CS2 = "severely obese zone"; }
else if (1.6 <= PR.BMI_PRIME) { CS2 = "very severely obese zone"; }

PR.RESULT2 += L"BMI : " + DOUBLE_TO_CSTRING(PR.BMI) + " (" + CS1 + L") " + L"\r\n" +
L"BMI PRIME : " + DOUBLE_TO_CSTRING(PR.BMI_PRIME) + " (" + CS2 + L") " + L"\r\n" + L"\r\n" +
L"very severely underweight zone < " + DOUBLE_TO_CSTRING(PR.very_severely_underweight_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.very_severely_underweight_zone) + L"kg" + L" <= severely underweight zone < " + DOUBLE_TO_CSTRING(PR.severely_underweight_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.severely_underweight_zone) + L"kg" + L" <= underweight zone < " + DOUBLE_TO_CSTRING(PR.underweight_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.underweight_zone) + L"kg" + L" <= normal weight zone < " + DOUBLE_TO_CSTRING(PR.normal_weight_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.normal_weight_zone) + L"kg" + L" <= overweight zone < " + DOUBLE_TO_CSTRING(PR.overweight_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.overweight_zone) + L"kg" + L" <= moderately obese zone < " + DOUBLE_TO_CSTRING(PR.moderately_obese_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.moderately_obese_zone) + L"kg" + L" <= severely obese zone < " + DOUBLE_TO_CSTRING(PR.severely_obese_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.very_severely_obese_zone) + L"kg" + L" <= very severely obese zone" + L"\r\n";

September 7, 2016 : Training at the Gym

I visited a material manufacturing company. After completing the task, I went to the gym and did some exercises.
Then I took a nap for hours at home.



September 6, 2016 : Three Towers

I visited an electricity company. After the task was done, I found a strange place surrounded by three high tower-like buildings.
I don't know why, but I was inspired by the strange atmosphere of this place, which I probably experienced once, but I can't remember where.

After work, I bought an iPod nano and a speaker compatible with Bluetooth functions.



September 5, 2016 : Melody Coming Home to My Heart


September 3, 2016 : Caffeine Could Cause Dizziness

I met a man who suffers from dizziness and he drinks a lot of coffee every day.

Recently, I have come to think that there might be a relationship between vertigo and caffeine consumption, so I'm planning to take a statistic to find out the answer.
I think that Meniere's disease, which many Japanese people suffer from, may be caused by caffeine intake.
They say it's safe if it's within an acceptable daily intake, but I don't believe that because sensitivity varies from person to person.
For people who are very sensitive to caffeine, Acceptable Daily Intake is completely meaningless.

So I think there must be a lot of sensitive people who suffer from dizziness caused by just two or three cups of coffee, and I think my statistics will reveal the answer.

September 2, 2016 : Bliss Resides in Ignorance

Today I saw an old man, he said his age was 80 years old and once he could detect his cancer through this examination eighteen years ago.

When I heard this, I realized that we can influence and channel others in a healthier direction without even realizing it.
So far, I have sent many suspicious patients to specialists for further tests, and some may have found ailments at an early stage that could cause fatalities later.
This means that the bliss called saving others could happen in places I don't know about, and things like that can be applied to any aspect of daily life.

Come to think of it, bliss has always been around me.

When I overslept and ran frantically somewhere and barely made it in time, that must be bliss that I didn't think was bliss before. lol
When I was late for school so many times and I was so worried about whether I would get promoted or not, and finally I was able to avoid repeating a grade, that must have been bliss. lol

Those things are actually bliss that I haven't felt until now.
How much bliss has been around me so far. lol

Bliss is all around us, but we just don't notice it.
Bliss is in unknown places that we call ignorance.

Yes, bliss resides in ignorance.

September 1, 2016 : Updated Lee22 Medical Calculator and Lee22 Secure Book

Today I had the day off, so I updated LEE22 MEDICAL CALCULATOR and LEE22 SECURE BOOK.

August 30, 2016 : Lee22 Secure Book Updated

I updated LEE22 SECURE BOOK printer functions.

August 28, 2016 : Lee22 Secure Book Updated

I updated LEE22 SECURE BOOK. This time I've changed the specification to ensure security, and this version is not compatible with documents created by the previous version,
so copy articles in previous version documents to the new one. Sorry for the inconvenience.

August 26, 2016 : Blooming at Kyoto City Hall

I visited Kyoto City Hall for work.



August 25, 2016 : Visit to Kyoto City Hall

I visited Kyoto City Hall for work. This is almost an annual event for me.
It's a sunny and peaceful day and I could refresh myself.



August 22, 2016 : Unexpected Reunion

Today I ran into an old friend I used to work with in a hospital.
I didn't see him a few years ago when I visited here, so I didn't think this could happen.

What a coincidence and what a small world!

August 19, 2016 : Approach to Kaup Index

I've added a new function to LEE22 MEDICAL CALCULATOR, this time it's Kaup Index, which is used in pediatric fields.

Kaup Index is an alternative indicator to BMI, which is used for growth assessment of infants.
There are online services that offer Kaup Index, but actually the assessment can't be done in one way,
because, for example, infants less than 3 months old and 1 year old have different metabolic capabilities,
and we should take that into account and do it in different ways according to their age.

There is no scientific way to directly find out and define the exact numerical value that indicates an individual's metabolic capacity,
but statistically we can vaguely see the transition of these age fluctuations, and this can be expressed in C++ like this :

double db1, db2, db3, db4;

if (PR.AGE < 12){db1 = 14.5; db2 = 16; db3 = 18; db4 = 20;}
else if (12 <= PR.AGE && PR.AGE < 18){db1 = 14.5; db2 = 15.5; db3 = 17.5; db4 = 19.5;}
else if (18 <= PR.AGE && PR.AGE < 24) { db1 = 14; db2 = 15; db3 = 17; db4 = 19; }
else if (24 <= PR.AGE && PR.AGE < 36) { db1 = 13.5; db2 = 15; db3 = 17; db4 = 18.5; }
else if (36 <= PR.AGE && PR.AGE < 48) { db1 = 13.5; db2 = 14.5; db3 = 16.5; db4 = 18; }
else if (48 <= PR.AGE && PR.AGE < 60) { db1 = 13; db2 = 14.5; db3 = 16.5; db4 = 18; }
else if (60 <= PR.AGE) { db1 = 13; db2 = 14.5; db3 = 16.5; db4 = 18.5; }

PR.low_weight_zone = pow(PR.HEIGHT_CM / (double)100, 2) * db1;
PR.slight_low_weight_zone = pow(PR.HEIGHT_CM / (double)100, 2) * db2;
PR.normal_weight_zone = pow(PR.HEIGHT_CM / (double)100, 2) * db3;
PR.slight_overweight_zone = pow(PR.HEIGHT_CM / (double)100, 2) * db4;

if (PR.KAUP_INDEX < db1) { CS1 = L"low weight zone"; }
else if (db1 <= PR.KAUP_INDEX && PR.KAUP_INDEX < db2) { CS1 = L"slightly low weight zone"; }
else if (db2 <= PR.KAUP_INDEX && PR.KAUP_INDEX < db3) { CS1 = L"normal weight zone"; }
else if (db3 <= PR.KAUP_INDEX && PR.KAUP_INDEX < db4) { CS1 = L"slightly overweight zone"; }
else if (db4 <= PR.KAUP_INDEX) { CS1 = L"overweight zone"; }

Note that PR.AGE stands for "months from birth" (not years), and low weight zone, slightly low weight zone, normal weight zone,
slightly overweight zone and overweight zone change depending on the infant's age.

August 15, 2016 : Lee22 Secure Book


I released the Lee22 Secure Book. This tool is really handy, you can treat many documents at the same time like using a notebook.
Also, all the articles you make are automatically encrypted with your own password using the AES encryption algorithm,
which was selected by the United States government as the new standard encryption method for the next generation.

I hope you enjoy it!



August 14, 2016 : Staying Home Most of the Day

I went to bed around 9 AM and got up around 3 PM and spent some time on my laptop.
I went for a jog around noon and ran two laps.
During the jog, I stopped by the convenience store to get food, water, and snacks.


August 13, 2016 : Round Trip to the Supermarkets

I got up after 3 PM today because I'm on vacation for seven days in a row, and I get up late every day. After I got up, I went to the restaurant and had zaru udon.
On my way home, I stopped at the drugstore and bought bottles of water and a 100% grape juice.
After I got home, I went to the supermarket in front of my apartment and bought some daily necessities, but on the way I realized that I'd have to go to the supermarket again,
because my hands were full and I had to leave them in my room and get food for tomorrow because I wasn't sure if I wanted to go out tomorrow.
So I ended up going all the way to another supermarket nearby and got some food, yogurt, and snacks for watching the Olympics. It was a busy day!

August 12, 2016 : Relaxing Time at Home

I had a relaxing time at home, mostly watching TV or using my computer. The Rio Olympics are hot for me now.


August 10, 2016 : Start of My Consecutive Vacation!

Starting today, I will have 7 days off in a row, so I was so happy because my task today was getting closer to the end.
When I got back home, I took a nap for hours and after getting up, I went to the gym.

Yay, my consecutive vacation is finally here!

August 9, 2016 : Relaxing Time at Home

Today I'm off and had a relaxing time at home. I went to the supermarket nearby around 4 PM and bought fermented soybeans, yogurt and plastic bottles of water.
And then I went to the restaurant and had a bowl of rice with beef on it. After that I went home around 7 PM and watched TV.
Starting around 11 PM, I jogged 2 laps around my apartment complex.


Development of four basic arithmetic operations, square root and power operations.




You can download the latest version from here.

July 31, 2016 : Lee22 Medical Calculator

Release of Lee22 Medical Calculator


And I finally released "LEE22 MEDICAL CALCULATOR".
You can download it from here.



Development of Therapeutic Drug Monitoring Functions: Giusti-Hayton-Tozer Equation


First, I added new parameters to the struct PARAMETERS.

struct PARAMETERS
{
double AGE;
double SEX;

double GFR;

double HEIGHT_CM;
double WEIGHT_KG;
double HEIGHT_FEET;
double HEIGHT_INCH;
double WEIGHT_LBS;
double BMI;
double BMI_PRIME;

double very_severely_underweight_zone;
double severely_underweight_zone;
double underweight_zone;
double healthy_weight_zone;
double overweight_zone;
double moderately_obese_zone;
double severely_obese_zone;
double very_severely_obese_zone;

double low_weight_zone;
double normal_weight_zone;
double obese_level_1_zone;
double obese_level_2_zone;
double obese_level_3_zone;
double obese_level_4_zone;

double CREATININE_CLEARANCE;
double SERUM_CREATININE_MG_DL;
double SERUM_CREATININE_MMOL_L;

double URINE_CREATININE_MG_DL;
double URINE_CREATININE_MMOL_PER_L;

double URINE_OUTPUT_PER_MINUTE;
double URINE_OUTPUT_PER_HOUR;
double URINE_OUTPUT_PER_DAY;

double ADJUSTED_HALF_LIFE_FOR_DRUG;
double URINARY_EXCRETION_RATE_OF_FREE_DRUG_PERCENTAGE;

double DRUG_DOSAGE_FOR_NORMAL_KIDNEY_PATIENTS;
double DRUG_DOSING_INTERVAL_FOR_NORMAL_KIDNEY_PATIENTS;

double ADJUSTED_DRUG_DOSAGE_FOR_PATIENTS;
double ADJUSTED_DRUG_DOSING_INTERVAL_FOR_PATIENTS;


CString RESULT1;
CString RESULT2;

};

And I added the following new functions for calculation and evaluation.

void Giusti_Hayton_Tozer_CM_KG_SERUMCREATININEMGDL_URINECREATININEMGDL_URINARYEXCRETIONRATEOFFREEDRUGPERCENTAGE_DRUGDOSAGEFORNORMALKIDNEYPATIENTS_DRUGDOSINGINTERVALFORNORMALKIDNEYPATIENTS_URINEOUTPUTPERMINUTE_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.CREATININE_CLEARANCE = (PR.URINE_CREATININE_MG_DL * PR.URINE_OUTPUT_PER_MINUTE * 1.73) /
(PR.SERUM_CREATININE_MG_DL * pow(PR.WEIGHT_KG, 0.425) * pow(PR.HEIGHT_CM, 0.725)*0.007184);

PR.ADJUSTED_DRUG_DOSAGE_FOR_PATIENTS = PR.DRUG_DOSAGE_FOR_NORMAL_KIDNEY_PATIENTS * (1 - ((PR.URINARY_EXCRETION_RATE_OF_FREE_DRUG_PERCENTAGE / 100) * (1 - (PR.CREATININE_CLEARANCE / 100))));
PR.ADJUSTED_DRUG_DOSING_INTERVAL_FOR_PATIENTS = PR.DRUG_DOSING_INTERVAL_FOR_NORMAL_KIDNEY_PATIENTS / (1 - ((PR.URINARY_EXCRETION_RATE_OF_FREE_DRUG_PERCENTAGE / 100) * (1 - (PR.CREATININE_CLEARANCE / 100))));

PR.RESULT1 = DOUBLE_TO_CSTRING(PR.ADJUSTED_DRUG_DOSAGE_FOR_PATIENTS);
PR.RESULT2 = L"\r\nCreatinine Clearance : " + DOUBLE_TO_CSTRING(PR.CREATININE_CLEARANCE) + L"\r\n" +
L"Adjusted drug dosage for patients : " + DOUBLE_TO_CSTRING(PR.ADJUSTED_DRUG_DOSAGE_FOR_PATIENTS) + L"\r\n" +
L"Adjusted drug dosing interval for patients : " + DOUBLE_TO_CSTRING(PR.ADJUSTED_DRUG_DOSING_INTERVAL_FOR_PATIENTS) + L"\r\n" + L"\r\n" +
L"Drug dosage for normal kidney patients : " + DOUBLE_TO_CSTRING(PR.DRUG_DOSAGE_FOR_NORMAL_KIDNEY_PATIENTS) + L"\r\n" +
L"Dosing interval for normal kidney patients : " + DOUBLE_TO_CSTRING(PR.DRUG_DOSING_INTERVAL_FOR_NORMAL_KIDNEY_PATIENTS) + L"\r\n";

}

void Giusti_Hayton_Tozer_CM_KG_SERUMCREATININEMGDL_URINECREATININEMGDL_URINARYEXCRETIONRATEOFFREEDRUGPERCENTAGE_DRUGDOSAGEFORNORMALKIDNEYPATIENTS_DRUGDOSINGINTERVALFORNORMALKIDNEYPATIENTS_URINEOUTPUTPERHOUR_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.CREATININE_CLEARANCE = (PR.URINE_CREATININE_MG_DL * PR.URINE_OUTPUT_PER_HOUR * 1.73) /
(PR.SERUM_CREATININE_MG_DL * pow(PR.WEIGHT_KG, 0.425) * pow(PR.HEIGHT_CM, 0.725) * 0.007184 * 60);

PR.ADJUSTED_DRUG_DOSAGE_FOR_PATIENTS = PR.DRUG_DOSAGE_FOR_NORMAL_KIDNEY_PATIENTS * (1 - ((PR.URINARY_EXCRETION_RATE_OF_FREE_DRUG_PERCENTAGE / 100) * (1 - (PR.CREATININE_CLEARANCE / 100))));
PR.ADJUSTED_DRUG_DOSING_INTERVAL_FOR_PATIENTS = PR.DRUG_DOSING_INTERVAL_FOR_NORMAL_KIDNEY_PATIENTS / (1 - ((PR.URINARY_EXCRETION_RATE_OF_FREE_DRUG_PERCENTAGE / 100) * (1 - (PR.CREATININE_CLEARANCE / 100))));

PR.RESULT1 = DOUBLE_TO_CSTRING(PR.ADJUSTED_DRUG_DOSAGE_FOR_PATIENTS);
PR.RESULT2 = L"\r\nCreatinine Clearance : " + DOUBLE_TO_CSTRING(PR.CREATININE_CLEARANCE) + L"\r\n" +
L"Adjusted drug dosage for patients : " + DOUBLE_TO_CSTRING(PR.ADJUSTED_DRUG_DOSAGE_FOR_PATIENTS) + L"\r\n" +
L"Adjusted drug dosing interval for patients : " + DOUBLE_TO_CSTRING(PR.ADJUSTED_DRUG_DOSING_INTERVAL_FOR_PATIENTS) + L"\r\n" + L"\r\n" +
L"Drug dosage for normal kidney patients : " + DOUBLE_TO_CSTRING(PR.DRUG_DOSAGE_FOR_NORMAL_KIDNEY_PATIENTS) + L"\r\n" +
L"Dosing interval for normal kidney patients : " + DOUBLE_TO_CSTRING(PR.DRUG_DOSING_INTERVAL_FOR_NORMAL_KIDNEY_PATIENTS) + L"\r\n";

}

void Giusti_Hayton_Tozer_CM_KG_SERUMCREATININEMGDL_URINECREATININEMGDL_URINARYEXCRETIONRATEOFFREEDRUGPERCENTAGE_DRUGDOSAGEFORNORMALKIDNEYPATIENTS_DRUGDOSINGINTERVALFORNORMALKIDNEYPATIENTS_URINEOUTPUTPERDAY_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.CREATININE_CLEARANCE = (PR.URINE_CREATININE_MG_DL * PR.URINE_OUTPUT_PER_DAY * 1.73) /
(PR.SERUM_CREATININE_MG_DL * pow(PR.WEIGHT_KG, 0.425) * pow(PR.HEIGHT_CM, 0.725) * 0.007184 * 1440);

PR.ADJUSTED_DRUG_DOSAGE_FOR_PATIENTS = PR.DRUG_DOSAGE_FOR_NORMAL_KIDNEY_PATIENTS * (1 - ((PR.URINARY_EXCRETION_RATE_OF_FREE_DRUG_PERCENTAGE / 100) * (1 - (PR.CREATININE_CLEARANCE / 100))));
PR.ADJUSTED_DRUG_DOSING_INTERVAL_FOR_PATIENTS = PR.DRUG_DOSING_INTERVAL_FOR_NORMAL_KIDNEY_PATIENTS / (1 - ((PR.URINARY_EXCRETION_RATE_OF_FREE_DRUG_PERCENTAGE / 100) * (1 - (PR.CREATININE_CLEARANCE / 100))));

PR.RESULT1 = DOUBLE_TO_CSTRING(PR.ADJUSTED_DRUG_DOSAGE_FOR_PATIENTS);
PR.RESULT2 = L"\r\nCreatinine Clearance : " + DOUBLE_TO_CSTRING(PR.CREATININE_CLEARANCE) + L"\r\n" +
L"Adjusted drug dosage for patients : " + DOUBLE_TO_CSTRING(PR.ADJUSTED_DRUG_DOSAGE_FOR_PATIENTS) + L"\r\n" +
L"Adjusted drug dosing interval for patients : " + DOUBLE_TO_CSTRING(PR.ADJUSTED_DRUG_DOSING_INTERVAL_FOR_PATIENTS) + L"\r\n" + L"\r\n" +
L"Drug dosage for normal kidney patients : " + DOUBLE_TO_CSTRING(PR.DRUG_DOSAGE_FOR_NORMAL_KIDNEY_PATIENTS) + L"\r\n" +
L"Dosing interval for normal kidney patients : " + DOUBLE_TO_CSTRING(PR.DRUG_DOSING_INTERVAL_FOR_NORMAL_KIDNEY_PATIENTS) + L"\r\n";

}

Development of GFR Functions : MDRD Equation


First, I added new parameters to the struct PARAMETERS.

struct PARAMETERS
{
double AGE;
double SEX;

double GFR;

double HEIGHT_CM;
double WEIGHT_KG;
double HEIGHT_FEET;
double HEIGHT_INCH;
double WEIGHT_LBS;
double BMI;
double BMI_PRIME;

double very_severely_underweight_zone;
double severely_underweight_zone;
double underweight_zone;
double healthy_weight_zone;
double overweight_zone;
double moderately_obese_zone;
double severely_obese_zone;
double very_severely_obese_zone;

double low_weight_zone;
double normal_weight_zone;
double obese_level_1_zone;
double obese_level_2_zone;
double obese_level_3_zone;
double obese_level_4_zone;

double CREATININE_CLEARANCE;
double SERUM_CREATININE_MG_DL;
double SERUM_CREATININE_MMOL_L;

CString RESULT1;
CString RESULT2;

};

And I added the following new functions for calculation and evaluation.

void GFR_MDRD_Male_Black_AGE_SERUMCREATININEMGPERDL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.GFR = 186 * pow(PR.SERUM_CREATININE_MG_DL, -1.154) * pow(PR.AGE, -0.203) * 1.210;
if (120 < PR.GFR) { CS1 = L" (high) "; }
else if (90 <= PR.GFR && PR.GFR <= 120) { CS1 = L" (normal) "; }
else if (60 < PR.GFR && PR.GFR < 90) { CS1 = L" (low) "; }
else if (15 < PR.GFR && PR.GFR <= 60) { CS1 = L" (sign of chronic kidney disease) "; }
else if (PR.GFR && PR.GFR <= 15) { CS1 = L" (kidney failure and requires immediate treatments) "; }
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.GFR);
PR.RESULT2 = L"\r\nGFR : " + DOUBLE_TO_CSTRING(PR.GFR) + CS1 + L"\r\n\r\n";
}

void GFR_MDRD_Male_Black_AGE_SERUMCREATININEMMOLPERL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.GFR = 186 * pow(PR.SERUM_CREATININE_MMOL_L / 88.4, -1.154) * pow(PR.AGE, -0.203) * 1.210;
if (120 < PR.GFR) { CS1 = L" (high) "; }
else if (90 <= PR.GFR && PR.GFR <= 120) { CS1 = L" (normal) "; }
else if (60 < PR.GFR && PR.GFR < 90) { CS1 = L" (low) "; }
else if (15 < PR.GFR && PR.GFR <= 60) { CS1 = L" (sign of chronic kidney disease) "; }
else if (PR.GFR && PR.GFR <= 15) { CS1 = L" (kidney failure and requires immediate treatments) "; }
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.GFR);
PR.RESULT2 = L"\r\nGFR : " + DOUBLE_TO_CSTRING(PR.GFR) + CS1 + L"\r\n\r\n";
}

void GFR_MDRD_Female_Black_AGE_SERUMCREATININEMGPERDL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.GFR = 186 * pow(PR.SERUM_CREATININE_MG_DL, -1.154) * pow(PR.AGE, -0.203) * 1.210 * 0.742;
if (120 < PR.GFR) { CS1 = L" (high) "; }
else if (90 <= PR.GFR && PR.GFR <= 120) { CS1 = L" (normal) "; }
else if (60 < PR.GFR && PR.GFR < 90) { CS1 = L" (low) "; }
else if (15 < PR.GFR && PR.GFR <= 60) { CS1 = L" (sign of chronic kidney disease) "; }
else if (PR.GFR && PR.GFR <= 15) { CS1 = L" (kidney failure and requires immediate treatments) "; }
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.GFR);
PR.RESULT2 = L"\r\nGFR : " + DOUBLE_TO_CSTRING(PR.GFR) + CS1 + L"\r\n\r\n";
}

void GFR_MDRD_Female_Black_AGE_SERUMCREATININEMMOLPERL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.GFR = 186 * pow(PR.SERUM_CREATININE_MMOL_L / 88.4, -1.154) * pow(PR.AGE, -0.203) * 1.210 * 0.742;
if (120 < PR.GFR) { CS1 = L" (high) "; }
else if (90 <= PR.GFR && PR.GFR <= 120) { CS1 = L" (normal) "; }
else if (60 < PR.GFR && PR.GFR < 90) { CS1 = L" (low) "; }
else if (15 < PR.GFR && PR.GFR <= 60) { CS1 = L" (sign of chronic kidney disease) "; }
else if (PR.GFR && PR.GFR <= 15) { CS1 = L" (kidney failure and requires immediate treatments) "; }
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.GFR);
PR.RESULT2 = L"\r\nGFR : " + DOUBLE_TO_CSTRING(PR.GFR) + CS1 + L"\r\n\r\n";
}

void GFR_MDRD_Male_Japanese_AGE_SERUMCREATININEMGPERDL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.GFR = 194 * pow(PR.SERUM_CREATININE_MG_DL, -1.094) * pow(PR.AGE, -0.287);
if (120 < PR.GFR) { CS1 = L" (high) "; }
else if (90 <= PR.GFR && PR.GFR <= 120) { CS1 = L" (normal) "; }
else if (60 < PR.GFR && PR.GFR < 90) { CS1 = L" (low) "; }
else if (15 < PR.GFR && PR.GFR <= 60) { CS1 = L" (sign of chronic kidney disease) "; }
else if (PR.GFR && PR.GFR <= 15) { CS1 = L" (kidney failure and requires immediate treatments) "; }
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.GFR);
PR.RESULT2 = L"\r\nGFR : " + DOUBLE_TO_CSTRING(PR.GFR) + CS1 + L"\r\n\r\n";
}

void GFR_MDRD_Male_Japanese_AGE_SERUMCREATININEMMOLPERL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.GFR = 194 * pow(PR.SERUM_CREATININE_MMOL_L / 88.4, -1.094) * pow(PR.AGE, -0.287);
if (120 < PR.GFR) { CS1 = L" (high) "; }
else if (90 <= PR.GFR && PR.GFR <= 120) { CS1 = L" (normal) "; }
else if (60 < PR.GFR && PR.GFR < 90) { CS1 = L" (low) "; }
else if (15 < PR.GFR && PR.GFR <= 60) { CS1 = L" (sign of chronic kidney disease) "; }
else if (PR.GFR && PR.GFR <= 15) { CS1 = L" (kidney failure and requires immediate treatments) "; }
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.GFR);
PR.RESULT2 = L"\r\nGFR : " + DOUBLE_TO_CSTRING(PR.GFR) + CS1 + L"\r\n\r\n";
}

void GFR_MDRD_Female_Japanese_AGE_SERUMCREATININEMGPERDL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.GFR = 194 * pow(PR.SERUM_CREATININE_MG_DL, -1.094) * pow(PR.AGE, -0.287) * 0.739;
if (120 < PR.GFR) { CS1 = L" (high) "; }
else if (90 <= PR.GFR && PR.GFR <= 120) { CS1 = L" (normal) "; }
else if (60 < PR.GFR && PR.GFR < 90) { CS1 = L" (low) "; }
else if (15 < PR.GFR && PR.GFR <= 60) { CS1 = L" (sign of chronic kidney disease) "; }
else if (PR.GFR && PR.GFR <= 15) { CS1 = L" (kidney failure and requires immediate treatments) "; }
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.GFR);
PR.RESULT2 = L"\r\nGFR : " + DOUBLE_TO_CSTRING(PR.GFR) + CS1 + L"\r\n\r\n";
}

void GFR_MDRD_Female_Japanese_AGE_SERUMCREATININEMMOLPERL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.GFR = 194 * pow(PR.SERUM_CREATININE_MMOL_L / 88.4, -1.094) * pow(PR.AGE, -0.287) * 0.739;
if (120 < PR.GFR) { CS1 = L" (high) "; }
else if (90 <= PR.GFR && PR.GFR <= 120) { CS1 = L" (normal) "; }
else if (60 < PR.GFR && PR.GFR < 90) { CS1 = L" (low) "; }
else if (15 < PR.GFR && PR.GFR <= 60) { CS1 = L" (sign of chronic kidney disease) "; }
else if (PR.GFR && PR.GFR <= 15) { CS1 = L" (kidney failure and requires immediate treatments) "; }
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.GFR);
PR.RESULT2 = L"\r\nGFR : " + DOUBLE_TO_CSTRING(PR.GFR) + CS1 + L"\r\n\r\n";
}

void GFR_MDRD_Male_Chinese_AGE_SERUMCREATININEMGPERDL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.GFR = 175 * pow(PR.SERUM_CREATININE_MG_DL, -1.234) * pow(PR.AGE, -0.179);
if (120 < PR.GFR) { CS1 = L" (high) "; }
else if (90 <= PR.GFR && PR.GFR <= 120) { CS1 = L" (normal) "; }
else if (60 < PR.GFR && PR.GFR < 90) { CS1 = L" (low) "; }
else if (15 < PR.GFR && PR.GFR <= 60) { CS1 = L" (sign of chronic kidney disease) "; }
else if (PR.GFR && PR.GFR <= 15) { CS1 = L" (kidney failure and requires immediate treatments) "; }
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.GFR);
PR.RESULT2 = L"\r\nGFR : " + DOUBLE_TO_CSTRING(PR.GFR) + CS1 + L"\r\n\r\n";
}

void GFR_MDRD_Male_Chinese_AGE_SERUMCREATININEMMOLPERL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.GFR = 175 * pow(PR.SERUM_CREATININE_MMOL_L / 88.4, -1.234) * pow(PR.AGE, -0.179);
if (120 < PR.GFR) { CS1 = L" (high) "; }
else if (90 <= PR.GFR && PR.GFR <= 120) { CS1 = L" (normal) "; }
else if (60 < PR.GFR && PR.GFR < 90) { CS1 = L" (low) "; }
else if (15 < PR.GFR && PR.GFR <= 60) { CS1 = L" (sign of chronic kidney disease) "; }
else if (PR.GFR && PR.GFR <= 15) { CS1 = L" (kidney failure and requires immediate treatments) "; }
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.GFR);
PR.RESULT2 = L"\r\nGFR : " + DOUBLE_TO_CSTRING(PR.GFR) + CS1 + L"\r\n\r\n";
}

void GFR_MDRD_Female_Chinese_AGE_SERUMCREATININEMGPERDL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.GFR = 175 * pow(PR.SERUM_CREATININE_MG_DL, -1.234) * pow(PR.AGE, -0.179) * 0.79;
if (120 < PR.GFR) { CS1 = L" (high) "; }
else if (90 <= PR.GFR && PR.GFR <= 120) { CS1 = L" (normal) "; }
else if (60 < PR.GFR && PR.GFR < 90) { CS1 = L" (low) "; }
else if (15 < PR.GFR && PR.GFR <= 60) { CS1 = L" (sign of chronic kidney disease) "; }
else if (PR.GFR && PR.GFR <= 15) { CS1 = L" (kidney failure and requires immediate treatments) "; }
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.GFR);
PR.RESULT2 = L"\r\nGFR : " + DOUBLE_TO_CSTRING(PR.GFR) + CS1 + L"\r\n\r\n";
}

void GFR_MDRD_Female_Chinese_AGE_SERUMCREATININEMMOLPERL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.GFR = 175 * pow(PR.SERUM_CREATININE_MMOL_L / 88.4, -1.234) * pow(PR.AGE, -0.179) * 0.79;
if (120 < PR.GFR) { CS1 = L" (high) "; }
else if (90 <= PR.GFR && PR.GFR <= 120) { CS1 = L" (normal) "; }
else if (60 < PR.GFR && PR.GFR < 90) { CS1 = L" (low) "; }
else if (15 < PR.GFR && PR.GFR <= 60) { CS1 = L" (sign of chronic kidney disease) "; }
else if (PR.GFR && PR.GFR <= 15) { CS1 = L" (kidney failure and requires immediate treatments) "; }
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.GFR);
PR.RESULT2 = L"\r\nGFR : " + DOUBLE_TO_CSTRING(PR.GFR) + CS1 + L"\r\n\r\n";
}

void GFR_MDRD_Male_Other_AGE_SERUMCREATININEMGPERDL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.GFR = 186 * pow(PR.SERUM_CREATININE_MG_DL, -1.154) * pow(PR.AGE, -0.203);
if (120 < PR.GFR) { CS1 = L" (high) "; }
else if (90 <= PR.GFR && PR.GFR <= 120) { CS1 = L" (normal) "; }
else if (60 < PR.GFR && PR.GFR < 90) { CS1 = L" (low) "; }
else if (15 < PR.GFR && PR.GFR <= 60) { CS1 = L" (sign of chronic kidney disease) "; }
else if (PR.GFR && PR.GFR <= 15) { CS1 = L" (kidney failure and requires immediate treatments) "; }
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.GFR);
PR.RESULT2 = L"\r\nGFR : " + DOUBLE_TO_CSTRING(PR.GFR) + CS1 + L"\r\n\r\n";
}

void GFR_MDRD_Male_Other_AGE_SERUMCREATININEMMOLPERL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.GFR = 186 * pow(PR.SERUM_CREATININE_MMOL_L / 88.4, -1.154) * pow(PR.AGE, -0.203);
if (120 < PR.GFR) { CS1 = L" (high) "; }
else if (90 <= PR.GFR && PR.GFR <= 120) { CS1 = L" (normal) "; }
else if (60 < PR.GFR && PR.GFR < 90) { CS1 = L" (low) "; }
else if (15 < PR.GFR && PR.GFR <= 60) { CS1 = L" (sign of chronic kidney disease) "; }
else if (PR.GFR && PR.GFR <= 15) { CS1 = L" (kidney failure and requires immediate treatments) "; }
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.GFR);
PR.RESULT2 = L"\r\nGFR : " + DOUBLE_TO_CSTRING(PR.GFR) + CS1 + L"\r\n\r\n";
}

void GFR_MDRD_Female_Other_AGE_SERUMCREATININEMGPERDL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.GFR = 186 * pow(PR.SERUM_CREATININE_MG_DL, -1.154) * pow(PR.AGE, -0.203) * 0.742;
if (120 < PR.GFR) { CS1 = L" (high) "; }
else if (90 <= PR.GFR && PR.GFR <= 120) { CS1 = L" (normal) "; }
else if (60 < PR.GFR && PR.GFR < 90) { CS1 = L" (low) "; }
else if (15 < PR.GFR && PR.GFR <= 60) { CS1 = L" (sign of chronic kidney disease) "; }
else if (PR.GFR && PR.GFR <= 15) { CS1 = L" (kidney failure and requires immediate treatments) "; }
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.GFR);
PR.RESULT2 = L"\r\nGFR : " + DOUBLE_TO_CSTRING(PR.GFR) + CS1 + L"\r\n\r\n";
}

void GFR_MDRD_Female_Other_AGE_SERUMCREATININEMMOLPERL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.GFR = 186 * pow(PR.SERUM_CREATININE_MMOL_L / 88.4, -1.154) * pow(PR.AGE, -0.203) * 0.742;
if (120 < PR.GFR) { CS1 = L" (high) "; }
else if (90 <= PR.GFR && PR.GFR <= 120) { CS1 = L" (normal) "; }
else if (60 < PR.GFR && PR.GFR < 90) { CS1 = L" (low) "; }
else if (15 < PR.GFR && PR.GFR <= 60) { CS1 = L" (sign of chronic kidney disease) "; }
else if (PR.GFR && PR.GFR <= 15) { CS1 = L" (kidney failure and requires immediate treatments) "; }
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.GFR);
PR.RESULT2 = L"\r\nGFR : " + DOUBLE_TO_CSTRING(PR.GFR) + CS1 + L"\r\n\r\n";
}

July 30, 2016 : Lee22 Medical Calculator

Development of Creatinine Clearance Functions : Cockcroft-Gault Equation


First, I added new parameters to the struct PARAMETERS.

struct PARAMETERS
{
double AGE;
double SEX; // a variable depending on sex

double HEIGHT_CM;
double WEIGHT_KG;
double HEIGHT_FEET;
double HEIGHT_INCH;
double WEIGHT_LBS;
double BMI;
double BMI_PRIME;

double very_severely_underweight_zone;
double severely_underweight_zone;
double underweight_zone;
double healthy_weight_zone;
double overweight_zone;
double moderately_obese_zone;
double severely_obese_zone;
double very_severely_obese_zone;

double low_weight_zone;
double normal_weight_zone;
double obese_level_1_zone;
double obese_level_2_zone;
double obese_level_3_zone;
double obese_level_4_zone;

double CREATININE_CLEARANCE;
double SERUM_CREATININE_MG_DL;
double SERUM_CREATININE_MMOL_L;


CString RESULT1;
CString RESULT2;

};

And added the following new code for calculation and evaluation.

void Creatinine_Clearance_Cockcroft_Gault_Equation_Male_AGE_KG_SERUMCREATININEMGPERDL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.SEX = 1.0;
PR.CREATININE_CLEARANCE = ((140 - PR.AGE) * PR.WEIGHT_KG * PR.SEX) / (PR.SERUM_CREATININE_MG_DL * 72);
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.CREATININE_CLEARANCE);
PR.RESULT2 = L"\r\nCreatinine Clearance : " + DOUBLE_TO_CSTRING(PR.CREATININE_CLEARANCE) + L" (mL/min) \r\n\r\n"
+ L"(Normal Range : 97 - 137 (mL/min))";
}

void Creatinine_Clearance_Cockcroft_Gault_Equation_Female_AGE_KG_SERUMCREATININEMGPERDL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.SEX = 0.85;
PR.CREATININE_CLEARANCE = ((140 - PR.AGE) * PR.WEIGHT_KG * PR.SEX) / (PR.SERUM_CREATININE_MG_DL * 72);
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.CREATININE_CLEARANCE);
PR.RESULT2 = L"\r\nCreatinine Clearance : " + DOUBLE_TO_CSTRING(PR.CREATININE_CLEARANCE) + L" (mL/min) \r\n\r\n"
+ L"(Normal Range : 88 - 128 (mL/min))";
}

void Creatinine_Clearance_Cockcroft_Gault_Equation_Male_AGE_KG_SERUMCREATININEMMOLPERL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.SEX = 1.23;
PR.CREATININE_CLEARANCE = ((140 - PR.AGE) * PR.WEIGHT_KG * PR.SEX) / (PR.SERUM_CREATININE_MMOL_L);
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.CREATININE_CLEARANCE);
PR.RESULT2 = L"\r\nCreatinine Clearance : " + DOUBLE_TO_CSTRING(PR.CREATININE_CLEARANCE) + L" (mL/min) \r\n\r\n"
+ L"(Normal Range : 97 - 137 (mL/min))";
}

void Creatinine_Clearance_Cockcroft_Gault_Equation_Female_AGE_KG_SERUMCREATININEMMOLPERL_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.SEX = 1.04;
PR.CREATININE_CLEARANCE = ((140 - PR.AGE) * PR.WEIGHT_KG * PR.SEX) / (PR.SERUM_CREATININE_MMOL_L);
PR.RESULT1 = DOUBLE_TO_CSTRING(PR.CREATININE_CLEARANCE);
PR.RESULT2 = L"\r\nCreatinine Clearance : " + DOUBLE_TO_CSTRING(PR.CREATININE_CLEARANCE) + L" (mL/min) \r\n\r\n"
+ L"(Normal Range : 88 - 128 (mL/min))";
}

PR.SEX is a variable that depends on sex, for example, if serum creatinine is measured in mg/dL, it should be 1.0 for men and 0.85 for women,
whereas in µmol/L, it should be 1.23 for men and 1.04 for women.

July 29, 2016 : Lee22 Medical Calculator

Development of Additional BMI Functions: BMI Prime


First, I added a new parameter "BMI_PRIME" to the struct PARAMETERS.

struct PARAMETERS
{
double HEIGHT_CM;
double WEIGHT_KG;
double HEIGHT_FEET;
double HEIGHT_INCH;
double WEIGHT_LBS;
double BMI;
double BMI_PRIME;

double very_severely_underweight_zone;
double severely_underweight_zone;
double underweight_zone;
double healthy_weight_zone;
double overweight_zone;
double moderately_obese_zone;
double severely_obese_zone;
double very_severely_obese_zone;

double low_weight_zone;
double normal_weight_zone;
double obese_level_1_zone;
double obese_level_2_zone;
double obese_level_3_zone;
double obese_level_4_zone;

CString RESULT1;
CString RESULT2;

};

void BMI_JAPAN_CM_KG_MAIN(MODE &MD, PARAMETERS &PR)
{

PR.BMI = PR.WEIGHT_KG / pow(PR.HEIGHT_CM / (double)100, 2);
PR.BMI_PRIME = PR.BMI / 25;
PR.low_weight_zone = pow(PR.HEIGHT_CM / (double)100, 2)*18.5;
PR.normal_weight_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 25;
PR.obese_level_1_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 30;
PR.obese_level_2_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 35;
PR.obese_level_3_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 40;
PR.obese_level_4_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 40;

if (PR.BMI<18.5) { CS1 = "low weight zone"; }
else if (18.5 <= PR.BMI && PR.BMI < 25) { CS1 = "normal weight zone"; }
else if (25 <= PR.BMI && PR.BMI < 30) { CS1 = "obese level 1 zone"; }
else if (30 <= PR.BMI && PR.BMI < 35) { CS1 = "obese level 2 zone"; }
else if (35 <= PR.BMI && PR.BMI < 40) { CS1 = "obese level 3 zone"; }
else if (40 <= PR.BMI) { CS1 = "obese level 4 zone"; }

if (PR.BMI_PRIME<0.6) { CS2 = "very severely underweight zone"; }
else if (0.6 <= PR.BMI_PRIME && PR.BMI_PRIME < 0.64) { CS2 = "severely underweight zone"; }
else if (0.64 <= PR.BMI_PRIME && PR.BMI_PRIME < 0.74) { CS2 = "underweight zone"; }
else if (0.74 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.0) { CS2 = "normal weight zone"; }
else if (1.0 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.2) { CS2 = "overweight zone"; }
else if (1.2 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.4) { CS2 = "moderately obese zone"; }
else if (1.4 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.6) { CS2 = "severely obese zone"; }
else if (1.6 <= PR.BMI_PRIME) { CS2 = "very severely obese zone"; }

PR.RESULT1 = DOUBLE_TO_CSTRING(PR.BMI);
PR.RESULT2 = L"\r\nBMI : " + DOUBLE_TO_CSTRING(PR.BMI) + " (" + CS1 + L") " + L"\r\n" +
L"BMI PRIME : " + DOUBLE_TO_CSTRING(PR.BMI_PRIME) + " (" + CS2 + L") " + L"\r\n" + L"\r\n" +
L"low weight zone < " + DOUBLE_TO_CSTRING(PR.low_weight_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.low_weight_zone) + L"kg" + L" <= normal weight zone < " + DOUBLE_TO_CSTRING(PR.normal_weight_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.normal_weight_zone) + L"kg" + L" <= obese level 1 zone < " + DOUBLE_TO_CSTRING(PR.obese_level_1_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.obese_level_1_zone) + L"kg" + L" <= obese level 2 zone < " + DOUBLE_TO_CSTRING(PR.obese_level_2_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.obese_level_2_zone) + L"kg" + L" <= obese level 3 zone < " + DOUBLE_TO_CSTRING(PR.obese_level_3_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.obese_level_4_zone) + L"kg" + L" <= obese level 4 zone" + L"\r\n";

}

void BMI_UNIVERSAL_CM_KG_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.BMI = PR.WEIGHT_KG / pow(PR.HEIGHT_CM / (double)100, 2);
PR.BMI_PRIME = PR.BMI / 25;
PR.very_severely_underweight_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 15;
PR.severely_underweight_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 16;
PR.underweight_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 18.5;
PR.normal_weight_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 25;
PR.overweight_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 30;
PR.moderately_obese_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 35;
PR.severely_obese_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 40;
PR.very_severely_obese_zone = pow(PR.HEIGHT_CM / (double)100, 2) * 40;

if (PR.BMI<15) { CS1 = "very severely underweight zone"; }
else if (15 <= PR.BMI && PR.BMI < 16) { CS1 = "severely underweight zone"; }
else if (16 <= PR.BMI && PR.BMI < 18.5) { CS1 = "underweight zone"; }
else if (18.5 <= PR.BMI && PR.BMI < 25) { CS1 = "normal weight zone"; }
else if (25 <= PR.BMI && PR.BMI < 30) { CS1 = "overweight zone"; }
else if (30 <= PR.BMI && PR.BMI < 35) { CS1 = "moderately obese zone"; }
else if (35 <= PR.BMI && PR.BMI < 40) { CS1 = "severely obese zone"; }
else if (40 <= PR.BMI) { CS1 = "very severely obese zone"; }

if (PR.BMI_PRIME<0.6) { CS2 = "very severely underweight zone"; }
else if (0.6 <= PR.BMI_PRIME && PR.BMI_PRIME < 0.64) { CS2 = "severely underweight zone"; }
else if (0.64 <= PR.BMI_PRIME && PR.BMI_PRIME < 0.74) { CS2 = "underweight zone"; }
else if (0.74 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.0) { CS2 = "normal weight zone"; }
else if (1.0 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.2) { CS2 = "overweight zone"; }
else if (1.2 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.4) { CS2 = "moderately obese zone"; }
else if (1.4 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.6) { CS2 = "severely obese zone"; }
else if (1.6 <= PR.BMI_PRIME) { CS2 = "very severely obese zone"; }

PR.RESULT1 = DOUBLE_TO_CSTRING(PR.BMI);

PR.RESULT2 = L"\r\nBMI : " + DOUBLE_TO_CSTRING(PR.BMI) + " (" + CS1 + L") " + L"\r\n" +
L"BMI PRIME : " + DOUBLE_TO_CSTRING(PR.BMI_PRIME) + " (" + CS2 + L") " + L"\r\n" + L"\r\n" +
L"very severely underweight zone < " + DOUBLE_TO_CSTRING(PR.very_severely_underweight_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.very_severely_underweight_zone) + L"kg" + L" <= severely underweight zone < " + DOUBLE_TO_CSTRING(PR.severely_underweight_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.severely_underweight_zone) + L"kg" + L" <= underweight zone < " + DOUBLE_TO_CSTRING(PR.underweight_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.underweight_zone) + L"kg" + L" <= normal weight zone < " + DOUBLE_TO_CSTRING(PR.normal_weight_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.normal_weight_zone) + L"kg" + L" <= overweight zone < " + DOUBLE_TO_CSTRING(PR.overweight_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.overweight_zone) + L"kg" + L" <= moderately obese zone < " + DOUBLE_TO_CSTRING(PR.moderately_obese_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.moderately_obese_zone) + L"kg" + L" <= severely obese zone < " + DOUBLE_TO_CSTRING(PR.severely_obese_zone) + L"kg" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.very_severely_obese_zone) + L"kg" + L" <= very severely obese zone" + L"\r\n";

}

void BMI_UNIVERSAL_FEET_INCH_LBS_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.HEIGHT_INCH += PR.HEIGHT_FEET * 12;
PR.BMI = PR.WEIGHT_LBS * 703 / pow(PR.HEIGHT_INCH, 2);
PR.BMI_PRIME = PR.BMI / 25;
PR.very_severely_underweight_zone = pow(PR.HEIGHT_INCH, 2) * 15 / 703;
PR.severely_underweight_zone = pow(PR.HEIGHT_INCH, 2) * 16 / 703;
PR.underweight_zone = pow(PR.HEIGHT_INCH, 2) * 18.5 / 703;
PR.normal_weight_zone = pow(PR.HEIGHT_INCH, 2) * 25 / 703;
PR.overweight_zone = pow(PR.HEIGHT_INCH, 2) * 30 / 703;
PR.moderately_obese_zone = pow(PR.HEIGHT_INCH, 2) * 35 / 703;
PR.severely_obese_zone = pow(PR.HEIGHT_INCH, 2) * 40 / 703;
PR.very_severely_obese_zone = pow(PR.HEIGHT_INCH, 2) * 40 / 703;

if (PR.BMI<15) { CS1 = "very severely underweight zone"; }
else if (15 <= PR.BMI && PR.BMI < 16) { CS1 = "severely underweight zone"; }
else if (16 <= PR.BMI && PR.BMI < 18.5) { CS1 = "underweight zone"; }
else if (18.5 <= PR.BMI && PR.BMI < 25) { CS1 = "normal weight zone"; }
else if (25 <= PR.BMI && PR.BMI < 30) { CS1 = "overweight zone"; }
else if (30 <= PR.BMI && PR.BMI < 35) { CS1 = "moderately obese zone"; }
else if (35 <= PR.BMI && PR.BMI < 40) { CS1 = "severely obese zone"; }
else if (40 <= PR.BMI) { CS1 = "very severely obese zone"; }

if (PR.BMI_PRIME<0.6) { CS2 = "very severely underweight zone"; }
else if (0.6 <= PR.BMI_PRIME && PR.BMI_PRIME < 0.64) { CS2 = "severely underweight zone"; }
else if (0.64 <= PR.BMI_PRIME && PR.BMI_PRIME < 0.74) { CS2 = "underweight zone"; }
else if (0.74 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.0) { CS2 = "normal weight zone"; }
else if (1.0 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.2) { CS2 = "overweight zone"; }
else if (1.2 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.4) { CS2 = "moderately obese zone"; }
else if (1.4 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.6) { CS2 = "severely obese zone"; }
else if (1.6 <= PR.BMI_PRIME) { CS2 = "very severely obese zone"; }

PR.RESULT1 = DOUBLE_TO_CSTRING(PR.BMI);

PR.RESULT2 = L"\r\nBMI : " + DOUBLE_TO_CSTRING(PR.BMI) + " (" + CS1 + L") " + L"\r\n" +
L"BMI PRIME : " + DOUBLE_TO_CSTRING(PR.BMI_PRIME) + " (" + CS2 + L") " + L"\r\n" + L"\r\n" +
L"very severely underweight zone < " + DOUBLE_TO_CSTRING(PR.very_severely_underweight_zone) + L"lbs" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.very_severely_underweight_zone) + L"lbs" + L" <= severely underweight zone < " + DOUBLE_TO_CSTRING(PR.severely_underweight_zone) + L"lbs" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.severely_underweight_zone) + L"lbs" + L" <= underweight zone < " + DOUBLE_TO_CSTRING(PR.underweight_zone) + L"lbs" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.underweight_zone) + L"lbs" + L" <= normal weight zone < " + DOUBLE_TO_CSTRING(PR.normal_weight_zone) + L"lbs" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.normal_weight_zone) + L"lbs" + L" <= overweight zone < " + DOUBLE_TO_CSTRING(PR.overweight_zone) + L"lbs" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.overweight_zone) + L"lbs" + L" <= moderately obese zone < " + DOUBLE_TO_CSTRING(PR.moderately_obese_zone) + L"lbs" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.moderately_obese_zone) + L"lbs" + L" <= severely obese zone < " + DOUBLE_TO_CSTRING(PR.severely_obese_zone) + L"lbs" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.very_severely_obese_zone) + L"lbs" + L" <= very severely obese zone" + L"\r\n";

}

void BMI_UNIVERSAL_INCH_LBS_MAIN(MODE &MD, PARAMETERS &PR)
{
PR.BMI = PR.WEIGHT_LBS * 703 / pow(PR.HEIGHT_INCH, 2);
PR.BMI_PRIME = PR.BMI / 25;
PR.very_severely_underweight_zone = pow(PR.HEIGHT_INCH, 2) * 15 / 703;
PR.severely_underweight_zone = pow(PR.HEIGHT_INCH, 2) * 16 / 703;
PR.underweight_zone = pow(PR.HEIGHT_INCH, 2) * 18.5 / 703;
PR.normal_weight_zone = pow(PR.HEIGHT_INCH, 2) * 25 / 703;
PR.overweight_zone = pow(PR.HEIGHT_INCH, 2) * 30 / 703;
PR.moderately_obese_zone = pow(PR.HEIGHT_INCH, 2) * 35 / 703;
PR.severely_obese_zone = pow(PR.HEIGHT_INCH, 2) * 40 / 703;
PR.very_severely_obese_zone = pow(PR.HEIGHT_INCH, 2) * 40 / 703;

if (PR.BMI<15) { CS1 = "very severely underweight zone"; }
else if (15 <= PR.BMI && PR.BMI < 16) { CS1 = "severely underweight zone"; }
else if (16 <= PR.BMI && PR.BMI < 18.5) { CS1 = "underweight zone"; }
else if (18.5 <= PR.BMI && PR.BMI < 25) { CS1 = "normal weight zone"; }
else if (25 <= PR.BMI && PR.BMI < 30) { CS1 = "overweight zone"; }
else if (30 <= PR.BMI && PR.BMI < 35) { CS1 = "moderately obese zone"; }
else if (35 <= PR.BMI && PR.BMI < 40) { CS1 = "severely obese zone"; }
else if (40 <= PR.BMI) { CS1 = "very severely obese zone"; }

if (PR.BMI_PRIME<0.6) { CS2 = "very severely underweight zone"; }
else if (0.6 <= PR.BMI_PRIME && PR.BMI_PRIME < 0.64) { CS2 = "severely underweight zone"; }
else if (0.64 <= PR.BMI_PRIME && PR.BMI_PRIME < 0.74) { CS2 = "underweight zone"; }
else if (0.74 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.0) { CS2 = "normal weight zone"; }
else if (1.0 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.2) { CS2 = "overweight zone"; }
else if (1.2 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.4) { CS2 = "moderately obese zone"; }
else if (1.4 <= PR.BMI_PRIME && PR.BMI_PRIME < 1.6) { CS2 = "severely obese zone"; }
else if (1.6 <= PR.BMI_PRIME) { CS2 = "very severely obese zone"; }

PR.RESULT1 = DOUBLE_TO_CSTRING(PR.BMI);

PR.RESULT2 = L"\r\nBMI : " + DOUBLE_TO_CSTRING(PR.BMI) + " (" + CS1 + L") " + L"\r\n" +
L"BMI PRIME : " + DOUBLE_TO_CSTRING(PR.BMI_PRIME) + " (" + CS2 + L") " + L"\r\n" + L"\r\n" +
L"very severely underweight zone < " + DOUBLE_TO_CSTRING(PR.very_severely_underweight_zone) + L"lbs" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.very_severely_underweight_zone) + L"lbs" + L" <= severely underweight zone < " + DOUBLE_TO_CSTRING(PR.severely_underweight_zone) + L"lbs" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.severely_underweight_zone) + L"lbs" + L" <= underweight zone < " + DOUBLE_TO_CSTRING(PR.underweight_zone) + L"lbs" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.underweight_zone) + L"lbs" + L" <= normal weight zone < " + DOUBLE_TO_CSTRING(PR.normal_weight_zone) + L"lbs" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.normal_weight_zone) + L"lbs" + L" <= overweight zone < " + DOUBLE_TO_CSTRING(PR.overweight_zone) + L"lbs" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.overweight_zone) + L"lbs" + L" <= moderately obese zone < " + DOUBLE_TO_CSTRING(PR.moderately_obese_zone) + L"lbs" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.moderately_obese_zone) + L"lbs" + L" <= severely obese zone < " + DOUBLE_TO_CSTRING(PR.severely_obese_zone) + L"lbs" + L"\r\n" +
DOUBLE_TO_CSTRING(PR.very_severely_obese_zone) + L"lbs" + L" <= very severely obese zone" + L"\r\n"; }

July 28, 2016 : Going to a Bit of a Nostalgic Place

I went to a city education training center, and I felt that it was a bit of a nostalgic place the moment I realized that I visited there years ago.

July 24, 2016 : Lee22 Medical Calculator

Development of BMI Functions


I added BMI functions. First I made a structure that contains parameters for BMI calculations.
And next I made a class that performs the main stream of the calculation.


struct MODE
{
int SELECTION = 1;
int INPUT = 1;
};

struct PARAMETERS
{
double HEIGHT_CM;
double WEIGHT_KG;
double HEIGHT_FEET;
double HEIGHT_INCH;
double WEIGHT_LBS;
double BMI;

double very_severely_underweight_zone;
double severely_underweight_zone;
double underweight_zone;
double healthy_weight_zone;
double overweight_zone;
double moderately_obese_zone;
double severely_obese_zone;
double very_severely_obese_zone;

double low_weight_zone;
double normal_weight_zone;
double obese_level_1_zone;
double obese_level_2_zone;
double obese_level_3_zone;
double obese_level_4_zone;

CString RESULT1;
CString RESULT2;

};

To use the class, declare the structs of MODE and PARAMETERS as follows

MODE MD;
PARAMETERS PR;

And set the parameters of each struct.

MD.SELECTION = BMI_UNIVERSAL_CM_KG; // BMI Universal and input units are centimeters and kilograms mode.

PR.HEIGHT_CM = 175;
PR.WEIGHT_KG = 75;

And then declare the class and enter MD and PR respectively.

LEE22_MEDICAL_CALCULATOR BMI(MD, PR);

Now the results of the assessment are in PR.BMI and other many struct members.


July 22, 2016 : Lee22 Medical Calculator

Start of the Project

I have started the "LEE22 MEDICAL CALCULATOR PROJECT".

Now it's a small program, but I have a great plan, I would like to include all medical functions in a small desktop calculator someday!



First, I made the design exactly symmetrical, and it ended up like this.

IDD_LEE22MEDICALCALCULATOR_DIALOG DIALOGEX 0, 0, 257, 263
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_THICKFRAME
EXSTYLE WS_EX_APPWINDOW
CAPTION "LEE22 MEDICAL CALCULATOR"
MENU IDR_MENU1
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN

EDITTEXT IDC_EDIT1,7,18,244,14,ES_AUTOHSCROLL
LTEXT "SELECT THE MODE (RIGHT CLICK)",IDC_LABEL,7,7,113,8
PUSHBUTTON "1",IDC_BUTTON1,7,180,78,21
PUSHBUTTON "2",IDC_BUTTON2,90,180,78,21
PUSHBUTTON "3",IDC_BUTTON3,173,180,78,21
PUSHBUTTON "4",IDC_BUTTON4,7,154,78,21
PUSHBUTTON "5",IDC_BUTTON5,90,154,78,21
PUSHBUTTON "6",IDC_BUTTON6,173,154,78,21
PUSHBUTTON "7",IDC_BUTTON7,7,128,78,21
PUSHBUTTON "8",IDC_BUTTON8,90,128,78,21
PUSHBUTTON "9",IDC_BUTTON9,173,128,78,21
PUSHBUTTON "0",IDC_BUTTON0,7,206,78,21
PUSHBUTTON ".",IDC_BUTTON_POINT,90,206,78,21
PUSHBUTTON "BACK",IDC_BUTTON_BACK,173,206,78,21
PUSHBUTTON "RESET",IDC_BUTTON_RESET,7,232,78,21
PUSHBUTTON "ENTER",IDC_BUTTON_ENTER,90,232,161,21
EDITTEXT IDC_EDIT2,7,33,244,88,ES_AUTOHSCROLL | ES_READONLY
END


The width of the dialog is 257 and the edit control starts at x-coordinate 7 and its width should be 243.
(7+243=250, which is the x-coordinate of the end of the edit control, its distance to the end of the dialog is 7,
and this is the same distance between the beginning of the dialog and the beginning of the edit control)

But I wanted to set the distance value between each button control to 5, so I set the width of the edit control to 244.
(243-5*2=233 can't be divided by 3, so I set the value to 244, and so each button control width is 78)


July 20, 2016 : World Wildlife Fund

I saw a TV commercial for the World Wildlife Fund. They say tigers are now an endangered species, the population of them is now 3% compared to before.



June 4, 2016 : Hiroshima Peace Memorial Park

Wars are always started by a handful of powerful people, and always end with innocent people becoming victims.

Standing in this place, we can learn how great the responsibility is that we must share for the peace of future generations.

This is the place I would like people from all over the world to visit.



May 21, 2016 : For the First Time in Both the Library and the Sports Club Nearby

I went to the library near my apartment and studied there for the first time.
Then I went to the nearby sports club, which I joined yesterday, and had some exercise for the first time.
So I experienced two "firsts" on the same day!

May 18, 2016 : Basked in the Light of a Forest

I visited the medical room of Panasonic for work.



After work, I basked in the sun and walked along the forest path, and I came to feel that long before I was born in this world,
the birds and the wind had learned to chirp and sing.

Their murmuring must soon have lighted a candle that reflected memories once thrown into deep oblivion,
and the whole forest must have been pulled up by the ticking of a clock, unraveling the tangled paths into one and now,
I'm discovering the unknown interim that I've never met before, because this forest path is a real forest path.



May 14, 2016 : Updated the Good Old Days Legacy

I updated the article from OCTOBER 24, 2005 and published the source code of the image viewer "Rydia".

I was busy at that time, but I released an image viewer during the graduation exam period.

It was a handy tool and I was satisfied with its performance, although it doesn't work on newer Windows.

And after a while, I failed the exam and my graduation ceremony was delayed, the moment when I decided to leave my school.

Now that about 11 years have passed since then, it's a good old memory from the reminiscent past. lol

April 25, 2016: Visit to the Police Station

I visited the police station.

April 7, 2016 : Rainy Day All Day

It rained heavily from morning to night, and it looked like it wouldn't let up all day,
so I wouldn't be able to go jogging today, but it stopped at night, so I jogged five laps after that.

By the way, my umbrella was stolen today. I put my umbrella in the umbrella stand and went into a store.
When I came out of the store after paying, my umbrella wasn't there.
There were only other people's umbrellas.
Probably, someone could take my umbrella by mistake ..... in this heavy rain.

Be careful when you take an umbrella!

April 2, 2016 : Striving to Regain My Former Self

Today I went to a restaurant for lunch, but each one was crowded, so I ended up going to a karaoke place for lunch and sang a lot of songs there.
(I don't like crowded places.)

About three hours later, I left the shop and went to the beauty parlor to get my hair cut.

After I returned home, I went for a jog. You know, I jog more than 10 km a day because I made a plan to regain my high school body.
At that time, I felt that my body was really light, and every year I was made the anchor runner in a school athletic festival.

I was a slow runner when I was in elementary school, but I suddenly became a fast runner in the first year of junior high school,
and since then, I was an anchor runner at the school athletic festival, with the members of the track and field team, although I was a member of the fighting sport club.

But now those memories are just a shadow of my former self.

When I run now, I get tired easily and feel that my body is heavy..... and it really bothers me.

Where has my former body gone? So I made up my mind to get my former self back.

That's why I keep running and running every day.

March 28, 2016 : Years Since That Day

Nine years ago tomorrow, the results of the national exam were announced.

I was quite nervous then, sitting on the bench and waiting for tomorrow.

It was a hard time, but now it is a good memory for me.



March 25, 2016 : Japanese Cultural Affairs Agency to Move to Kyoto

I was surprised and amazed by this news. Having been a Kyotoite since birth, it was good to hear. XD
Kyoto has been the ancient capital of Japan and the center of culture for about 1000 years.
So Kyoto has a lot of cultural assets, so this plan will definitely go well.

March 19, 2016 : Start Studying World History as Well

I've decided to start studying world history again, along with Japanese history. History is an interesting thing.
The more we study it, the more we will find a new aspect of the world that we haven't noticed before.



March 11, 2016 : Beginning the Study of Japanese History

I have started to study Japanese history. Actually, I got this book years ago, but I left it unattended in the corner of my room because I was very busy at that time.
But lately I have been so lively and over time the sum of my cheerfulness recovery value reached the level enough to start studying this subject, sike!! lol
Anyway, I like Japanese culture, especially Shinto shrines, and that's the main thing.



February 11, 2016 : The Times They Are A-Changin'

Today I had an interesting dream where I was singing this song at karaoke.

The Times They Are A-Changin'

I heard this song for the first time when I was 19 years old, in the room of my apartment where I started my studies to pass the entrance exam of a medical school.

At that time, I didn't feel anything special about this song, but now, when I think about the lyrics of this song, I feel the nostalgia of those days.

I rented a room in an apartment and began my lonely struggle in that lonely place where I had no friends.

A year later, I tried two medical schools, each of which I failed.

The next year I moved to another apartment.

I bought those exercise machines, which I set up there, and resumed my lonely struggle, which again turned out to be a failure.

In the third year, I returned to my parents' house and resumed my studies, and my efforts finally blossomed.

After a series of failures, I finally succeeded in my attempt, even though those around me might not think I could do it.

Yes, as the song says, the loser now will be the winner later, for the times they are a-changin'.

February 8, 2016 : Getting Vitamins at the Drugstore

After lunch, I went to the post office in the neighborhood to send money and to withdraw some money.
Then, on my way home from the post office, I took a detour around the train station and bought vitamins and toiletries at the drugstore.

January 15, 2016 : New Year Visit to Kyoto Fushimi Inari Taisha Shrine

(At the Fushimi Inari Taisha in Kyoto, Japan)





January 1, 2016 : Happy New Year 2016!!

Happy New Year to All of My Friends!!



December 26, 2015 : White Bird on Egg!!

I found an egg with feathers and the shape of the feathers looks like a white bird. It is quite unusual, isn't it?



December 24, 2015 : Time to Quit

For a long time I have been plagued with stiff neck and shoulders, so I decided to quit this exercise.

I remember when I was 19 years old, I bought this equipment.

Since then, this has been a part of my life, but time hasn't been so kind to me.

My mind is still in my 10s, but my body isn't.

When I was 21, I could bench press 120kg.

But I couldn't do it anymore, and my stiff neck and shoulders have started to affect my health.

Now I can feel how athletes feel when they retire.

Like me, they must feel that their minds are still young, but their bodies aren't.

I'm sad to quit, but next I'll do aerobic exercise instead.



November 27, 2015 : Dynamic Search Engine

Nippon Computer Dynamics Co.,Ltd. has announced a new device that enables faster search using memory computing processing technology. Interesting!

November 13, 2015 : Miracle at the Vending Machine

Today I experienced a miracle. I put 130 yen into this vending machine and pressed a button for a can of coffee.
Soon two cans appeared in the slot. I thought, "Someone must have left the left one, so the right one must be mine..." so I took the right one out of the slot.
Then another can came out of the top right corner. I felt "something strange..." and moved the left one to the left,
then another one came out one after the other, and finally 7 cans of coffee appeared just by pushing the button!!
So I just took one of them and left the scene as if nothing had happened. I don't care what follows the scene!! lol



November 3, 2015 : Shopping for Clothes at Uniqlo

It's Culture Day, a national holiday in Japan. I went to Uniqlo and bought a shirt, a jacket and a pair of trousers.


October 22, 2015 : Special Message from Optim Corporation

I came across OPTiM Corporation on the Internet and it reminds me of the message they sent me years ago.

Actually, they tried to hire me when I was still a student. lol
http://lee22.net/#20050831

Even though it's been about ten years since then, that message is still in my heart and encourages me.

I'd like to say a special thanks to them!


October 1, 2015 : Visit to Fushimi Inari Taisha



September 22, 2015 : My Xanadu Dream Came True!!

As I mentioned 5 days ago, my Xanadu dream came true. The new Xanadu title won an award at the world famous "Tokyo Game Show".
And according to this dream, I bought the shares of Nihon Falcom Corporation beforehand, which can be a good decision.
Or rather, most of my dreams so far have been future-telling dreams, so I was quite confident this time as well.



September 18, 2015 : Heavy as Lead??

I went to the beauty parlor to get my hair cut, and when the beautician there tried to lift my head from the shampoo basin, she said she was really amazed because my head was so heavy like lead.
She said she had lifted many people's heads and one day she met a man who had such a heavy head..... she said it's me!! lol
Actually, I always feel that my head is heavy..... and heavy..... and heavy..... and I've been suffering from a bad stiff neck especially since a few years ago.

September 17, 2015 : The Legend of Xanadu Dream

Today in my dream I heard nostalgic music for the first time in 20 years. It's "The Legend Begins (The Legend of Xanadu)".

In my dream I turned on the radio and this music started and we, including me and my sisters, were watching a world famous Hollywood movie and I said to my sisters,
"I never imagined that this music would be chosen as the main theme of this movie."

After I woke up, I thought, "By chance ....." and I searched for "Xanadu" on the Internet and I came to know that this title will be re-released on SEPTEMBER 30, 2015 after 20 years.
And also, I bought the stock of this company (Nihon Falcom Corporation : Tokyo Stock Exchange 3723) today because the content of this dream strongly suggests that this new title will be a hit.

September 15, 2015 : Dreams Warn You All the Time

I had a scary dream today. In the dream, the police website was hacked by unknown hackers.
So I increased the security level of my website just in case. Dreams always tell you something.

September 11, 2015 : My Oldest Sister Moved to My Mother's House

My oldest sister has moved to my mom's house today, and now I have realized the meaning of my first dream of this year, which was to walk together with her.

September 5, 2015 : A Dream of a Woman Waiting for Me at a Train Station

Today I had a dream that a woman texted me that she was waiting for me at a train station, and I went home with her.
She was my ex-classmate from medical school, but I can't remember her name because I wasn't very friendly with her.
Lately, I've been having these kinds of dreams, sometimes about my sisters and sometimes about my ex-classmates. WHY?


August 28, 2015 : My Potential Next On-Air Partner??

I had a dream that I was judging a couple of Japanese celebrities with my sister and we picked them up to do something
(this part was very vague since it was a dream).

And I think I'm a prophetic dreamer (my dreams have come true with a very high probability so far),
this could be some kind of oracle telling me that the next time I'm on the air, I should be with them?

And today I visited the city hall for work.



August 26, 2015 : Visit to Kyoto Prefectural Government

I visited the Kyoto Prefectural Government.



August 24, 2015 : The First Thought Must Be the Right One

I had a dream that I was looking for my seat in the classroom.

Even when I asked the class teacher for my student number, he replied, "Sorry, I forgot to bring the list today,
so I ended up wandering around the room trying to find my real seat, thinking that the seat I first thought must be my seat.

On the right side of the room I saw my old classmate who was a bit mean but an interesting guy sitting there,
so I thought that wasn't my seat and went back to the middle of the room.

On the left side of the room I found a guy who had a list of classmates with student numbers.

And... I finally figured out where my seat was... that's the seat I first thought must be mine!

August 23, 2015 : I Had a Scary Dream

Today, while I was sleeping on the bed, I had a dream that I was in my apartment room and someone was sticking on my back.
I thought it was my mom, so I told her that someone had recently moved into an apartment room nearby, but she didn't respond.
I felt that's something strange before I looked back and found a strange woman was there, she was hanging her hands from my shoulders to my chest,
also a strange girl sitting on a chair appeared in front of my eyes.

I was so surprised that I woke up in the middle of the night. I wonder what this dream means.

Yesterday I went to a shrine.

August 19, 2015 : I Met My Childhood Friend in My Dream for the First Time in 30 Years

I had a dream that I met my childhood friend in her apartment room where we once played around when we were 6 and 7.
Although she was a classmate and playmate when we were 6, she appeared not as the character she was then, but as an adult.
I went to her room with one of my sisters, and just before we met her, my sister left the room, although she first wanted to see her and greet her,
but the friend saw my sister leaving and asked me, "Who was there?" and I replied, "That's my sister.
After we met for the first time in 30 years, she tried to make me lunch.

This is the dream I had today, and I'm really wondering why I've been having this kind of dream lately.

August 16, 2015 : I Met Dr.Koichi Tanaka Again in My Dream

Today I had a dream to see and talk with Dr. Koichi Tanaka again after 27 years, who was once my doctor when I had my throat surgery.
Dr. Tanaka is really a well known doctor for living donor liver transplant surgery, and when I had the operation, he was in the Department of Thoracic and Pediatric Surgery at Kyoto University Hospital.

In this dream we met by chance in a hallway of Kyoto University Hospital.
I said, "This is a really nostalgic place for me, before he said something in response that I can't remember now,
but the phrase he uttered made me feel that he probably doesn't remember me because he has had too many patients since then.

Soon after, Dr. Tanaka said, "Shall we have a drink?" and I answered yes, while the four of us, including me, Dr. Tanaka,
my closest friend from my medical school days, and someone I can't figure out who he is, walked down to the entrance of the building.

Then only Dr.Tanaka turned around and went back to another entrance of the building where the sign said "Dermatological Association",
while the three of us continued to walk forward and one of us said, "What will happen to me regarding him?
and I replied, "I think we will become close friends with him."

August 14, 2015 : Mixed Language Dream

I had an interesting dream today. I was sleeping on the sofa and I had a dream.
In this dream, I was with my friends who speak English, and I was also speaking English, although I was thinking in Japanese.
Sometimes I have a mixed language dream like this, but today's dream was something impressive.

August 4, 2015 : Arrival of the Italian Prime Minister

Today the Italian Prime Minister Matteo Renzi arrived at the City Hall!

     

July 31, 2015 : Visit to the Osaka Prefectural Government ~ Reminiscent Bookshop

I visited the medical room of the Osaka Prefectural Government. It's a beautiful and peaceful day, so I refreshed myself.



         


On my way back home, I stumbled upon a nostalgic bookstore that I used to visit from time to time when I was a student.
I almost forgot about it here, but my tiny memory aroused my memory from the distant past like "By any chance.....".

   

July 30, 2015 : Why My Sleep Pattern Is Changing

Lately I started wondering why most mammals are polyphasic sleepers as opposed to humans who are monophasic sleepers.
And when I was in my 20s, I was a monophasic sleeper, but lately I began to feel that my sleep pattern was changing into more polyphasic.

WHY?

July 29, 2015 : Vertebrates Have an Amazing Ability in Their Brains

Today I visited the Osaka Prefectural Government.

There I was asked, "Five hours of sleep a day is enough?"
Actually, five hours of sleep a day for five days in a row and six hours of sleep a day for two weeks in a row equals 48 hours of consecutive sleeplessness in the brain,
and this 48 hours of consecutive sleeplessness is a golden point for triggering the partial sleep of our human brain.

Vertebrates have the ability to stop their brain function while they are moving, and because of this ability,
fish can keep swimming without sleeping, and birds can keep flying across the sea to other continents without sleeping,
and human beings also have this ability, and the starting point of this partially asleep human brain is 48 hours of consecutive sleeplessness.

So, five hours of sleep a day strongly suggests that their brain function is partially suspended,
and because of that, they might overlook what they never overlook in their normal state.

This situation is really dangerous, especially for medical workers and drivers.
So, we must avoid this condition, we should put 8 hours of sleep on the weekend and interrupt the consecutive lack of sleep.



July 17, 2015 : Super Heavy Rain

This rain was the longest rain I've ever seen. It rained all day and night without stopping.



July 14, 2015 : Visit to Osaka Police Headquarters Again


I visited the Osaka Police Headquarters.

The weather was so beautiful, and the office building looked magnificent in the sunlight.



July 10, 2015 : Visit to Osaka Police Headquarters



July 9, 2015 : Miracle Biosynthesis System

Animals and plants are almost the same at the cellular level.

Embden-Meyerhof pathway, citric acid cycle and electron transport system work in both types of cells.

But in both types of cells, the Calvin-Benson-Bassham cycle (CBB cycle) in plant cells is distinctly different.

The CBB cycle synthesizes glucose (sugar) from water and carbon dioxide.

The energy of living animals is derived from this cycle.

Therefore, we can call this cycle "The mother of all living animals."

If we can artificially construct this cycle perfectly, we can get sugar from the air, and there will be no hunger in the world.

It's a miracle technology to make sugar out of air.

July 3, 2015 : Visit to an Electronics Company

I visited Panasonic for work.

June 26, 2015 : Sharp Rain

I visited SHARP, and after doing the work, there was suddenly a sharp rain and I opened my sharp-ended umbrella so sharply. lol



June 17, 2015 : Visit to Maxell Holdings, Ltd.

I visited Maxell Holdings, Ltd.


June 14, 2015 : A Nest of Swallows Is Coming to My House!



June 7, 2015 : Exercising in My Room

I will do some exercises from now.



June 3, 2015 : Rainy Days and Wednesdays

Always get me down..... sike!! This should be Mondays!! lol

"Carpenters - Rainy Days And Mondays"

June 1, 2015 : Visit to Electronics Company



May 19, 2015 : Visit to the Broadcasting System



May 11, 2015 : Things from the Distant Past

No matter how much time goes by, and no matter how busy we are in the meantime,
I sometimes learn that there are things that we should never let go into oblivion.

There are things we should never rub away - it's a dream.

When I was in my 10s, I first dreamed of things in my future life.
And now my dreams are like things from the distant past, and I still don't know if my dreams will come true.
But I can definitely say that my dreams never end like a touchstone, they stay with me forever.

May 10, 2015 : Happy Mother's Day!!



Wednesday, April 15, 2015 : I Should Have Paid More Attention to My Dreams

Last night I had a dream that I was walking in the rain and on the way I put up my umbrella.

After I got up, I went to a restaurant to have lunch and when I left, I noticed that it was raining.
So I ended up walking in the rain and bought an umbrella in a convenience store to avoid the rain.

Experiencing things that actually happened in my dreams is not uncommon for me,
but matching exactly to this degree is rare.

So now that I realized it again, I have to pay more attention to my dreams.
I should've taken my umbrella with me when I went out after that kind of dream.

Friday, March 27, 2015 : My Dream Saved My Stocks!

Today, the general meeting of Otsuka Kagu Ltd. was held, and the result of the family fight between daughter and father for the control of this company came out.

Accordingly, I bought the shares of IR Japan Holdings as this company is father's consulting company and according to the latest expectation,
the father's side has a slight advantage in voting rights, it's about 23% from father's side and 20% from daughter's side.

So I bought shares of IR Japan Holdings thinking that if the father's side wins, the stock price of this company will rise,
and so far the stock price of this company has been rising as the day of the general meeting approaches.

Around 12:50 PM, I had decided to hold the stock until the result of the meeting came out (they said the result would come out around 1:10 PM),
but suddenly, the dream I had this morning came to my mind, in that dream my dad was really really weak, and that weakness stayed so firmly in my mind.
So I gradually began to have a bad expectation, with the thought that by chance my dad in that dream stood for the father's side of Otsuka Kagu,
so I sold all the shares of IR Japan Holdings, and the result came out around 1:11 PM, which said that the daughter's side had won,
and the price of IR Japan Holdings began to fall so intensely.

Oh! I have been such a real fortune-telling dreamer so far, and my prophetic dreams always amaze my dad and mom!

February 22, 2015 : My Birthday and My New Facebook Update

It's my birthday and my new domain lee22.net starts today, so I updated my facebook cover page.

February 3, 2015 : My New Software Development Completed!!!

Yay! My new software development is complete!
I stayed indoors for about a month and now that it's done!
I was really moved when my work was done!
I'm going to sell this software on the Internet and start my new company!
Aha, now I can be free!

December 30, 2014 : Deriving Pleasure from Singing

I had a great time singing karaoke with my friends from Italy and the Philippines.

October 3, 2014 : A Chronic Cough Often Comes from a Stomach

Today I saw a woman who said she had a chronic cough and had been taking cough medicine to no avail.
Then I asked her, "Don't you have acid reflux?" and she said, "Yes, how did you know!?"...
Actually, this pattern is quite common... I've seen so many patients prescribed cough medicine when they have acid reflux.
In this case, she should be taking medication for acid reflux to stop her cough, not a cough medicine.
A chronic cough often comes from the stomach.

September 15, 2014 : Visit to Tenryuji Temple





August 18, 2014 : Visit to Kyoto Prefectural Government

Today a kind of miracle happened.

Every year my dad used to drive me here, but today he was attending the driver's license renewal class, so I had to come here by train,
and I noticed that this office building is in the center of the area where I studied for three years until I got into medical school.

When I think about it, my dreams, which completely changed my way of life, originated from this place.

After I graduated from high school, I had a lonely time, and during that time I nurtured two dreams.
The first dream has already come true, and the second dream is still to come.

Actually, I almost forgot about my second dream until today when I walked around the city and remembered how I was back then.

And I also realized that I'm still myself!

Even though eighteen years have passed since then, I've noticed that I'm still myself, because I'm going to start chasing my past dream again from now on,
which seemed impossible eighteen years ago, but now seems to have a potential to come true.

How happy I am to know this!

If I hadn't come by train today, I wouldn't have noticed it.

Happiness is unpredictable!



July 30, 2014 : Visit to Riken Research Institutes

I visited the RIKEN research institutes.



July 17, 2014 : Visit to Shiga Prefectural Government


I visited the Shiga Prefectural Government.

It's been six years since I left a hospital and became a freelance doctor, and during that time I've provided medical services to more than 500 companies and organizations,
but my goal is still the same as it was when I was a student, to become an executive one day.

And lately, I don't know why, but I can vaguely feel that the time is getting closer.

So the only thing I can do now is to keep on going!



July 7, 2014 : My Beloved Fushimi Inari Taisha Claimed the Top Spot!



YIPPEEEEEEE! My beloved Fushimi Inari Taisha won the first place for overseas tourists!
Since my university days were the hardest days of my life so far, I visited there regularly and made a prayer saying,

"I must graduate and pass the national examination no matter what! So please give me strength!!" lol

Later, all my worries went away and everything went perfectly!

Although there are many shrines in Kyoto, I chose this place because I felt that there was a different aura in this mountain - an aura that was different from other shrines.
And even though this place is neither a national treasure nor a world heritage site, many tourists are attracted to this place - I think this phenomenon is due to this aura.

After my graduation, when the national examination was approaching, I experienced an amazing story about Hushimi Inari Taisha:
On the day before the national examination, when I was about to go to the hotel to stay, my father told me that he had a mysterious dream last night.
The dream was that a priest of Fushimi Inari Taisha appeared in my father's dream and said, "I will give you this sword, and in return, I want you to make a song and give it to me.
My father immediately made a song and sang it to the priest, and the priest left with gratitude and laughter.

This dream is quite mysterious, because if this dream came from the unconscious in my deep psyche, then the priest should appear in my dream.
Why in my father's dream? So I think there really is some divine power in this mountain.

May 24, 2014 : Byodoin Temple



Wednesday, May 21, 2014 : At Kiyomizu Shrine in Kyoto



May 14, 2014 : Visit to Electronics Company



April 24, 2014 : Legendary Naughty Student to Return as a Doctor

Back to my senior and junior high school, I graduated 18 years ago.
Today, I felt like I was 18 years younger!

January 22, 2014 : Happy Birthday Mother!!



December 19, 2013 : Visit to the City Office

I visited the Kyoto City Office.

August 26, 2013 : Visit to Crime Lab and Police Station

I visited a crime lab and then a police station.

August 9, 2013 : Visit to Police Stations

I visited police stations.

August 5, 2013 : Visit to the Police Headquarters



May 9, 2013 : Having a Relaxing Time at the Lime Ridge Mall




May 4, 2013 : My Friend's Wedding!


I attended my friend's wedding!



April 30, 2013 : Going Shopping







April 29, 2013 : Brilliant Tree!!



February 10, 2013 : Near Kyoto Station

I met my friend near Kyoto station and had dinner with her.

December 30, 2012 : Going to Osaka

I met my friend in Osaka and had dinner with her.

December 23, 2012 : Beautiful Bridge



December 21, 2012 : Visit to Mitsubishi Heavy Industries, Ltd.

I visited Mitsubishi Heavy Industries, Ltd.


December 4, 2012 : Visit to Prefectural Police Headquarters

I visited the police headquarters in Shiga Prefecture.





Friday, November 23, 2012 : Autumn Leaves in Kyoto

Around this time of the year in Kyoto, the autumn leaves are really magnificent!







November 2, 2012 : Visit to the Regional Development Bureau of the Ministry of Land, Infrastructure, Transport and Tourism

I visited the Regional Development Bureau of the Ministry of Land, Infrastructure, Transport and Tourism.



October 31, 2012 : Bought a Plasmacluster Air Purifier

I bought a Plasmacluster air purifier, which is said to eliminate almost all viruses and fungi in the room.
My impression of using this machine is ..... great!

You can feel by your respiratory system that the room is getting cleaner and cleaner immediately after you turn on the switch of this machine.



October 28, 2012 : Tsunami Warning Issued in Canada

I saw on CNN that a tsunami warning has been issued after a 7.7 magnitude earthquake hit Canada. We pray that no disaster will occur.

October 20, 2012: the Hepatitis B Lawsuit Will Soon Reach a Settlement

One of my older sister's hard work will soon reach a settlement.

As far as I remember, she started soon after she became an attorney and has been doing this ever since.
I have been asked questions by e-mail from time to time, and I wonder if my answers have been helpful to her? I don't know.

Japan Nears Final Settlement on Hepatitis B Lawsuit
http://www.wsj.com/articles/SB10001424052748703555804576101502771928070


October 10, 2012 : Windows Free Soft Ultimate Selection

My software "Internet Accelerator SP" will be published in the magazine "Windows Free Soft Ultimate Selection" this month.



October 3, 2012 : Visit to Kyoto Bar Association

I visited the Kyoto Bar Association.


October 2, 2012 : Visit to Canon Inc.

I visited the medical room of Canon Inc.

September 17, 2012 : Having Parfait at Restaurant!!



September 17, 2012 : Spreading Around the World Is Awesome!

I read an interesting article that claims that humans are the only species on Earth that has managed to spread all over the world by themselves.
When I think about how many species have appeared on Earth, I think humans are amazing, but on the other hand,
I wonder what about monkeys and bears? I think we can find them all over the world now.



Sunday, September 9, 2012 : Flowing Somen Noodles!

We went to Mt. Kibune and visited the Kibune Shrine. On the way, we ate flowing somen noodles at an open-air restaurant.
The noodles will flow out of the other side, and if you don't catch them, they will flow away!



September 3, 2012 : Stuck Indoors Because of a Thunderstorm

There's a thunderstorm raging outside... and now I'm stuck indoors to take shelter... a perfect waste of time!

August 30, 2012 : Visit to the Police Station

I visited the police station.


August 29, 2012 : Visit to Shochiku Film Studio

Today I visited the Shochiku Kyoto Film Studio.



August 18, 2012 : Thunder and Lightning

Oh, it starts to rain with thunder again. Strange... I think thunder is rare in this area since I was little,
but for the past few days we have had thunder and lightning in a row.
I think it's unusual for this area.

August 14, 2012 : Raining Cats and Dogs

It's raining cats and dogs in Kyoto right now. XD

August 2, 2012 : Visit to the Police Station

I visited the police station.


August 1, 2012 : Visit to Kyoto City Hall



I visited Kyoto City Hall. Speaking of which, this building is near an apartment room where my grandfather and grandmother once lived.

The reason I mentioned this is that when I entered this building,
I felt a kind of atmosphere that was almost the same as the atmosphere I felt in the room where my grandfather and grandmother lived when I was little.

Come to think of it, the interior wood of this building has something similar to that of my grandparents' apartment room.
For example, the design of a door in the office is similar to the pattern I saw on the wardrobe in their room.

Then I made a hypothesis. This city office must have been built at the same time and by the same company as their apartment building.
My grandparents came to Japan in the postwar period, and the office must have been built or rebuilt in the postwar period.
Also, their apartment building was municipal and wasn't too far from the office building, and I think this fact makes my hypothesis even more reasonable.
In any case, there's no difference in the fact that I smell the same atmosphere in both places, and I think this point is quite important.
I mean, that's the traditional design of Kyoto. When I was a kid, Kyoto was full of this kind of design that I've always loved.
This atmosphere of traditional Kyoto always reminds me of what the world around me was like when I was a little boy.....
taking a bumpy ride on a trolley, I took a ride on the Eizan train with my grandmother,
on the small balcony, basking in the moonlight, and my grandmother putting me in a small plastic box to bathe,
which is still one of my fondest memories of my life so far.

We weren't rich then, but it was the happiest time in my life. Ah... those were the days.

July 16, 2012 : Looking up at the Night Sky

Looking up at the night sky, I found stars twinkling and shining in my eyes.
This place where I spent my childhood days, and I bet I must have seen the same stars then.

But now I feel that something is different from then, which probably comes from my ambivalent feelings, which come from strange feelings,
which may come from the fact that I have grown older and changed a lot since then, but the stars are almost the same.

Back then, I didn't know that time was not an eternal thing.
I was just having fun with my peers day after day.
But along the way, my recognition changed completely when I had goals in my life, the moment I realized that time doesn't last forever.
So I have to overcome adversities until all my dreams come true.



July 15, 2012 : Having Dinner Under the Sound of Breeze



I had dinner with my friends on a balcony that a restaurant opens only in the summer period for their customers to look at the Kamo River during their dinner time.
So I can feel the breeze from the river as I eat some food and drink some soft drinks tonight.

Listening to the sound of the wind, I can't help but imagine how many dramas have taken place here.

This river runs through the center of Kyoto and is a really historically and traditionally important river in Japan.
For example, there is a legend that Minamoto no Yoshitsune and Benkei, both one of the most famous historical heroes in Japan,
met for the first time in their lives at the Gojo Bridge over this river is one of the most famous historical events for Japanese people.

Aside from this famous story, I have heard some horrible stories, such as many abandoned babies were found crying alone at night on the banks of this river, especially just after the end of World War II.
As you can imagine, this may be rare in Japan now, but it wasn't uncommon in the postwar period. So it seemed like there were a lot of souls wandering around this riverbank.

This is not the only reason for all this. Imagining from the past, I wonder how many souls were taken on this riverbank.
For example, the Onin War, one of the largest civil wars in Japanese history, took place in Kyoto and lasted for ten years,
it was the beginning of the next period of warfare, which brought about the most terrible chaos in all of Japan that they'd never seen before,
and this river water was said to be stained with the blood of fallen soldiers.

So this river that I'm enjoying now under the sound of the breeze must not have a glorious history in the past.
No, it's not just dark things, there must be as many bright stories as there are.
Because this river was a center of traditional festivals, people in the Stone Age must have celebrated after a good hunt and gathering.
In the Yayoi period, people must have prayed for good harvests and sometimes prayed for the gods not to bring down their wrath on them, such as floods or the spread of disease.

So I mean a lot of dramas that people have done since the beginning of human history.
As for me, here is really near the apartment where my maternal grandparents once lived,
so I often saw the bank where I am and Demachi Bridge, which crosses this river and is famous for its appearance in the popular movie in Japan,
when I visited my grandparents' apartment accompanied by my parents.

And now I'm enjoying eating, drinking and talking with my friends, but in a way I think I'm drinking to many souls, many memories and many people around this river. lol.

July 11, 2012 : Brimmed With Childhood Vividness

Crouching by the side of the road, I found a sunflower growing.

As I looked at this sunflower, I felt almost drawn into the vividness of the petals. Then suddenly my childhood memories crept into my mind;
When I was a little boy, I had to grow a sunflower as part of my homework, and I grew a sunflower on the balcony and wrote about it in my diary.
Ah... at that time I was full of the vitality of childhood, just like that sunflower.

When I remembered my childhood vitality, I felt as if my mind was fading away as it flashed back to the moment when the sunflower on the balcony was at its best.
Hehe, now I feel that the sunflower that once grew on my balcony gave me strength!



July 9, 2012 : O Wave O Wave That Splashes and Sparkles in the Sloshing Sea



O wave, O wave that splashes and sparkles in the sloshing sea, if you could speak to me, I could ask you where my feeling now is coming from.

O wave, O wave that splashes and sparkles in the sloshing sea, if you had a memory, I could ask you about that starry night in my mind.

I wonder if you remember, at that time I was swimming in the sea, but you tried to swallow me.

Somehow I was saved by others, but I almost drowned in the sea and couldn't understand what had happened to me until I was back on the shore.

Anyway, I believe now that the next time I'm in a similar situation, you will save me,

because I know that you have already become a sunny ocean since I continued to sail on the sea of time and reached the horizon, once I looked at it.

July 4, 2012 : Existence Is Determined by the Appropriate Stimulus

I wonder where that white heron is going. Everyone wonders what it feels like to fly in the air.
Actually, I know what it feels like. I have flown many times in my dreams.

You might say it's not a real experience, but for me it's almost real because I believe that existence is sensory perception.
We can feel because we have sensory organs that receive the appropriate stimulus that initiates the transformation into another form of energy that we perceive in our brain.
But if in different creatures that have different forms of transductions, they might sense it in different forms that we realize.
So I think existence is determined by how our sensory perception goes, so flying in another world means the same as flying here in this world.



June 17, 2012 : Going to See My Niece for the First Time in a While


I'm going to see my parents today. I was really excited because my sister said she was going there too with her little cute baby girl.
It's been a while since the last time I saw her. I bet she has become even cuter since then.

May 30, 2012 : Visit to the Police Station

I visited the police station.



April 30, 2012 : Slept More Than 17 Hours

I thought it was 9:00 in the morning, but it was after 12:00 in the afternoon.
I must have confused the minute and hour hands on my watch.
I ended up sleeping more than 17 hours since last night around 7:00 PM.

March 13, 2012 : At Restaurant

This spicy udon is really excellent.



March 12, 2012 : Reunion With a Senpai Doctor on Facebook

I'm recovering from the poor physical condition of the past few days, now I'm probably okay.
I don't know why, but I suddenly felt nauseous and have been in bed for the past few days.
Come to think of it, I had the same experience about this time a year ago.
Why is this happening? Is it due to mental stress or the change of seasons, which brings many changes in health?
I think the former is probably more likely.

Actually, I have a lot of things to do and these days I feel like I'm being crushed by mental stress,
which comes from the feeling of "I have to do, I have to do," which makes it worse to get things done.

But one great thing that happened during the sluggish days is that I reconnected with a senpai doctor on FB who once took care of me in Tokyo,
and I learned that he is now fighting on the front lines of the wasteland devastated by last year's earthquake and tsunami.

This reunion really cheered me up and made me feel that I can hardly give in to the difficulties I am facing now!

February 4, 2012 : Late Due to a Flat Tire

I was in a hurry not to be late for work, but my bicycle had a flat tire! so I ended up being late again!
Yikes! I thought this could never happen! My bicycle really sucks... lol

November 15, 2011 : Selfie in White Coat



February 4, 2011 : Civil Aviation Bureau of the Ministry of Land, Infrastructure, Transport and Tourism of Japan (JCAB)

I visited the Civil Aviation Bureau of the Ministry of Land, Infrastructure, Transport and Tourism of Japan (JCAB).


December 31, 2010 : Old Year 2010 and New Year 2011


The most memorable experience this year was being in charge of the medical room at APEC JAPAN 2010.

Although I was responsible for leaders from around the world, I was not nervous,
but rather interesting to be in a place where leaders from different countries gathered.



December 25, 2010 : Happy Merry Christmas!!


Happy Merry Christmas!! I really hope that next year will be a happy year for all the people around the world!!

October 15, 2010 : Yeah from the Top Floor

I visited the headquarters of Wacoal Holdings and I made it YEAH from the top floor. lol


February 13, 2010 : Lovely Snow

I love snow. My mom said it snowed the day I was born, and that's really impressive.
So I'm also impressed when I see it snowing. Besides, snow is so beautiful here!



February 12, 2010 : On the Street Illuminated by Golden Lights



February 7, 2010 : Rainbow Bridge



February 2, 2010 : Third Time Is the Charm!!

On the third attempt, we finally reached Lake Ontario!



The first time we couldn't go to ..... because I got lost on the way and the second time the bus didn't run on Sunday. (lol)

And this time, a little unfortunately, I got on a bus again with no announcement of the name of the bus station and I almost went into failure again.
But this time I was lucky. A guy next to me on the bus suddenly spoke to me and we became friends.
He said his name was Mario and he was from Yugoslavia.
He said he was born in Canada and soon went back to his home country, Yugoslavia, and came back to Canada about ten years ago.
Fortunately, he knew how to get there and gave me directions.

And finally I was able to get to the apartment where we were supposed to meet!
After we met, the three of us set out for the lake and we arrived there.

Many difficulties were overcome to take the following picture. lol



January 31, 2010 : If It Happened Once, It Would Happen Again

I tried to reach my friend's apartment to go to Lake Ontario together.
But later I found out that the buses to the destination don't run on Sundays.
Damn it. I should have had a look at the bus schedule. I never imagined this.
So I couldn't go to Lake Ontario this time either.

So it's like, "If it happened once, it would happen again." XD:

January 30, 2010 : There Are No Boundaries for Kindness

I went to the gym in the cold.

Actually..... I forgot my gloves, but that's okay. It's too much hassle to go all the way back home to get them.

I got into the habit of having one day for training and one day for studying every other day.
So tomorrow is a study day and the day after tomorrow is an exercise day.

On the way, a kind old lady asked me to take her gloves ..... how kind of her!
I said thanks, but no thanks, because I felt sorry for her.

In this region, some people talk to me even though I'm a stranger to them.

There are no boundaries for kindness.

January 28, 2010 : Going to the Gym Under 10 Degrees Below Zero

I went to the gym even though it was under ten degrees below zero.
It takes more than 40 minutes on foot, but I cheered myself up to go to the gym.

Actually, I didn't feel so cold at that temperature. This time I realized that my private feeling temperature and the real temperature are different.
In fact, sometimes when I get up in the morning in Kyoto, I feel much colder than I feel now. (Of course, it's much colder here in the morning than in Kyoto).
Probably it's because I heard from Madam that it was very cold outside today, so my heart had prepared for the cold.
But gradually I began to realize what real coldness is. I didn't feel that cold, but my senses did.
What I mean is that my cheeks and earlobes were like touching ice all the time.
And what was worse, the wind began to blow intensely, so I was almost numb in my cheeks and earlobes.
On the way, I was afraid I was going to get chilblains, but fortunately things started to get better when I went into a store near the gym.
I looked around the store while recovering from the cold, then I went to the gym and finally reached it.
Luckily, it wasn't as cold on the way home and the wind became mild.
Today, going to the gym was so hard, but I was satisfied with a feeling of refreshment that came from the accomplishment.

All in all, today was a nice day.

January 27, 2010 : Taking a Long Way to Get Home

I went to Lime Ridge and had lunch there. On the way home I took the 41 bus, which was probably a Mohawk bus.
No, not probably, but definitely, because I always take the 41 bus to get home.
But this time something was different.

Maybe it was because I was asleep at the time and didn't notice, I wasn't so sure, but I think the bus was going to Mohawk via a different place this time.

I started to realize that I should have looked at the sign on the front of the bus so I wouldn't have missed it.

In the end I saw the sign "Ottawa at Industrial" and soon after that there were no more signs and announcements on the bus.
So I was at a loss, then I asked the bus driver "Does this bus go to Mohawk?" and he said "Yes", so I decided to stay here until I saw Mohawk at Rice.

On the way, I was very worried that the bus driver was so focused on driving that he forgot and gave me a noncommittal answer,
because I still couldn't see any signs or announcements, but they came up halfway.

Then I finally saw the sign for Mohawk at Rice, but I had decided to stay on the bus because my destination was next to Mohawk at Rice.

All of a sudden, the bus driver shouted, "Do you want to go that way?" and I said, "NO-!" and rushed to get off the bus.
The bus was supposed to turn right at Mohawk at Rice, so I would have been taken the wrong way again if the guy hadn't told me.
He remembered what I asked, then it was really a bridge crossing before we got there.

The driver was very nice XD.

January 22, 2010 : Heading for Lake Ontario

I wanted to see Lake Ontario and was on my way to an apartment to meet my friends who were going with me.
But on the way, I got lost. I heard "Main street opposite Macklin street" as the name of the bus stop where I should get off.
So I waited for the word "street" to appear twice in the announcement, which caused me to miss the "Main opposite Macklin."

I went to the terminal of that route and the driver said, "This is the terminal, so you should take the bus up ahead," so I took the bus up ahead.
Now I remember that was the beginning of the trouble. The bus I took didn't go via Main opposite Macklin, and I was taken to an unknown place I'd never been before.
It was in the middle of the mountain and there were no shops, just a road and some buses going to unknown places.

It was already dark and very cold, so I didn't want to wait for the next bus because of the freezing cold.
So I decided to walk until I saw a bus stop I had seen before.

After a while I saw the sign "Ancaster Old Mill". I remember that around here I started to get worried about getting lost.
It's very cold and dark, the wind was blowing hard, but I walked through the frigid air towards my unknown destination.

After an hour, I saw the sign "The Beginning of Mohawk Street"..... "oh..... I guess I can get home sometime if I keep going this way.
This thought stirred me and I walked towards the mall I'd been to before and I thought I could reach it if I kept going this way.
After a long walk, I finally reached the mall I'd been to before. After shopping, I went home.

And I finally got home around 8 PM. I remember it was around 5 PM when I looked at my watch while I was walking around the "Ancaster Old Mill",
so I walked for more than 3 hours before I got home. Today I couldn't make it to Lake Ontario.

It's my mom's birthday and I wanted to take pictures of the lake and send them to her. So it's a shame I couldn't go..... I'll try it next time.

January 2, 2010 : Medical Room at APEC - Asia Pacific Economic Cooperation

I will be in charge of the medical room at APEC JAPAN 2010.


October 25, 2009 : Walking Around Kiyomizu-dera Temple, Kinkakuji Temple and Nijo Castle

I met my friend at Kyoto Station and we went to Kiyomizu-dera Temple, Kinkakuji Temple and Nijo Castle together.

October 19, 2009 : Certified as Japan Medical Association Certified Industrial Physician

I'm certified as a Japan Medical Association Certified Industrial Physician.

August 31, 2009 : Visit to Kyoto Prefectural Government


I visited the Kyoto Prefectural Government and the Kyoto Police Headquarters to examine officers.





May 20, 2009 : Visit to Osaka High Court


I visited the Osaka High Court to examine the judges.


August 2, 2009 : Kataonami Beach

We went to Kataonami Beach in Wakayama prefecture.

The sunlight was so strong, and my friends got sunscreen on the way there.

Actually, we have to be careful when we use sunscreen because there are two kinds of ultraviolet rays, UVA and UVB.
For example, in summer in Japan, UVB is stronger than UVA and we need to block mainly UVB.
But in winter, UVB is reduced to one-fifth, while UVA is reduced to one-half.

For a long time UVA was believed to be harmless to our body but recently it has been found out that it becomes harmful under the existence of UVB.
So in winter we need to protect ourselves from both UVA and UVB.


July 31, 2009 : Statistics of Heart Murmur and Arrhythmia Among Company Workers

I collected statistics of heart murmur and arrhythmia in workers in my daily practice.

Number of patients : 1795 ( men 1185 women 610)
Heart murmur : 73/1795 ( men 34/1185 women 39/610)
systolic ejection murmur : 71/1795 ( men 33/1185 women 38/610)
Systolic murmur : 2/1795 ( men 1/1185 women 1/610)
Arrhythmia : 34/1795 ( men : 24/1185 women : 10/610)

Distribution of age, blood pressure and murmur.



Average age : 49,42
Average blood pressure : 133.52/75.43

Age pyramid



July 13, 2009 : A Sense of Competition

Today the Prime Minister of Japan announced that he had decided to dissolve the Diet and hold a snap election next month.
Just then, I remembered that there had been all kinds of opinions about the dissolution of the Diet.
And this time I finally felt that the time had come.

The time to change the ruling party, the Liberal Democratic Party (LDP), which has ruled Japan for more than fifty years, is coming closer and closer.
I think Japan has been ruled by the same party for such a long, long time.
For this reason, the LDP is said to have ignored the opinions of the people, which is the same reason why Japanese politics are said to be spoiled.

I believe that rivalry is necessary for things to grow.
Unfortunately, Japanese politics has been monopolized for decades, so there is no sense of competition.
So I want the Democratic Party of Japan (DPJ) to win this time, not for its policies, but to introduce a sense of competition into the Japanese political world.

I think if this sense is brought into politics, people living in Japan can live with more relief in the future,
regardless of whether the DPJ's period of government is successful or not,

I strongly believe that the introduction of a sense of competition itself has great significance.

Saturday, April 25, 2009 : Kawaramachi Is a Very Nice Street to Arrange a Meeting

I went with my friend to the bustling street of Kawaramachi in Kyoto.

First, we tried to find some bookstores and CD stores to buy some items we wanted.
After walking for a while, we found a bookstore in a department store, but it wasn't very good, so we soon left.

Then we walked out the streets again and went to the next bookstore, but the second one wasn't so good either.
As we walked along the streets, we passed a CD store and went in.
Again, we couldn't find anything that interested us, so we left immediately.

Soon we got hungry and started looking for restaurants that were not too crowded.
I always like a restaurant that is flexible and spacious and she shares the same thought.
In this case, "flexible" means having a lot on the menu so we could have different kinds of food.

After a while, we settled on a restaurant in a building.
I had a drink and an espresso while she had a piece of bread and a cup of cocoa.
I found the restaurant very funny because they serve espresso in a very, very small cup... much smaller than we expected...(ROFL) and she got a kick out of that!

Afterwards we went to a karaoke to pass the time.
Since today was the last day of my thirteen consecutive working days including Sunday, I feel very tired.
However, I am very glad that I went to Kawaramachi with her because I have not felt this good for a while.

I will definitely go there again!

April 6, 2009 : My Memory of the Cherry Blossoms Glows With Nostalgia

I went to a factory in Kyoto to do medical work. Although I had planned to leave home at 7 AM, I walked out the door at 7:15 AM.

On my way to work, I got stuck in an unexpected traffic jam. I was just glad that I made it in time, even though I did not leave home as early as I should have.

This experience made me decide that next time I should leave home early to avoid any trouble I might encounter on my way to work.

When I finished my work and left the building, I saw the beautiful cherry blossom tree.

I remembered the days when I and my old friends used to spend time just looking at the cherry blossoms.

They were my friends from my previous work in an entertainment office when I was just 22 years old.

Looking at these cherry blossoms is like going back to the time when I was in my twenties, and it still brings me joy.

January 7, 2009 : Fushimi Inari Taisha

I visited Fushimi Inari Taisha for the first time this year.



December 25, 2008 : Microsoft Certificate of Excellence

I have received the Microsoft Certificate of Excellence.


November 7, 2008 : Fate Is a Very Mysterious Thing

Today I visited the company where my dad worked when he was young.
My dad became an independent self-employed worker after he left that company.
I really feel now that life is such a mysterious thing, full of many unpredictable destinies!

He must have never imagined that I would be in charge of medical examinations for this company where he worked decades ago.

November 3, 2008 : The Queueing Theory for Medical Examinations

I have considered how long I should spend with each patient if a certain number of them are expected to arrive within an hour.
Suppose patients arrive and wait for a medical examination service provided by only one doctor, and after the medical examination is completed, the patient will leave the room.

Let x be the number of patient arrivals per hour, and let y be the average time for a medical examination service (minutes) per patient.

Then service using rate = (x * y) / 60.

The average number of waiting patients = service using rate / (1 - service using rate) = ((x * y) / 60) / (1 - ((x * y) / 60)) = (x * y) / (60 - (x * y)) ( 0 < service using rate < 1 )

This means that the average wait time per patient is "(x * y * y) / (60 - (x * y))". ( 0 < x * y < 60 )

Now, let's think about a situation where we should make an average waiting time for a patient within 1 minute.

Average waiting time per patient = (x * y * y) / (60 - (x * y)) = 1 <-> (x * y * y) / (60 - (x * y)) = 1 <-> (x * y * y) = (60 - (x * y)) <-> (x * y * y) + (x * y) - 60 = 0

This is a root of the function f(y) using the quadratic formula: y = (root((x * x) + (240 * x)) - x) / (2 * x)

If x is equal to 10, then y is equal to 2, and this means that 10 patients arrive per hour, and we should examine each of them within 2 minutes to make the patient's waiting time within 1 minute.

Then, to generalize this theory, let z be an average waiting time per patient.

Suppose we want to have an average waiting time for each patient within "z" minutes.

Then the above function should be (x * y * y) / (60 - (x * y)) = z <-> (x * y * y) = ((60 - (x * y)) * z) <-> (x * y * y) + ((x * z) * y) - (60 * z) = 0

<-> y = (square root((x * x) + (240 * x * z)) - (x * z)) / (2 * x)

For example: If we want the average waiting time for a patient to be 2 minutes, and we expect 20 patients per hour, then we should see each patient within 1.5 minutes
because y = (square root((20 * 20) + (240 * 20 * 2)) - (20 * 2)) / (2 * 20) <-> y = 1.5 (minutes)

<SUMMARY>

x : the estimated number of patient arrivals per hour
y : an average time that should be spent in a medical examination service (minutes) per patient
z : an estimated average waiting time for each patient

y = (square root((x * x) + (240 * x * z)) - (x * z)) / (2 * x)

I have named this formula "The Formula of XYZ". lol

OCTOBER 14, 2008 : My Software Will Be Published in Magazines



AUGUST 8, 2008 : My Software Will Be Published in Magazines



MARCH 24, 2008 : My Software Will Be Published in Magazines



MARCH 1, 2008 : My Software Will Be Published in Magazines



February 9, 2008 : Beautiful Beautiful Snowy Day

It's a beautiful snowy day!

Today in Kyoto, it is snowing heavily outside from morning to night.
The big flakes of snow were falling softly when I went to the roof of the hospital.

When a snowy day comes, my mom says that the day I was born, the snow was impressive.
Right after my mom gave birth to me, she looked out the window of her room, and saw snow, the most beautiful snow she'd ever seen.

Even now my mom tells me that the scenery was very impressive.

I love snow so much, so I watched the snow fall for a while.

Snow is very interesting. It seems very soft, but it's not as soft as it seems.

Snow becomes harder and harder under pressure.

The true hardness of snow is as hard as concrete.
The true wildness of snow is stronger than a wild typhoon.

This two-sided nature of snow always attracts me.

January 27, 2008 : The Advantages of Object-Oriented Data Structures in Biological Evolution

An "object-oriented data structure" is designed to encapsulate data and methods, and communicate with the outside through the message.
This technique has replaced the common way called "procedural data structure."

For example, "It's raining" is a "procedural data structure" because a drop of water falling has no data and method in itself,
while "Turn on the TV" means an "object-oriented data structure" because the TV has the data and the method in itself.

This encapsulated data is called an object, and a plan of the object is called a class.

In vivo, the phenomenon of encapsulating data is often observed.
For example, the fat in our food produces monoacylglycerols and fatty acids during digestion.
These materials are delivered to intestinal cells where they are recombined and then synthesized into a lipoprotein, a combined lipid and protein.
Lipoproteins are then transformed into different forms and perform a variety of functions.
This is like encapsulating data, and this seems to answer the question,
"What is the advantage of encapsulating data?", and "what is the advantage of object-oriented data structure?"

The advantage of "object-oriented data structure" is polymorphism and inheritance of classes,
this means that the response depends on the object that receives a message,
and this feature gives us different reactions with few messages.
This feature is very powerful, this enables us no need to rebuild the core when a new requirement occurs,
just to change the inside of the object that receives a message.

In the myoneural junction, the neurotransmitter is called acetylcholine.
The acetylcholine opens the nicotinic acetylcholine receptor channel of the end-plate,
and the end-plate potential is established in the intracellular space with the simultaneous outflow of potassium ions and inflow of sodium ions.

The cholinergic neuron, which is widely distributed in the cerebral cortex and hippocampus,
has an influence on the neuron in the wide area through the muscarinic acetylcholine receptor.

There are different subunits in the muscarinic acetylcholine receptor, M1, M3 and M5 cause activation of phospholipase C and M2, M4 cause inhibition of adenylyl cyclase.
The result is a slow excitatory postsynaptic potential and a slow inhibitory postsynaptic potential.

This phenomenon differs in the response of each object to the identical message (acetylcholine).
This is polymorphism in the object-oriented program.

Encapsulated lipoprotein is called chylomicron.
The chylomicron becomes a chylomicron remnant through a loss of triglyceride with the operation of lipoprotein lipase (LPL).

In the liver, triglyceride is synthesized on the basis of free fatty acid and this combines with the apoprotein and becomes VLDL (very low density lipoprotein).
The VLDL becomes IDL through a loss of triglyceride with the operation of LPL which exists in the peripheral organization.
IDL is captured by an IDL receptor of the liver and is hydrolyzed in the operation of lipase and becomes an LDL.
The LDL carries the cholesterol to the peripheral organization.

On the other hand, HDL, which is formed by the hydrolysis of chylomicrons and VLDL transports cholesterol from the periphery to the liver.

In this case, chylomicron, VLDL are a superclass and IDL, LDL are the subclass of VLDL.
At the same time, the identical message, the lipase, is related to the specialization of these classes.
And, the difference of answer to the message is called polymorphism.

Inheritance of classes in "object-oriented data structure" means that nature can be changed with small cost by using inheritance from ancestor classes to descendant classes.
Thus, the energy efficiency of development is better than conventional ways because we only need to define the difference between new requirements and conventional definitions.

The creature tries to inherit the data on the deoxyribonucleic acid.
The deoxyribonucleic acid is equivalent to the class, and the main unit of the creature is equivalent to the object.

The advantage of object-oriented data structure is that it is able to keep up with the trend of the times at low cost.
The creature supported a wide range of requirement definitions in the process of evolution by taking advantage of object-oriented design.

We can find the living body by using inheritance and polymorphism very well.
And then, polymorphism can also play an important role in the neutral evolution theory.

The theory of neutral evolution suggests that mutation at the molecular level is neutral to natural selection,
and genetic drift plays an important role in the accumulation of mutations in the group.

At first, the theory was not so widely accepted, but nowadays this theory has become important.

The neutral evolution can happen because there is polymorphism, like the example of acetylcholine mentioned above.

Polymorphism gives the object the characteristics, the ability to adapt to a new requirement with a small cost of change.

Creatures could have survived and evolved because they adopted object-oriented data structure.

Computer science can suggest a variety of ways to look at biology.

January 22, 2008 : My Mother's Birthday

It's my mom's birthday!

May God bless my mom and give her a good life, we love you so much.
I hope all your dreams come true.....

January 15, 2008 : Where There's a Will, There's a Way

When I was in my twenties, I had to face a lot of challenges.
That's why I am today.

I believe that people have unlimited potential.
My goal is to expand the property and contribute internationally.

I want to build a school where there is no education.
I want to build a hospital where there is no medical care.

Trying to achieve is more important than how much is finally achieved.
We can achieve more than 50% even if we do not achieve 100%.
Achieving 50% is better than achieving 0%.
We can achieve even more than 100% if we keep trying.

It is not important whether you achieve or not, the important thing is to keep trying.
So I will keep trying different challenges.

I believe that human beings have unlimited potential.

January 3, 2008 : Hatsumode at Fushimi Inari Taisha

Fushimi Inari Taisha on JANUARY 3, 2008.

   

Tuesday, January 1, 2008 : Happy New Year 2008 !

Happy New Year 2008! My eldest sister made delicious food that was special for the New Year, and it was really good.
After a while, we gave gifts to the children of our relatives.
I stayed at home all day and watched TV and played video games with my nephew.

I hope this year will be a great and happy year for me and for everyone around the world!

NOVEMBER 30, 2007 : My Software Will Be Published in Magazines



December 4, 2007 : Certified as Microsoft Certified Associate Master

I have received the Microsoft Certified Associate Master certification.

November 29, 2007 : Microsoft Certified Associate Master


I have passed all the Microsoft Certified Associate Examinations.

Microsoft Certified Associate (Application) -> Passed
Microsoft Certified Associate (Platform) -> Passed
Microsoft Certified Associate (Security) -> Passed
Microsoft Certified Associate (Database) -> Passed

So now I have a master's degree.

Sunday, September 30, 2007 : At the Kyoto Medical Association Meeting

At the meeting of the Kyoto Medical Association, I presented a case study of a severely obese diabetic patient.

In the case study, I discussed the changes in HOMA-R over time with diet therapy and exercise therapy.
It also includes the changes in PG with weight loss before and after OGTT and IRI.

I had not been able to sleep very well for days before the meeting and I was quite nervous before my presentation started at 9:20 AM in the A room, but I thought I did well.....(?)
When it was over, that was the moment I felt I had really done my job!

It was a busy day so I went straight to bed as soon as I got home.



July 31, 2007 : Shopping at Leading Appliance Store on My Way Home

On my way home from work, I stopped at the appliance store, a major electronics store in Japan.

While riding my bicycle, what seemed to be a small insect suddenly flew into my eye.
Then I felt, "Quickly go to a store washroom and wash this off..." and I rushed to the washroom there.
And while I was there, I bought two Playstation 2 games.

When I think of this store.... when I was a student, I often went there in the mall.
There was a department store near the store, and I often went there to buy food.
I used to go there when I was in university, so it's an important store in my memories.

And that department store closed the same day I moved out of my apartment in front of the school.
That was an amazing coincidence. The very day I moved out, I happened to visit the store,
thinking I'd probably never come back, and that was the day the department store closed.

I've heard that the utensils used in the restaurant, which had been in operation for many decades,
deteriorated as the closing date approached, even though they weren't in bad condition before.

I once heard that this is a strange phenomenon for managers who run a business for a long time.
In this case, it seems to be a little different from that case, but I find it almost as mysterious as that case.

July 21, 2007 : Attending a Farewell Party

I went to a farewell party for a teacher who took care of me some time ago.
I was supposed to meet my friends at Iseda station for the 18:23 train, but I was late.
So I had to go to Takeda station and Mien, a Chinese restaurant.

I got there without getting lost, and not long before I began to feel that I had a higher tolerance for alcohol than I thought.
I believed I was completely deficient in acetaldehyde dehydrogenase (ALDH), which helps me tolerate alcohol,
but now I began to think that maybe I didn't lack ALDH, I just had a slower activation of it.
I was surprised when I found this out lol!

July 17, 2007 : Passing Through My Hometown on My Way Home

Today, after work, I rode my bicycle through my hometown on my way home.
In my memories of elementary school, the school building was new then, but now it looks old.

I walked to the park where I used to play with my childhood friends.
I walked through the public square where we used to gather to go to school and my sister was a group leader.
I walked through the town where I lived a long time ago. Now I don't feel the vibrancy of those days.

I've found that it's really fun to come here once in a while after work.

July 7, 2007 : The Star Festival and Korean Barbecue With My Friends

It's the Star Festival! Sooooo, here comes the Korean BBQ!

Huh? Star Festival and Korean BBQ are not related, you might say?
Actually, there is a connection between them.

The story dates back to ancient China.

The most powerful god in the sky had a daughter.
Her name was Orihime, and she was in charge of weaving clothes for the gods, and she worked diligently every day by the Milky Way.
The god felt sorry for her as she had no lover, so he introduced her to a hardworking young man named Hikoboshi,
who kept a cow on the other side of the Milky Way, and the two were eventually married.
After their marriage, the two lived together and had fun every day,
she stopped weaving, and the gods' clothes became worn and tattered,
the cows were no longer cared for, they became thin and sickly.
This angered the god and he separated them on both sides of the Milky Way.
But they cried every day and could not work, and the god felt sorry for them and promised to let them meet once a year on the night of July 7,
if Orihime weaved clothes and Hikoboshi tended the cows diligently every day.

So Orihime and Hikoboshi are said to meet every year on the night of July 7th.
This is the legend of the Star Festival.

So, we celebrate it with a cow! (<- what a funny interpretation! lol)
We three had so much fun partying!

MAY 1, 2007 : My Software Will Be Published in Magazines



April 29, 2007 : Having Decided to Change Teaching Hospital

I have decided to move to another hospital in my hometown of Kyoto because I don't like this place anymore.

April 24, 2007 : Reported the Security Risks to the System Department

I reported the security risks on the computer systems I found the other day,
and the operators understood and said they would fix the problems as soon as possible.

April 16, 2007 : Midnight Shift in the Emergency Room

Today I am supposed to work at night with a pretty doctor. lol.

In the emergency room, while she was studying, I tried some experiments on the PC.
Of course, this PC has security to prevent unauthorized access.
However, I noticed that they forgot to exclude VB when they installed the Office programs,
so it doesn't seem too difficult to change the system settings.

As I expected, I found some security risks on the PC and I was able to remove the security settings on the PC.
I need to report this to the system department.

April 9, 2007 : Certificate of Medical Doctor's License

I received the certificate of medical license in Japan.

April 5, 2007 : After a Midnight Shift

After my midnight shift was over, the refreshing scenery waited for me under the sunlight.

April 1, 2007 : My Debut Day as Medical Doctor




March 30, 2007 : I Have Survived the Adversities


Finally, I have survived the days of adversity.

Yesterday I heard the news that I passed the exam and will start my residency here.

I was beside myself when I heard the news from my parents.
And today, successful applicants have to gather at the hospital, while unsuccessful applicants have to leave here.

I finally got through those hard days...this feeling is really coming home to me.

It's quiet now, and this silence seems to be the aftermath of the hard battles that have just passed.

Now I can relax, probably a little for a while, and that might be a brief relief just before another battle comes.
I really appreciate my hard work that started 3 months before the national exam.

I was labeled as a bad boy in school, and most people around me probably never thought that I could do this miracle in such a short period of time,
except for a few people who know that I'm actually strong.

It's like running away from Kansai Medical University, which is a symbolic place for me of those days of adversity,
the place where I had to pay my tuition by computer programming while participating in school activities in order to graduate.

March 28, 2007 : Awaiting the Announcement


The result of the national medical exam will be announced tomorrow.
I'm not very confident about the result, so my heart is pounding every moment I think about it.
I wish tomorrow would come right now so that I don't have to worry about it anymore.




MARCH 1, 2007 : My Software Will Be Published in Magazines



February 16, 2007 : 101Th National Medical Practitioners Qualifying Examination : Leaving for Hotel

I left for the hotel to take the 101st National Medical Practitioners Qualifying Examination (NMPQE).

The exam schedule is as follows:

(February 17)

Test A 9:30 AM - 12:00 PM 150 minutes 060 questions
Test B 1:30 PM - 3:30 PM 120 minutes 120 questions
Test C 4:10 PM - 5:00 PM 050 minutes 050 questions

(February 18)

Test D 9:35 AM - 12:00 PM 145 minutes 050 questions
Test E 1:20 PM - 3:00 PM 100 minutes 030 questions
Test F 3:40 PM - 5:00 PM 080 minutes 080 questions

(February 19)

Test G 9:30 AM - 12:00 PM 150 minutes 060 questions
Test H 1:25 PM - 3:30 PM 125 minutes 050 questions

I planned to stay at "Hotel Granvia Osaka" and arrived at the hotel a little after 10 PM.

On the train to the hotel, I noticed a frightening fact.

The score ratio of Test C to Test D is one to threeeeeee! I never expected that!

This means... This means... The test results depend almost on only 50 questions of Test D! This is too scary! Too scary!

I haven't failed past exams in any book, but when I realized that the test results depend mostly on just 50 questions of Test D, a terrible fear took over my mind!

I immediately emailed a friend at 9:04 PM,
"Now I'm on my way to the hotel. Why are the allocations of Test C and Test D so different? This is almost decided by Test D on the second day..."

Two minutes later, I received an email from the friend, "Yes, it is true! The test results are almost decided by the results of the second day."
Oh! I didn't know that Test D is worth three times as much as Test C!

I thought it was 1 to 1, but I think I shouldn't have noticed it because I'm not good at working under pressure.
But now it's too late... that ship has sailed... I already noticed that... Why did I notice that? I want to stay without knowing, I want to pass, with ignorance is bliss, yay!

After arriving at the hotel, I went to room number 6127.

Soon, Mr. T came to the room and said, "If there are any problems, don't hesitate to let us know."
Thank you for being so considerate, my graduation was postponed and we are not classmates, I really appreciate your concern.

I received an email at 10:21 PM : "Have you checked in? If so, let us know."
Then I replied at 10:59 PM : "I checked in!"
And got a reply at 11:21 PM : "Hi, get plenty of rest for tomorrow's exams. Good night."

I was supposed to check in at 6:00 PM, but I was late and checked in after 10:00 PM.
I shopped at a convenience store and returned to my room.

Then, "Let's go to bed and get a good night's sleep for tomorrow's exams." is a story for most students,
but in my case, "Finish the rest of the parts I haven't studied yet during the night!" lol.

I will finish the book of past problems of the Public Health test from now on, definitely!

I have passed exams burning the midnight oil so far, and with all my might, I swear I will make it this time too!
But I felt a decline in my energy compared to when I was in my early 20s.

Last minute midnight cramming is so hard for me anymore, I really felt the decline in both physical and mental strength between early 20s and late 20s.

Finally, I finished cramming the past problems of public health in about two hours and went to bed.

February 1, 2007 : My Software Will Be Published in Magazines



February 1, 2007 : My Software Will Be Published in Magazines



January 17, 2007 : Kansai Medical University for the First Time in a While

Today I went to Kansai Medical University for the first time in a while.

It was not at the new hospital in Hirakata, but at the department building in Takii.
I feel more nostalgic than the last time I was here.

The room where I lived for seven years and the streets where I used to ride my bicycle seem like memories from long ago.
Why is that? Is it because I have already graduated and moved away?
I got off at Keihan Takii Station and walked to Takii Specialty School.

On the way, I ran into Y-kun, a former junior.

Y-kun: "Hey, what's going on? What's wrong?"
Yasuoka: "No, I just have some free time."

He is one of the few people I know at Kansai Medical University.
After graduation, most of my acquaintances left the campus, and very few of them remain at the school today.

Actually, I came here today because I have something to do. I'm on a secret, top secret mission. lol

I walked through the streets of Takii. Waniko bookstore and Beniya are very nostalgic.
I'm hungry... so I bought a loaf of bread and two Umaibo sticks at Beniya and went to the South Building.
I tried to open the door, but it was already closed. I entered the hospital through the entrance, climbed up to the third floor, and went south through the connecting passage on the third floor.
"Phew~, I finally arrived! There is a reason why I went all the way to the South Building.
There is a TV in front of the sofa in the South Building. That means I can eat while watching TV in the South Building.
Eating a meal while watching TV made me feel so nostalgic. I wonder why. Why do I miss it so much?
Before I came here, I used to walk through the ward of the university hospital.
I used to go there for clinical clerkships. I get nostalgic easily, but more than that, I miss that place. Why? Why do I miss this place more than the ward?
Actually, this is my favorite place at Kansai Medical University.
I don't know why. For some reason, sitting on the sofa here makes me feel at home.
My next favorite place is the bench in front of the pilotis. I feel extremely refreshed when I sit there and drink coffee.
My next favorite place is the bench in front of the vending machines on the fourth floor of the Professional Studies building.
My next favorite place is the bench in the park in front of the North Building.

Rankings:

1. Sofa in front of the TV in the South Building
2. Bench in front of the vending machine in Piloti
3. Resting area in front of the vending machine on the 4th floor of the Professional Studies Building
4. Bench in the park in front of the North Building
5. Bench in front of the cafeteria in the Faculty of Liberal Arts

If you look at the ranking of my favorite places, you can easily see that they are all resting areas.
It is interesting to see that this ranking only reflects my personality. lol

Now that I've finished eating, I think it's time to get going.
I left the South Building and walked to my destination.

Speaking of which, today is exactly 12 years since the Great Hanshin Earthquake.
The years certainly flew by as they passed.

Twelve years ago today was the day of the great earthquake that happened when I was a sophomore in high school.
That earthquake was scary. I never want to experience it again. I walked around thinking about the Great Hanshin Earthquake 12 years ago.
The children born at that time will soon be junior high school students.

Ten years seems like a short time, but it must have been a long time ago.
I too have changed a lot in the past 10 years. The biggest change? It's my academic ability.
My academic ability 12 years ago and my academic ability now are chalk and cheese.
I didn't study at all back then. All I did was Shorinji Kempo, weight training, playing video games, and going to arcades with friends after school.
From that situation, I started studying after graduation, and the transformation I've made in the past 12 years is really amazing.
I will have to continue to do my best in various things, or rather, I will have to do my best from now on. I felt this strongly today.

JANUARY 15, 2007 : My Software Will Be Published in Magazines



January 8, 2007 : Annual Visit to Fushimi Inari Taisha Shrine

Today I made my annual first shrine visit of the new year to Fushimi Inari Taisha Shrine.
I prayed to the gods to receive 100000000000000 yen! (ROFL)

Anyway, today was... such a cold day! Too cold! The icy winter wind was blowing and it was pretty cold for me!
And what's more, the raindrops started falling, one by one...
So this year I quickly finished my visit to the shrine and went home.

January 1, 2007 : It Is 2007! Happy New Year!

The year 2007 has finally arrived! Me and my three older sisters, my nephew and my parents greeted each other while listening to the ringing bells on the television.
My goal for this year is to improve my computer and medical skills, and of course the most important goal for me this year is to pass the National Medical Practitioners Qualifying Examination!

I swear I'll definitely do my best this year!

December 31, 2006 : Here Comes the Last Day of the Year!

Finally the last day of the year is here!

Today I went to bed early in the morning and got up a few minutes after eleven in the evening.
It's amazing how long I slept!

At about 50 minutes past eleven, I started to eat a bowl of buckwheat noodles while watching the New Year unfold,
the noodles that are traditionally eaten on the eve of the New Year in Japan.

Then my sister said, "It has to be done before you see the arrival of the New Year!
"Ah, I see," was my reply, so I ate my noodles before another year began!

While I was having dinner, I heard the temple bells ringing on the television to announce the arrival of the New Year.

December 1, 2006 : My Software Will Be Published in Magazines



December 1, 2006 : My Software Will Be Published in Magazines



NOVEMBER 1, 2006 : My Software Will Be Published in Magazines





November 25, 2006 : Miracle Shot!!

A miracle happened today! As I was taking a photo, a Shinkansen train passed by at the very moment!



October 19, 2006 : I Received a Job Offer

I received a job offer. I'll start working there if I pass the national exam in February.
Tonight, I went to a restaurant with my parents to celebrate.

OCTOBER 1, 2006 : My Software Will Be Published in Magazines



SEPTEMBER 1, 2006 : My Software Will Be Published in Magazines



August 26, 2006 : Selective Examination for Medical Residents

I took the selective examination for medical residents.

From the Sofitel Hotel, walk south across the campus.

Teachers used to say to me, "You're always early on days like today."
Even in junior high and high school, I was famous for coming early only when we had fun at festivals, even though I was usually late.

"At this rate, I'll be the first one to arrive at the test site as well!"
But I relaxed and thought about it, it was a bit strange that I was the first to arrive, on the test day.
Later, it turned out that the meeting place was not here!

When I entered the Annex of Akamon General Research Building, I found many people in suits inside..... A little too many (sweat.....).
Hey, hey, hey....., are all these guys medical students? This exam, where all the candidates are medical students, looks a bit different.
Finally, the exam has begun! Let's have a look at the questions,

First half : "Read the history of the following patient and make a medical record."
The second half : "What can we conclude from the following English thesis? Give your thoughts."
It doesn't seem too difficult to me, but the amount is a bit too much in 150 minutes.

After the exam, everyone around me looks depressed, the pretty usual scenery just after the exam was over! lol

Before the interview, I walked around the campus with a guy who became my friend just before the exam.
"Where is the Yasuda Auditorium?" but it was not easy for us newcomers to find it.

After the interview, we went sightseeing around the campus and had dinner on my way home.

When we parted, he said "Please email me when you come."

Thank you for your kind words!

AUGUST 1, 2006 : My Software Will Be Published in Magazines





July 4, 2006 : Internet Accelerator

As a memento of my graduation yesterday, I developed this application within one day, which moderately speeds up the Internet.





This application manipulates MS-DOS and detects the best configurations and reflects them on the system.
The procedure of MS-DOS manipulation is done by the following functions.

Public Function ClassMemberDosReader(ByVal Command As String)

Dim OutputResults As String
Dim ProcessStartInformation As New System.Diagnostics.ProcessStartInfo

ProcessStartInformation.FileName = System.Environment.GetEnvironmentVariable("ComSpec")
ProcessStartInformation.CreateNoWindow = True
ProcessStartInformation.UseShellExecute = False
ProcessStartInformation.RedirectStandardInput = False
ProcessStartInformation.RedirectStandardOutput = True
ProcessStartInformation.Arguments = "/c " & Command
Dim PR As Process = Process.Start(ProcessStartInformation)
OutputResults = PR.StandardOutput.ReadToEnd
Return OutputResults
PR.WaitForExit()

End Function

Function DosPing(ByVal PingingBytes As Integer)

Dim x
Dim y
Dim bx As Boolean = False
x = ClassMemberDosReader("ping -f -l " & PingingBytes & " " & PingingURL)
If InStr(x, "fragmented") > 0 Then
y = "Pinging with " & PingingBytes & " bytes of data - Packet needs to be fragmented" & vbNewLine
DosPingResultValue = y
bx = True
Else
y = "Pinging with " & PingingBytes & " bytes of data - Packet needs not to be fragmented" & vbNewLine
DosPingResultValue = y
bx = False
End If

Return bx

End Function

Function DosPingWithDisplayingTextBox(ByVal PingingBytes As Integer)

Dim x
Dim y
Dim bx As Boolean = False
x = ClassMemberDosReader("ping -f -l " & PingingBytes & " " & PingingURL)
If InStr(x, "fragmented") > 0 Then
y = "Pinging with " & PingingBytes & " bytes of data - Packet needs to be fragmented" & vbNewLine
DisplayingTextBox.AppendText(y)
DosPingResultValue = y
bx = True
Else
y = "Pinging with " & PingingBytes & " bytes of data - Packet needs not to be fragmented" & vbNewLine
DisplayingTextBox.AppendText(y)
DosPingResultValue = y
bx = False
End If

Return bx

End Function

Function MeasureStep10(ByVal StartPacketSize As Integer)

Dim x

x = StartPacketSize

Select Case DosPing(x)
Case Is = True
Do Until DosPing(x) = False
x = x - 10
Loop
Return x
Exit Select
Case Is = False
Do Until DosPing(x) = True
x = x + 10
Loop
Return x - 10
Exit Select
End Select

End Function

Function MeasureStep10WithDisplayingTextBox(ByVal StartPacketSize As Integer)

Dim x As Integer

x = StartPacketSize

Application.DoEvents()

Select Case Me.DosPingWithDisplayingTextBox(x)
Case Is = True
Do Until DosPing(x) = False
Application.DoEvents()
x = x - 10
Loop
Return x
Exit Select
Case Is = False
Do Until Me.DosPingWithDisplayingTextBox(x) = True
Application.DoEvents()
x = x + 10
Loop
Return x - 10
Exit Select
End Select

End Function

Function MeasureStep1(ByVal StartPacketSize As Integer)

Dim x
x = StartPacketSize

Select Case DosPing(x)
Case Is = True
Do Until DosPing(x) = False
x = x - 1
Loop
Return x
Exit Select
Case Is = False
Do Until DosPing(x) = True
x = x + 1
Loop
Return x - 1
Exit Select
End Select

End Function

Function MeasureStep1WithDisplayingTextBox(ByVal StartPacketSize As Integer)

Dim x
x = StartPacketSize

Select Case DosPing(x)
Case Is = True
Do Until Me.DosPingWithDisplayingTextBox(x) = False
Application.DoEvents()
x = x - 1
Loop
Return x
Exit Select
Case Is = False
Do Until Me.DosPingWithDisplayingTextBox(x) = True
Application.DoEvents()
x = x + 1
Loop
Return x - 1
Exit Select
End Select

End Function

Public Function MeasureAppropriateMTU()

Application.DoEvents()

Dim x
x = MeasureStep10(1470)
x = MeasureStep1(x + 1)

AppropriateMTU = x + 28

End Function

Public Function GetRTTAverage() As Integer

Dim sx As String
Dim x, y, z, w As Integer

w = 20

For x = 0 To w

sx = Me.ClassMemberDosReader("ping" & " " & PingingURL)

y = CType(GetMediumString(sx, "Average = ", "ms"), Integer)

Me.DisplayingTextBox.AppendText("Minimum" & Split(Split(sx, "milli-seconds:").GetValue(1), "Minimum").GetValue(1))

z = z + y

Next

x = z / (w + 1)

Me.RTTAverage = x

Return x

End Function

Public Function GetRWIN() As Integer

Dim x, y As Integer

x = Me.BandWidth * 1024 * Me.RTTAverage * 3 \ 16
y = x \ Me.MSS + 1

Me.AppropriateRWIN = Me.MSS * y

Return Me.AppropriateRWIN

End Function

Sub SetSettingToRegistry_NT_2000_Xp()

Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces", "MTU", Me.AppropriateMTU)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces", "MTU", Me.AppropriateMTU)

Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management", "DisablePagingExecutive", 1)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management", "DisablePagingExecutive", 1)

Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters", "DefaultTTL", Me.DefaultTTL)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters", "EnablePMTUBHDetect", Me.EnablePMTUBHDetect)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters", "EnablePMTUDiscovery", Me.EnablePMTUDiscovery)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters", "GlobalMaxTcpWindowSize", Me.GlobalMaxTcpWindowSize)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters", "SackOpts", Me.SackOpts)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters", "Tcp1323Opts", Me.Tcp1323Opts)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters", "TcpMaxDupAcks", Me.TcpMaxDupAcks)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters", "TcpWindowSize", Me.TcpWindowSize)

Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "DefaultTTL", Me.DefaultTTL)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "EnablePMTUBHDetect", Me.EnablePMTUBHDetect)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "EnablePMTUDiscovery", Me.EnablePMTUDiscovery)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "GlobalMaxTcpWindowSize", Me.GlobalMaxTcpWindowSize)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "SackOpts", Me.SackOpts)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "Tcp1323Opts", Me.Tcp1323Opts)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "TcpMaxDupAcks", Me.TcpMaxDupAcks)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "TcpWindowSize", Me.TcpWindowSize)

Dim sx() As String
Dim sy As String
Dim x As Integer

sx = Me.GetSubKey("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\NetworkCards")

For x = 0 To sx.Length - 1
Try
sy = Me.GetStringValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\NetworkCards\" & sx(x), "ServiceName")
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\" & sy, "MTU", Me.AppropriateMTU)
Catch ex As Exception

End Try
Next

If Me.OperatingSystem = "XP" Then
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ndiswan\Parameters\Protocols\0", "PPPProtocolType", 33)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ndiswan\Parameters\Protocols\0", "ProtocolType", 2048)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ndiswan\Parameters\Protocols\0", "ProtocolMTU", Me.AppropriateMTU)
End If

End Sub

Sub SetSettingToRegistry_98_Me()

Dim MaxMTU, PMTUDiscovery, DefaultRcvWindow, DefaultTTL9x, DefaultMSS, DefaultTOS, PMTUBlackHoleDetect, SizeSmallMediumLarge, Tcp1323Opts9x, SackOpts9x As String

MaxMTU = CType(Me.AppropriateMTU, String)
PMTUDiscovery = CType(Me.EnablePMTUDiscovery, String)
DefaultRcvWindow = CType(Me.AppropriateRWIN, String)
DefaultTTL9x = CType(Me.DefaultTTL, String)
DefaultMSS = CType(Me.AppropriateMTU - 40, String)
DefaultTOS = "8"
PMTUBlackHoleDetect = "0"
SizeSmallMediumLarge = "3"
Tcp1323Opts9x = CType(Me.Tcp1323Opts, String)
SackOpts9x = CType(Me.SackOpts, String)

Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\cachesize", "@", "0")
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\cachesize", "default", "64")

Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0000", "MaxMTU", MaxMTU)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0001", "MaxMTU", MaxMTU)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0002", "MaxMTU", MaxMTU)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0003", "MaxMTU", MaxMTU)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0004", "MaxMTU", MaxMTU)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0005", "MaxMTU", MaxMTU)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0006", "MaxMTU", MaxMTU)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0007", "MaxMTU", MaxMTU)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0008", "MaxMTU", MaxMTU)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0009", "MaxMTU", MaxMTU)

Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "DefaultTTL", DefaultTTL9x)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "PMTUDiscovery", PMTUDiscovery)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "MaxMTU", MaxMTU)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "KeepAliveInterval", "100000")
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "SessionKeepAlive", "120000")
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "DefaultRcvWindow", DefaultRcvWindow)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "DefaultMSS", DefaultMSS)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "DefaultTOS", DefaultTOS)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "PMTUBlackHoleDetect", PMTUBlackHoleDetect)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "Size/Small/Medium/Large", SizeSmallMediumLarge)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "MaxDupAcks", Me.TcpMaxDupAcks)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "Tcp1323Opts", Tcp1323Opts9x)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "SackOpts", SackOpts9x)

Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP\Parameters", "MaxDupAcks", Me.TcpMaxDupAcks)
Me.SetValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP\Parameters", "Tcp1323Opts", Tcp1323Opts9x)

End Sub

Public Function GotoDefaultSettingOfRegistry_NT_2000_Xp()

Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces", "MTU")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces", "MTU")

Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management", "DisablePagingExecutive", 0)
Me.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management", "DisablePagingExecutive", 0)

Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters", "DefaultTTL")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters", "EnablePMTUBHDetect")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters", "EnablePMTUDiscovery")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters", "GlobalMaxTcpWindowSize")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters", "SackOpts")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters", "Tcp1323Opts")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters", "TcpMaxDupAcks")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters", "TcpWindowSize")

Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "DefaultTTL")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "EnablePMTUBHDetect")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "EnablePMTUDiscovery")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "GlobalMaxTcpWindowSize")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "SackOpts")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "Tcp1323Opts")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "TcpMaxDupAcks")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "TcpWindowSize")

Dim sx() As String
Dim sy As String
Dim x As Integer

sx = Me.GetSubKey("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\NetworkCards")

For x = 0 To sx.Length - 1
Try
sy = Me.GetStringValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\NetworkCards\" & sx(x), "ServiceName")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\" & sy, "MTU")
Catch ex As Exception

End Try
Next

If Me.OperatingSystem = "XP" Then
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ndiswan\Parameters\Protocols\0", "PPPProtocolType")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ndiswan\Parameters\Protocols\0", "ProtocolType")
Me.DeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ndiswan\Parameters\Protocols\0", "ProtocolMTU")
End If

End Function

Public Function GotoDefaultSettingOfRegistry_98_Me()

Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\cachesize", "@")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\cachesize", "default")

Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0000", "MaxMTU")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0001", "MaxMTU")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0002", "MaxMTU")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0003", "MaxMTU")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0004", "MaxMTU")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0005", "MaxMTU")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0006", "MaxMTU")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0007", "MaxMTU")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0008", "MaxMTU")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0009", "MaxMTU")

Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "DefaultTTL")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "PMTUDiscovery")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "MaxMTU")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "KeepAliveInterval")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "SessionKeepAlive")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "DefaultRcvWindow")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "DefaultMSS")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "DefaultTOS")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "PMTUBlackHoleDetect")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "Size/Small/Medium/Large")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "MaxDupAcks")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "Tcp1323Opts")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP", "SackOpts")

Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP\Parameters", "MaxDupAcks")
Me.DeleteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP\Parameters", "Tcp1323Opts")

End Function

Private Function GetOperatingSystem()

Dim OS As System.OperatingSystem = System.Environment.OSVersion

Select Case OS.Platform
Case PlatformID.Win32Windows
If OS.Version.Major >= 4 Then
Select Case OS.Version.Minor
Case 0
Me.OperatingSystem = "95"
Me.OperatingSystemTypeNT = False
Case 10
Me.OperatingSystem = "98"
Me.OperatingSystemTypeNT = False
Case 90
Me.OperatingSystem = "Me"
Me.OperatingSystemTypeNT = False
End Select
End If
Case PlatformID.Win32NT
Select Case OS.Version.Major
Case 3
Select Case OS.Version.Minor
Case 0
Me.OperatingSystem = "NT"
Me.OperatingSystemTypeNT = True
Case 1
Me.OperatingSystem = "NT"
Me.OperatingSystemTypeNT = True
Case 5
Me.OperatingSystem = "NT"
Me.OperatingSystemTypeNT = True
Case 51
Me.OperatingSystem = "NT"
Me.OperatingSystemTypeNT = True
End Select
Case 4
If OS.Version.Minor = 0 Then
Me.OperatingSystem = "NT"
Me.OperatingSystemTypeNT = True
End If
Case 5
If OS.Version.Minor = 0 Then
Me.OperatingSystem = "2000"
Me.OperatingSystemTypeNT = True
ElseIf OS.Version.Minor = 1 Then
Me.OperatingSystem = "XP"
Me.OperatingSystemTypeNT = True
End If
End Select
Case PlatformID.Win32S
Me.OperatingSystem = "32s"
Case Else
Me.OperatingSystem = "Unknown"
End Select

End Function

Public Function GetNetWorkAdapter() As Hashtable

Dim sx(), sy() As String
Dim x As Integer

Dim HT As Hashtable
HT = New Hashtable

sx = Me.GetSubKey("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\NetworkCards")

For x = 0 To sx.Length - 1
Try
HT.Add(Me.GetStringValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\NetworkCards\" & sx(x), "Description"), Me.GetStringValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\NetworkCards\" & sx(x), "ServiceName"))
Catch ex As Exception

End Try
Next

Return HT

End Function

Public Function GetSubKey(ByVal KeyName As String) As String()

Dim key As RegistryKey
Dim strValue As String

Dim ProKeyName, SubKeyName As String
Dim x As Integer

ProKeyName = Split(KeyName, "\").GetValue(0)

For x = 1 To CountString(KeyName, "\")
SubKeyName = SubKeyName & Split(KeyName, "\").GetValue(x) & "\"
Next

If SubKeyName.EndsWith("\") = True Then
SubKeyName = SubKeyName.Remove(SubKeyName.Length - 1, 1)
End If

Select Case ProKeyName
Case Is = "HKEY_CLASSES_ROOT"
key = Registry.ClassesRoot
Exit Select
Case Is = "HKEY_CURRENT_USER"
key = Registry.CurrentUser
Exit Select
Case Is = "HKEY_LOCAL_MACHINE"
key = Registry.LocalMachine
Exit Select
Case Is = "HKEY_USERS"
key = Registry.Users
Exit Select
Case Is = "HKEY_CURRENT_CONFIG"
key = Registry.CurrentConfig
Exit Select
End Select

Try
key = key.OpenSubKey(SubKeyName)
GetSubKey = key.GetSubKeyNames()
key.Close()
Catch ex As Exception

End Try

End Function

Public Function SetValue(ByVal KeyName As String, ByVal ValueName As String, ByVal SettingValue As Object)

Dim key As RegistryKey
Dim strValue As String

Dim ProKeyName, SubKeyName As String
Dim x As Integer

ProKeyName = Split(KeyName, "\").GetValue(0)

For x = 1 To CountString(KeyName, "\")
SubKeyName = SubKeyName & Split(KeyName, "\").GetValue(x) & "\"
Next

If SubKeyName.EndsWith("\") = True Then
SubKeyName = SubKeyName.Remove(SubKeyName.Length - 1, 1)
End If

Select Case ProKeyName
Case Is = "HKEY_CLASSES_ROOT"
key = Registry.ClassesRoot
Exit Select
Case Is = "HKEY_CURRENT_USER"
key = Registry.CurrentUser
Exit Select
Case Is = "HKEY_LOCAL_MACHINE"
key = Registry.LocalMachine
Exit Select
Case Is = "HKEY_USERS"
key = Registry.Users
Exit Select
Case Is = "HKEY_CURRENT_CONFIG"
key = Registry.CurrentConfig
Exit Select
End Select

Try
key = key.CreateSubKey(SubKeyName)
key.SetValue(ValueName, SettingValue)
key.Close()
Catch ex As Exception

End Try

End Function

Public Function DeleteValue(ByVal KeyName As String, ByVal ValueName As String)

Dim key As RegistryKey
Dim strValue As String

Dim ProKeyName, SubKeyName As String
Dim x As Integer

ProKeyName = Split(KeyName, "\").GetValue(0)

For x = 1 To CountString(KeyName, "\")
SubKeyName = SubKeyName & Split(KeyName, "\").GetValue(x) & "\"
Next

If SubKeyName.EndsWith("\") = True Then
SubKeyName = SubKeyName.Remove(SubKeyName.Length - 1, 1)
End If

Select Case ProKeyName
Case Is = "HKEY_CLASSES_ROOT"
key = Registry.ClassesRoot
Exit Select
Case Is = "HKEY_CURRENT_USER"
key = Registry.CurrentUser
Exit Select
Case Is = "HKEY_LOCAL_MACHINE"
key = Registry.LocalMachine
Exit Select
Case Is = "HKEY_USERS"
key = Registry.Users
Exit Select
Case Is = "HKEY_CURRENT_CONFIG"
key = Registry.CurrentConfig
Exit Select
End Select

Try
key = key.CreateSubKey(SubKeyName)
key.DeleteValue(ValueName)
key.Close()
Catch ex As Exception

End Try

End Function

Public Function GetValue(ByVal KeyName As String, ByVal ValueName As String) As Object

Dim key As RegistryKey
Dim Value As Object

Dim ProKeyName, SubKeyName As String
Dim x As Integer

ProKeyName = Split(KeyName, "\").GetValue(0)

For x = 1 To CountString(KeyName, "\")
SubKeyName = SubKeyName & Split(KeyName, "\").GetValue(x) & "\"
Next

If SubKeyName.EndsWith("\") = True Then
SubKeyName = SubKeyName.Remove(SubKeyName.Length - 1, 1)
End If

Select Case ProKeyName
Case Is = "HKEY_CLASSES_ROOT"
key = Registry.ClassesRoot
Exit Select
Case Is = "HKEY_CURRENT_USER"
key = Registry.CurrentUser
Exit Select
Case Is = "HKEY_LOCAL_MACHINE"
key = Registry.LocalMachine
Exit Select
Case Is = "HKEY_USERS"
key = Registry.Users
Exit Select
Case Is = "HKEY_CURRENT_CONFIG"
key = Registry.CurrentConfig
Exit Select
End Select

Try
key = key.OpenSubKey(SubKeyName, False)
Value = key.GetValue(ValueName)
key.Close()
Catch ex As Exception

End Try

Return Value

End Function

Public Function GetStringValue(ByVal KeyName As String, ByVal ValueName As String) As String

Dim key As RegistryKey
Dim strValue As String

Dim ProKeyName, SubKeyName As String
Dim x As Integer

ProKeyName = Split(KeyName, "\").GetValue(0)

For x = 1 To CountString(KeyName, "\")
SubKeyName = SubKeyName & Split(KeyName, "\").GetValue(x) & "\"
Next

If SubKeyName.EndsWith("\") = True Then
SubKeyName = SubKeyName.Remove(SubKeyName.Length - 1, 1)
End If

Select Case ProKeyName
Case Is = "HKEY_CLASSES_ROOT"
key = Registry.ClassesRoot
Exit Select
Case Is = "HKEY_CURRENT_USER"
key = Registry.CurrentUser
Exit Select
Case Is = "HKEY_LOCAL_MACHINE"
key = Registry.LocalMachine
Exit Select
Case Is = "HKEY_USERS"
key = Registry.Users
Exit Select
Case Is = "HKEY_CURRENT_CONFIG"
key = Registry.CurrentConfig
Exit Select
End Select

Try
key = key.OpenSubKey(SubKeyName, False)
strValue = CType(key.GetValue(ValueName), String)
key.Close()
Catch ex As Exception

End Try

Return strValue

End Function

Public Function SetStringValue(ByVal KeyName As String, ByVal ValueName As String, ByVal SettingValue As String)

Dim key As RegistryKey
Dim strValue As String

Dim ProKeyName, SubKeyName As String
Dim x As Integer

ProKeyName = Split(KeyName, "\").GetValue(0)

For x = 1 To CountString(KeyName, "\")
SubKeyName = SubKeyName & Split(KeyName, "\").GetValue(x) & "\"
Next

If SubKeyName.EndsWith("\") = True Then
SubKeyName = SubKeyName.Remove(SubKeyName.Length - 1, 1)
End If

Select Case ProKeyName
Case Is = "HKEY_CLASSES_ROOT"
key = Registry.ClassesRoot
Exit Select
Case Is = "HKEY_CURRENT_USER"
key = Registry.CurrentUser
Exit Select
Case Is = "HKEY_LOCAL_MACHINE"
key = Registry.LocalMachine
Exit Select
Case Is = "HKEY_USERS"
key = Registry.Users
Exit Select
Case Is = "HKEY_CURRENT_CONFIG"
key = Registry.CurrentConfig
Exit Select
End Select

Try
key = key.CreateSubKey(SubKeyName)
key.SetValue(ValueName, SettingValue)
key.Close()
Catch ex As Exception

End Try

End Function



July 3, 2006 : From My Graduation Album!!

From my graduation album!!



The years leading up to graduation were hard for me, especially from 4th to 6th grade, because I had a lot of other things to do besides studying.

All in all, my school days weren't perfect for me because my graduation was delayed and my graduation ceremony was lonely.

But it's okay because at least I graduated.

And now all I have to do is pass the National Examination, which will be held in FEBRUARY next year.

JULY 2, 2006 : My Software Will Be Published in Magazines



JULY 1, 2006 : My Software Will Be Published in Magazines





JUNE 26, 2006 : My Software Will Be Published in Magazines



June 19, 2006 : Invitation to Apple Inc. Worldwide Developers Conference

The email says that the Apple Worldwide Developers Conference will be held in San Francisco from August 7 to 11.
Well, I've got a lot of things to do, and if I go there now and say "San~Francisco~~~" people around me will wonder what's in my head. lol.

I'd like to see what it's like. Maybe this is something like computer science students going with their professors?
In medical school, we go to academic conferences with our professors.
If that's the case, I have no acquaintances in the field of computer science, so I'm nervous to go to the conference alone. lol
If I had learned from someone, I might have been able to go with them.


Monday, May 8, 2006 : After a Long Time I Visited Kansai Medical University Again

I went to Kansai Medical University to retake the exam for graduation.

Last year, I didn't pass the test in the field of plastic surgery.
But I will definitely pass this time!

I found out today that there seems to be no one I know left at the university.
I felt quite lonely that everyone I knew from this place had left so soon.

I ate in the South Building while watching TV and sitting on the sofa, the same thing I used to do in this place.

"Oh, very good old memories.... I used to sit here and have lunch so often."

Then I went to another place and sat on the bench and relaxed with a cup of coffee.

And then I looked up and saw the tall building where I used to take lessons.

I remember when I was a sophomore in this university,
I often sat here with my friends to relax,
and told each other that if we got good grades we would go upstairs,
and that it would take a long time for all of us to graduate from this university.

This is the place where I spent my twenties,
and the friends who remind me of that time are mostly in other places now,
so these stories sound very nostalgic to me.

Time has passed, and I feel that this place only brings back poignant memories.
which gives me the motivation to keep going.

APRIL 15, 2006 : My Software Will Be Published in Magazines





JANUARY 5, 2006 : My Software Will Be Published in Magazines



Tuesday, January 3, 2006 : Fushimi Inari-taisha Shrine for Hatsumode

We went to Fushimi Inari-taisha Shrine for Hatsumode.
It's still a big hit among us to take a lot of pictures together with my sisters.
We came back with a lot of photos. lol

Sunday, January 1, 2006 : Happy New Year 2006!

Happy New Year 2006 to all of you!

Finally! Here comes the start of 2006, the time when I was riding the Keihan Line train on my way home.
It was a pity that I didn't pass the final exam, but there was no point in complaining.
I was working as a software developer and earning money for my school and family expenses,
so sometimes I found it difficult to study for the exams because I was more tired than others, and that could lead to this sad case.

In fact, I was shocked when I couldn't find my name on the list of graduates, but soon I put it out of my mind and just acted normally.
After all, there was nothing I could do but wait for the next opportunity and prepare for success in the future.
Even though I feel that I'm not as energetic as I used to be,
I believe that as long as I do my best, my life will be brighter.

This year, I will focus on improving both my computer and medical skills, and I'll do my best to achieve it this year!

DECEMBER 20, 2005 : My Software Will Be Published in Magazines



DECEMBER 20, 2005 : My Software Will Be Published in Magazines



DECEMBER 19, 2005 : My Software Will Be Published in Magazines



Friday, November 18, 2005 : The Last Day of the Comprehension Exams

Today is the last day of the three-day comprehension exams.
I am just soooo happy because it is finally over!

Wednesday, November 16, 2005 : The Beginning of the Comprehension Exams

It is the beginning of the comprehension exams.
Phew... so tired... so tired that it feels like I am running out of energy.

October 24, 2005 : In the Midst of a Series of Final Exams, I Released the Awesome Image Viewer

There are so many subjects I have to pass, it's more than 20.

From internal medicine, psychiatry, ophthalmology, plastic surgery, orthopedic surgery to heart surgery..... there are so many specialties, but we study them all during student time.
So psychiatrist wannabes can't just take psychiatry exams, physician wannabes can't just take internal medicine exams, we have to study and pass all of them.

By the way, today I made a new software at the time of this turbulent period. lol
Some might say that it's not good to spend time on this during this busy time, but it's okay for me because I made it in one day. lol
This application, the image viewer, allows us to view images in HD, as well as images on the Internet,
with your specified conditions such as date, keywords (search engines), width, height, size or extensions.



The source code of this viewer is shown below.

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Dim x
Dim y
Dim z

Form = Me
Me.Text = SoftwareName

If System.IO.Directory.Exists(GetAppPath() & "\Save") = False Then
System.IO.Directory.CreateDirectory(GetAppPath() & "\Save")
End If

If System.IO.Directory.Exists(GetAppPath() & "\Download") = False Then
System.IO.Directory.CreateDirectory(GetAppPath() & "\Download")
End If

Dim CX As ClassXML
If System.IO.File.Exists(Fname) = False Then
Try
CX = New ClassXML
CX.InputFile = Fname
CX.OutputFile = Fname
CX.InitialDocumentElement = SoftwareName
CX.GenerateInitialFile()
CX.FindParentsElementAndAddNewChildElement(SoftwareName, "RootDirectory", System.Environment.GetFolderPath(Environment.SpecialFolder.Desktop))
CX.FindParentsElementAndAddNewChildElement(SoftwareName, "SaveRoot", GetAppPath() & "\Save")
CX.FindParentsElementAndAddNewChildElement(SoftwareName, "DownloadRoot", GetAppPath() & "\Download")
CX.FindParentsElementAndAddNewChildElement(SoftwareName, "DownloadLevel", "0")
CX.FindParentsElementAndAddNewChildElement(SoftwareName, "ExtractSettings", String.Empty)
CX.FindAllParentsElementAndAddNewChildElement("ExtractSettings", "Date", "Nothing")
CX.FindAllParentsElementAndAddNewChildElement("ExtractSettings", "Height", "Nothing")
CX.FindAllParentsElementAndAddNewChildElement("ExtractSettings", "Width", "Nothing")
CX.FindAllParentsElementAndAddNewChildElement("ExtractSettings", "Size", "Nothing")
CX.FindParentsElementAndAddNewChildElement(SoftwareName, "Extensions", String.Empty)
CX.FindParentsElementAndAddNewChildElement("Extensions", "ExtensionValue", "jpg")
CX.FindParentsElementAndAddNewChildElement("Extensions", "ExtensionValue", "gif")
CX.FindParentsElementAndAddNewChildElement("Extensions", "ExtensionValue", "bmp")
Catch ex As Exception
MOK("An error occured. The program will be shut down.")
End
End Try
Else
If System.IO.File.Exists(VCF) = False Then
Try
Kill(Fname)
Catch ex As Exception
MOK("An error occured. The program will be shut down.")
End
End Try
Try
CX = New ClassXML
CX.InputFile = Fname
CX.OutputFile = Fname
CX.InitialDocumentElement = SoftwareName
CX.GenerateInitialFile()
CX.FindParentsElementAndAddNewChildElement(SoftwareName, "RootDirectory", System.Environment.GetFolderPath(Environment.SpecialFolder.Desktop))
CX.FindParentsElementAndAddNewChildElement(SoftwareName, "SaveRoot", GetAppPath() & "\Save")
CX.FindParentsElementAndAddNewChildElement(SoftwareName, "DownloadRoot", GetAppPath() & "\Download")
CX.FindParentsElementAndAddNewChildElement(SoftwareName, "DownloadLevel", "0")
CX.FindParentsElementAndAddNewChildElement(SoftwareName, "ExtractSettings", String.Empty)
CX.FindAllParentsElementAndAddNewChildElement("ExtractSettings", "Date", "Nothing")
CX.FindAllParentsElementAndAddNewChildElement("ExtractSettings", "Height", "Nothing")
CX.FindAllParentsElementAndAddNewChildElement("ExtractSettings", "Width", "Nothing")
CX.FindAllParentsElementAndAddNewChildElement("ExtractSettings", "Size", "Nothing")
CX.FindParentsElementAndAddNewChildElement(SoftwareName, "Extensions", String.Empty)
CX.FindParentsElementAndAddNewChildElement("Extensions", "ExtensionValue", "jpg")
CX.FindParentsElementAndAddNewChildElement("Extensions", "ExtensionValue", "gif")
CX.FindParentsElementAndAddNewChildElement("Extensions", "ExtensionValue", "bmp")
FPrint(VCF, "2.00")
Catch ex As Exception
MOK("An error occured. The program will be shut down.")
End
End Try
End If
End If

ListView1.HoverSelection = True
ListView1.Activation = ItemActivation.OneClick

AddHandler ListView1.ItemActivate, _
AddressOf ListView1_ItemActivate

CX = New ClassXML
CX.InputFile = Fname
CX.OutputFile = Fname

Me.TextBox1.Text = CX.GetXMLValue("RootDirectory")
Me.ListViewMode()

TreadCheckSpideringProcess = New Threading.Thread(AddressOf CheckSpideringProcess)
TreadCheckSpideringProcess.Start()

ThreadAddImageToListView = New Threading.Thread(AddressOf AddImageToListView)
ThreadAddImageToListView.Start()

End Sub

Public Shared Function GetSubDirectory(ByVal lb As TreeView, ByVal d As System.IO.DirectoryInfo) As TreeView

Dim fCount As Long = 0
Dim dis As System.IO.DirectoryInfo() = d.GetDirectories()
Dim di As System.IO.DirectoryInfo

For Each di In dis
lb.Nodes.Add(di.FullName)
Next di

Return lb

End Function

Private Sub MenuItem3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem3.Click
End
End Sub

Private Sub MenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem2.Click
FSHPP()
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.FolderBrowserDialog1.SelectedPath = System.Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
Dim x As New ClassXML
If Me.FolderBrowserDialog1.ShowDialog = DialogResult.OK Then
Me.TextBox1.Text = Me.FolderBrowserDialog1.SelectedPath.ToString
x.InputFile = Fname
x.OutputFile = Fname
x.SetXMLValue("RootDirectory", Me.FolderBrowserDialog1.SelectedPath.ToString)
ThreadAddImageToListView = New Threading.Thread(AddressOf AddImageToListView)
ThreadAddImageToListView.Start()
End If
End Sub

Private Function ThumbnailConverter(ByVal image As Image, ByVal w As Integer, ByVal h As Integer) As Image

Dim canvas As New Bitmap(w, h)

Dim g As Graphics = Graphics.FromImage(canvas)

Dim fw As Double = CDbl(w) / CDbl(image.Width)
Dim fh As Double = CDbl(h) / CDbl(image.Height)
Dim scale As Double = Math.Min(fw, fh)

Dim w2 As Integer = CInt(image.Width * scale)
Dim h2 As Integer = CInt(image.Height * scale)

g.DrawImage(image, (w - w2) \ 2, (h - h2) \ 2, w2, h2)
g.Dispose()

Return canvas

End Function

Sub AddImageToListView()

ThreadEndFlag = False

Dim xa As New ClassRegularExpression
If Me.TextBox1.Text = String.Empty Or xa.ConfirmURL(Me.TextBox1.Text) = True Then
Exit Sub
End If
Application.DoEvents()
Try
Me.ListViewMode()
Me.ListView1.Items.Clear()
Me.ImageList1.Images.Clear()

Dim SaveDir As String = GetXMLValue(Fname, "RootDirectory")
Dim imageDir As String = SaveDir
Dim ImageFiles As String

Me.TextBox1.Text = imageDir

ImageList1.ImageSize = New Size(ImageWidth, ImageHeight)
ListView1.LargeImageList = ImageList1

Dim i As Integer
Dim j As Integer = 0

Dim x As New ClassXML
Dim y As New ListBox
Dim z As Integer

x.InputFile = Fname
y = x.SelectNodeAndGetAllOfItsChildElementsInnerTextAndPutItIntoListbox("Extensions")

Dim FI As FileInfo
Dim BM As Bitmap
Dim original As Image
Dim thumbnail As Image
For z = 0 To y.Items.Count - 1
For Each ImageFiles In System.IO.Directory.GetFiles(imageDir, "*." & y.Items.Item(z))
If ThreadEndFlag = True Then
Exit Sub
End If
Try
BM = BM.FromFile(ImageFiles)
original = BM
thumbnail = ThumbnailConverter(original, ImageWidth, ImageHeight)
ImageList1.Images.Add(thumbnail)
ListView1.Items.Add(ImageFiles, j)
j = j + 1
Me.Label2.Text = "Image files : " & Me.ListView1.Items.Count
Catch ex As Exception

End Try
Next
Next

Catch ex As Exception

End Try

Me.Label2.Text = "Image files : " & Me.ListView1.Items.Count

ThreadEndFlag = True

Try
ThreadAddImageToListView.Abort()
Catch ex As Exception

End Try

End Sub

Sub AddImageToListViewFromSaveRoot()

ThreadEndFlag = False

Application.DoEvents()
Try
Me.ListViewMode()
Me.ListView1.Items.Clear()
Me.ImageList1.Images.Clear()
Dim SaveDir As String = GetXMLValue(Fname, "SaveRoot")
Dim imageDir As String = SaveDir
Dim ImageFiles As String

Me.TextBox1.Text = imageDir

ImageList1.ImageSize = New Size(ImageWidth, ImageHeight)
ListView1.LargeImageList = ImageList1

Dim i As Integer
Dim j As Integer = 0

Dim x As New ClassXML
Dim y As New ListBox
Dim z As Integer

x.InputFile = Fname
y = x.SelectNodeAndGetAllOfItsChildElementsInnerTextAndPutItIntoListbox("Extensions")

Dim FI As FileInfo
Dim BM As Bitmap
Dim original As Image
Dim thumbnail As Image
For z = 0 To y.Items.Count - 1
For Each ImageFiles In System.IO.Directory.GetFiles(imageDir, "*." & y.Items.Item(z))
If ThreadEndFlag = True Then
Exit Sub
End If
Try
BM = BM.FromFile(ImageFiles)
original = BM
thumbnail = ThumbnailConverter(original, ImageWidth, ImageHeight)
ImageList1.Images.Add(thumbnail)
ListView1.Items.Add(ImageFiles, j)
j = j + 1
Me.Label2.Text = "Image files : " & Me.ListView1.Items.Count
Catch ex As Exception

End Try
Next
Next

Catch ex As Exception

End Try

Me.Label2.Text = "Image files : " & Me.ListView1.Items.Count

ThreadEndFlag = True

Try
ThreadAddImageToListViewFromSaveRoot.Abort()
Catch ex As Exception

End Try

End Sub

Sub AddImageToListViewFromDownloadRoot()

ThreadEndFlag = False

Application.DoEvents()

Me.ListViewMode()
Me.ListView1.Items.Clear()
Me.ImageList1.Images.Clear()
Dim SaveDir As String = GetXMLValue(Fname, "DownloadRoot")
Dim imageDir As String = SaveDir
Dim ImageFiles As String

Me.TextBox1.Text = imageDir

ImageList1.ImageSize = New Size(ImageWidth, ImageHeight)
ListView1.LargeImageList = ImageList1

Dim i As Integer
Dim j As Integer = 0

Dim x As New ClassXML
Dim y As New ListBox
Dim z As Integer

x.InputFile = Fname
y = x.SelectNodeAndGetAllOfItsChildElementsInnerTextAndPutItIntoListbox("Extensions")

Dim FI As FileInfo
Dim BM As Bitmap
Dim original As Image
Dim thumbnail As Image
For z = 0 To y.Items.Count - 1
For Each ImageFiles In System.IO.Directory.GetFiles(imageDir, "*." & y.Items.Item(z))
If ThreadEndFlag = True Then
Exit Sub
End If
Try
BM = BM.FromFile(ImageFiles)
original = BM
thumbnail = ThumbnailConverter(original, ImageWidth, ImageHeight)
ImageList1.Images.Add(thumbnail)
ListView1.Items.Add(ImageFiles, j)
j = j + 1
Me.Label2.Text = "Image files : " & Me.ListView1.Items.Count
Catch ex As Exception

End Try
Next
Next

Me.Label2.Text = "Image files : " & Me.ListView1.Items.Count

ThreadEndFlag = True

Try
ThreadAddImageToListViewFromDownloadRoot.Abort()
Catch ex As Exception

End Try

End Sub

Private Sub ListView1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListView1.DoubleClick

Dim x As Bitmap
Dim y As Image

x = Bitmap.FromFile(Me.ListView1.FocusedItem.Text)
y = x
Me.PictureBox1.Image = y
Me.PictureMode()

End Sub

Private Sub ListView1_ItemActivate(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListView1.ItemActivate

End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Me.TextBox1.Text = System.Environment.GetFolderPath(Environment.SpecialFolder.InternetCache)
End Sub

Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged

End Sub

Private Sub MenuItem4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem4.Click
Dim x As New Form2
x.ShowDialog()
End Sub

Private Sub MenuItem8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem8.Click
Dim x As New Form3
x.ShowDialog()
End Sub

Private Sub Form1_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing
End
End Sub

Public Sub ExtractImages()

If System.IO.Directory.Exists(Me.TextBox1.Text) = False Then
MessageBox.Show("Specified directory not found.", "Notice", MessageBoxButtons.OK)
Exit Sub
End If

ThreadEndFlag = False

Dim intx As Integer
Dim inty As Integer
Dim LV1() As String

ReDim LV1(Me.ListView1.Items.Count)
For intx = 0 To Me.ListView1.Items.Count - 1
LV1(intx) = Me.ListView1.Items.Item(intx).SubItems.Item(0).Text
Next

inty = Me.ListView1.Items.Count

Me.ListView1.Items.Clear()

Dim x As String
Dim y As ListBox
Dim z As Integer
Dim CountValue As Decimal

y = New ListBox

Dim CXML As ClassXML
CXML = New ClassXML
CXML.InputFile = Fname

Dim CFI As ClassFileInformation
CFI = New ClassFileInformation

y = CXML.SelectNodeAndGetAllOfItsChildElementsInnerTextAndPutItIntoListbox("Extensions")

Me.ImageList1.Images.Clear()

ImageList1.ImageSize = New Size(ImageWidth, ImageHeight)
ListView1.LargeImageList = ImageList1

Dim bx As Boolean = True

Dim FlagDate As Short = 0
Dim FlagSize As Short = 0
Dim FlagWidth As Short = 0
Dim FlagHeight As Short = 0

If CXML.GetXMLValue("Date") <> "Nothing" Then
FlagDate = 1
End If
If CXML.GetXMLValue("Size") <> "Nothing" Then
FlagSize = 1
End If
If CXML.GetXMLValue("Width") <> "Nothing" Then
FlagWidth = 1
End If
If CXML.GetXMLValue("Height") <> "Nothing" Then
FlagHeight = 1
End If

Dim OriginalImage As Image
Dim ThumbnailImage As Image

CountValue = 0
'For z = 0 To y.Items.Count - 1
'For Each x In System.IO.Directory.GetFiles(Me.TextBox1.Text, "*." & y.Items.Item(z))
For intx = 0 To inty - 1
If ThreadEndFlag = True Then
Exit Sub
End If
Application.DoEvents()
Try
x = LV1(intx)
DW(x)
bx = True
If FlagDate = 1 And bx = True Then
If CFI.JudgeWhetherFilesLastWrittenDayStringAreBetweenTwoDayString(x, Split(CXML.GetXMLValue("Date"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Date"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If FlagSize = 1 And bx = True Then
If CFI.JudgeWhetherJudgingFileSizeIsBetweenTwoSize(x, Split(CXML.GetXMLValue("Size"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Size"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If FlagWidth = 1 And bx = True Then
If CFI.JudgeWhetherJudgingImageFileWidthIsBetweenTwoWidth(x, Split(CXML.GetXMLValue("Width"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Width"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If FlagHeight = 1 And bx = True Then
If CFI.JudgeWhetherJudgingImageFileHeightIsBetweenTwoHeight(x, Split(CXML.GetXMLValue("Height"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Height"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If bx = True Then
OriginalImage = Bitmap.FromFile(x)
ThumbnailImage = ThumbnailConverter(OriginalImage, ImageWidth, ImageHeight)
ImageList1.Images.Add(ThumbnailImage)
ListView1.Items.Add(x, CountValue)
CountValue = CountValue + 1
Me.Label2.Text = "Image files : " & Me.ListView1.Items.Count
End If
Catch ex As Exception
DW(ex.Message)
End Try
Next
'Next

ThreadEndFlag = True

Me.Label2.Text = "Image files : " & Me.ListView1.Items.Count

MessageBox.Show("The process is completed." & vbNewLine & Me.ListView1.Items.Count & " images were found.", "Process Completion", MessageBoxButtons.OK)

Try
ThreadExtractImages.Abort()
Catch ex As Exception

End Try

End Sub

Function WhetherBetweenTwoDate(ByVal Objective As String, ByVal Date1 As String, ByVal Date2 As String) As Boolean

WhetherBetweenTwoDate = False

Dim x
Dim y
Dim z

x = Split(Objective, "-")
y = Split(Date1, "-")
z = Split(Date2, "-")

End Function

Private Sub TreeView1_AfterSelect(ByVal sender As System.Object, ByVal e As System.Windows.Forms.TreeViewEventArgs)

End Sub

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
ThreadAddImageToListView = New Threading.Thread(AddressOf AddImageToListView)
ThreadAddImageToListView.Start()
End Sub

Private Sub MenuItem9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem9.Click

Dim x As ListViewItem
Dim y As ListView
Dim SaveDir As String = GetXMLValue(Fname, "SaveRoot")
Dim z As String
Dim PI As Integer

If MessageBox.Show("Are you sure you want to start the process?", "Confirmation", MessageBoxButtons.YesNo) = DialogResult.Yes Then
If Me.ListView1.Items.Count = 0 Then
MessageBox.Show("No images are in the album.", "Confirmation", MessageBoxButtons.OK)
Exit Sub
End If
If System.IO.Directory.Exists(SaveDir) = True Then
ChDir(SaveDir)
Else
MessageBox.Show("Specified directory not found.", "Confirmation", MessageBoxButtons.OK)
Exit Sub
End If
y = Me.ListView1
For Each x In y.Items
Try
z = System.IO.Path.GetFileName(x.Text)
If System.IO.File.Exists(z) = True Then
PI = 2
While System.IO.File.Exists(z) = True
z = Split(z, ".").GetValue(0) & PI & "." & Split(z, ".").GetValue(1)
PI = PI + 1
End While
FileCopy(x.Text, z)
Else
FileCopy(x.Text, z)
End If
Catch ex As Exception

End Try
Next

MessageBox.Show("The process is completed.", "Confirmation", MessageBoxButtons.OK)

End If

End Sub

Private Sub MenuItem10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem10.Click

Dim x As Bitmap
Dim y As Image

Try
x = Bitmap.FromFile(Me.ListView1.FocusedItem.Text)
y = x
Me.PictureBox1.Image = y
Me.PictureMode()
Catch ex As Exception

End Try

End Sub

Private Sub MenuItem11_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem11.Click
Dim x As String
Dim y As String
Dim z As ListView = Me.ListView1
Dim SaveDir As String = GetXMLValue(Fname, "SaveRoot")
Dim PI As Integer
x = z.FocusedItem.Text
y = System.IO.Path.GetFileName(x)
If System.IO.Directory.Exists(SaveDir) = True Then
ChDir(SaveDir)
Else
MessageBox.Show("Specified directory not found.", "Confirmation", MessageBoxButtons.OK)
Exit Sub
End If

Try
If System.IO.File.Exists(y) = True Then
PI = 2
While System.IO.File.Exists(y) = True
y = Split(y, ".").GetValue(0) & PI & "." & Split(y, ".").GetValue(1)
PI = PI + 1
End While
FileCopy(x, y)
Else
FileCopy(x, y)
End If
Catch ex As Exception

End Try

End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Dim SaveDir As String = GetXMLValue(Fname, "SaveRoot")
ThreadAddImageToListViewFromSaveRoot = New Threading.Thread(AddressOf AddImageToListViewFromSaveRoot)
ThreadAddImageToListViewFromSaveRoot.Start()
End Sub

Private Sub MenuItem16_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem16.Click
ThreadAddImageToListView = New Threading.Thread(AddressOf AddImageToListView)
ThreadAddImageToListView.Start()
End Sub

Private Sub MenuItem17_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem17.Click
Dim SaveDir As String = GetXMLValue(Fname, "SaveRoot")
ThreadAddImageToListViewFromSaveRoot = New Threading.Thread(AddressOf AddImageToListViewFromSaveRoot)
ThreadAddImageToListViewFromSaveRoot.Start()
End Sub

Private Sub MenuItem13_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem13.Click
Dim x As New Form4
x.ShowDialog()
End Sub

Private Sub MenuItem18_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem18.Click
ThreadAddImageToListViewFromDownloadRoot = New Threading.Thread(AddressOf AddImageToListViewFromDownloadRoot)
ThreadAddImageToListViewFromDownloadRoot.Start()
End Sub

Private Sub MenuItem19_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem19.Click
ThreadAddImageToListView = New Threading.Thread(AddressOf AddImageToListView)
ThreadAddImageToListView.Start()
End Sub

Private Sub MenuItem20_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem20.Click
ThreadAddImageToListViewFromSaveRoot = New Threading.Thread(AddressOf AddImageToListViewFromSaveRoot)
ThreadAddImageToListViewFromSaveRoot.Start()
End Sub

Private Sub MenuItem21_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem21.Click
ThreadAddImageToListViewFromDownloadRoot = New Threading.Thread(AddressOf AddImageToListViewFromDownloadRoot)
ThreadAddImageToListViewFromDownloadRoot.Start()
End Sub

Private Sub MenuItem22_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem22.Click
Dim x As New Form2
x.ShowDialog()
End Sub

Private Sub MenuItem24_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem24.Click

If MessageBox.Show("Are you sure you want to start the process?", "Confirmation", MessageBoxButtons.YesNo) = DialogResult.No Then
Exit Sub
End If

If System.IO.Directory.Exists(GetXMLValue(Fname, "RootDirectory")) = False Then
MessageBox.Show("Specified directory not found.", "Notice", MessageBoxButtons.OK)
Exit Sub
End If

Me.ListView1.Items.Clear()

Dim x As String
Dim CountValue As Decimal

Dim CXML As ClassXML
CXML = New ClassXML
CXML.InputFile = Fname

Dim CFI As ClassFileInformation
CFI = New ClassFileInformation

Me.ImageList1.Images.Clear()
ImageList1.ImageSize = New Size(ImageWidth, ImageHeight)
ListView1.LargeImageList = ImageList1

Dim bx As Boolean = True

Dim FlagDate As Short = 0
Dim FlagSize As Short = 0
Dim FlagWidth As Short = 0
Dim FlagHeight As Short = 0

If CXML.GetXMLValue("Date") <> "Nothing" Then
FlagDate = 1
End If
If CXML.GetXMLValue("Size") <> "Nothing" Then
FlagSize = 1
End If
If CXML.GetXMLValue("Width") <> "Nothing" Then
FlagWidth = 1
End If
If CXML.GetXMLValue("Height") <> "Nothing" Then
FlagHeight = 1
End If

CountValue = 0
For Each x In System.IO.Directory.GetFiles(GetXMLValue(Fname, "RootDirectory"), "*.jpg")
Try
bx = True
If FlagDate = 1 And bx = True Then
If CFI.JudgeWhetherFilesLastWrittenDayStringAreBetweenTwoDayString(x, Split(CXML.GetXMLValue("Date"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Date"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If FlagSize = 1 And bx = True Then
If CFI.JudgeWhetherJudgingFileSizeIsBetweenTwoSize(x, Split(CXML.GetXMLValue("Size"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Size"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If FlagWidth = 1 And bx = True Then
If CFI.JudgeWhetherJudgingImageFileWidthIsBetweenTwoWidth(x, Split(CXML.GetXMLValue("Width"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Width"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If FlagHeight = 1 And bx = True Then
If CFI.JudgeWhetherJudgingImageFileHeightIsBetweenTwoHeight(x, Split(CXML.GetXMLValue("Height"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Height"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If bx = True Then
Dim original As Image = Bitmap.FromFile(x)
Dim thumbnail As Image = ThumbnailConverter(original, ImageWidth, ImageHeight)
ImageList1.Images.Add(thumbnail)
ListView1.Items.Add(x, CountValue)
original.Dispose()
thumbnail.Dispose()
CountValue = CountValue + 1
End If
Catch ex As Exception
DW(ex.message)
End Try

Next

For Each x In System.IO.Directory.GetFiles(GetXMLValue(Fname, "RootDirectory"), "*.jpeg")
Try
bx = True
If FlagDate = 1 And bx = True Then
If CFI.JudgeWhetherFilesLastWrittenDayStringAreBetweenTwoDayString(x, Split(CXML.GetXMLValue("Date"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Date"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If FlagSize = 1 And bx = True Then
If CFI.JudgeWhetherJudgingFileSizeIsBetweenTwoSize(x, Split(CXML.GetXMLValue("Size"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Size"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If FlagWidth = 1 And bx = True Then
If CFI.JudgeWhetherJudgingImageFileWidthIsBetweenTwoWidth(x, Split(CXML.GetXMLValue("Width"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Width"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If FlagHeight = 1 And bx = True Then
If CFI.JudgeWhetherJudgingImageFileHeightIsBetweenTwoHeight(x, Split(CXML.GetXMLValue("Height"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Height"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If bx = True Then
Dim original As Image = Bitmap.FromFile(x)
Dim thumbnail As Image = ThumbnailConverter(original, ImageWidth, ImageHeight)
ImageList1.Images.Add(thumbnail)
ListView1.Items.Add(x, CountValue)
original.Dispose()
thumbnail.Dispose()
CountValue = CountValue + 1
End If
Catch ex As Exception
DW(ex.message)
End Try

Next

For Each x In System.IO.Directory.GetFiles(GetXMLValue(Fname, "RootDirectory"), "*.gif")
Try
bx = True
If FlagDate = 1 And bx = True Then
If CFI.JudgeWhetherFilesLastWrittenDayStringAreBetweenTwoDayString(x, Split(CXML.GetXMLValue("Date"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Date"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If FlagSize = 1 And bx = True Then
If CFI.JudgeWhetherJudgingFileSizeIsBetweenTwoSize(x, Split(CXML.GetXMLValue("Size"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Size"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If FlagWidth = 1 And bx = True Then
If CFI.JudgeWhetherJudgingImageFileWidthIsBetweenTwoWidth(x, Split(CXML.GetXMLValue("Width"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Width"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If FlagHeight = 1 And bx = True Then
If CFI.JudgeWhetherJudgingImageFileHeightIsBetweenTwoHeight(x, Split(CXML.GetXMLValue("Height"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Height"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If bx = True Then
Dim original As Image = Bitmap.FromFile(x)
Dim thumbnail As Image = ThumbnailConverter(original, ImageWidth, ImageHeight)
ImageList1.Images.Add(thumbnail)
ListView1.Items.Add(x, CountValue)
original.Dispose()
thumbnail.Dispose()
CountValue = CountValue + 1
End If
Catch ex As Exception
DW(ex.Message)
End Try
Next

For Each x In System.IO.Directory.GetFiles(GetXMLValue(Fname, "RootDirectory"), "*.bmp")
Try
bx = True
If FlagDate = 1 And bx = True Then
If CFI.JudgeWhetherFilesLastWrittenDayStringAreBetweenTwoDayString(x, Split(CXML.GetXMLValue("Date"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Date"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If FlagSize = 1 And bx = True Then
If CFI.JudgeWhetherJudgingFileSizeIsBetweenTwoSize(x, Split(CXML.GetXMLValue("Size"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Size"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If FlagWidth = 1 And bx = True Then
If CFI.JudgeWhetherJudgingImageFileWidthIsBetweenTwoWidth(x, Split(CXML.GetXMLValue("Width"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Width"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If FlagHeight = 1 And bx = True Then
If CFI.JudgeWhetherJudgingImageFileHeightIsBetweenTwoHeight(x, Split(CXML.GetXMLValue("Height"), "\*\").GetValue(0), Split(CXML.GetXMLValue("Height"), "\*\").GetValue(1)) = True Then
bx = True
Else
bx = False
End If
End If
If bx = True Then
Dim original As Image = Bitmap.FromFile(x)
Dim thumbnail As Image = ThumbnailConverter(original, ImageWidth, ImageHeight)
ImageList1.Images.Add(thumbnail)
ListView1.Items.Add(x, CountValue)
original.Dispose()
thumbnail.Dispose()
CountValue = CountValue + 1
End If
Catch ex As Exception
DW(ex.Message)
End Try
Next

Me.Label2.Text = "Image files : " & Me.ListView1.Items.Count
MessageBox.Show("The process is completed." & vbNewLine & Me.ListView1.Items.Count & " images were found.", "Process Completion", MessageBoxButtons.OK)

End Sub

Private Sub MenuItem27_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem27.Click

End Sub

Private Sub MenuItem28_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

End Sub

Private Sub MenuItem29_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

End Sub

Sub CheckDownloadedImageAndRefreshListView()

End Sub

Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
Me.ListViewMode()
End Sub

Private Sub MenuItem30_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem30.Click
Dim x As New Form3
x.ShowDialog()
End Sub

Private Sub MenuItem32_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem32.Click
If MYesNo("Are you sure you want to delete?") = True Then
Dim x As New ClassDirectory
If x.DeleteAllFiles(GetXMLValue(Fname, "SaveRoot")) = True Then
MOK("The process is completed.")
Else
MOK("An error occured during the process.")
End If
End If
End Sub

Private Sub MenuItem33_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem33.Click
If MYesNo("Are you sure you want to delete?") = True Then
Dim x As New ClassDirectory
If x.DeleteAllFiles(GetXMLValue(Fname, "DownloadRoot")) = True Then
MOK("The process is completed.")
Else
MOK("An error occured during the process.")
End If
End If
End Sub

Private Sub Button2_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
ThreadEndFlag = True
End Sub

Dim DownloadingDirectoryIndicaterInListViewCount As Decimal
Dim TreadDownloadingDirectoryIndicaterInListView As Threading.Thread

Sub DownloadingDirectoryIndicaterInListView()

Me.ListView1.Items.Clear()
Me.ImageList1.Images.Clear()

Dim DI As DirectoryInfo
Dim DP As String = GetXMLValue(Fname, "DownloadRoot")
Dim x As String

Dim Image As Image
Dim Image2 As Image
Dim C1 As New ClassListView
Dim BP As Bitmap
Dim ST As String = "Wait until the process is done."
Dim Count As Decimal

Application.DoEvents()
Me.TextBox1.Text = ST
Count = 0
Do
If ENDFLAG = True Then
Exit Do
End If
For Each x In System.IO.Directory.GetFiles(DP, "*.*")
Try
If C1.ConfirmEqualValue(Me.ListView1, x) = False Then
BP = Bitmap.FromFile(x)
Image2 = BP
Image = ThumbnailConverter(Image2, ImageWidth, ImageHeight)
Me.ImageList1.Images.Add(Image)
Me.ListView1.Items.Add(x, Count)
Count = Count + 1
End If
Catch ex As Exception
DW(ex.Message & "DownloadingDirectoryIndicaterInListView")
End Try
Next
TreadDownloadingDirectoryIndicaterInListView.Sleep(1000)
Me.TextBox1.Text = ST & ":" & Count
Loop

Me.AddImageToListViewFromDownloadRoot()

End Sub

Private Sub Button3_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs)

End Sub

Private Sub MenuItem39_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem39.Click
Me.ListViewMode()
End Sub

Private Function ListViewMode()

Me.ListView1.Visible = True
Me.PictureBox1.Visible = False
Me.Button5.Enabled = False

End Function

Private Function PictureMode()

Me.ListView1.Visible = False
Me.PictureBox1.Visible = True
Me.Button5.Enabled = True

End Function

Private Function ProcessingMode()
Me.MenuItem1.Enabled = False
Me.MenuItem7.Enabled = False
Me.MenuItem12.Enabled = False
Me.MenuItem2.Enabled = False
Me.MenuItem4.Enabled = False
Me.MenuItem27.Enabled = False
Me.MenuItem28.Enabled = False
Me.Button1.Enabled = False
Me.Button2.Enabled = True
End Function

Private Function NotProcessingMode()
Me.MenuItem1.Enabled = True
Me.MenuItem7.Enabled = True
Me.MenuItem12.Enabled = True
Me.MenuItem2.Enabled = True
Me.MenuItem4.Enabled = True
Me.MenuItem27.Enabled = True
Me.MenuItem28.Enabled = True
Me.Button1.Enabled = True
Me.Button2.Enabled = False
End Function

Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click

End Sub

Private Sub PictureBox1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox1.DoubleClick
Me.ListViewMode()
End Sub

Sub CheckSpideringProcess()

Dim x As New ClassRegularExpression

Do

Try
If ThreadEndFlag = False Then
Me.ProcessingMode()
Else
Me.NotProcessingMode()
End If
Catch ex As Exception

End Try

TreadCheckSpideringProcess.Sleep(1000)

Loop

End Sub

Private Sub MenuItem34_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem34.Click
Dim x As New Form6
x.ShowDialog()
End Sub

Private Sub MenuItem40_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem40.Click

End Sub

Private Sub MenuItem41_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem41.Click
ThreadAddImageToListView = New Threading.Thread(AddressOf AddImageToListView)
ThreadAddImageToListView.Start()
End Sub

Private Sub MenuItem42_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem42.Click
ThreadAddImageToListViewFromSaveRoot = New Threading.Thread(AddressOf AddImageToListViewFromSaveRoot)
ThreadAddImageToListViewFromSaveRoot.Start()
End Sub

Private Sub MenuItem43_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem43.Click
ThreadAddImageToListViewFromDownloadRoot = New Threading.Thread(AddressOf AddImageToListViewFromDownloadRoot)
ThreadAddImageToListViewFromDownloadRoot.Start()
End Sub

Private Sub MenuItem28_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem28.Click

End Sub

Private Sub MenuItem29_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs)

End Sub

Private Sub MenuItem44_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem44.Click
Dim x As New Form7
x.ShowDialog()
End Sub

Private Sub MenuItem45_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem45.Click
Dim x As New Form8
x.ShowDialog()
End Sub

Private Sub MenuItem29_Click_2(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem29.Click

Dim x As String

Try
x = Me.ListView1.FocusedItem.Text
x = System.IO.Path.GetDirectoryName(x)
Process.Start("explorer.exe", x)
Catch ex As Exception

End Try

End Sub

Private Sub MenuItem37_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem37.Click

Dim x As String

Try
Process.Start("explorer.exe", GetXMLValue(Fname, "SaveRoot"))
Catch ex As Exception

End Try

End Sub

Private Sub MenuItem36_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem36.Click

Dim x As String

Try
Process.Start("explorer.exe", GetXMLValue(Fname, "DownloadRoot"))
Catch ex As Exception

End Try

End Sub

Private Sub Form1_MaximumSizeChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.MaximumSizeChanged
'Me.TextBox1.Size = New System.Drawing.Size(1250, 19)
End Sub
End Class



OCTOBER 20, 2005 : My Software Will Be Published in Magazines



OCTOBER 1, 2005 : My Software Will Be Published in Magazines





September 7, 2005 : Graduation Exams Start Today

Well, the graduation exams start today.
So I can't be stupid anymore... OMG~ what a scary schedule!

(Subjects) (Date) (Time)

Internal Medicine I 9/7 2:00 PM
Dermatology 9/9 10:00 AM
Surgery 9/14 2:00 PM
Plastic Surgery 9/16 2:00 PM
Pediatrics 9/22 10:00 AM
Orthopedic Surgery 9/27 2:00 PM
Urology 9/29 10:00 AM
Thoracic Cardiovascular Surgery 10/1 10:00 AM
Internal Medicine III 10/5 2:00 PM
Psychosomatic Medicine 10/7 2:00 PM
Obstetrics and Gynecology 10/13 2:00 PM
Otolaryngology 10/15 10:00 AM
Internal Medicine II 10/19 2:00 PM
Neuropsychiatry 10/21 2:00 PM
Ophthalmology 10/25 2:00 PM
Anesthesiology 10/27 2:00 PM
Neurosurgery 10/29 10:00 AM
Neurology 11/1 2:00 PM
Radiology 11/4 2:00 PM
Laboratory Medicine 11/8 2:00 PM

Comprehensive Exam (Day 1) 11/16 Morning to Evening
Comprehensive Exam (Day 2) 11/17 Morning to Evening
Comprehensive Exam (Day 3) 11/18 Morning to Evening

It seems, I have to take them correctly calculated.....,
Otherwise, it would be extremely easy to get stuck on any of them...

First of all, be careful with subjects that are only a day or two apart.
In other words, be aware of subjects that come right after finishing a certain subject,
because I have less time to study between the subjects.
Let's define the subject that comes right after a certain subject as a "consecutive combo subject."

Then the subjects that fit the definition of "consecutive combo subject" are
Dermatology, Plastic Surgery, Urology, Thoracic Cardiovascular Surgery, Cardiothoracic Medicine,
Otolaryngology, Neuropsychiatry, and Anesthesiology, Neurosurgery and Neurology.

Too many consecutive combos... and the last one is a triple combo of anesthesiology, neurosurgery, and neurology.

I'm so scared!

September 2, 2005 : Invitation Email from Optim Corporation

I received another email from Optim Corporation.
They said they want to meet me and talk to me after my school exams are all finished.


SEPTEMBER 1, 2005 : My Software Will Be Published in Magazines






August 31, 2005 : Invitation Email from Optim Corporation

I received an email asking me to help them... hmmmm I think it's hard to help them now because I'm very busy with my school.

JUNE 1, 2005 : My Software Will Be Published in Magazines








May 9, 2005 : Finally Here in the City of My High School Days

Finally I'm here in the city of my high school days, the holy place only for me lol, to participate in an off-campus practical training.
The off-campus training starts today, and the training place is... the place that brought me to the me I am now lol.

Ah...memories...super moving...I tried to enter the school building, and it reminded me of this building where I had an interview six years ago.
I once came here for the interview, and at that time, I was successful in the entrance exams, but later failed in the interview.
What was the reason? The reason is probably a school report. I was more than 50 to 90 days late for school every year,
and my grade was at the bottom, so I think that is the main reason for failing the interview.
Because of this, I had many failures in interviews after entrance exams.
But I never gave up on my goals, and I finally met the medical school that doesn't care about my past failures and tries to look positively at my future opportunities.

Memories like those surged into my mind, and unbending resolutions to achieve my goals gushed from the bottom of my heart.
Only one year left, only one year left until my graduation, and I have to graduate at any cost, and for that, I have to finish this practical training safely.

MAY 1, 2005 : My Software Will Be Published in Magazines



April 18, 2005 : Neurosurgery Practice for Two Weeks

Neurosurgery practice begins today.

First I have a conference at eight o'clock in the morning.
And next I had a practice for a cerebral angiography.

April 5, 2005 : To Kinokuniya Bookstore All the Way by Bicycle

We had lunch at a professor's room around half past twelve, and I returned to my room as soon as it was over.
Then I went to the Kinokuniya bookstore near Umeda Station.
Although it takes about forty minutes by bicycle from my apartment, I rode all the way there.
It was a very pleasant day with warm spring sunshine!

April 4, 2005 : Skills Come Before Knowing It

The sixth grade clinical clerkship began today.

My goals for this year are: one, to graduate. (<- I really want to do that!)
And the other is to keep a diary of the clinical clerkship. (<- I don't know if I can do that lol)

Anyway, I will try my best!

By the way, I will be practicing otolaryngology this week.
Today's schedule was: orientation at nine in the morning, a professor's rounds at two, and a conference at four in the afternoon.
Surprisingly, I was able to read images such as XP, CT, MRI, etc. bit by bit before I knew it.
I had been lazy most of the time, so I didn't think I could do it.

"Skills come before knowing it."

Anyway, I need to buy textbooks for this practice, instead of thinking about such things. lol

March 2, 2005 : My Software Will Be Published in Magazines



March 1, 2005 : My Software Will Be Published in Magazines



February 1, 2005 : My Software Will Be Published in Magazines



Wednesday, January 26, 2005 : Lingering Sleepiness Into the Night

I was supposed to wake up at one thirty in the afternoon, but I didn't.
I was in a deep sleep until seven in the evening.

I went to clinical rotations at nine in the morning.
I did an outpatient neurosurgery rotation until half past twelve.
After that, I was supposed to get up at one thirty in the afternoon, but I slept until seven in the evening.
That's why I couldn't make it on time.

Later, I had dinner at a restaurant called Ramen Shogun.
After that, I went to a convenience store, and when I returned home, I slept around nine in the evening.

Sunday, January 23, 2005 : Relaxing at Home All Day

I spent the whole day relaxing at home.
That's all I wrote in my diary about today. lol

Friday, January 21, 2005 : The Last Day of the Psychiatry Rotation

I went to the clinical clerkship at nine in the morning.
First I did some stretching with the patients at the adult day care center and then I had a meeting in the afternoon.
The meeting ended about ten minutes after five o'clock.
That was the end of the psychiatry rotation.
The neurosurgery rotation is scheduled to begin next week.

I returned home around five-thirty in the afternoon.
I heard that there might be an orientation meeting for next year's practice outside the college,
but I went to bed because I was so exhausted.

Tuesday, January 4, 2005 : Heian Jingu Shrine

I went to Heian Jingu Shrine with my sisters and nephew.

After visiting the shrine, we walked to Yasaka Shrine and "Tsujiri" to have green tea parfait.

We walked on the winter road despite the raging cold wind to get a nice parfait.
This act, probably hard to understand for a man..... going to all this trouble to get a nice parfait all the way.
I'd like to ask her, "Do you really want to go to all this trouble in the cold wind to get a green tea parfait?" but I wouldn't.
For men, it's better to have hot ramen than a cold parfait in such a cold temperature.
But for women, it wouldn't always be like that, which makes men's brains curious about what women are like.

After walking along the street at night in winter, we got the parfait.
I never imagined that I would eat a cold dessert after basking in the cold wind!
It was so cold, really very cold!

Saturday, January 1, 2005 : Happy New Year 2005!

Tonight we had a small New Year's party with my family.

While the New Year was unfolding, I hurried to our party place.
The reason I had to run was that I had to finish eating a bowl of buckwheat noodles, which is a traditional Japanese custom that is eaten every year on the eve of the New Year.
However, even though I rushed to the place, I was 40 seconds late.
I could not make it in time.

It was really an extreme way to start the year!

December 29, 2004 : Year-end Party With My High School Classmates

We had the year-end party with my high school ex-classmates.
They paid 3000 yen for my dinner bill because they are already working members of society and I was the only one in the group who was still a student.
And they said, "After you graduate, pay us back!!" lol.

Actually, years ago I never imagined that they would take care of my dinner bill.
Now they look reliable, totally contrary to what they looked like when they were high school students. lol

December 1, 2004 : My Software Will Be Published in Magazines

I received an email saying that they want to publish my software in their magazines, which allows us to look at system information, and I replied okay.
Is this really true? I just started programming in July this year, so it's unbelievable.



November 10, 2004 : My Sister Passed Japan's Old Bar Exam

Today I received amazing news! My second oldest sister passed the bar exam.
I was worried about her because the passing rate of the exam is said to be about 2%, but she made it!
My sister really has guts! I should follow her example.

July 23, 2004 : My First Computer Programming

My first experience with computer programming.
I was satisfied because it worked very well.
You need to install "Active Perl" to make this program work.

This program will output the subtracted data as "result.txt", which is the subtraction of "subtraction_data.txt" from "source_data.txt" as below.

source_data.txt
dog
cat
lion
tiger
bird
light
tree
bird
snow
sea
tree
diamond
biohazard
bird
cat
sea
-
subtraction_data.txt
biohazard
sea
bird
cat
tree
snow
cat
sea
bird
cat
biohazard
tree
snow
cat
sea
tree
=
result.txt
diamond
dog
light
lion
tiger

First, I came up with the method of comparing two files by merging those files because I couldn't figure out how to compare two file lines directly.
I found out that duplicate lines appear when the source_data.txt lines have the same lines as the subtraction_data.txt lines after merging two files.
So removing duplicate lines after merging two files seems to work well.
But things happened that I didn't expect.
This method returns the merged data that source_data.txt has and subtraction_data.txt doesn't, and what source_data.txt doesn't have and subtraction_data.txt has.
This is quite natural, but I didn't notice it along the way.
So I added the subtraction_data.txt lines twice and it worked perfectly.

This will automatically remove duplicate lines, but it's limited to 5 duplications.
If you want to increase the limit, change the script line highlighted as green lines.
The more you increase the number of green lines, the higher the limit you will get in the duplication removal function.

open (PRE,">>source_data.txt");
@pre=<PRE>;
seek (PRE,0,2);
print PRE "\n";
close(PRE);
open (PREA,">>subtraction_data.txt");
@pre2=<PREA>;
seek (PREA,0,2);
print PREA "\n";
close(PREA);
open (DATA,"<source_data.txt");
@array=<DATA>;
$list=@array;
#push (@array,"TEMP");
open (DATA2,"<subtraction_data.txt");
@array2=<DATA2>;
$list2=@array2;
#push (@array2,"TEMP");

open (DATAS,">>datatemp.txt"); #The beginning of the method to remove duplicate lines from the file.
open (DATAS2,">>datatemp2.txt");
@array_s=sort @array;
@array2_s=sort @array2;
$array_s=@array_s;
$array2_s=@array2_s;
$max=@array_s;
foreach ($t=0; $t<$max; $t++){
if ("$array_s[$t]" eq "$array_s[$t+1]"){
print DATAS "$array_s[$t]";}
else {
print DATAS "$array_s[$t]";}}
$max=@array2_s;
foreach ($t=0; $t<$max; $t++){
if ("$array2_s[$t]" eq "$array2_s[$t+1]"){
print DATAS2 "$array2_s[$t]";}
else {
print DATAS2 "$array2_s[$t]";}}
close(DATAS);
close(DATAS2);

open (DATATEMP,"<datatemp.txt");
@array1m=<DATATEMP>;
close(DATATEMP);
open (DATATEMP2,"<datatemp2.txt");
@array2m=<DATATEMP2>;
close(DATATEMP2);
open (ABC,">>abc.txt");
open (DE,">>de.txt");
@abc=sort @array1m;
@de=sort @array2m;
$abc=@abc;
$max=@abc;
foreach ($t=0; $t<$max; $t++){
if ("$abc[$t]" eq "$abc[$t+1]"){
$abc[$t+1]="";}}
print ABC @abc;
$de=@de;
$max=@de;
foreach ($t=0; $t<$max; $t++){
if ("$de[$t]" eq "$de[$t+1]"){
$de[$t+1]="";}}
print DE @de;
close(ABC);
close(DE);

open (LPF,">>LPF.txt");
open (CEH,">>CEH.txt");
@LPF=sort @abc;
@CEH=sort @de;
$LPF=@LPF;
$max=@LPF;
foreach ($t=0; $t<$max; $t++){
if ("$LPF[$t]" eq "$LPF[$t+1]"){
$LPF[$t+1]="";}}
print LPF @LPF;
$CEH=@CEH;
$max=@CEH;
foreach ($t=0; $t<$max; $t++){
if ("$CEH[$t]" eq "$CEH[$t+1]"){
$CEH[$t+1]="";}}
print CEH @CEH;
close(LPF);
close(CEH);

open (JBA,">>JBA.txt");
open (LHR,">>LHR.txt");
@JBA=sort @LPF;
@LHR=sort @CEH;
$JBA=@JBA;
$max=@JBA;
foreach ($t=0; $t<$max; $t++){
if ("$JBA[$t]" eq "$JBA[$t+1]"){
$JBA[$t+1]="";}}
print JBA @JBA;
$LHR=@LHR;
$max=@LHR;
foreach ($t=0; $t<$max; $t++){
if ("$LHR[$t]" eq "$LHR[$t+1]"){
$LHR[$t+1]="";}}
print LHR @LHR;
close(JBA);
close(LHR);

open (PHF,">>PHF.txt");
open (PRH,">>PRH.txt");
@PHF=sort @JBA;
@PRH=sort @LHR;
$PHF=@PHF;
$max=@PHF;
foreach ($t=0; $t<$max; $t++){
if ("$PHF[$t]" eq "$PHF[$t+1]"){
$PHF[$t+1]="";}}
print PHF @PHF;
$PRH=@PRH;
$max=@PRH;
foreach ($t=0; $t<$max; $t++){
if ("$PRH[$t]" eq "$PRH[$t+1]"){
$PRH[$t+1]="";}}
print PRH @PRH;
close(PHF);
close(PRH);       #The method for removing duplicate lines within a file ends.


open (DATA3,">>temp.txt");
print DATA3 @PHF;
seek(DATA3,0,2);
print DATA3 @PRH; #Merging the lines of subtraction_data.txt twice.
seek(DATA3,0,2);
print DATA3 @PRH; #The end of the merging of the subtraction_data.txt lines.
close(DATA);
close(DATA2);
close(DATA3);

open (DATA4,"<temp.txt");
@array3=<DATA4>;
@data3s=sort @array3;
close(DATA4);
open(DATA5,">temp2.txt");
print DATA5 @data3s;
close(DATA5);
open(DATA11,"<temp2.txt");
@line=<DATA11>;
$line=@line;
close(DATA11);
open (DATA15,">temp2.txt");
$max=@data3s;
foreach ($i=0; $i<$max; $i++) {
if ("$line[$i]" eq "$line[$i+2]"){
$line[$i]="\n";
$line[$i+1]="\n";
$line[$i+2]="\n";}}
foreach ($t=0; $t<$max; $t++) {
if ("$line[$t]" eq "$line[$t+1]"){
$line[$t]="\n";
$line[$t+1]="\n";}}
print DATA15 @line;
close(DATA15);
unlink "temp.txt";
rename <temp2.txt>,<temp.txt>;
open (DATA15,"<temp.txt");
@array15=<DATA15>;
@data15s=sort @array15;
close(DATA15);
open(DATA15,">temp2.txt");
print DATA15 @data15s;
close(DATA15);
open(DATA11,"<temp2.txt");
@line2=<DATA11>;
$line2=@line2;
close(DATA11);
open (DATA15,">temp2.txt");
$max=@data15s;
foreach ($i=0; $i<$max; $i++) {
if ("$line2[$i]" eq "$line2[$i+1]"){
$line2[$i]="";
$line2[$i+1]="";}}
print DATA15 @line2;
close(DATA15);
unlink "temp.txt";
unlink "abc.txt";
unlink "de.txt";
unlink "datatemp.txt";
unlink "datatemp2.txt";
unlink "CEH.txt";
unlink "JBA.txt";
unlink "LHR.txt";
unlink "LPF.txt";
unlink "PHF.txt";
unlink "PRH.txt";
rename <temp2.txt>,<result.txt>;

December 19, 2003 : Festasista on TV Commercial

My new version of the TV commercial is now on the air, with me wearing a shirt with "FESTASISTA" written on it, which is the slogan of my school festival in 2003.
A friend of mine who made this word said that this "FESTASISTA" is made by mixing the word "FANTASISTA" and "FESTIVAL."
He also said that this word is very nice for the festival we would have. Yes, I think this creation of the word is really a good job.

November 1, 2003 : At Mini Bout in School Festival


February 18, 2002 : Midnight Long Walk Journey

I missed the last train to the station near my apartment, so I had to get off on the way.
At first I thought about taking a taxi, but then I had an interesting and stupid idea : Let's walk to my apartment from here.
Even though it was already past midnight, I couldn't hold back this silly idea.
So I started walking from the station, and after a few ten minutes of walking, I bumped into the wide street.
I wasn't sure, but it seemed to be the national road.
I continued to walk on the sidewalk along the road and entered the residential area.
There was no sound of people's activities at all, and I gradually became afraid of this gloomy area, so I passed the area in a hurry.
After a while I saw the elevated railroad and went through it.
Then I was on a long and winding road, and I didn't know where it led, and I finally took a taxi and reached my apartment after 4:30 AM.
Even though today is the first day of the pathology practice, I didn't sleep at all.

December 25, 2001 : Me on TV Commercial

This is the first time I have appeared in a TV commercial.
In the commercial, I say, "Ah, I have a lot of free time today, and I'm wondering where to pass the time."
And then I say, "Oh yeah! Let's pass the time at karaoke!!"
Yes, this TV commercial is about karaoke shops.

Monday, July 2, 2001 : Hectic Morning

I desperately got up in the morning...but the school was closed because of the Foundation Anniversary.
Maybe I was panicking because I heard a rumor from my friends that every time you miss a forensics class, 10 out of 100 is taken off your grade.
I thought that would be really annoying, I've already missed 3 classes and 30 were taken off,
so even if I get a full score, I'll only get 70, and I need to get 60 or more to pass, so I need to get around 90 to pass the exam.....
So I desperately got up and rushed to the school. But I was told that it's closed for the above reason.
That was a close one! Still, I wonder if the rumor is true.

December 25, 1999 : In the Showbiz World

This year I passed the selection of two showbiz companies and started my career as a CM candidate.

April 3, 1999 : Entering Kansai Medical University


I passed the entrance exam and was allowed to enter Kansai Medical University to become a doctor.
Although my high school grade was terrible, I started studying seriously after graduation to make up for my lazy days in high school,
and after a series of failures, I finally succeeded in getting into a medical school.
I may look really demure, but I'm actually very strong in conviction and never surrender until I win!
Today we had our group photo taken in the university garden, the weather was so nice and the photo is great!

Monday, February 15, 1999 : Taking the Kansai Medical University Entrance Examination

Today I went to Osaka to take the entrance examination for Kansai Medical University.
My examinee number was 1204 and the exam site was Kansai Gaidai University.

I was a rather unmotivated student back then, and my grade was the lowest in the class when I graduated.
So I bet that no one imagines that I can pass the selection for a medical school,
but now I'm quite confident that I can perform a miracle for them,
because after I graduated, I began to make continuous efforts.

Sunday, September 14, 1997 : To the Department Store to Buy a Doraemon Clock

My mom went to the department store to buy a Doraemon clock (birthday present) for my nephew.
Taking the opportunity, I asked my mom to buy a cassette tape at the nearby bookstore, but it was closed. Aah, too bad.

Wednesday, January 1, 1997 : New Year's Day at My Cousin's House

Although I prepared SNES roms to play with my relatives, I forgot to take them with me, so we only played "Tekken2" the whole day.
My sisters went home halfway through.

June 2, 1996 : National Mock Examination

I took a national mock exam for the upcoming university entrance exams.
By taking this exam, we can know the chances of passing the entrance exams of the universities we want to enter.
For example, high-ranking schools such as medical schools, Kyoto University, or Tokyo University require very high scores in the mock exams.
After the exam, I stopped by the CD store near the venue and bought a CD on my way home.
When I returned home, I was really impressed by the songs on the CD.

It contains :

Alone Again
Yesterday Once More
Those Were The Days
You Don't Have to Say You Love Me
Without You

And so on..... This is really a great CD!

April 15, 1996 : Prep School Starts Today

Today my prep school starts. I didn't pass the university entrance exams, so I decided to start studying seriously.
But on the very first day, I was late for school and entered in the middle of math class. Phew.....
After the third hour of class was over, I studied on my own in the self-study room until biology class started in the evening.

Tuesday, January 2, 1996 : Writing New Year's Cards

I followed my parents on their rounds of their stores, because I wanted to listen to music in the car.
At night I wrote New Year's cards for my high school teachers.

Monday, January 1, 1996 : Going to My Cousin's House

To go to my cousin's house in Kyoto, we drove halfway and then walked to the house from the gate at the railroad crossing near the station.
This year, only my mom, my third-eldest sister, and I went.
On returning home at night, one of my uncles drove us to a train station, and from there we took a train to another station, and then we drove home.

Monday, December 25, 1995 : Make-up Exam on Christmas Day

I stayed up all night and watched a movie in the middle of the night.
Around 8 AM I had my dad drive me to the high school to take a make-up exam.

Tuesday, December 5, 1995 : Having Fun After School With Four of My Friends

I was late, so I went to the first period in the middle of class.
After class, I stayed at the school with three of my friends, first having fun in the library and then going to a classroom after 5:00 PM.
We played a trick on one of them on the way home and later four of us stopped at the restaurant "Chinpie."
By the way, "Chinpie" isn't the real name of the restaurant, but the nickname we gave it.
One time we threw garbage into the garbage can by the restaurant, and an employee who looked like a hoodlum came out of the store and said,
"Hey, you guys! Don't throw garbage in that dumpster!" Since then, we have called the name of the store "Chinpie" after "chinpira" (meaning hoodlum) in Japanese.
When I got home, I went straight to bed.

Monday, October 16, 1995 : Going to the Hospital to Have My Right Leg Examined

I went to the hospital to have my sprained right leg examined and got a cast.

Tuesday, October 3, 1995 : I Sprained My Right Leg

Today I sprained my right leg in gym class, which was the sixth class of the day.
So I had my parents come to the school to pick me up around 6 PM.

Tuesday, August 15, 1995 : We Went to the Tomb of Our Ancestors to Pray for Them

We went to my relatives' house, and then we went to our ancestor's tomb to pray for them, and soon after we came back home.

Tuesday, July 4, 1995 : The Heavy Rain-flood Warning Was Officially Announced

I didn't go to school because the heavy rain-flood warning was officially announced.

Monday, April 24, 1995 : Taking a Break from School

I skipped school today.

Monday, April 10, 1995 : The Opening Ceremony of the School Year

Today, we had the opening ceremony of the school year.
On my way home, I got off at Katsura Station on the Hankyu Railway and called my ma's cell phone.
She said we were at the station now, so I met my dad and mom and went home with them.

February 12, 1995 : Making the Ultimate Final Fantasy VI Walkthrough Book

T.I. called me several times and asked me questions about FF VI, so I made the ultimate walkthrough book of FF VI using a photocopier.

February 9, 1995 : The Day off for the Second Entrance Examination

We had the second entrance exam for my school, so we had the day off.
At night, I went to a bookstore alone and bought a book "Petit Seven" that my sisters asked me to buy,
and then on my way home, I bought pizza-flavored chips called "Pizza Potato."

January 22, 1995 : Five Days After the Earthquake

We evacuated to a safe place and slept in the car.

This story all begins a guy of relatives of relatives who works at meteorology agent called a guy of relatives,
and said it is said that from midnight to dawn there might be a high risk of a big earthquake to happen,
and the guy who got the information called my mom.

So we spent the night in the car and nothing happened.

January 21, 1995 : Four Days After the Earthquake

School starts at 9:40 AM today, too, with only three periods and shorter classes.
I didn't attend P.E. class, Kendo (sword fighting techniques).

January 20, 1995 : Three Days After the Earthquake

School started an hour late, 9:40 AM, only three periods and shorter classes.
The scars of the earthquake are so bad.

January 19, 1995 : Two Days After the Earthquake

School started an hour late, classes were ten minutes shorter, the teacher was absent, the fourth period was dismissed early,
and I was able to leave almost at the end of the third period.
On my way home, I stopped at the bookstore in front of the train station near my house and bought a book.

January 18, 1995 : Aftershock of the Earthquake

At dawn, while I was sleeping, there was a fairly large aftershock from the big earthquake.

I was an hour late for school, but school started an hour late because of yesterday's earthquake.
My class teacher and many students in the city where the earthquake hit were absent from school.

Today there were only four periods in school (usually there are six periods), shorter lessons (40 minutes, usually 50 minutes),
and the fourth period turned into self-study (because of the teacher's absence),
so I went home after the third period.

January 17, 1995 : Great Earthquake in Japan

At dawn, while I was sleeping and dreaming in bed, the sound of a great earthquake interrupted my dream.
At first I didn't understand what was happening, but soon I realized that I had to get under a desk to avoid falling objects.
The quake was so strong and I was half asleep, so it wasn't easy to reach the desk.

A lot of basic infrastructure was damaged, and three major lines in the area were down, and I had to skip school today.
About two hours later, while I was on the first floor watching a TV news program about the earthquake, another strong earthquake struck.
This one was much weaker than the previous one, but it was so strong that my sister and I had to run under the desk.

After that, I went back to bed to take a nap, and when I woke up hours later, I saw the shocking footage on TV.
The city was burning, the whole city was burning, after this devastating earthquake.
It is hard to believe, but the footage on TV shows the reality.

Hope for everyone's safety.

January 16, 1995 : Having Fun With a Friend of Mine at My House

A friend of mine came over to my house and we had fun playing video games,
especially we finished "Super Bomber Man (SNES)", and I customized Dezaemon with him.
He left around 8 PM. It's a fun day.

January 15, 1995 : Off the Hook Day

I've been working all day on Dezaemon, the shooting game creation tool, and it's almost done, so I'll be off the hook from making this game soon.
During the night I tried to call a friend of mine, but the phone was probably off the hook and I couldn't get through.
Ah, that's too bad, because a friend of mine is coming to my house tomorrow and I was going to ask him to come over with him.

January 14, 1995 : Frantic Dash to the Train Station to Get to School on Time

I was almost late for school, but my frantic dash to the train station saved me.
After school, I went home with my friends and talked about various things.

January 13, 1995 : Staying at School and Playing Shogi

I was late for school today. After class, I stayed at school and had fun with my friend in the library.
When we were about to leave the school, we started playing shogi on a blackboard with squares from a little before 6 PM to 7 PM.
I won the game :)

January 12, 1995 : Mini-baseball Game With Revised Rules

I played a modified rules mini-baseball game with three of my friends during break at school.

A pitcher throws a ball and a batter hits it. After an outfielder picks up the ball and throws it to the base,
the pitcher waits for the ball to come in by stepping on the base.
If the pitcher can catch the returning ball from the outfielder without moving his leg off the base, the batter is out.
If the pitcher can't, the batter scores. This rule is very practical because we can play baseball with at least three people.

On my way home from school, I stopped at the bookstore near my house and looked at a Famicom book.

January 11, 1995 : Two Classes Become Self-study Classes

I was late for school. The teacher of the fourth class and the teacher of the fifth class were absent,
so the fourth and the fifth class (physical education and mathematics) became self-study classes,
but on the way, the sixth class "Health and Physical Education" was moved to the fourth class,
so I left school after the fifth class (self study class) was over.
During the self-study class, I played catch with my friend.

January 10, 1995 : Sudden Arrival

A friend of mine suddenly came to my house at around 8:40 PM, so I was surprised.

January 9, 1995 : Opening Ceremony for the New School Year

I went to school to attend the opening ceremony for the new school year. I came back home around 11 AM.

January 8, 1995 : I Broke My Personal Record Again!!

I spent the whole day relaxing at home.
I broke my personal best for grip strength right in front of my mom, I recorded 73kg!!

January 7, 1995 : Having Fun With My Friends

Two of my friends came over to my house around 10:00 AM and we had a lot of fun, mostly playing video games, and they left around 8:00 PM.
Today I broke my personal record for right hand grip strength with 68kg.

January 6, 1995 : Spending My Free Time at Home

I spent my free time at home.

January 5, 1995 : Spending My Free Time at Home

I spent my free time at home.

January 4, 1995 : Spending My Free Time at Home

I spent my free time at home.

January 3, 1995 : Relaxing at Home All Day

I spent my day at home. Starting around 12:30 AM, I watched three movies in a row on video.

January 2, 1995 : Go Driving Around Kameoka

Me, my mom, and my dad went for a drive after going around the stores we run.
And starting around 12:30 AM, I watched three movies on video in a row.

January 1, 1995 : Going to Visit My Relatives

We got up early in the morning and went to my cousin's house to visit the graves of our ancestors.
After that, my three sisters went home on the way, but I stayed there and had fun with my relatives.
Just after I returned home, I went to bed.

December 21, 1994 : Shaolin Kempo 2 Dan Black Belt


Yippeeeeeee! I passed the selection and now I'm a Shaolin Kempo 2 Dan Black Belter!

April 2, 1994 : Release Day of Final Fantasy VI

Today is the release day of Final Fantasy VI.

Me and my friends K.M. and Y.I. are going to have fun at my place today, so I met them at the nearby train station.
On the way, Y.I. said to me, "Today is the release day of Final Fantasy VI, isn't it?" and I replied, "Yes! Let's get it from a store on the way home!!"
As soon as we got home, we played FFVI first.

We had a good time today!

October 18, 1991 : At the Shaolin Kempo Competition



November 21, 1990 : The Super Famicom (SNES) Is Released Today!

Today is the day that the Super Famicom (SNES) comes out!
I got it from one of the stores my dad runs, and "Super Mario World" as the first game software.
I was wondering which game to buy, "Super Mario World" or "F-ZERO."
I can play "Super Mario World" together with my sisters and friends,
while "F-ZERO" is only for solo play, so I finally chose "Super Mario World",
it looks like it's easier to have fun with others compared to "F-ZERO."
When I played the game, I thought it was pretty great!
I couldn't contain my excitement about the bright future of the Super Famicom.

April 11, 1987 : In the Park Nearby

I love this park because I feel like I'm walking in the woods!



Wednesday, February 22, 1978 : Hello! World!!

I was born today. My parents say it was a snowy day, even though snow is pretty rare in this area.


LEE22.NET

Convert Characters
Convert characters to Proper case, Upper case, Lower case, Encrypted, Decrypted, Narrow, Wide, MD5, SHA1, SHA256 and SHA512.

Body Mass Index (BMI) and BMI Prime Evaluations
This allows you to easily and quickly calculate and evaluate your BMI, as well as BMI Prime, and how much weight needs to be adjusted to a normal healthy weight.

Body Surface Area (BSA) and BMI Evaluations
Calculate Body Surface Area in many ways, Boyd Formula, Gehan and George Formula, Haycock Formula, Du Bois and Du Bois Formula, Mosteller Formula,
and Mean Value as estimated body surface area, and also, get Body Mass Index (BMI) and BMI Prime Evaluations.

Sensitivity and Specificity
Calculate Sensitivity (Recall, Hit Rate, True Positive Rate (TPR)), Specificity (Selectivity, True Negative Rate (TNR)), Positive Posttest Probability, Negative Posttest Probability, Positive Likelihood Ratio, Negative Likelihood Ratio, Pretest Odds, Posttest Odds, Pretest Probability (Prevalence), Posttest Probability, Positive Predictive Value (PPV, Precision), Negative Predictive Value (NPV), False Positive Rate (FPR, Fall-out), False Negative Rate (FNR, Miss Rate), False Discovery Rate (FDR), False Omission Rate (FOR), Prevalence Threshold (PT), Threat Score (TS) (Critical Success Index (CSI)), Accuracy (ACC), Balanced Accuracy (BA), Matthews Correlation Coefficient (MCC), Fowlkes–Mallows Index (FM), Informedness (Bookmaker Informedness, BM), Markedness (MK)(DeltaP (Δp)) in a sec.

Total Body Water (Watson, Hume, Chertow, Cheek Formula)
Calculate total body water using the Watson, Hume-Weyer, Chertow, Mellits, and Cheek formulas, and get the average of these at one time.
In addition, this will also give you the intracellular, extracellular, interstitial and plasma volume in each estimate.
This is all compatible for adult males, females, children and infants.

LEE22 MEDICAL CALCULATOR
The handy calculator program which allows you to calculate a lot of complicated medical functions very easily, such as Allowable Blood Loss, Body Mass Index,
Body Surface Area, Blood Volume, Kaup Index, Cleatinine Clearance, Glomerular Filtration Rate, Therapeutic Drug Monitoring, and so on. You can download and use it freely.



Cerebrovascular Disease Future Risk Calculator
The probability theory of cerebrovascular disease applied to web calculator.
This theory is based on about 16000 patients follow-up survey conducted by the RESEARCH group of Japan National Cancer Center.
With this, you can estimate the probability that you could have a cerebrovascular disease in 10 years.
(https://pubmed.ncbi.nlm.nih.gov/27087361/)



LEE22.NET OCR CONVERTER
(Powerful Optical Character Reader for English and Japanese)

I have developed the OCR (Optical Character Reader) software, "LEE22.NET OCR CONVERTER."
This is a powerful tool to convert many image files into text files.
Just drag and drop image files into the listview and you can get all these image files converted into text files in a sec.
Now, it's only compatible with two languages, English and Japanese, and I'm going to add more languages,
and PDF files to text files converting function later if I'd like to.





DOWNLOAD
LEE22.NET OCR CONVERTER (Ver1)(Windows)

<Update History>
2022/11/26 : Released


LEE22 SECURE BOOK (WITH AES SECURITY)

LEE22 SECURE BOOK is a handy tool for working with many documents, with the function of automatically saving your documents with AES (Advanced Encryption Standard) security.
The index column on the left contains many document titles and the window on the right displays the content of the article.
When you create a new article, the title of the article is added to the left index window and the content is stored in the content window.
All data is automatically encrypted with your own password using "AES 256-bit" encryption, designated by the United States government as the next generation encryption algorithm.
This allows you to store many documents in one AES 256-bit encrypted document.




#Index column on the left side and document content on the right side, so you can process many documents at the same time.
#All data is encrypted by AES 256-bit encryption algorithm, and you can avoid data leakage.
#You can protect all documents with your own password.
#Compatible with Internet hyperlink.

This will automatically save your documents encrypted and keep your documents always safe!
DOWNLOAD
LEE22 SECURE BOOK(Ver1.2)

OPERATING SYSTEM REQUIREMENT
Windows XP (SP3), Windows Vista, Windows7, Windows8, Windows10
Windows Server 2003, 2003 R2, 2008, 2008 R2, 2012, 2012 R2, 2016

<Update History>
2016/09/19 : Additional measures against brute force attacks added.
2016/08/29 : Improved security
2016/08/15 : Released


LEE22.NET PASSWORD GENERATOR

I have developed a very powerful password generator. You can generate very strong passwords from two simple keywords that you can easily remember.
They say that using your birthday as a password is very dangerous for your security, but with this tool you can generate a really strong password.
It will generate the same password if you set the same value for each of the keywords, so you can easily remember your passwords.
You can set the password length from 5 to 128 and all the languages you can use as your keywords.


The password length can be set from 5 to 128.


DOWNLOAD :

(English version)
LEE22.NET PASSWORD GENERATOR (2023/04/23 Updated)
(In the latest version, "@" does not appear as a symbol in a generated password because some websites don't allow "@" in a password.)

LEE22.NET PASSWORD GENERATOR (2023/04/18)
(The old version, "@", may appear in a generated password.)

(Japanese version)
LEE22.NET PASSWORD GENERATOR (2023/04/23 Updated)


LEE22 MEDICAL CALCULATOR

(Handy calculator specialized in medical fields)

LEE22 MEDICAL CALCULATOR is a handy calculator program, which allows you to calculate a lot of complicated medical functions very easily, such as Allowable Blood Loss, Body Mass Index, Body Surface Area, Blood Volume, Kaup Index, Cleatinine Clearance, Glomerular Filtration Rate, Therapeutic Drug Monitoring, and so on. You can download and use it freely.





Download "LEE22 MEDICAL CALCULATOR"

OPERATING SYSTEM REQUIREMENT
Windows XP (SP3), Windows Vista, Windows7, Windows8, Windows10
Windows Server 2003, 2003 R2, 2008, 2008 R2, 2012, 2012 R2, 2016

UPDATE HISTORY
AUGUST 9, 2016 : New functions "Four basic arithmetic operations, root and power operations"
JULY 31, 2016 : Release of the LEE22 MEDICAL CALCULATOR.


How to Send Me Messages

You can send me messages from here.
(FB account is required.)



COPYRIGHT (C) LEE22.NET ALL RIGHTS RESERVED.