setfit pytorch mpnet sentence-transformers text-classification generated_from_setfit_trainer arxiv:2209.11055 base_model:sentence-transformers/all-mpnet-base-v2 base_model:finetune:sentence-transformers/all-mpnet-base-v2 region:us
---
base_model: sentence-transformers/all-mpnet-base-v2
library_name: setfit
metrics:
- accuracy
pipeline_tag: text-classification
tags:
- setfit
- sentence-transformers
- text-classification
- generated_from_setfit_trainer
widget:
- text: "ed_course section: \n 11/24/23 1442    Fri Nov 24, 2023     1050 X rays of\
    \ the right hand independently reviewed and are negative for acute fracture  \
    \        Clinical Impressions as of 11/24/23  1442    Crushing injury of finger,\
    \ initial encounter    Subungual hematoma of digit of hand, initial encounter\n\
    Disposition: Discharge\n\n10 year old male presented with a crush injury between\
    \ the door hinge in the garage.  Sustained injuries to the tips of the 3rd  and\
    \ 4th fingers on the right hand.  Patient was soft tissue swelling noted on exam\
    \ with small subungual hematoma on the 3rd nail.  No obvious bony abnormalities\
    \ noted.  Neurovascularly intact without any open wounds.  Has an obvious bruise\
    \ adjacent to  the lateral nail fold of the 3rd finger.  X rays of the right hand\
    \ independently reviewed and are negative.  Radiation interpretation is in agreement.\
    \  A cage splint was applied over the 3rd finger given that this is the most prominent\
    \ pain source.  Will  continue rest, ice, immobilization, splint for protection\
    \ and NSAIDs at home.  No evidence of acute fracture, dislocation, laceration,\
    \ or intra articular injury.  Possible underlying osseous contusion.  Supportive\
    \ care discussed with his parents.\n\nAfter my initial evaluation, the patient\
    \ requires testing, treatment\nand/or serial reevaluations to rule in or out the\
    \ need for admission or emergency surgery.\n\nI reviewed Outside records: none\n\
    \nI independently interpreted the following studies: diagnostic imaging\n\nI spoke\
    \ with a family member, healthcare worker, or other source to obtain history:\
    \ no\n\nI spoke with these other providers/staff about patient management: None\n\
    \nThis patient has these chronic conditions that will impact their recovery and\
    \ risk of serious illness: none\n\nThe following social determinants of health\
    \ directly affected my ability to evaluate or manage this patient: none\n\nDrug\
    \ Therapies: I instructed the patient to obtain over the counter drugs.\n\nAmount\
    \ and/or Complexity of Data Reviewed\nIndependent Historian: parent\nRadiology:\
    \ ordered and independent interpretation performed. Decision making details documented\
    \ in EMERGENCY DEPARTMENT Course.\n\nRisk\nOTC drugs.\n\n\n\n\n\n\n\nNo data recorded\n\
    \ned_diagnosis section: \nNone\nphysical examination section: \n\nEMERGENCY DEPARTMENT\
    \ Triage Vitals [11/24/23 1021]       Temperature Heart Rate Resp BLOOD PRESSURE\
    \  36.4 °C (97.5 °F) 100 24 (!) 126/69           SpO2 Temp Source Heart Rate/Pulse\
    \ Source Patient Position  91 % Oral                 BLOOD PRESSURE Location FiO2\
    \ (%)\n\nVitals and nursing note reviewed.\nConstitutional:\nGeneral: He is active.\n\
    Appearance: Normal appearance. He is well developed.\nHENT:\nHead: Normocephalic\
    \ and atraumatic.\nEyes:\nExtraocular Movements: Extraocular movements intact.\n\
    Pupils: Pupils are equal, round, and reactive to light.\nCardiovascular:\nPulses:\
    \ Normal pulses.\nPulmonary:\nEffort: Pulmonary effort is normal.\nMusculoskeletal:\n\
    General: Swelling and tenderness  present. No deformity. Normal range of motion.\n\
    Cervical back: Normal range of motion.\nComments: Soft tissue swelling noted to\
    \ the tips of the right 3rd and 4th fingers along the distal phalanx.  There is\
    \ a less than 5% subungual hematoma to the 3rd fingernail.  No open wounds noted.\
    \   No active bleeding.  Mild bruising noted to the medial nail fold of the right\
    \ 3rd finger.  Tenderness across the distal phalanx of the 3rd and 4th finger\
    \ more prominently in the 3rd finger.  Range of motion is intact with normal flexion\
    \ and extension.   Normal sensory exam.  No foreign bodies noted.  No obvious\
    \ bony deformity.\nSkin:\nGeneral: Skin is warm and dry.\nCapillary Refill: Capillary\
    \ refill takes less than 2 seconds.\nNeurological:\nMental Status: He is alert\
    \ and oriented for age.\n\n\n\nEMERGENCY DEPARTMENT Course  MDM\n\nHistory of\
    \ present illness section: \n\nHistory reviewed. No pertinent past medical history.\n\
    \nPast Surgical History:      Procedure Laterality Date       • TONSILLECTOMY\n\
    \nNo family history on file.\n\nTobacco Use      • Smoking status: Never     \
    \ • Smokeless tobacco: Never\n\nProcedure: \nNone\nReview of System: \n\nMusculoskeletal:\
    \  Positive for myalgias.\nSkin:  Positive for color change. Negative for wound.\n\
    Neurological:  Negative for weakness and numbness.\n\n.\nLab Results: \nNone\n\
    Medications: \n    ibuprofen (ADVIL,MOTRIN) 100 mg/5 mL suspension 400 mg (400\
    \ mg oral Given 11/24/23 1033)\n\nResults:\nLabs Reviewed   No data to display\n\
    X ray hand 3+ views right    EMERGENCY DEPARTMENT Interpretation  Neg\nBMU   \
    \ Final Result  No acute osseous findings.\nNo orders to display\n\n\n\nFollow\
    \ Up:\nLisa Samuelson, MD\n400 McCaslin\nLouisville CO 80027\n303 666 7337\n\n\
    \n\n\n\nEMERGENCY DEPARTMENT Discharge Orders (From admission,  onward)\nNone\n\
    \n\n\nElectronically signed by\n\nBrandon Uttley, PA C\n11/24/23 1445\n\n\nbmk\n\
    \n\n"
- text: "ed_course section: \n38 year old female with uncontrolled pain to her right\
    \ ankle status post ORIF.  Patient had extensive workup as an outpatient  recently\
    \ with ultrasound performed.  On exam there is no evidence of wound infection,\
    \ DVT, compartment syndrome, arterial occlusion, abscess or any other acute findings.\
    \  Suspect this is pain related to her recent surgical repair by Dr. Leland. \
    \ Small  course of pain medication was given along with muscle relaxers as she\
    \ has excellent follow up on Tuesday with Orthopedics.  Cast padding and Ace wrap\
    \ was reapplied along with her 3 way splint.  Neurovascularly intact pre and post\
    \ splint application.   No indication clinically for any imaging or other diagnostics\
    \ at this time.\n\nAfter my initial evaluation, the patient requires testing,\
    \ treatment\nand/or serial reevaluations to rule in or out the need for admission\
    \ or emergency surgery.\n\nI reviewed Outside records: PDMP and last admission\n\
    \nI independently interpreted the following studies: none\n\nI spoke with a family\
    \ member, healthcare worker, or other source to obtain history: no\n\nI spoke\
    \ with these other providers/staff about patient management: None\n\nThis patient\
    \ has these chronic conditions that will impact their recovery and risk of serious\
    \ illness: psychiatric disease\n\nThe following social determinants of health\
    \ directly affected my ability to evaluate or manage this patient: none\n\nDrug\
    \ Therapies: I instructed the patient to obtain over the counter drugs. and I\
    \ initiated or managed prescription drugs.\n\nAmount and/or Complexity of Data\
    \ Reviewed\nExternal Data Reviewed: radiology and notes.\n\nRisk\nOTC drugs.\n\
    Prescription drug management.\n\n\n\n\n\n\n\nNo data recorded\n\ned_diagnosis\
    \ section: \nNone\nphysical examination section: \n\nEMERGENCY DEPARTMENT Triage\
    \ Vitals [06/09/23 0919]       Temperature Heart Rate Resp BLOOD PRESSURE    \
    \   36.8 °C (98.3 °F) 91 16 103/76           SpO2 Temp Source Heart Rate/Pulse\
    \ Source Patient Position  92 % Oral    Sitting           BLOOD PRESSURE Location\
    \ FiO2 (%)         Right arm\n\nVitals and nursing note reviewed.\nConstitutional:\n\
    General: She is not in acute distress.\nAppearance: Normal appearance. She is\
    \ well developed. She is not ill appearing.\nHENT:\nHead: Normocephalic and atraumatic.\n\
    Eyes:\nConjunctiva/sclera: Conjunctivae normal.\nCardiovascular:\nRate and Rhythm:\
    \ Normal rate and regular rhythm.\nPulses: Normal pulses.\nHeart sounds: No murmur\
    \ heard.\nPulmonary:\nEffort: Pulmonary effort is normal. No respiratory distress.\n\
    Breath sounds: Normal breath sounds.\nMusculoskeletal:\nGeneral: Swelling and\
    \ tenderness  present. No deformity.\nCervical back: Normal range of motion and\
    \ neck supple.\nComments: Incision to the medial right ankle noted without wound\
    \ dehiscence.  Sutures are clean dry and intact without discharge.  There is no\
    \ erythema, induration or fluctuance.  Bruising around  the ankle noted with swelling\
    \ into the foot.  There is bruising to the lateral lower calf.  No palpable venous\
    \ cords.  Sensory exam diminished to the entirety of the foot however intact to\
    \ the lower leg.  No edema to the calf.  No adductor canal tenderness.   2+ DP\
    \ and POSTERIOR TIBIAL pulses are intact.  Good capillary refill less than 2 seconds.\
    \  Able to wiggle toes.  Full range motion of the knee intact.  Limited range\
    \ of motion of the ankle.  No obvious joint effusion or increased warmth across\
    \ the right ankle joint\nSkin:\nGeneral: Skin is warm and dry.\nCapillary Refill:\
    \ Capillary refill takes less than 2 seconds.\nNeurological:\nGeneral: No focal\
    \ deficit present.\nMental Status: She is alert and oriented to person, place,\
    \ and time. Mental status is at baseline.\nPsychiatric:\nMood and Affect: Mood\
    \ normal.\n\n\nEMERGENCY DEPARTMENT Course  MDM\n\nClinical Impressions as of\
    \ 06/09/23  1651    Postoperative pain    Acute right ankle pain\nDisposition:\
    \ Discharge\n\nHistory of present illness section: \n\nChief Complaint    Patient\
    \ presents with     • Ankle Pain        Posterior Tibial BIBA with c/o 9/10 pain\
    \ in her right ankle.  Posterior Tibial fractured ankle 3 weeks ago, requiring\
    \ surgical fixation, and was sent home with a splinted leg and  crutches.  She\
    \ reports running out of oxy 1 week ago.  Has been taking tylenol, ibuprofen,\
    \ and RICE without relief.  States she has been putting more weight on the leg\
    \ than she is supposed to and thinks that is making the pain worse.\n\n38 year\
    \ old female postoperative day 4 from ORIF right ankle trimalleolar fracture with\
    \ repair by Dr. Leland presents  to the emergency department with continuation\
    \ of pain.  Patient states that her pain has not been well managed at home.  She\
    \ is been nonweightbearing with crutches however states that the pain is intense\
    \ and not well controlled with OTC meds.  She ran  out of her oxycodone that was\
    \ prescribed to her on her surgical day on Monday.  Patient had an ultrasound\
    \ performed 4 days ago which was negative.  She denies any fevers, chills but\
    \ does endorse increasing swelling to the foot and ankle causing numbness.   This\
    \ has been present since she had a fall and tripped over her dog on 05/19.  No\
    \ prior history of DVT.  Denies any chest pain, shortness of breath, fevers, chills\
    \ or notable discharge from the wound.  Has a follow up next Tuesday with Dr.\
    \ Leland.  States  that her foot has been swollen and numb since the injury occurred\
    \ in May.  Pain is sharp and constant with radiation up the leg.\n\n\n\nPast Medical\
    \ History:     Diagnosis Date      • Anxiety       • Anxiety attack\n\nPast Surgical\
    \ History:      Procedure Laterality Date       • ABDOMINAL SURGERY    • CESAREAN\
    \ SECTION, LOW TRANSVERSE    • FRACTURE SURGERY         • HERNIA REPAIR\n\nFamily\
    \ History    Family history unknown: Yes\n\nTobacco Use      • Smoking status:\
    \ Every Day         Packs/day: 0.50    Years: 19.00    Pack years: 9.50    Types:\
    \ Cigarettes      • Smokeless tobacco: Never    Vaping Use      • Vaping Use:\
    \ Never used    Substance Use Topics      • Alcohol use: Yes         Alcohol/week:\
    \ 28.0 standard drinks    Types: 28 Cans of beer per week        Comment: 3 4\
    \ tall boys/day      • Drug use: Not Currently\n\nProcedure: \nNone\nReview of\
    \ System: \n\nConstitutional:  Negative for fever.\nRespiratory:  Negative for\
    \ shortness of breath.\nCardiovascular:  Negative for chest pain.\nMusculoskeletal:\
    \  Positive for arthralgias and joint swelling .\nSkin:  Positive for wound.\n\
    Neurological:  Positive for numbness. Negative for weakness.\nHematological: \
    \ Does not bruise/bleed easily.\n.\nLab Results: \nNone\nMedications: \n   No\
    \ data to display\n\nResults:\nLabs Reviewed   No data to display\nNo orders to\
    \ display\nNo orders to display\n\n\n\nFollow Up:\nNo follow up provider specified.\n\
    \nEMERGENCY DEPARTMENT Discharge Orders (From admission,  onward)\nStart Ordered\
    \     Status Ordering User           06/09/23 0000 06/09/23 0954  methocarbamoL\
    \ (ROBAXIN) 500 mg tablet  4 times daily PRN\n\nOrdered UTTLEY, BRANDON      \
    \     06/09/23 0000 06/09/23 0954  oxyCODONE acetaminophen (PERCOCET) 5 325 mg\
    \ per tablet  Every 6 hours PRN\n\nOrdered UTTLEY, BRANDON\n\n\n\nElectronically\
    \ signed by\n\nBrandon Uttley, PA C\n06/09/23 1652\n\n\nbmk\n\n\n"
- text: "ed_course section: \nAmount  and/or Complexity of Data Reviewed\nRadiology:\
    \ ordered and independent interpretation performed. Decision making details documented\
    \ in EMERGENCY DEPARTMENT Course.\n\nRisk\nPrescription drug management.\n\n\n\
    Vital signs reviewed and stable upon arrival\nLeft foot x ray ordered\n\nNo signs\
    \ of neurovascular compromise/tenting of skin/compartment syndrome/extremities\
    \ and joints examined above and below area of concern and are neurovascularly\
    \ intact.\n\n\nLeft foot x ray my read via PAC shows no fracture, no dislocation\n\
    \nPlaced in Sampson boot, podiatry follow up\n\n\nClinical Impressions as of 09/18/23\
    \  1612    Foot injury, left, initial encounter\ned_diagnosis section: \n1. Foot\
    \ injury, left, initial encounter\nphysical examination section: \nVitals:   \
    \   09/15/23 2244     BLOOD PRESSURE: 147/87  Pulse: 108  Resp: 18  Temp: 36.8\
    \ °C (98.2 °F)  TempSrc: Tympanic  SpO2: 95%  Weight: 113 kg (250 lb)     Height:\
    \ 1.829 m (6)\n\n\nVital signs reviewed and triage nurse notes reviewed\nGeneral\
    \ Appearance/VS:  awake, alert, non toxic, no distress, polite and cooperative\
    \ teenage female\nEyes: EOMI, no icterus\nENT: moist mucous membranes, nares patent\n\
    Lungs:  Symmetric with no chest wall rise, no respiratory distress, no tachypnea\n\
    CARDIOVASCULAR: no pedal edema, good capillary refill, tachycardia\nGASTROINTESTINAL:\
    \ no abdominal distention, no wincing upon palpation\nMusculoskeletal: 2/2 pedal\
    \ pulses, strength 5/5, left foot tenderness at the base of the 5th metatarsal\
    \ with bruising.  DIP/MTP flexion/extension intact with good light touch sensation.\
    \ no deformities, no clubbing, no cyanosis, no edema.  Compartments  are soft.\n\
    Left Ankle: Plantar flexion to 50°, dorsiflexion to 20°.  Foot inversion to 35\
    \ degree.  No tenderness/swelling Anterior talofibular ligament.  No tenderness/swelling\
    \ Calcaneofibular ligament, no tenderness/swelling posterior talofibular ligament,\
    \  no tenderness/swelling posterior inferior tibiofibular ligament. Achilles tendon\
    \ intact.  Plantar flexion and dorsiflexion intact.\nNeuro: normal speech, 5/5\
    \ strength throughout, ambulatory without deficits\nPsych: normal mood/affect\n\
    Skin: pink, no rash on exposed skin, good capillary refill\n\nHistory of present\
    \ illness section: \n\nPatient is a 19 year old female who presents via walk in\
    \ with left lateral aspect of left foot at the base of her left little toe pain\
    \ and bruising.  She is requesting x ray.  Patient states that she \"banged\"\
    \ her foot into a metal shoe rack.  Was not  wearing shoes.  Worked all day serving\
    \ food and had increased pain.\n\nAcuity:  Acute\nSeverity:  4/10\nModifying Factors:\
    \  Supportive measures with transient relief\n\nSigns and Symptoms:  No bleeding,\
    \ no radiation, no numbness, no weakness, no tingling, no incontinence, no decreased\
    \ range of motion, no swelling, + pain, no fever\n\n\nPast Medical History:  \
    \   Diagnosis Date      • Bipolar disorder (CMS/HCC)\n\nPast Surgical History:\
    \      Procedure Laterality Date       • TONSILLECTOMY         • WISDOM TOOTH\
    \ EXTRACTION\n\nSocioeconomic History      • Marital status: Single         Spouse\
    \ name: None      • Number of children: None  • Years of education: None  • Highest\
    \ education level: None    Occupational History     • None    Tobacco Use    \
    \  • Smoking status: Never  • Smokeless tobacco: Never    Substance and Sexual\
    \ Activity      • Alcohol use: None        Comment: occasional      • Drug use:\
    \ Yes         Types: Marijuana      • Sexual activity: None     Other Topics Concern\
    \     • None    Social History Narrative     • None\nSocial Determinants of Health\n\
    Financial Resource Strain: Not on file  Food Insecurity: Not on file  Transportation\
    \ Needs: Not on file  Physical Activity: Not on file  Stress: Not on file  Social\
    \ Connections: Not on file  Intimate Partner Violence: Not on file    Housing\
    \ Stability: Not on file\n\n\nFamily History:No family history on file.\n\nAllergies:Patient\
    \ has no known allergies.\n\n\n\n\nProcedure: \n\n\nReview of System: \nNone\n\
    Lab Results: \nLabs Reviewed   No data to display\n\n\n\nMedications: \nXR foot\
    \ left 3+ views    Final Result  Negative. No acute fracture.\n\n\n\n   No data\
    \ to display\n\n\n\nThis Chart was Electronically Signed by Stephen MacDade, MD\n\
    \n\n\n\nEMERGENCY DEPARTMENT Prescriptions   None\n\nThis patient was seen under\
    \ the supervision of my secondary supervising physician.  I evaluated and cared\
    \ for this patient independently.\n\n\nTerra Rudd, PA C\n09/15/23 2349\n\n\nStephen\
    \ MacDade, MD\n09/18/23 1612\n\n\nbmk\n\n\n"
- text: "ed_course section: \n 01/13/23 1651    Fri Jan 13, 2023     1648 X ray: Reviewed\
    \ by myself.  No fracture.          Clinical Impressions as of 01/13/23  1651\
    \    Sprain of right ankle, initial encounter\nDisposition: Data Unavailable\n\
    \nMDM\n\ned_diagnosis section: \nNone\nphysical examination section: \n\nEMERGENCY\
    \ DEPARTMENT Triage Vitals [01/13/23 1556]       Temperature Heart Rate Resp BLOOD\
    \ PRESSURE  36.7 °C (98.1 °F) 75 20 (!) 153/97           SpO2 Temp src Heart Rate/Pulse\
    \ Source Patient Position  99 %       Sitting           BLOOD PRESSURE Location\
    \ FiO2 (%)         Right arm\n\nVitals and nursing note reviewed. Constitutional:\n\
    General: She is not in acute distress.   Appearance: Normal appearance.    Comments:\
    \ Alert, oriented x3, able to describe the events.  HENT :\nHead: Normocephalic\
    \ and atraumatic.  Musculoskeletal:\nGeneral: Swelling and tenderness  present.\
    \ Normal range of motion.    Comments: Significant swelling over the right lateral\
    \ malleoli as well as slightly anterior.  No discomfort at the fibular head. \
    \ No discomfort or tenderness  at the head of the 5th metatarsal.  Dorsalis pedis\
    \ and posterior tibial pulses are intact.\nNeurological:\nMental Status: She is\
    \ alert.\n\n\nEMERGENCY DEPARTMENT Course  MDM\n\n\nHistory of present illness\
    \ section: \n\nPast Medical History:     Diagnosis Date      • Depression   •\
    \ Dermatitis   • Developmental delay   • Hyperlipidemia   • Obesity       • Seizures\
    \ (CMS/HCC)\n\nPast Surgical History:      Procedure Laterality Date       • BREAST\
    \ BIOPSY Right 2019\n\nNo family history on file.\n\nTobacco Use      • Smoking\
    \ status: Never  • Smokeless tobacco: Never    Vaping Use      • Vaping Use: Never\
    \ used    Substance Use Topics      • Alcohol use: Never      • Drug use: Never\n\
    \nProcedure: \nNone\nReview of System: \n\nUnable to perform ROS: Other  (History\
    \ of developmental delay.)\nConstitutional: Negative for chills and fever.\nHENT:\
    \ Negative for congestion, rhinorrhea and sore throat.\nEyes: Negative for pain\
    \ and visual disturbance.\nRespiratory: Negative for cough and shortness of breath.\n\
    Cardiovascular: Negative for chest pain and palpitations.\nGastrointestinal: Negative\
    \ for abdominal pain, diarrhea, nausea and vomiting.\nGenitourinary: Negative\
    \ for dysuria, hematuria and vaginal discharge.\nSkin: Negative for color change\
    \ and rash.\nNeurological: Negative for dizziness, seizures, syncope, light headedness\
    \ and headaches.\nAll other systems reviewed and are negative.\n\n.\nLab Results:\
    \ \nNone\nMedications: \n   No data to display\n\nResults:\nLabs Reviewed   No\
    \ data to display\nXR ankle right 3+ views    Final Result  1. Negative. No acute\
    \ fracture or ankle arthropathy.  2. Chronic Achilles tendinopathy with dystrophic\
    \ calcification and enthesophyte formation.\nNo orders to display\n\n\n\nFollow\
    \ Up:\nNo follow up provider specified.\n\nEMERGENCY DEPARTMENT Discharge Orders\
    \  (From admission, onward)      None\n\n\nElectronically signed by\n\nKim Feldhaus,\
    \ MD\n01/13/23 1651\n\n\nbmk\n\n\n"
- text: "ed_course section: \n\nClinical Impressions as of 03/16/23  0857    Non recurrent\
    \ acute serous otitis media of right ear    Viral URI\nNo data recorded\n\nMDM/DISCUSSION:\n\
    \ned_diagnosis section: \n1. Non recurrent acute serous otitis media of right\
    \ ear      2. Viral URI\n\nDisposition: Discharge\n\n\nphysical examination section:\
    \ \n\nEMERGENCY DEPARTMENT Triage Vitals       Temp Pulse Resp BLOOD PRESSURE\
    \                        SpO2 Temp src Heart Rate/Pulse Source Patient Position\
    \                             BLOOD PRESSURE Location FiO2 (%)\n\nVital signs\
    \ are normal.\nGeneral:  No acute distress\nHEENT:  Nose:  Clear discharge bilaterally.\
    \ No sinus tenderness to percussion.\nEars:  Right ear:  Right external canals\
    \ clear right TM has mild erythema and a clear effusion.  Left ear:  Left external\
    \ canal and TM are clear\nOropharynx:  No erythema or exudates. No dysphonia.\
    \  No drooling or stridor.  No dental tenderness to percussion no mandible tenderness\
    \ or TMJ tenderness.  No crepitance with opening closing mouth the TMJ\nEyes:\
    \  Pupils equal and react to light.  Extraocular motions are intact.\nNeck:  Supple\
    \ with no meningismus.  No lymphadenopathy\nLungs:  Normal respiratory effort.\n\
    Cardiac:  Appears well perfused.  Cap refills intact bilaterally\nSkin:  No rash\
    \ or pallor.\nNeuro:  Alert with no focal deficits noted.\n\n\n\nHistory of present\
    \ illness section: \n\n\nPAST HISTORIES / Medications\n / ALLERGIES\nHistory reviewed.\
    \ No pertinent past medical history.\nOtherwise healthy\nHistory reviewed. No\
    \ pertinent surgical history.\nNo family history on file.\nTobacco Use      •\
    \ Smoking status: Never  • Smokeless tobacco: Never    Substance Use Topics  \
    \    • Alcohol use: Not Currently  • Drug use: Yes         Types: Marijuana\n\
    Patient has no known allergies.\n\nProcedure: \nNone\nReview of System: \nHEENT:\
    \  She denies any facial pressure.  No sore throat\nGASTROINTESTINAL: No vomiting\
    \ diarrhea\nLab Results: \nNone\nMedications: \n given at discharge:\n\nEMERGENCY\
    \ DEPARTMENT Prescriptions   None\n\n\nMichael Thompson, MD\n\n\nMichael Thompson,\
    \ MD\n03/16/23 0857\n\n\nbmk\n\n\n"
inference: true
---

# SetFit with sentence-transformers/all-mpnet-base-v2

This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. This SetFit model uses [sentence-transformers/all-mpnet-base-v2](https://huggingface.co/sentence-transformers/all-mpnet-base-v2) as the Sentence Transformer embedding model. A [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance is used for classification.

The model has been trained using an efficient few-shot learning technique that involves:

1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
2. Training a classification head with features from the fine-tuned Sentence Transformer.

## Model Details

### Model Description
- **Model Type:** SetFit
- **Sentence Transformer body:** [sentence-transformers/all-mpnet-base-v2](https://huggingface.co/sentence-transformers/all-mpnet-base-v2)
- **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
- **Maximum Sequence Length:** 384 tokens
- **Number of Classes:** 2 classes
<!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
<!-- - **Language:** Unknown -->
<!-- - **License:** Unknown -->

### Model Sources

- **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
- **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)

### Model Labels
| Label | Examples                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
|:------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 0     | <ul><li>'ed_course section: \n22 year old presenting with left wrist pain, felt a popping sensation.  Will obtain x ray.\n\nNo obvious abnormalities on x ray.  Patient placed in a Velcro wrist splint.  Symptoms consistent with sprain.  Will discharge with follow up with Orthopedics in a week if symptoms are not improving.\n\nAmount and/or Complexity of Data Reviewed\nLabs: ordered.\nRadiology: ordered.\n\n\n\n\n\n\n\nNo data recorded\n\ned_diagnosis section: \n1. Wrist sprain, left, initial encounter\n\n\n\n\n\nElectronically signed by\n\nMatthew Loran, MD\n09/20/23 2216\n\n\nbmk\n\n\n\nphysical examination section: \nConstitutional :\nAppearance: Normal appearance.\nHENT:\nHead: Normocephalic.\nMouth/Throat:\nMouth: Mucous membranes are moist.\nEyes:\nPupils: Pupils are equal, round, and reactive to light.\nCardiovascular:\nRate and Rhythm: Normal rate.\nPulmonary:\nEffort: Pulmonary effort is normal.\nAbdominal:\nGeneral: There is no distension.\nMusculoskeletal:\nLeft wrist: Tenderness present. No swelling. Decreased range of motion .\nCervical back: Normal range of motion.\nComments: Distal ulna with tenderness over the ulnar styloid\nSkin:\nGeneral: Skin is warm and dry.\nCapillary Refill: Capillary refill takes less than 2 seconds.\nNeurological:\nMental Status: He is alert and oriented to person, place, and time.\nPsychiatric:\nMood and Affect: Mood normal.\n\n\nEMERGENCY DEPARTMENT Course \xa0MDM\n\nClinical Impressions as of 09/20/23  2216    Wrist sprain, left, initial encounter\nDisposition: Discharge\n\nHistory of present illness section: \n\nHistory reviewed. No pertinent past medical history.\n\nPast Surgical History:      Procedure Laterality Date       • APPENDECTOMY    • FINGER SURGERY         • WISDOM TOOTH EXTRACTION Bilateral\n\nNo family history on file.\n\nTobacco Use      • Smoking status: Never  • Smokeless tobacco: Never    Substance Use Topics      • Alcohol use: Yes\n\n\nEMERGENCY DEPARTMENT Triage Vitals       Temperature Heart Rate Resp BLOOD PRESSURE  09/20/23 2144 09/20/23 2144 09/20/23 2144 09/20/23 2146  37.2 °C (98.9 °F) 89 16 (!) 144/93           SpO2 Temp Source Heart Rate/Pulse Source Patient Position  09/20/23 2144 09/20/23 2144    09/20/23 2144  96 % Temporal  Sitting           BLOOD PRESSURE Location FiO2 (%)    09/20/23 2144            Right arm\n\nProcedure: \n\n\n\nDisposition: Discharge\n\nReview of System: \nnan\nLab Results: \nNone\nMedications: \n   No data to display\n\nResults:\nLabs Reviewed    RESPIRATORY PATHOGEN PANEL WITH SARS COV 2    URINALYSIS W/REFLEX MICROPSCOPIC\nX ray Wrist 3+ Views Left    Final Result  No acute process in the wrist by x ray.\nNo orders to display\n\n'</li><li>'ed_course section: \n2106:  Left lower extremity ultrasound my read via PAC shows Baker cyst but no DVT.\n\nPlaced in knee immobilizer, elevation, NSAIDs p.r.n., referral to Orthopedics\n\nClinical Impressions as of 03/29/23  2139    Bakers cyst of knee, left\nSplint Application\n\nDate/Time: 3/29/2023 9:38 PM\nPerformed by:  Terra Rudd, PA C\nAuthorized by:  Terra Rudd, PA C\n\ned_diagnosis section: \n1. Bakers cyst of knee, left\nphysical examination section: \nVitals:      03/29/23 1937     BLOOD PRESSURE: 120/76  Pulse: 94  Resp: 16  Temp: 36.6 °C (97.8 °F)  SpO2: 93%  Weight: 72.6 kg (160 lb)     Height: 1.651 m (5 5")\n\n\nVital signs reviewed and triage nurse notes reviewed\nGeneral Appearance/VS:  awake, alert, non toxic, polite and cooperative adult female\nEyes: EOMI, no icterus, wears glasses\nENT:  Wears a mask, nares patent\nLungs:  Symmetric with no chest wall rise, no respiratory distress, no tachypnea\nCARDIOVASCULAR: no pedal edema, good capillary refill\nGASTROINTESTINAL: no abdominal distention, no wincing upon palpation\nMusculoskeletal: 2/2 pulses, strength 5/5, good light touch sensation. no deformities, no clubbing, no cyanosis, no edema.  Compartments are soft.\nLeft KNEE: no effusion, no medial and lateral joint line tenderness, full extension to 180°, flexion to 120°.  No pain with varus and valgus exam. No pain with anterior drawer or posterior drawer test. Extensor mechanism intact.  Popliteal fullness\nLeft calf is slightly larger than right calf without palpable cords. Left foot plantar and dorsiflexion intact.  2/2 pedal pulses.  Foot warm to touch.\nNeuro: normal speech, 5/5 strength throughout, ambulatory without deficits\nPsych: normal mood/affect\nSkin: pink, no rash on exposed skin, good capillary refill\n\nHistory of present illness section: \n\nCHIEF COMPLAINT:\nChief Complaint    Patient presents with     • Leg Pain        Posterior Tibial c/o, i just returned from a long flight from scotland on mon night, yest behind my L thigh started to hurt, and some leg swelling/  additionally,  sent from an UC for concerns of dvt\n\n\n\nPatient is a 71 year old female with complaints of left thigh atraumatic pain yesterday and some leg swelling.  Patient returned from a long flight from Scotland on Monday night.  Denies chest pain, shortness of breath, skin color changes, joint pain,  fever.  Ambulating without difficulty.  History of left kneemeniscus injury.\n\nAcuity:  Acute\nSeverity:  Moderate\nModifying Factors:  Baby aspirin without relief\n\nSigns and Symptoms:  No bleeding, no radiation, no numbness, no weakness, no tingling, no incontinence, no decreased range of motion, + swelling, + pain, no fever\n\n\nPast Medical History:     Diagnosis Date      • ADHD   • Allergic rhinitis       extensive, as young adult. resolved with dietary changes.      • Anaphylaxis       age 10   bug bite in a lake      • Bilateral impacted cerumen 07/16/2020  • Depression   • Hallux abducto valgus, left 09/26/2017  • Leg length discrepancy       Lifelong process, patient report recalls tailoring her clothing starting in high school due to the difference.      • Long COVID   • Medial epicondylitis of elbow, right 08/17/2018  • Multiple drug allergies       Query allergic response ot epinephrine      • Seborrhea 07/16/2020\n\nPast Surgical History:      Procedure Laterality Date       • BREAST BIOPSY Left   • KNEE ARTHROSCOPY W/ MENISCAL REPAIR         • TONSILLECTOMY\n\nSocioeconomic History      • Marital status: Divorced         Spouse name: None      • Number of children: None  • Years of education: None  • Highest education level: None    Occupational History     • None    Tobacco Use      • Smoking status: Never  • Smokeless tobacco: Never    Substance and Sexual Activity      • Alcohol use: Not Currently         Alcohol/week: 6.0 standard drinks    Types: 2 Glasses of wine, 4 Shots of liquor per week      • Drug use: Not Currently  • Sexual activity: Not Currently         Partners: Male    Birth control/protection: None     Other Topics Concern     • None    Social History Narrative      PhD Psychologist.  Single.\nSocial Determinants of Health\nFinancial Resource Strain: Not on file  Food Insecurity: Not on file  Transportation Needs: Not on file  Physical Activity: Not on file  Stress: Not on file  Social Connections: Not on file  Intimate Partner Violence: Not on file    Housing Stability: Not on file\n\n\nFamily History       Problem Relation Name Age of Onset        • Bipolar disorder Mother Judy   • Depression Mother Judy   • Hearing loss Mother Judy   • Mental illness Mother Judy   • ADD / ADHD Father Bruce   • Alcohol abuse Father Bruce   • Heart disease Father Bruce   • Hypertension Father Bruce   • Depression Sister    • Depression Sister Robin         • Learning disabilities Son Damon\n\nAllergies:Benzocaine, Epinephrine, Procaine, Anesthetics   amide type   select amino amides, Cat dander, Corn, Gluten, Methylphenidate hcl, Miconazole nitrate, Shellfish derived, and Estrogel [estradiol]\n\n\n\n\nProcedure: \n\n\n1. Splint Application [43499946] ordered by Terra Rudd, PA C\n\n\n\nAttestation signed by Shannon Sovndal, MD at 3/31/2023  6:57 PM\n\nThe patient was evaluated and managed by the Physician Assistant.R\xa0 My co signature indicates that I have reviewed this chart and I agree with  the findings and plan of care as documented.R\xa0 I am the supervising physician.\n\nShannon Sovndal, MD\n\n\n\n\nConsent obtained:  Verbal\nConsent given by:  Patient\nRisks, benefits, and alternatives were discussed: yes\nRisks discussed:  Discoloration, numbness, pain and swelling\nAlternatives discussed:  Referral\nUniversal protocol:\nProcedure explained and questions answered to patient or proxys satisfaction: yes\nImaging studies available: yes\nPatient identity confirmed:  Verbally with patient\nDistal perfusion: distal pulses strong\nLocation:  Knee\nKnee location:  L knee\nSplint type:  Knee immobilizer\nSupplies:  Prefabricated splint\nDistal neurologic exam:  Normal\nDistal perfusion: distal pulses strong\nProcedure completion:  Tolerated well, no immediate complications\n\n\nReview of System: \nNone\nLab Results: \nLabs Reviewed   No data to display\n\n\n\nMedications: \nUltrasound venous lower extremity left    Final Result  1. Left Bakers cyst.  2. No deep venous thrombosis left leg.        Findings and recommendations discussed with Emergency Department physician, TERRA RUDD  at  3/29/2023 21:11 hour.    Final report concurs with initial preliminary interpretation.\n\n\n\n   No data to display\n\n\n\nThis Chart was Electronically Signed by Terra Rudd, PA C\n\n\n\n\nEMERGENCY DEPARTMENT Prescriptions   None\n\nThis patient was seen under the supervision of my secondary supervising physician.  I evaluated and cared for this patient independently.\n\n\n\nTerra Rudd, PA C\n03/29/23 2139\n\n\nbmk\n\n\n'</li><li>'ed_course section: \nNone\ned_diagnosis section: \n1. Viral exanthem\n\nphysical examination section: \nNone\nHistory of present illness section: \nAs in HPI.\nPAST MEDICAL HISTORY:  Normal childhood vaccinations up to date.  No vaccination for COVID 19 or influenzaSocial history:   Lives with parents\nVisit Vitals\nPulse 134     Temp 37 °C (98.6 °F) (Temporal)  Resp 24  Wt (!) 9.582 kg (21 lb 2 oz)  SpO2 95%     Smoking Status Never\nVital signs reviewed by me.\nPhysical exam: Alert, interactive, crying at times.\nOropharynx clear, mucous membranes moist, no cervical lymphadenopathy, neck supple.\nLungs clear to auscultation bilaterally.\nRegular rate and rhythm.\nAbdomen soft nontender nondistended.\nSkin with scattered small papules better erythematous and mostly flat.  There is also what appears to be a mild diaper rash under the diaper, external genitalia otherwise normal exam.  Rest of skin is warm and dry.\nNormal movement and strength all 4 extremities.\nEmergency Department course/MDM:\nDifferential considered:  Patient with symptoms of upper respiratory infection now at day 4.  Presents with likely viral exanthem without evidence of bacterial infection.  Afebrile in the emergency  department, active, well hydrated.  Respiratory pathogen panel sent awaiting results.  Return precautions reviewed.\nClinical Impressions as of 02/12/23  1158    Viral exanthem\nProcedure: \nnan\nReview of System: \nNone\nLab Results: \nNone\nMedications: \n   No data to display\nLabs Reviewed    RESPIRATORY PATHOGEN PANEL WITH SARS COV 2\n\n at discharge:\nEMERGENCY DEPARTMENT Prescriptions   None\n\n\nAlison Sheets, MD\n02/12/23 1158\n\n\nbmk\n\n\n'</li></ul> |
| 1     | <ul><li>'ed_course section: \n 05/20/23 1859    Sat May 20, 2023     1518 X ray personally interpreted proximal fibula reviewed with patient on the computer system.  Crutches and orthopedic referral.          Clinical Impressions as of 05/20/23  1859    Closed fracture of proximal end of left fibula, unspecified fracture morphology, initial encounter\ned_diagnosis section: \n1. Closed fracture of proximal end of left fibula, unspecified fracture morphology, initial encounter\n\nphysical examination section: \nNone\nHistory of present illness section: \nDoes not have other injuries.REVIEW OF SYSTEMS:\nAs in HPI.\nPAST MEDICAL HISTORY:  Previous ankle fracture, also on metformin and a statin.  History of CEREBROVASCULAR ACCIDENT and type 2 diabetes, hyperlipidemia and hypertensionSocial history:  Lives boulder\nVisit Vitals\nBLOOD PRESSURE 143/90 (BLOOD PRESSURE Location: Right arm, Patient Position: Sitting)     Pulse 58  Temp 36.8 °C (98.3 °F) (Temporal)  Resp 17  Ht 1.829 m (6)  Wt 93 kg (205 lb)  SpO2 96%  BMI 27.80 kg/m²  Smoking Status Never     BSA 2.17 m²\nVital signs reviewed by me.\nPhysical exam: Abrasion to the left leg just below the knee\nFull range of motion left knee and ankle with joint stability both places.\nCompartments soft in the lower leg but has lateral fibular tenderness.\n\nEmergency Department course/MDM:\nDifferential considered:  Fibula fracture, tibia fracture, knee or ankle injury x rays ordered.\n\nImaging studies personally viewed and interpreted: yes.\nReviewed with the patient.  Plan nonweightbearing at ortho follow up next week.  Warned at least 6 weeks for healing.\nProcedure: \nX ray knee 4+ views left    Final Result  Comminuted mildly displaced proximal fibular fracture.            XR ankle left 3+ views    Final Result  No acute osseous findings.        XR tibia fibula left 2 views    Final Result  Comminuted mildly displaced proximal fibular fracture.\n\nReview of System: \nNone\nLab Results: \nNone\nMedications: \n   No data to display\nLabs Reviewed   No data to display\n\n at discharge:\nEMERGENCY DEPARTMENT Prescriptions   None\n\n\n\nDale Wang, MD\n05/20/23 1859\n\n\nbmk\n\n\n'</li><li>'ed_course section: \n\n\nDdx includes laceration, tendon injury, arterial injury, foreign body, open fracture\n\nLaceration cleaned and irrigated.\nNo fb on inspection or on xray\nNo fxr clinically.\nTetanus utd\nLaceration cleaned, irrigated, surgicel applied and and  dressed. Given sub centimeter lacerations will hold on sutures given high risk of infection.  Home with f/you and return precautions\n\n\n\nRESPONSE TO TREATMENTS:  bleeding controlled\n\nEMERGENCY DEPARTMENT Prescriptions   None\n\nFOLLOW UP:\nFoothills Emergency Department\n4747 Arapahoe Avenue\nBoulder Colorado 80303 1131\n303 415 7606\nGo to\nIf symptoms worsen\n\n\nEMERGENCY DEPARTMENT Course\nClinical Impressions as of 09/03/23  1037    Laceration of finger of left hand without foreign body without damage to nail, unspecified finger, initial encounter\n\nAmount  and/or Complexity of Data Reviewed\nRadiology: ordered.\n\n\n\n\n\n\ned_diagnosis section: \nNone\nphysical examination section: \nEMERGENCY DEPARTMENT Triage Vitals [09/02/23 1853]       Temperature Heart Rate Resp BLOOD PRESSURE  36.3 °C (97.3 °F) (!) 120 16 (!) 143/94           SpO2 Temp Source Heart Rate/Pulse Source Patient Position  95 % Temporal    Sitting           BLOOD PRESSURE Location FiO2 (%)         Right arm\nVisit Vitals\nBLOOD PRESSURE (!) 143/94 (BLOOD PRESSURE Location: Right arm, Patient Position: Sitting)  Pulse (!) 120  Temp 36.3 °C (97.3 °F) (Temporal)  Resp 16  Ht 1.778 m (5 10")  Wt 79.4 kg (175 lb)  SpO2 95%  BMI 25.11 kg/m²  Smoking Status Never     BSA 1.98 m²\n\nVitals and nursing note reviewed.\nConstitutional:\nGeneral: He is in acute distress.\nHENT:\nHead: Normocephalic and atraumatic.\nMouth/Throat:\nMouth: Mucous membranes are moist.\nEyes:\nConjunctiva/sclera: Conjunctivae normal.\nPupils: Pupils are equal, round, and reactive to light.\nCardiovascular:\nRate and Rhythm: Normal rate and regular rhythm.\nPulmonary:\nEffort: Pulmonary effort is normal. No respiratory distress.\nMusculoskeletal:\nCervical back: Normal range of motion and neck supple.\nComments: Left hand: 5 subcentimeter lacerations over dorsal aspect of fingers and medial aspect of hand. No large glass seen.\nAble to flex and extend against resistance.\nSILT\n\nContinued small amount of bleeding until surgicel applied\nSkin:\nCapillary Refill: Capillary refill takes less than 2 seconds.\nComments: As above\nNeurological:\nMental Status: He is alert and oriented to person, place, and time.\n\n\nHistory of present illness section: \n\nChief Complaint    Patient presents with     • Finger Laceration        WI posterior tibial presents to EMERGENCY DEPARTMENT with CC of L hand lacerations approx 30 mins PTA after smashing glass bottle down. Fingers 3,4,5 laceration as well as medial palm.  Bandaged at triage, bleeding controlled. CMS intact. 15 20 beers today.\n21 year old male, healthy, tetanus up to date presents with lacerations to the left hand after breaking a beer bottle.  No other injuries.   Pain described as mild, no meds prior to arrival.  No difficulty moving his fingers.  Bleeding controlled.  No other injuries.\n\n\n\nHistory reviewed. No pertinent past medical history.\nHistory reviewed. No pertinent surgical history.\nNo family history on file.\nTobacco Use      • Smoking status: Never  • Smokeless tobacco: Current         Types: Chew    Vaping Use      • Vaping Use: Some days    Substance Use Topics      • Alcohol use: Yes         Alcohol/week: 20.0 standard drinks    Types: 20 Standard drinks or equivalent per week      • Drug use: Yes         Frequency: 4.0 times per week         Types: Marijuana\nAllergies Patient has no known allergies.\n\n\nProcedure: \n\n\nReview of System: \nA complete 10 point REVIEW OF SYSTEMS was performed and is negative with the exception  of those items previously documented in the HPI and nursing notes. As is my standard practice, ALL positives from the ROS are documented in the HPI.\n\nLab Results: \nX ray hand 3+ views left    Final Result  Negative left hand radiographs.\nImages personally reviewed by me: YES\n\n\n\n\n\n\n\nJustin McLean, MD\n09/03/23 1037\n\n\nbmk\n\n\n\nMedications: \nNone'</li><li>'ed_course section: \nBlake T Romine is a 41 y.o. male with no reported medical history who presents to the emergency department for evaluation of acute atraumatic left shoulder pain x1 week.  This is not associated with  joint erythema, cellulitic change, asymmetric swelling, or neurovascular changes.  Grip strength symmetric bilaterally.  Patient has significantly reduced range of motion both active and passively to abduction internal and external rotation.  Tricep DTRs  intact.  No associated neck pain, chest pain, shortness of breath, headache, dizziness or fever.  No visible rash.  Differential includes but not limited to adhesive capsulitis, rotator cuff injury, musculoskeletal strain, less likely DVT and brachial  plexus injury.  With lack of neck pain, prior neck injury or surgery I have low clinical suspicion for referred pain from C spine.  His x rays are reassuring without acute bony abnormality.  Patient was placed in a sling and provided outpatient orthopedic  referral for follow up.  NSAIDs advised.  Return precautions outlined in discharge.\n\nAmount  and/or Complexity of Data Reviewed\nRadiology: ordered.\n\n\n\nFollow Up Plan\nJeffrey Gagliano, MD\n4820 Riverbend Rd\nSte 200\nBoulder CO 80301 2618\n303 665 0286\n\nSchedule an appointment as soon as possible for a visit in 3 days\n\n\nErik Bowman, MD\n4740 Pearl Pkwy\nSte 200\nBoulder CO 80301 3080\n303 449 2730\n\nSchedule an appointment as soon as possible for a visit in 3 days\n\n\n\nDischarge Medications\n (if applicable):\nEMERGENCY DEPARTMENT Prescriptions   None\n\n\n 06/08/23 1207    Thu Jun 08, 2023     1133\nImpression:\nNegative.\nClinical Impressions as of 06/08/23  1207    Acute pain of left shoulder\n\ned_diagnosis section: \nNone\nphysical examination section: \nEMERGENCY DEPARTMENT Triage Vitals [06/08/23 1107]       Temperature Heart Rate Resp BLOOD PRESSURE  36.9 °C (98.5 °F) 86 18 117/77           SpO2 Temp Source Heart Rate/Pulse Source Patient Position  94 % Temporal    Sitting           BLOOD PRESSURE Location FiO2 (%)         Right arm\n\nGeneral Appearance:  Alert, oriented, appropriate for age, cooperative, NAD, VSS, no hypoxia.\nNeurological: Alert and oriented x 3, normal sensation of extremities\nSkin: Warm, dry, no rashes, no nodules on palpation.  No obvious erythema, warmth, asymmetric swelling to the left arm compared to right.  No visible wound or lesions.\nMusculoskeletal:  Patient endorses significant pain with attempted abduction of the shoulder as well as crossing the left arm over the body.  No pain with flexion of the elbow or wrist.  Intact distal radial, ulnar, median nerve function.  Slight subjective  decreased sensation over the deltoid.  No scapular winging.  I can reproduce some pain along the posterior deltoid to palpation although patient states most of the pain feels like it is "deep in the joint".  Intact tricep DTR bilaterally.  Grip strength  5/5.\nCardiac: Regular rate and rhythm no murmur\nRespiratory: Lungs clear bilaterally.\n\nPAST HISTORIES / Medications\n / ALLERGIES\nPast Medical History:     Diagnosis Date      • Sepsis (CMS/HCC)\nNo past surgical history on file.\nHistory of present illness section: \n41 y.o. male who is otherwise healthy with no reported medical history, presents to the emergency department with complaints of atraumatic left shoulder pain for the last 5 days.  Patient states he  is right hand dominant, works in the construction industry but prior to onset of pain and more recently has been doing more desk and administrative work.  Has been spending slightly more time on the computer.  He reports he has significant pain with any  attempt at moving the shoulder, this pain is usually worse at night.  Not report numbness or tingling to the hand or fingers or weakness to the lower arm.  He reports some minor sensory changes to the deltoid region.  He denies any neck or back pain,  fevers, headache, dizziness, chest pain, palpitations or shortness of breath.  No upper respiratory symptoms or body aches.  No obvious asymmetric swelling to the arm, redness or warmth to the joint.  Prior shoulder injury or surgery.  No pain extending  into the anterior or posterior chest wall.  No rash or insect bite.  No personal or family history of rheumatoid arthritis or autoimmune disease.  No other joint involvement.  He has been trying ibuprofen intermittently with minimal pain relief.\n\n\nTobacco Use      • Smoking status: Every Day  • Smokeless tobacco: Never    Substance Use Topics      • Alcohol use: Not Currently      • Drug use: Not Currently\n\nProcedure: \nPatients left arm was placed in a sling, ortho referral given.\n\nELECTRONICALLY SIGNED BY Jamie Canino, PA C\n\nJamie Canino, PA C\n06/08/23 1207\n\n\nbmk\n\n\n\nReview of System: \nNone\nLab Results: \nXR shoulder left 2+ views    Final Result  Negative.\nImages personally reviewed by me: YES\n\nMedications: \nNone'</li></ul>        |

## Uses

### Direct Use for Inference

First install the SetFit library:

```bash
pip install setfit
```

Then you can load this model and run inference.

```python
from setfit import SetFitModel

# Download from the 🤗 Hub
model = SetFitModel.from_pretrained("nishut/setfit-all-mpnet-189b_189g_v3")
# Run inference
preds = model("ed_course section: 

Clinical Impressions as of 03/16/23  0857    Non recurrent acute serous otitis media of right ear    Viral URI
No data recorded

MDM/DISCUSSION:

ed_diagnosis section: 
1. Non recurrent acute serous otitis media of right ear      2. Viral URI

Disposition: Discharge


physical examination section: 

EMERGENCY DEPARTMENT Triage Vitals       Temp Pulse Resp BLOOD PRESSURE                        SpO2 Temp src Heart Rate/Pulse Source Patient Position                             BLOOD PRESSURE Location FiO2 (%)

Vital signs are normal.
General:  No acute distress
HEENT:  Nose:  Clear discharge bilaterally. No sinus tenderness to percussion.
Ears:  Right ear:  Right external canals clear right TM has mild erythema and a clear effusion.  Left ear:  Left external canal and TM are clear
Oropharynx:  No erythema or exudates. No dysphonia.  No drooling or stridor.  No dental tenderness to percussion no mandible tenderness or TMJ tenderness.  No crepitance with opening closing mouth the TMJ
Eyes:  Pupils equal and react to light.  Extraocular motions are intact.
Neck:  Supple with no meningismus.  No lymphadenopathy
Lungs:  Normal respiratory effort.
Cardiac:  Appears well perfused.  Cap refills intact bilaterally
Skin:  No rash or pallor.
Neuro:  Alert with no focal deficits noted.



History of present illness section: 


PAST HISTORIES / Medications
 / ALLERGIES
History reviewed. No pertinent past medical history.
Otherwise healthy
History reviewed. No pertinent surgical history.
No family history on file.
Tobacco Use      • Smoking status: Never  • Smokeless tobacco: Never    Substance Use Topics      • Alcohol use: Not Currently  • Drug use: Yes         Types: Marijuana
Patient has no known allergies.

Procedure: 
None
Review of System: 
HEENT:  She denies any facial pressure.  No sore throat
GASTROINTESTINAL: No vomiting diarrhea
Lab Results: 
None
Medications: 
 given at discharge:

EMERGENCY DEPARTMENT Prescriptions   None


Michael Thompson, MD


Michael Thompson, MD
03/16/23 0857


bmk


")
```

<!--
### Downstream Use

*List how someone could finetune this model on their own dataset.*
-->

<!--
### Out-of-Scope Use

*List how the model may foreseeably be misused and address what users ought not to do with the model.*
-->

<!--
## Bias, Risks and Limitations

*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
-->

<!--
### Recommendations

*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
-->

## Training Details

### Training Set Metrics
| Training set | Min | Median   | Max  |
|:-------------|:----|:---------|:-----|
| Word count   | 143 | 701.3956 | 3132 |

| Label | Training Sample Count |
|:------|:----------------------|
| 0     | 189                   |
| 1     | 132                   |

### Training Hyperparameters
- batch_size: (16, 16)
- num_epochs: (5, 5)
- max_steps: -1
- sampling_strategy: oversampling
- num_iterations: 5
- body_learning_rate: (2e-05, 2e-05)
- head_learning_rate: 2e-05
- loss: CosineSimilarityLoss
- distance_metric: cosine_distance
- margin: 0.25
- end_to_end: False
- use_amp: False
- warmup_proportion: 0.1
- seed: 42
- eval_max_steps: -1
- load_best_model_at_end: False

### Training Results
| Epoch  | Step | Training Loss | Validation Loss |
|:------:|:----:|:-------------:|:---------------:|
| 0.0050 | 1    | 0.24          | -               |
| 0.2488 | 50   | 0.2559        | -               |
| 0.4975 | 100  | 0.2511        | -               |
| 0.7463 | 150  | 0.2557        | -               |
| 0.9950 | 200  | 0.1584        | -               |
| 1.2438 | 250  | 0.2891        | -               |
| 1.4925 | 300  | 0.0455        | -               |
| 1.7413 | 350  | 0.0082        | -               |
| 1.9900 | 400  | 0.0012        | -               |
| 2.2388 | 450  | 0.0004        | -               |
| 2.4876 | 500  | 0.0008        | -               |
| 2.7363 | 550  | 0.0003        | -               |
| 2.9851 | 600  | 0.0002        | -               |
| 3.2338 | 650  | 0.0002        | -               |
| 3.4826 | 700  | 0.0002        | -               |
| 3.7313 | 750  | 0.0002        | -               |
| 3.9801 | 800  | 0.0001        | -               |
| 4.2289 | 850  | 0.0002        | -               |
| 4.4776 | 900  | 0.0002        | -               |
| 4.7264 | 950  | 0.0001        | -               |
| 4.9751 | 1000 | 0.0001        | -               |

### Framework Versions
- Python: 3.8.10
- SetFit: 1.0.3
- Sentence Transformers: 2.2.2
- Transformers: 4.26.0
- PyTorch: 1.11.0+cu102
- Datasets: 2.9.0
- Tokenizers: 0.13.2

## Citation

### BibTeX
```bibtex
@article{https://doi.org/10.48550/arxiv.2209.11055,
    doi = {10.48550/ARXIV.2209.11055},
    url = {https://arxiv.org/abs/2209.11055},
    author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
    keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
    title = {Efficient Few-Shot Learning Without Prompts},
    publisher = {arXiv},
    year = {2022},
    copyright = {Creative Commons Attribution 4.0 International}
}
```

<!--
## Glossary

*Clearly define terms in order to be accessible across audiences.*
-->

<!--
## Model Card Authors

*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
-->

<!--
## Model Card Contact

*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
-->