3) ./run_synthea -p 10 # 10 patients
4) The script in the blog worked great after I changed a few paths.5) The HAPI server in smart-dev-sandbox threws errors on import stating some Resource types and properties weren't valid for DSTU2, and it seemed the import did not succeed.
I then switched my smart-dev stack to use R4_IMAGE=smartonfhir/hapi-5:r4-empty and changed the synthea.properties back to false. You have to clean the output directory each time or the old records are left behind so `rm -rf output/*` I then ran `./run_synthea -p 1` and the upload script. It seemed to succeed without a problem. I note the upload of one record took quite a long time - on the order of 3-4 minutes. My previous run with 10 records took the same amount of time, so there is probably some large init time going on.
I then used the patient browser to find the new patient (there should be only 1 at this point). The patient shows up fine in the browser, complete with address and MRN and such. Clicking on the patient yielded an error in the UI. The HAPI server threw some null pointer error.
Things I want to do before I try again.
1. git pull on both synthea and smart-dev-sandbox. my repos are probably a few months old.
2. For smart-dev I should build the docker images locally. I went straight to `docker-compose up` to run the stack which I think pulled it directly from Docker-hub, those images look like they haven't been updated in 6 months.
Hope this helps,
Tim
I did something similar, it works well enough for Connectathon testing, but needs a better solution b/c I never did deal with dependency checking.
You can see my solution here: https://github.com/AudaciousInquiry/hapi-fhir-jpaserver-starter/blob/master/src/main/java/com/ainq/saner/SanerServerCustomizer.java
Keith
Keith Boone,
Enterprise Architect
kbo...@ainq.com |
(617) 640-7007
AUDACIOUS INQUIRY
Bold Solutions for Connected Healthcare®
ainq.com|Twitter|YouTube|Facebook| LinkedIn
--
You received this message because you are subscribed to the Google Groups "SMART on FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
smart-on-fhi...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/smart-on-fhir/320bdc08-b72a-4c1f-9b4a-bf02e8a97b71n%40googlegroups.com.