Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports
Viewing all articles
Browse latest Browse all 4814

Formula Help

$
0
0

I would like the formula to accomplish three things.  Any suggestions would be greatly appreciated.

 

1) figure out what tokens( ex ASSISTANT:) are present.  All of the tokens are not always present.

2) the order of these tokens using a predefined list.  The tokens can show in any order.

3) split out the tokens based on that ordered list.  I would like the data to the right of the token.  Example below.

 

 

Data

 

PREOPERATIVE DIAGNSES:   1.  Right shoulder rotator cuff tear.   2.  Right shoulder biceps tendon disease with superior labral tearing. 

POSTOPERATIVE DIAGNOSES:   1.  Right shoulder rotator cuff tear.   2.  Right shoulder biceps tendon disease with superior labral tearing.  SURGEON:  Jane, Doe, MD  ASSISTANT:  Jane, Doe, PA-C and Bob, Doe MD, orthopedic resident.  The assistance of a physician's assistant was required for limb positioning and placement of anchors.  ANESTHETIC: Interscalene block plus general.  DRAINS:  None.  COUNTS: Sponge and needle count were correct.  MATERIAL FORWARDED TO THE LABORATORY:  None.  OPERATION PERFORMED:   1.  Right shoulder arthroscopic rotator cuff tear.   2.  Right shoulder open subpectoral biceps tenodesis.   3.  Right shoulder subacromial decompression with acromioplasty.   4.  Right shoulder extensive glenohumeral debridement.   

 

Below is what I would like to accomplish with the formulas.

 

Header                                             Note Text

PREOPERATIVE DIAGNSES                1.  Right shoulder rotator cuff tear.   2.  Right shoulder biceps tendon disease with superior labral                                                                      tearing.  

POSTOPERATIVE DIAGNOSES:          1.  Right shoulder rotator cuff tear.   2.  Right shoulder biceps tendon disease with superior labral tearing.

SURGEON:                                          Jane, Doe, MD

ASSISTANT:                                         Jane, Doe, PA-C and Bob, Doe MD, orthopedic resident.  The assistance of a physician's assistant was                                                             required for limb positioning and placement of anchors. 


Viewing all articles
Browse latest Browse all 4814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>