WorldVistA / VistA-FHIR-Data-Loader

MUMPS/UI components for creating synthetic patient data from Synthea and loading the generated FHIR patient data to VistA EHR
Apache License 2.0
6 stars 7 forks source link

Encounter diagnoses get added as Problems even though they are not conditions #33

Open shabiel opened 5 years ago

shabiel commented 5 years ago

This was illustrated by this duplicate problem, which is not really duplicated. JSON file attached. Coleen678_Crooks415_3ddd92b4-f655-4be6-bad0-db5b5bfe25cd.json.zip

"PROBDATA","DX/PL",1,"DIAGNOSIS") = 509350
"PROBDATA","DX/PL",1,"ENC PROVIDER") = 158
"PROBDATA","DX/PL",1,"NARRATIVE") = Chronic sinusitis, unspecified
"PROBDATA","DX/PL",1,"PL ACTIVE") = I
"PROBDATA","DX/PL",1,"PL ADD") = 1
"PROBDATA","DX/PL",1,"PL ONSET DATE") = 3170609
"PROBDATA","DX/PL",1,"PRIMARY") = 1
"PROBDATA","DX/PL",1,"SERVICE CATEGORY") = A
"loadstatus") = loaded

"PROBDATA","DIERR",1) = 8390001.004
"PROBDATA","DIERR",1,"TEXT",1) =     * * * Problem List Error * * *
"PROBDATA","DIERR",1,"TEXT",2) =
"PROBDATA","DIERR",1,"TEXT",3) = Unable to populate or edit the Problem list!
"PROBDATA","DIERR",1,"TEXT",4) =                BECAUSE:
"PROBDATA","DIERR",1,"TEXT",5) =
"PROBDATA","DIERR",1,"TEXT",6) = Duplicate problem
"PROBDATA","DIERR",1,"TEXT",7) =
"PROBDATA","DIERR",1,"TEXT",8) =              Thank you
"PROBDATA","DIERR","E",8390001.004,1) =
"PROBDATA","DX/PL",1,"DIAGNOSIS") = 509350
"PROBDATA","DX/PL",1,"ENC PROVIDER") = 158
"PROBDATA","DX/PL",1,"NARRATIVE") = Chronic sinusitis, unspecified
"PROBDATA","DX/PL",1,"PL ACTIVE") = I
"PROBDATA","DX/PL",1,"PL ADD") = 1
"PROBDATA","DX/PL",1,"PL ONSET DATE") = 3170825
"PROBDATA","DX/PL",1,"PRIMARY") = 1
"PROBDATA","DX/PL",1,"SERVICE CATEGORY") = A
"ZZERDESC",18157,1,"ERROR4","PX/DL",1) = Duplicate problem
"ZZERR","DX/PL",1,1) =     * * * Problem List Error * * *
"ZZERR","DX/PL",1,2) =
"ZZERR","DX/PL",1,3) = Unable to populate or edit the Problem list!
"ZZERR","DX/PL",1,4) =                BECAUSE:
"ZZERR","DX/PL",1,5) =
"ZZERR","DX/PL",1,6) = Duplicate problem
"ZZERR","DX/PL",1,7) =
"ZZERR","DX/PL",1,8) =              Thank you