-
Notifications
You must be signed in to change notification settings - Fork 772
Open
Labels
Description
What happened?
I am working on importing lab data. My destination system rejects it if it is a duplicate panel.
I have a feeling this is really a bug in the module itself, not in Synthea.
I created a Synthea Patient (very large... > 50MB, not attached). I used jq
to analyze the data.
jq -r '.entry[].resource | select(.resourceType == "DiagnosticReport") | select (.category[0].coding[0].code == "LAB") | [ .code.text, .effectiveDateTime ] | @csv ' Adriene242_Danyelle408_Gibson10_f72c4f4a-07a7-d2fd-c486-e7e84994c3e1.json > time_analysis.csv
Rows 3-6 look like this:
"Basic metabolic 2000 panel - Serum or Plasma","2015-01-19T12:55:09+00:00"
"Urinalysis macro (dipstick) panel - Urine","2015-01-19T12:55:09+00:00"
"Basic metabolic panel - Blood","2015-01-19T12:55:09+00:00"
"Lipid panel with direct LDL - Serum or Plasma","2015-01-19T12:55:09+00:00"
The problem is that there are two BMPs taking place at the same time. The second BMP is in Blood. Labcorp and Quest both say it's a SERUM specimen, not a whole blood specimen. I think that's probably the root of the problem.
Let me know if you agree; and if so, I can try to modify the module and see if that fixes the problem.
Environment
- OS: Rocky Linux
- Java: OpenJDK 17