|
Building Custom Search Windows (T143)For Compulink Advantage Windows usersThe windows that display when you search for a patient can be modified to display different items from a patient's record. The instructions below will show you how to create your own custom window if you're not satisfied with the standard ones.
Four (4) different search windows can be created.Search by: Patient Name, Account Responsible Name, First User Field (SS#), Phone Number. You build an ASCII text file for each type of search. They can all have the same structure but that is not recommended. The file names for each search type are: File Name Search by:
PATSRCH.LOC Patient Name ARSRCH.LOC Account Responsible SSSRCH.LOC User Field #1 (SS#) PHONSRCH.LOC Phone Number These files should be placed in the \PRODUCT (e.g. EYECARE, EYEMD) directory. Their structure is: CharacterPositions Description
1-3 Right justified width of column in pixels 4-13 Database Field Name (Left justified) 14->up Column Header description NOTE: a "pixel" is one dot on your screen. AN EXAMPLE:
If you wanted a search window showing these items: Last Name, First Name, Birth Date, SS#, Last Visit Date You would build a file with these four lines:
200NAMESTR Name 70BIRTH Birth90USER1 SS# 60LAST_SVC Last Visit
(Important note: Do not press enter after typing the last line of data. This will cause an error when you try to use the search.)
This reads, "show a window with the headings:" "Name.............Birth.......SS#....Last Visit"
"Then display the patient information in this format: using 200 pixels show the Patient Name as Last,First using 70 pixels show the Birth Date as MM/DD/YY using 90 pixels show the SS# using 60 pixels show the Last Visit date as MM/DD/YY" Here we used two Database field names: "USER1" and "LAST_SVC". If you look at the Patient Database Names you'll not find "NAMESTR" and "BIRTH". These are system-generated fields that display these data items in a different format than they are stored in the database. Although some fields in the Patient database should not be used, most can be used in your new search window.
Below you'll find a list of the fields available for your new window with suggested pixel widths. Feel free to experiment. Removing one of these files from the directory will restore the built-in default window.
LAST NOTE: I would suggest you use the Windows Notepad to create these files. You can usually find it under Start/Programs/Accessories/Notepad. If you use some word processor program, make sure you save the file in ASCII Text format. This will usually eliminate any formatting commands from the file.
Some Patient File Fields for Custom Search Windows Consider these pixel widths as minimums, or a starting point.FIELD SUGGESTED FIELD'SNAME PIXELS PURPOSE
NAMESTR 200 Last Name, First Name BIRTH 70 DOB in the form MM/DD/YY LOCATION 30 Location Code DOCTOR 30 Provider Code (DOC ID) FIN_TYPE 70 Primary Financial Class SEX 20 Gender SALUTE 35 Salutation FIRST 95 First Name MI 15 Middle Initial LAST 125 Last Name STREET 190 Street CITY 130 City STATE 70 State ZIP 70 Zip Code HPHONE 80 Home Phone WPHONE 80 Work Phone WPHONEX 30 Work Phone Extension BILLREL 80 Patient Relationship to Account Responsible USER1 90 1st User Defined Field USER2 90 2nd User Defined Field USER3 90 3rd User Defined Field USER4 90 4th User Defined Field USER5 90 5th User Defined Field ID1 20 1st ID Field ID2 20 2nd ID Field ID3 20 3rd ID Field ID4 20 4th ID Field ID5 20 5th ID Field ID6 20 6th ID Field ID7 20 7th ID Field ID8 20 8th ID Field ID9 20 9th ID Field ID10 20 10th ID Field ID11 20 11th ID Field ID12 20 12th ID Field ID13 20 13th ID Field ID14 20 14th ID Field ID15 20 15th ID Field ID16 20 16th ID Field DUEFOR 180 Primary Recall Reason RECALL1 60 Primary Recall Date REFBY 90 Initial Referral Source
BY: SEO - 03/2002 |
|
Questions or problems regarding this web site
should be directed to Michael A. |