Thursday, 15 September 2011

Arthritis

Sources : Yahoo Health

Definition

Arthritis is inflammation of one or more joints, which results in pain, swelling, stiffness, and limited movement. There are over 100 different types of arthritis.
See also: Joint pain

Alternative Names

Joint inflammation

Causes, incidence, and risk factors

Arthritis involves the breakdown of cartilage. Cartilage normally protects the joint, allowing for smooth movement. Cartilage also absorbs shock when pressure is placed on the joint, like when you walk. Without the usual amount of cartilage, the bones rub together, causing pain, swelling (inflammation), and stiffness.
You may have joint inflammation for a variety of reasons, including:
  • An autoimmune disease (the body attacks itself because the immune system believes a body part is foreign)
  • Broken bone
  • General "wear and tear" on joints
  • Infection (usually caused by bacteria or viruses)
Often, the inflammation goes away after the injury has healed, the disease is treated, or the infection has been cleared.
With some injuries and diseases, the inflammation does not go away or destruction results in long-term pain and deformity. When this happens, you have chronic arthritis. Osteoarthritis is the most common type and is more likely to occur as you age. You may feel it in any of your joints, but most commonly in your hips, knees or fingers. Risk factors for osteoarthritis include:
  • Being overweight
  • Previously injuring the affected joint
  • Using the affected joint in a repetitive action that puts stress on the joint (baseball players, ballet dancers, and construction workers are all at risk)
Arthritis can occur in men and women of all ages. About 37 million people in America have arthritis of some kind, which is almost 1 out of every 7 people.
Other types or cause of arthritis include:

Symptoms

If you have arthritis, you may experience:
  • Joint pain
  • Joint swelling
  • Reduced ability to move the joint
  • Redness of the skin around a joint
  • Stiffness, especially in the morning
  • Warmth around a joint

Signs and tests

First, your doctor will take a detailed medical history to see if arthritis or another musculoskeletal problem is the likely cause of your symptoms.
Next, a thorough physical examination may show that fluid is collecting in the joint. (This is called an "effusion.") The joint may be tender when it is gently pressed, and may be warm and red (especially in infectious arthritis and autoimmune arthritis). It may be painful or difficult to rotate the joints in some directions. This is known as "limited range-of-motion."
In some autoimmune forms of arthritis, the joints may become deformed if the disease is not treated. Such joint deformities are the hallmarks of severe, untreated rheumatoid arthritis.
Tests vary depending on the suspected cause. They often include blood tests and joint x-rays. To check for infection and other causes of arthritis (like gout caused by crystals), joint fluid is removed from the joint with a needle and examined under a microscope. See the specific types of arthritis for further information.

Treatment

Treatment of arthritis depends on the particular cause, which joints are affected, severity, and how the condition affects your daily activities. Your age and occupation will also be taken into consideration when your doctor works with you to create a treatment plan.
If possible, treatment will focus on eliminating the underlying cause of the arthritis. However, the cause is NOT necessarily curable, as with osteoarthritis and rheumatoid arthritis. Treatment, therefore, aims at reducing your pain and discomfort and preventing further disability.
It is possible to greatly improve your symptoms from osteoarthritis and other long-term types of arthritis without medications. In fact, making lifestyle changes without medications is preferable for osteoarthritis and other forms of joint inflammation. If needed, medications should be used in addition to lifestyle changes.
Exercise for arthritis is necessary to maintain healthy joints, relieve stiffness, reduce pain and fatigue, and improve muscle and bone strength. Your exercise program should be tailored to you as an individual. Work with a physical therapist to design an individualized program, which should include:
  • Low-impact aerobic activity (also called endurance exercise)
  • Range of motion exercises for flexibility
  • Strength training for muscle tone
A physical therapist can apply heat and cold treatments as needed and fit you for splints or orthotic (straightening) devices to support and align joints. This may be particularly necessary for rheumatoid arthritis. Your physical therapist may also consider water therapy, ice massage, or transcutaneous nerve stimulation (TENS).
Rest is just as important as exercise. Sleeping 8 to 10 hours per night and taking naps during the day can help you recover from a flare-up more quickly and may even help prevent exacerbations. You should also:
  • Avoid holding one position for too long.
  • Avoid positions or movements that place extra stress on your affected joints.
  • Modify your home to make activities easier. For example, have grab bars in the shower, the tub, and near the toilet.
  • Reduce stress, which can aggravate your symptoms. Try meditation or guided imagery. And talk to your physical therapist about yoga or tai chi.
Other measures to try include:
  • Apply capsaicin cream (derived from hot chili peppers) to the skin over your painful joints. You may feel improvement after applying the cream for 3-7 days.
  • Eat a diet rich in vitamins and minerals, especially antioxidants like vitamin E. These are found in fruits and vegetables. Get selenium from Brewer's yeast, wheat germ, garlic, whole grains, sunflower seeds, and Brazil nuts. Get omega-3 fatty acids from cold water fish (like salmon, mackerel, and herring), flaxseed, rapeseed (canola) oil, soybeans, soybean oil, pumpkin seeds, and walnuts.
  • Taking glucosamine and chondroitin -- these form the building blocks of cartilage, the substance that lines joints. These supplements are available at health food stores or supermarkets. While some studies show such supplements may reduce osteoarthritis symptoms, others show no benefit. However, since these products are regarded as safe, they are reasonable to try and many patients find their symptoms improve.
MEDICATIONS
Your doctor will choose from a variety of medications as needed. Generally, the first drugs to try are available without a prescription. These include:
  • Acetaminophen (Tylenol) -- recommended by the American College of Rheumatology and the American Geriatrics Society as first-line treatment for osteoarthritis. Take up to 4 grams a day (two arthritis-strength Tylenol every 8 hours). This can provide significant relief of arthritis pain without many of the side effects of prescription drugs. DO NOT exceed the recommended doses of acetaminophen or take the drug in combination with large amounts of alcohol. These actions may damage your liver.
  • Aspirin, ibuprofen, or naproxen -- these nonsteroidal anti-inflammatory drugs (NSAIDs) are often effective in combating arthritis pain. However, they have many potential risks, especially if used for a long time. They should not be taken in any amount without consulting your doctor. Potential side effects include heart attack, stroke, stomach ulcers, bleeding from the digestive tract, and kidney damage. In 2005, the U.S. Food and Drug Administration (FDA) asked makers of NSAIDs to include a warning label on their product that alerts users of an increased risk for heart attack, stroke, and gastrointestinal bleeding. If you have kidney or liver disease, or a history of gastrointestinal bleeding, you should not take these medicines unless your doctor specifically recommends them.
Prescription medicines include:
  • Biologics-- these are the most recent breakthrough for the treatment of rheumatoid arthritis. Such medications, including etanercept (Enbrel), infliximab (Remicade) and adalimumab (Humira), are administered by injection and can dramatically improve your quality of life. Newer biologics include Orencia (abatacept) and Rituxan (rituximab).
  • Corticosteroids ("steroids") -- these are medications that suppress the immune system and symptoms of inflammation. They are often injected into painful osteoarthritic joints. Steroids are used to treat autoimmune forms of arthritis but should be avoided in infectious arthritis. Steroids have multiple side effects, including upset stomach and gastrointestinal bleeding, high blood pressure, thinning of bones, cataracts, and increased infections. The risks are most pronounced when steroids are taken for long periods of time or at high doses. Close supervision by a physician is essential.
  • Cyclooxygenase-2 (COX-2) inhibitors -- These drugs block an inflammation-promoting enzyme called COX-2. This class of drugs was initially believed to work as well as traditional NSAIDs, but with fewer stomach problems. However, numerous reports of heart attacks and stroke have prompted the FDA to re-evaluate the risks and benefits of the COX-2s. Celecoxib (Celebrex) is still available, but labeled with strong warnings and a recommendation that it be prescribed at the lowest possible dose for the shortest duration possible. Talk to your doctor about whether COX-2s are right for you.
  • Disease-modifying anti-rheumatic drugs -- these have been used traditionally to treat rheumatoid arthritis and other autoimmune causes of arthritis. These drugs include gold salts, penicillamine, sulfasalazine, and hydroxychloroquine. More recently, methotrexate has been shown to slow the progression of rheumatoid arthritis and improve your quality of life. Methotrexate itself can be highly toxic and requires frequent blood tests for patients on the medication.
  • Immunosuppressants -- these drugs, like azathioprine or cyclophosphamide, are used for serious cases of rheumatoid arthritis when other medications have failed.
It is very important to take your medications as directed by your doctor. If you are having difficulty doing so (for example, due to intolerable side effects), you should talk to your doctor.
SURGERY AND OTHER APPROACHES
In some cases, surgery to rebuild the joint (arthroplasty) or to replace the joint (such as a total knee joint replacement) may help maintain a more normal lifestyle. The decision to perform joint replacement surgery is normally made when other alternatives, such as lifestyle changes and medications, are no longer effective.
Normal joints contain a lubricant called synovial fluid. In joints with arthritis, this fluid is not produced in adequate amounts. In some cases, a doctor may inject the arthritic joint with a manmade version of joint fluid. The synthetic fluid may postpone the need for surgery at least temporarily and improve the quality of life for persons with arthritis.

Expectations (prognosis)

A few arthritis-related disorders can be completely cured with treatment. Most are chronic (long-term) conditions, however, and the goal of treatment is to control the pain and minimize joint damage. Chronic arthritis frequently goes in and out of remission.

Complications

  • Chronic pain
  • Lifestyle restrictions or disability

Calling your health care provider

Call your doctor if:
  • Your joint pain persists beyond 3 days.
  • You have severe unexplained joint pain.
  • The affected joint is significantly swollen.
  • You have a hard time moving the joint.
  • Your skin around the joint is red or hot to the touch.
  • You have a fever or have lost weight unintentionally.

Prevention

If arthritis is diagnosed and treated early, you can prevent joint damage. Find out if you have a family history of arthritis and share this information with your doctor, even if you have no joint symptoms.
Osteoarthritis may be more likely to develop if you abuse your joints (injure them many times or over-use them while injured). Take care not to overwork a damaged or sore joint. Similarly, avoid excessive repetitive motions.
Excess weight also increases the risk for developing osteoarthritis in the knees and possibly in the hips. See the article on body mass index to learn whether your weight is healthy.

References

D'Cruz DP, Khamashta MA, Hughes GR. Systemic lupus erythematosus. Lancet. 2007;369(9561):587-96.
Glass GG. Osteoarthritis. Dis Mon. 2006;52:343-362.
Gregory PJ, Sperry M, Wilson AF. Dietary supplements for osteoarthritis. Am Fam Physician. 2008;77:177-184.
Smolen JS, Aletaha D, Koeller M, Weisman MH, Emery P. New therapies for treatment of rheumatoid arthritis. Lancet. 2007;270(9602):1861-74.

Some of the Best Pictures Ever Taken

They say pictures speak a thousand words, here are some of the best photos ever taken that will lead you to speechless.























AWK Tutorial


awk tutorial
Why awk?
The Awk text-processing programming language and is a useful tool for manipulating text.
·  Awk recognizes the concepts of "file", "record", and "field".
·  A file consists of records, which by default are the lines of the file. One line becomes one record.
·  Awk operates on one record at a time.
·  A record consists of fields, which by default are separated by any number of spaces or tabs.
·  Field number 1 is accessed with $1, field 2 with $2, and so forth. $0 refers to the whole record.
[awkuser@p3nlh096 ~]$ awk -help
Usage: awk [POSIX or GNU style options] -f progfile [--] file ...
Usage: awk [POSIX or GNU style options] [--] 'program' file ...
POSIX options:          GNU long options:
        -f progfile             --file=progfile
        -F fs                   --field-separator=fs
        -v var=val              --assign=var=val
        -m[fr] val
        -W compat               --compat
        -W copyleft             --copyleft
        -W copyright            --copyright
        -W dump-variables[=file]        --dump-variables[=file]
        -W exec=file            --exec=file
        -W gen-po               --gen-po
        -W help                 --help
        -W lint[=fatal]         --lint[=fatal]
        -W lint-old             --lint-old
        -W non-decimal-data     --non-decimal-data
        -W profile[=file]       --profile[=file]
        -W posix                --posix
        -W re-interval          --re-interval
        -W source=program-text  --source=program-text
        -W traditional          --traditional
        -W usage                --usage
        -W version              --version

To report bugs, see node `Bugs' in `gawk.info', which is
section `Reporting Problems and Bugs' in the printed version.

gawk is a pattern scanning and processing language.
By default it reads standard input and writes standard output.

Examples:
        gawk '{ sum += $1 }; END { print sum }' file
        gawk -F: '{ print $1 }' /etc/passwd


Now, for an explanation of the { print } code block. In awk, curly braces are used to group blocks of code together, similar to C. Inside our block of code, we have a single print command. In awk, when a print command appears by itself, the full contents of the current line are printed.
$ awk '{ print $0 }' /etc/passwd

output
-------
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
...

In awk, the $0 variable represents the entire current line, so print and print $0 do exactly the same thing.
$ awk '{ print "" }' /etc/passwd

$ awk '{ print "hello" }' /etc/passwd
Running this script will fill your screen with hello's.
AWK Variables
awk variables are initialized to either zero or the empty string the first time they are used.
Variables
·  Variable declaration is not required
·  May contain any type of data, their data type may change over the life of the program
·  Must begin with a letter and continuing with letters, digits and underscores
·  Are case senstive
·  Some of the commonly used built-in variables are:
  • NR -- The current line's sequential number
  • NF -- The number of fields in the current line
  • FS -- The input field separator; defaults to whitespace and is reset by the -F command line parameter
/test$ cat calc
3 56
567 89
/test$ awk '{d=($2-($1-4));s=($2+$1);print d/sqrt(s),d*d/s }' calc
7.42077 55.0678
-18.5066 342.494
/test$
in above example we have a file calc with two rows and two columns. Note that the final statement, a "print" in this case, does not need a semicolon. It doesn't hurt to put it in, though.

Integer variables can be used to refer to fields. If one field contains information about which other field is important, this script will print only the important field:
$ awk '{imp=$1; print $imp }' calc

The special variable NF tells you how many fields are in this record. This script prints the first and last field from each record, regardless of how many fields there are:
if now calc file is
3 56 abd
567 89 xyz
$ awk '{print $1,$NF }' calc
3 abd
567 xyz

Begin and End
Any action associated with the BEGIN pattern will happen before any line-by-line processing is done. Actions with the END pattern will happen after all lines are processed.
1.One is to just mash them together, like so:

awk 'BEGIN{print"fee"} $1=="foo"{print"fi"}
     END{print"fo fum"}' filename


AWK Arrays
awk has arrays, but they are only indexed by strings. This can be very useful, but it can also be annoying. For example, we can count the frequency of words in a document (ignoring the icky part about printing them out):
$ awk '{for(i=1;i <=NF;i++) freq[$i]++ }' filename

The array will hold an integer value for each word that occurred in the file. Unfortunately, this treats "foo", "Foo", and "foo," as different words. Oh well. How do we print out these frequencies? awk has a special "for" construct that loops over the values in an array. This script is longer than most command lines, so it will be expressed as an executable script:
#!/usr/bin/awk -f
{for(i=1;i <=NF;i++) freq[$i]++ }
END{for(word in freq) print word, freq[word]
}

AWK Regular expressions and blocks

awk '/pattern_to_match/ {actions}' input_file

awk '/foo/ { print }' abc.txt

cat abc.txt|awk '/[0-9]+.[0-9]*/ { print }'


Expressions and blocks
fredprint

$1 == "fred" { print $3 }

root

$5 ~ /root/ { print $3 }

AWK Conditional statements
awk '{
   if ( $1 ~ /root/ )
  {
   print $1
  }
}' /etc/passwd

Both scripts function identically. In the first example, the boolean expression is placed outside the block, while in the second example, the block is executed for every input line, and we selectively perform the print command by using an if statement. Both methods are available, and you can choose the one that best meshes with the other parts of your script.
if
{
        if ( $1 == "foo" ) {
               if ( $2 == "foo" ) {
                       print "uno"
               } else {
                       print "one"
               }
        } else if ($1 == "bar" ) {
               print "two"
        } else {
               print "three"
        }
}


if
! /matchme/ { print $1 $3 $4 }
{
        if ( $0 !~ /matchme/ ) {
               print $1 $3 $4
        }
}

Both scripts will output only those lines that don't contain a matchme character sequence. Again, you can choose the method that works best for your code. They both do the same thing.

( $1 == "foo" ) && ( $2 == "bar" ) { print }

This example will print only those lines where field one equals foo and field two equals bar.