Search for Medical Information and Treatment Options for Musculoskeletal Disorders through an Artificial Intelligence Chatbot: Focusing on Shoulder Impingement Syndrome

Background: The ChatGPT is an artificial intelligence chatbot that processes natural language text learned through reinforcement learning based on the GPT-3.5 architecture, a large-scale language model. Natural language processing models are being used in various fields and are gradually expanding their use in the medical field. Purpose: This study aimed to investigate the medical information or treatment options that ChatGPT can provide for SIS. Method: Using ChatGPT, which is provided as a free beta test, messages related to SIS were entered, and responses to medical information and treatment options were received and analyzed. Result: ChatGPT not only provided answers to the definition, prevalence, and risk factors of SIS, but also symptoms, diseases with similar symptoms, and orthopedic tests according to the messages input. Additionally, a list of treatment options and exercises were provided. Conclusion: ChatGPT will be able to provide overall useful medical information and treatment options to patients unfamiliar with SIS. However, caution is required as it contains content that may be biased or inappropriate information for patients with SIS. Nevertheless, if natural language processing technology develops further, it is expected to be able to express more detailed medical information and treatment options.


Introduction
Terminology includes specialized words used in a specific field and their meanings.A term is a word, compound word, or multiple expression that is given a specific meaning in a specific context. 1 Although these terms are the same word, in different contexts, they can have different meanings from everyday language. 1Medical terminology is a professional term mainly used by people in the medical and medical fields. 2There is no way to know what the first medical term was, but medical terminology must have started to develop along with human birth, aging, and disease.Many of the medical terms we are currently using first appeared in the literature, 'Hippocratic Corpus' published in the era of the Greek Hippocrates, and terms such as symptoms, pain, disease, and infection had already begun to be used at this time. 3,4Some of these medical terms are familiar to the public, but there are still many medical terms that only experts can communicate, making it difficult for patients to acquire information.
The scope of medical information and services is expanding as the paradigm of medical services shifts from the existing focus on disease treatment to the direction of maintaining a healthy life through prevention and management. 5As a result, not only patients but also the public has gradually became interested in health, and access to medical information and services gradually began to increase.Currently, the ways in which medical information and services can be acquired have become very diverse compared to the past.In particular, the development of accessibility to online web technology and the spread of smartphones had a great influence. 6Traditionally, medical information and services have been provided in an offline form by directly visiting doctors or medical professionals.7][8] However, since the amount of such medical information is so large, it may be more difficult to obtain medical information or services suitable for the desired purpose.Additionally, medical information that may be inappropriate or harmful to patients may be delivered because to a mixture of contents that have not been verified in advance or created according to strict regulations.ChatGPT is a prototype artificial intelligence chatbot developed by OpenAI in November 2022, with a focus on usability and conversation. 10The ChatGPT was trained through reinforcement learning based on the GPT-3.5 architecture, a large language model. 11GPT-3.5 is an upgraded language model following GPT-3 that can generate sentences indistinguishable from those written by humans.Tasks that GPT-3 can perform include solving various language-related problems, writing random texts, simple arithmetic operations, translation, and simple web coding according to given sentences. 12,13Even, GPT-3 wrote a 7-page article in accordance with the format, such as citing references, in response to an input message to write an article about itself, and this article was published in preprint with GPT-3 as the first author. 14T-3 is expected to have many impacts in the medical field.First, automation of tedious and simple computer tasks performed in clinical settings can productively improve clinical workers' job satisfaction and reduce the amount of time devoted to computers. 15It can also navigate complex electronic health record (EHR) systems and easily automate documentation for human medical decision-making, order preparation and other mundane tasks. 15In addition to this, it is expected that ChatGPT will be able to serve as a personalized therapist. 16When GPT-3 was applied to answer medical examination questions and medical research questions, it was observed that overall GPT-3 performed at a high level and that GPT-3 was knowledgeable and able to reason about medical questions. 17GPT-3 exhibited reasoning patterns compatible with human-like medical problem-solving, although it often exhibited biased predictions when asked unanswerable questions and sometimes did not match human performance. 17Nevertheless, extending the model and data, strengthening prompt sorting, and allowing better contextualization of completion would be sufficient to reach human-level performance in tasks on medical questions. 17 such, language models based on GPT-3 seem to be able to perform medical tasks instead or give answers based on reasoning about medical terminology.Therefore, this study aimed to investigate what kind of medical information or treatment options can be provided by ChatGPT for shoulder impingement syndrome (SIS), which is one of the musculoskeletal disorders and is mainly expressed in orthopedic terms that are difficult for the public to understand.

1) ChatGPT
In this study, sentences to obtain medical information about SIS were entered into ChatGPT, a chatbot based on GPT-3.5, and responses were received and recorded.To obtain treatment options and therapeutic exercises for SIS, sentences related to treatment and exercise for SIS were entered into ChatGPT and detailed responses were received and recorded.
ChatGPT was trained using reinforcement learning with human feedback, a method of augmenting machine learning with human intervention to achieve realistic results. 11During training, human trainers acted as users and AI assistants. 10The model was trained on Microsoft Azure's supercomputing infrastructure and fine-tuned through the Proximal Policy Optimization algorithm. 10,16ChatGPT is available for free on the web.(

2) Requests for medical information and treatment options
To obtain medical information and treatment options for shoulder impingement, the following categories and messages were prepared as sentences to be entered into ChatGPT (Table 1).Then, the messages were entered into ChatGPT and the answers were presented.The messages were entered into ChatGPT on December 7, 2022.

Result 1) Definition of shoulder impingement syndrome
Shoulder impingement syndrome, also known as subacromial impingement syndrome, is a condition that occurs when the tendons or bursa (a small fluid-filled sac that cushions the bones, tendons, and muscles near the joints) in the shoulder become irritated or inflamed.This can happen when the tendons or bursa become compressed or pinched against the bone at the top of the shoulder (the acromion).
Shoulder impingement syndrome typically causes pain and discomfort in the shoulder, especially when the arm is lifted or rotated.It can also cause weakness and difficulty moving the arm.The condition is commonly seen in people who perform repetitive overhead activities, such as throwing a ball or lifting weights, or in people who have poor posture or muscle imbalances.
Treatment for shoulder impingement syndrome typically involves a combination of rest, physical therapy, and medications to reduce inflammation and pain.In some cases, surgery may be necessary to remove any bone spurs or other tissue that is causing the impingement.It is important to work with a healthcare provider to determine the best treatment plan for your specific condition.

2) Prevalence of shoulder impingement syndrome
The prevalence of shoulder impingement syndrome, also known as subacromial impingement syndrome, is not well established.It is a common condition, and estimates suggest that it affects approximately 3% of the general population.However, the prevalence of shoulder impingement syndrome may be higher in certain populations, such as athletes who perform repetitive overhead activities or individuals with certain risk factors, such as previous injuries or poor posture.It is important to work with a healthcare provider to determine if you are at risk for developing shoulder impingement syndrome and to develop a treatment plan to manage your symptoms and prevent further complications. .

3) Risk factors of shoulder impingement syndrome
The risk factors for shoulder impingement syndrome can vary, but some common factors that may increase your risk of developing this condition include: -Engaging in repetitive overhead activities: Shoulder impingement syndrome is often caused by the tendons and bursae in the shoulder becoming compressed or "impinged" between the bones of the shoulder.This can occur as a result of repetitive overhead activities, such as throwing a ball, painting a ceiling, or lifting heavy objects.
-Previous injury to the shoulder: A previous injury to the shoulder, such as a rotator cuff tear or dislocation, can increase the risk of developing shoulder impingement syndrome.
-Poor posture: Poor posture, such as slouching or rounding the shoulders, can put additional strain on the muscles and tendons of the shoulder, increasing the risk of impingement.
-Age: Shoulder impingement syndrome is more common in middle-aged individuals, and the risk of developing the condition may increase with age.
-Gender: Shoulder impingement syndrome may be more common in men than in women.
-Overweight or obesity: Being overweight or obese can increase the risk of developing shoulder impingement syndrome, as extra body weight can put additional strain on the shoulder muscles and tendons.
-Smoking: Smoking has been linked to an increased risk of shoulder impingement syndrome, as well as other musculoskeletal conditions.
Overall, while the specific risk factors for shoulder impingement syndrome can vary, engaging in repetitive overhead activities, having a previous shoulder injury, and poor posture are among the most common factors that may increase your risk of developing this condition. .

4) Symptoms of shoulder impingement syndrome
The symptoms of shoulder impingement syndrome, also known as subacromial impingement syndrome, can vary depending on the severity of the condition and the underlying cause.Some common symptoms of shoulder impingement syndrome may include: -Pain and discomfort in the shoulder, especially when the arm is lifted or rotated -Weakness in the arm -Difficulty moving the arm -Aching or burning sensations in the shoulder -Swelling or tenderness in the shoulder -A popping or grinding sensation when moving the arm If you are experiencing any of these symptoms, it is important to talk to your healthcare provider.
They can evaluate your condition and determine the best course of treatment to manage your symptoms and prevent further complications. .

5) Disorders with similar symptoms as shoulder impingement syndrome
There are several disorders that may have similar symptoms to shoulder impingement syndrome, as they can cause pain and discomfort in the shoulder.Some disorders that may be confused with shoulder impingement syndrome include: -Rotator cuff tear: A rotator cuff tear is a common cause of shoulder pain and discomfort, and may be mistaken for impingement syndrome.A rotator cuff tear occurs when the tendons that attach the muscles of the rotator cuff to the bone in the shoulder become torn or damaged.
-Frozen shoulder: Frozen shoulder, also known as adhesive capsulitis, is a condition that causes the shoulder joint to become stiff and painful.It may be mistaken for impingement syndrome, as the symptoms can be similar.
-Bursitis: Bursitis is an inflammation of the bursae, which are small fluid-filled sacs that cushion the bones, tendons, and muscles near the joints.Bursitis in the shoulder can cause pain and discomfort, and may be mistaken for impingement syndrome.
-Osteoarthritis: Osteoarthritis is a condition that occurs when the protective cartilage on the ends of your bones wears down over time.It can cause pain and stiffness in the shoulder, and may be mistaken for impingement syndrome.
It is important to work with a healthcare provider to accurately diagnose the cause of your shoulder pain and develop an appropriate treatment plan.Your healthcare provider may order imaging tests, such as x-rays or MRI, to confirm the diagnosis and determine the best course of treatment. .

6) Orthopedic examination for shoulder impingement syndrome
Orthopedic tests are used by healthcare providers, such as orthopedists or physical therapists, to diagnose and evaluate conditions that affect the musculoskeletal system, including the shoulder.
During an orthopedic examination for shoulder impingement syndrome, the healthcare provider may perform a variety of tests to assess the range of motion and strength in your shoulder, as well as to evaluate the function of the rotator cuff and other structures in the shoulder.Some specific tests that may be performed during an orthopedic examination for shoulder impingement syndrome include: -Neer test: The healthcare provider will ask you to lift your arm out to the side and then forward, and will look for pain or weakness in the shoulder.
-Hawkins test: The healthcare provider will ask you to lift your arm out to the side and then rotate it inward, and will look for pain or weakness in the shoulder.
-Empty-can test: The healthcare provider will ask you to lift your arm out to the side and then rotate it inward, holding your hand in a fist as if you are holding a can.The healthcare provider will look for pain or weakness in the shoulder.
-Speed's test: The healthcare provider will ask you to lie on your side with your affected arm on top.The healthcare provider will then lift your arm and look for pain or weakness in the shoulder. .

7) Treatment for shoulder impingement syndrome
Treatment for shoulder impingement syndrome typically involves a combination of rest, physical therapy, and medications to reduce inflammation and pain.Some specific treatment options for shoulder impingement syndrome may include: -Rest: It is important to avoid activities that cause pain or discomfort in the shoulder, and to give the shoulder time to rest and heal.
-Physical therapy: A physical therapist can provide exercises and other interventions to stretch and strengthen the muscles in the shoulder, improve range of motion, and reduce inflammation.
-Medications: Nonsteroidal anti-inflammatory drugs (NSAIDs) can be used to reduce pain and inflammation.Your healthcare provider may also recommend corticosteroid injections to provide more targeted relief from inflammation.
-Surgery: In some cases, surgery may be necessary to remove any bone spurs or other tissue that is causing the impingement.
It is important to work with a healthcare provider to determine the best treatment plan for your specific condition.Treatment may vary depending on the severity of the impingement syndrome and other factors.

8) Exercises for shoulder impingement syndrome
Exercise is an important part of recovery from shoulder impingement syndrome.A physical therapist can provide specific exercises and other interventions to help stretch and strengthen the muscles in the shoulder and improve range of motion.Some examples of exercises that may be recommended to recover from shoulder impingement syndrome include: -Pendulum stretches: Stand with your back against a wall and your affected arm resting on a table.Let your arm hang down and gently move it in small circles.
-Scapular squeezes: Stand with your arms at your sides and squeeze your shoulder blades together.Hold for a few seconds and then release.
-External rotation: Stand with your affected arm at your side and a light weight in your hand.
Keeping your elbow against your side, rotate your arm outward.
-Internal rotation: Stand with your affected arm at your side and a light weight in your hand.
Keeping your elbow against your side, rotate your arm inward.
-Forward flexion: Stand with your arms at your sides and slowly raise your arms straight out in front of you.
It is important to work with a physical therapist to determine the best exercise program for your specific condition and needs.It is also important to start slowly and gradually increase the intensity and duration of your exercises as your shoulder strength and range of motion improve.

Discussion
ChatGPT responded to all message inputs requesting medical information and treatment options for SIS.The composed sentences included all sentence structures such as subject, verb, and object, and did not show any major grammatical errors, nor did it use incomprehensible or awkward expressions.
Overall, answers suitable for the input messages were output.Regarding the terms constituting the sentences included in the answers, words were used at a level that even those unfamiliar with the words could understand overall.However, some of the medical terms used by medical experts in the orthopedic field were also included.
ChatGPT expressed the overall definition of SIS in a way that is commonly defined by medical professionals in medicine.SIS was first described by Charles S. Neer in 1972 and the term began to be used among related medical professionals. 18Since then, more than 10,000 papers containing SIS as a keyword have been actively researched and referred to in the MEDLINE database covering several topics in the fields of health, welfare and medicine. 19As such, SIS has already become a familiar term among experts through many literatures, and since the definition of this term is also clearly established, ChatGPT would not have had much difficulty in answering the definition of SIS.
ChatGPT responded that the prevalence of SIS is 3% of the general population, and that it may vary depending on the person who is frequently exposed to specific risk factors.However, there was no literature or evidence for why ChatGPT reported a SIS prevalence of 3%.Nevertheless, Frost (1999)   found a prevalence of 5.27% for workers performing high-intensity tasks and a prevalence of 7.90% for workers performing high-intensity manual labor. 20Therefore, the prevalence of SIS answered by ChatGPT could closely match the actual prevalence.ChatGPT suggested uncontrollable factors such as age and gender, and factors that could be controlled by individuals, such as repetitive activities, poor posture, obesity, and smoking, as risk factors for developing SIS.2][23][24][25] However, smoking and gender have been reported to be related to or not related to the occurrence of SIS, so these factors need to be confirmed through additional studies. 26,27garding these controversial risk factors, ChatGPT gives a biased answer.Additionally, even if the answer is correct, it is considered difficult for the questioner to determine which risk factor is the most important factor for the occurrence of SIS.
Regarding the symptoms, the answers were composed of words that were easy for the public to understand.These answers are a common complaints of most patients with SIS. 24,28,29However, the expression of these symptoms has many things in common with other shoulder diseases, so it is necessary to distinguish them.ChatGPT suggested rotator cuff tear, frozen shoulder, bursitis, and osteoarthritis as diseases with symptoms similar to SIS.These conditions may have symptoms like those of SIS, but may have other causes and require a differential diagnosis. 28However, these diseases may accompany the SIS or occur because of SIS. 27,30,31Since it is difficult to classify diseases only by the expression of symptoms, ChatGPT would have recommended that those with these symptoms receive an accurate diagnosis, cause of pain, and appropriate treatment plan from a healthcare provider.The orthopedic tests for diagnosing SIS proposed by ChatGPT were tests mainly used in clinical practice and explained relatively detailed posture descriptions and procedures. 32,33However, if the tests are performed using only these answers, it will be difficult for the examiner to directly apply the tests to the subject.To perform orthopedic tests in the clinical setting, examiner should performed based on more detailed instructions, such as the subject's posture, shoulder angle, and direction of resistance.In addition to this, more close and detailed observation is required, such as the range of pain during the examination and the patient's response.However, the answers will help the subject understand what tests will be taken and how they will be conducted.
As for the treatment options of SIS suggested by ChatGPT, rest, which is considered a basic treatment option for most diseases, and medication, which is a conservative treatment to improve symptoms by reducing pain and inflammation, were suggested.Along with this, physical therapy can be expected to improve the symptoms by increasing the range of motion of the joint and strengthening the shoulder muscles.Additionally, it was suggested that surgical treatment may be necessary in some cases.ChatGPT said basic and uncontroversial treatment options among several treatment options and said that more details and specific treatment options would be obtained through a medical professional.However, SIS is not considered as a self-limiting syndrome in which symptoms improve .spontaneously over time with rest. 28Therefore, when SIS is diagnosed through orthopedic, radiographic, or ultrasound examinations, it is recommended that the use of drugs to reduce pain, relieve inflammation, and active physical therapy to restore physical functions rather than simply taking rest are better for recovering the symptoms of SIS. 28,34[37] Therefore, it will not be easy for non-experts to determine the treatment options based on this information, since effective treatment varies greatly depending on the individual's condition or the degree of SIS.ChatGPT considers exercise to be one of the important factors in recovering from SIS and provides several examples of exercises that can be helpful, along with how to perform them.The Pendulum exercise presented by ChatGPT is a simple exercise that can be initially applied to patients who suffer from shoulder pain and have difficulty in shoulder movement in clinical practice. 38wever, the description of the posture and action of Pendulum exercise was inaccurate.This exercise involves the patient holding a table or chair with their un-involved side hand and swinging the involved arm toward the floor, rather than standing with their back against a wall. 39Also, ChatGPT suggested scapular squeeze exercise, and it was reported that scapular squeeze accompanied by external rotation of the shoulder can lead to high muscle activity of the serratus anterior muscle, one of the important muscles in scapular upward rotation and shoulder elevation. 22,40,41However, there is no study that directly used scapular squeeze or scapular adduction as an exercise for scapular impingement SIS.Alternatively, when a patient with a forward head posture raises the arm, weakness in the serratus anterior muscle can cause scapular adduction. 42The shoulder internal and external rotation exercises that ChatGPT answered are important exercises for recovering symptoms.4][45] However, the external rotation and internal rotation exercises answered by ChatGPT are low-intensity exercises that do not apply a load for shoulder rotation.Even if the patient lifts an object in the above posture and exercises since the direction of the load is parallel to the axis of rotation of the shoulder, no load is applied to the rotation of the shoulder, and most of the load is applied to the elbow flexor. 468][49] Even in the case of forward flexion, the description may be inappropriate for patients with SIS.The forward flexion exercise should be performed in stages according to the patient's condition, and the forward flexion posture should be guided in detail to avoid SIS.A mechanism for lifting the arm while avoiding SIS is to perform a scaption motion that lifts the arm in line with the scapular plane. 46,50other mechanism is to lift the arm while maintaining shoulder external rotation so that the lesser tuberosity of humerus does not impinge on the subacromial structures during arm elevation. 46erefore, even though patients with SIS experience pain or symptoms when lifting their arms, ChatGPT's guide to flexing the shoulders may make it difficult to perform the movement or aggravate symptoms.
There are several limitations in this study.First, ChatGPT was evaluated as coming close to passing the Turing test, which tests how similarly a machine can converse with a human, but it has yet to pass.
Second, ChatGPT is a stateful chatbot that provides answers while maintaining previous conversation records.Therefore, messages that entered earlier may have influenced messages that entered later.
Third, since medical knowledge and information are mainly shared in the form of research or books, it would have been difficult to perform language modeling by accessing detailed medical information.
Additionally, since most medical data contain sensitive information, difficulty in accessing it would also have limited modeling.Fourth, since ChatGPT is an artificial intelligence chatbot created by programmers, there would have been much more access and use in the computer science and engineering field, and it may be more developed for questions such as programming languages and coding.

Conclusion
ChatGPT will be able to provide overall helpful information for patients who are not familiar with SIS regarding medical information or treatment options.It seems that it can be helpful enough to show medical information or treatment options to be searched for in an abbreviated form, and to inform the information in an expression as if a person is speaking.Nevertheless, the content contains some biased views or contents that may be inappropriate information depending on the patient's condition.Therefore, it is still difficult for artificial intelligence chatbots to provide accurate medical information or provide correct treatment options to individuals on behalf of humans.Previous natural language processing artificial intelligence was at the stage of performing basic and simple tasks on behalf of humans, but at the current stage, it could provide general and basic level medical information and treatment options on behalf of humans.In the future, if technological advances in natural language processing models are made together with the medical field, it is expected that more detailed medical information and treatment options can be delivered instead of humans.

Figure. 1 )
ChatGPT is designed to meet human needs and it can precisely analyze the question or sentence posed by a person and process the answer appropriately.

which was not certified by peer review) preprint
. CC-BY 4.0 International license It is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity.(

Table 1 .
Categories and messages to input to ChatGPT 3) Risk factorsCan you tell me the risk factors for shoulder impingement syndrome?4) Symptoms Can you tell me the symptoms of shoulder impingement syndrome?5) Similar disorders Can you tell me about the disorders that have symptoms similar to shoulder impingement syndrome?6) Examination Can you tell me about orthopedic examination for shoulder impingement syndrome?7) Treatment Can you tell me about the treatment for shoulder impingement syndrome?8) Exercise Can you tell me about exercise for shoulder impingement syndrome?