Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Juggernaut

Lookup partial match....Dumb newbie needs help..

Featured Replies

  • Newbies

I am new to FM and any help is appreciated.

I am importing csv data. One of the fields (CPT CODE) imported is a 5 digit medical code ie. 71010, 70450,70360 etc. I have a separate file with about 500 codes(PROCEDURE DESC) that describes the procedure for each code. The records contain the code and description as follows:

"70450 Catscan of Head"

"71010 Xray of chest"

etc.

When new records are imported, only the 5 digit code is entered into the (CPT Code) field. What I want is to have FM do a lookup of each 5 digit CPT Code and have it match the appropriate description for that code and enter the result into a field (PROCEDURE DESC). How do I do this? Thanks

you will have to split the imported field into 2

code= Left(importcode,5)

code description = Middle(importcode,7, 9999999)

You need to break up your PROCEDURE DESC field into two fields: CPT CODE, and PROCEDURE. You could do that with a script, but since this is probably a one-time deal, I'd Replace the CPT CODE field you just created with this calc:

LeftWords(PROCEDURE DESC, 1)

Then Replace the PROCEDURE field with:

Substitute (PROCEDURE DESC, CPT CODE & " ", "")

Now make a PROCEDURE field in the file you import into, and in the Options, tell it to Lookup based on a Relationship to the codes file, which is CPT CODE:; CPT CODE.

Hope that made sense.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.