|
|
Patient Import
Last post 12-18-2008, 7:42 PM by Jason. 34 replies.
-
09-30-2006, 6:02 PM |
-
Graham
-
-

-
Joined on 03-24-2006
-
Wellington, NZ
-
Posts 3,356
-
-
|
|
This is a sample data spec we have been sent to use to import patients from another source. In this case, it was a billing program, and is in CSV or comma separated values format. The next version of Synapse-EMR will allow clients to import patients this way. Updated: 12-Oct-2006 - date of birth is now mmddyyyy without the "/" or "-" separators. Updated: 17-Oct-2006 - chart id can now be alpha-numeric
Layout Specification
Each record (patient) must end with a
carriage
return/line feed.
|
Name
|
Type
|
Remarks
|
|
Last Name
|
Text
|
Patient’s last name. No commas or apostrophes.
|
|
First
Name
|
Text
|
Patient’s first name. No commas or apostrophes.
|
|
Middle
Name
|
Text
|
Patient’s middle name.
|
|
Chart
Number
|
Text
|
Patient’s chart number. No commas or apostrophes ,alpha-numeric.
|
|
Address
|
Text
|
Patient’s
street address.
|
|
City
|
Text
|
Patient’s
city.
|
|
State
|
Text
|
Patient’s
state.
|
|
Zip
Code
|
Text
|
Patient’s
zip code.
|
|
SSN
|
Num
|
Patient’s
social security number.
|
|
Home
Phone
|
Num
|
Patient’s
home phone (format: (000)000-0000).
|
|
Work
Phone
|
Num
|
Patient’s
work phone (format: (000)000-0000).
|
|
Birth
Date
|
Num
|
Patient’s
date of birth (format: mmddyyyy).
|
|
Sex
|
Text
|
Patient’s
sex (M or F).
|
|
Primary
Insurance
|
Text
|
Patient’s
Primary Insurance
|
|
Secondary
Insurance
|
Text
|
Patient’s
Secondary Insurance
|
|
Reserved
|
|
Reserved
for future use
|
|
Reserved
|
|
Reserved
for future use
|
|
Reserved
|
|
Reserved
for future use
|
|
Physician
Last Name
|
Text
|
Family
or (*Referring) doctor’s last name
|
|
Physician
First Name
|
Text
|
Family
or (*Referring) doctor’s first name
|
|
Reserved
|
|
Reserved
for future use
|
|
*Physician
Last Name
|
Text
|
Referring
doctor’s last name
|
|
*Physician
First Name
|
Text
|
Referring
doctor’s first name
|
|
Reserved
|
|
Reserved
for future use
|
NOTE: Even if you
do not send information in a field, it must be surrounded by double
quotes to
ensure error-free importing of patient information.
|
Graham Chiu Beta Downloads and Documentation Wiki Developer Forum
|
|
-
10-14-2006, 6:53 PM |
-
Jason
-
-

-
Joined on 03-23-2006
-
Ontario, Canada
-
Posts 2,553
-
-
|
Graham:NOTE: Even if you do not send information in a field, it must be surrounded by double quotes to ensure error-free importing of patient information.
what do you mean by it ? Do you mean if there is a blank field, you must use double quotes ? Do you mean that all strings must be surrounded by double quotes ?
|
|
-
10-15-2006, 3:28 AM |
-
Graham
-
-

-
Joined on 03-24-2006
-
Wellington, NZ
-
Posts 3,356
-
-
|
Yes, empty fields need to be enclosed by double quotes. Here's a sample line "STOUT","HARLAN",""," 309163","123 LANDALE LANE","EL CAJON","CA","92019","502456712","(619)555-5476","( ) - 0","08011926","M","MEDICARE","AARP HEALTH CARE OPT","","","","BEWELL","MAKUS","","JACOBSON","MARK","","10022006","09:00AM","15"," 1","STANLY STEEMER","","RCK","","ADD" The latter fields are ...create an appointment with Dr Stanly Steemer for 2-Oct-2006 at 9:00 for 15 mins for a ReCheK. Once this has been tested more, the full specification for the import will be described here.
Graham Chiu Beta Downloads and Documentation Wiki Developer Forum
|
|
-
10-15-2006, 8:29 AM |
-
10-15-2006, 1:41 PM |
-
Graham
-
-

-
Joined on 03-24-2006
-
Wellington, NZ
-
Posts 3,356
-
-
|
No, but this was the format specified by the PMS/billing company we are dealing with. The CSV format specifies that quotes are really only required around fields containing a ",". If the field contains a ' " ', then it should be escaped with a ' " '.
However, I think it may work fine without the quotes on everything
Graham Chiu Beta Downloads and Documentation Wiki Developer Forum
|
|
-
10-16-2006, 7:14 AM |
-
DrO
-
-

-
Joined on 10-11-2006
-
Tampa,FL,USA
-
Posts 50
-
-
|
I want to enter most of the patient demographics without having to
type the data again. I use Medisoft v9 SP2 for my billing. I do not
want to interface Medisoft directly with Synapse. I extracted the patient database, MWPAT, into an Access file, filtered those patients not active as of 01/01/06. Exported this file to an Excel file.Cleaned it up, removed extra fields, and saved it as a csv file. In EDITPAD Pro I prepared the file according to your specifications.
I have tried multiple permutations of my csv file to no avail. With quotes around the fields the program accepts the first line, even when it displays the correct # of lines, 292. This is the permutation, between ( ):
( "LLLLL","FFFF","","ABRRO000","3213 W. CASS ST.","CCCCC","SS","ZZZZZ","SSSSSSSSS","(PPP)PPP-PPPP","","05271941","F","Medicare","","","","","Rodriguez","Osvaldo","","","","" ) It reported: Passed ABRRO000 as PMS ID and not integer value My records IDs are based on LLLFF000, i.e., for Mary Peter id is PETMA000. The program showed the correct data for this patient. I then tried to enter each record individually to no avail. I decided to eliminate the record # ( "LLLLL","FFFF","","","3213 W. CASS ST.","CCCCC","SS","ZZZZZ","SSSSSSSSS","(PPP)PPP-PPPP","","05271941","F","Medicare","","","","","Rodriguez","Osvaldo","","","","" ) an received the following reply: make object! [ code: 329 type: 'script id: 'bad-bad arg1: "ODBC" arg2: {[ODBC Firebird Driver][Firebird]violation of PRIMARY or UNIQUE KEY constraint "INTEG_165" on table "USERS"} arg3: none near: [insert db-port [{insert into users (userid, fnames, surname, gender, dob, salut, reminder, answer, pass, occupation, ethnic, ssn, street1, street2, town, city, state, zip, security, workph, homeph, cellph, email, altcontact, altph, relation, location, activ, phcp, abook, pmsid ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? , ?, ?, ? ) } userid fnames surname gender dob salut "" "" pass occupation ethnic ssn street1 street2 town city state zip 0 workph homeph cellph email altcontact altph relation location activ sid mold/all abook pmsid ]] where: 'add-zybex-patient ] street2 does not appear in the layout specifications!? What am I doing wrong? I would appreciate your help. Thank you,
DrO
|
|
-
10-16-2006, 12:50 PM |
-
Graham
-
-

-
Joined on 03-24-2006
-
Wellington, NZ
-
Posts 3,356
-
-
|
Hi DrO The interface specification I was given said that the PMS chart ID has to be numeric, *but* your data has in the first instance tried a alpha-numeric value viz "ABRRO000", and the second time, blank viz "". So, it won't work. Street2 appears in the database schema, but not in the import specification because it was not needed. Since there is no overwhelming reason to ensure that the PMS chart ID is numeric ... I shall see if I can change Synapse to allow alphanumeric as well. Give me a day or two to make this change. Or, as a trial, you could create an autoincrementing field in Excel for the chart ID and see if that works for you.
Graham Chiu Beta Downloads and Documentation Wiki Developer Forum
|
|
-
10-16-2006, 4:13 PM |
-
Graham
-
-

-
Joined on 03-24-2006
-
Wellington, NZ
-
Posts 3,356
-
-
|
Ok, I have spent a few hours this morning rewriting the client and server to accept alphanumeric patient ids when imported from a CSV file. Please try this beta versions out at http://www.compkarori.com/emr/beta/ Download and copy the server over the existing server, and use the new client 192 beta-1, and let me know if it works for you. BTW, I tried your sample data below with the beta versions,
"LLLLL","FFFF","","ABRRO000","3213 W. CASS ST.","CCCCC","SS","ZZZZZ","SSSSSSSSS","(PPP)PPP-PPPP","","05271941","F","Medicare","","","","","Rodriguez","Osvaldo","","","","" and the import worked fine.
Graham Chiu Beta Downloads and Documentation Wiki Developer Forum
|
|
-
10-16-2006, 8:26 PM |
-
DrO
-
-

-
Joined on 10-11-2006
-
Tampa,FL,USA
-
Posts 50
-
-
|
Thank you! It works like a charm. In less than 2-3 seconds the 292 records were imported. Upon reactivation the data imported was still there. DrO
|
|
-
10-16-2006, 8:46 PM |
-
Graham
-
-

-
Joined on 03-24-2006
-
Wellington, NZ
-
Posts 3,356
-
-
|
That's good news. I note that you are using Medisoft and are not interested in an interface. We don't have one yet ... but any reason why you don't want one?
Graham Chiu Beta Downloads and Documentation Wiki Developer Forum
|
|
-
10-17-2006, 7:42 AM |
-
DrO
-
-

-
Joined on 10-11-2006
-
Tampa,FL,USA
-
Posts 50
-
-
|
Economics! The Medisoft ->NDCHealth ->PerSe transition in 3 years. The HIPPA changes and now the required use of the NPI coupled with a new 1500 form. Although, these required minor changes in the program, they were issued as new releases instead of updates. The price of Medisoft doubling with each new release. I would have gladly paid for a reasonably priced update. However, I would be very happy if you rigged an interface to import the data straight out of Medisoft. I would use Medisoft to enter the demographics and Synapse the Notes. Thanks DrO
|
|
-
10-17-2006, 1:04 PM |
-
Graham
-
-

-
Joined on 03-24-2006
-
Wellington, NZ
-
Posts 3,356
-
-
|
Ahh... didn't realise that was happening. Medisoft import is on my todo list .. just not sure when I'll be able to get around to doing it.
Graham Chiu Beta Downloads and Documentation Wiki Developer Forum
|
|
-
11-14-2006, 4:18 AM |
-
cableops
-
-

-
Joined on 10-23-2006
-
-
Posts 16
-
-
|
I'm getting errors when attempting to import this file. I've tried it with both the Import function and the PM inbound interface. I'm using Client 198. Server 0.0.70 "ALLEN","LAKARRA","L","1133767","13962 LEATHERGLASS","CORSICANA","TX","75110","000008123","9032292440","","08112006","F","TMHP TEXAS HEALTH STEPS","undefined","","","","SMITH","JOHN","","WHITE","ERIC"
This is the error message from Synapse:
make object! [ code: 329 type: 'script id: 'bad-bad arg1: "ODBC" arg2: {conversion error from string " "} arg3: none near: [insert db-port [{insert into users (userid, fnames, surname, gender, dob, salut, reminder, answer, pass, occupation, ethnic, ssn, street1, street2, town, city, state, zip, security, workph, homeph, cellph, email, altcontact, altph, relation, location, activ, abook, cpmsid ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? , ?, ?, ? ) } userid fnames surname gender dob salut "" "" pass occupation ethnic ssn street1 street2 town city state zip 0 workph homeph cellph email altcontact altph relation location activ mold/all abook form pmsid ]] where: 'add-zybex-patient ]
|
|
-
11-14-2006, 12:43 PM |
-
Graham
-
-

-
Joined on 03-24-2006
-
Wellington, NZ
-
Posts 3,356
-
-
|
This is an odbc conversion error ... so, one of the fields is not the right data type for the database. Which is odd since your data works for me! This suggests that possibly your database somehow has an incorrect field type. Could you dump the metadata for the users table definition here? Also, I have uploaded a beta server http://www.compkarori.com/beta/synapse-server.exe 171 beta-1 which on the server console dumps the values as massaged by Synapse client prior to inserting into the table to see if you can see an error in the conversion. This is what I see: surname: "ALLEN" fnames: "LAKARRA L" userid: "1133767" pmsid: "1133767" street1: "13962 LEATHERGLASS" state: "TX" zip: "75110" ssn: "000008123" homeph: "9032292440" workph: "" dob: 11-Aug-2006 gender: "F" primaryinsurance: "TMHP TEXAS HEALTH STEPS" secondaryinsurance: "undefined" physician-lastname: "SMITH" physician-firstname: "JOHN" referring-physician-lastname: "WHITE" referring-physician-surname: "ERIC"
Graham Chiu Beta Downloads and Documentation Wiki Developer Forum
|
|
-
11-14-2006, 9:54 PM |
-
cableops
-
-

-
Joined on 10-23-2006
-
-
Posts 16
-
-
|
I can't seem to download the Beta Server 171 Do I have the correct URL? http://compkarori.com/beta/synapse-server.exe
|
|
Page 1 of 3 (35 items)
1
|
|
|