Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find provider #1542

Open
amroghoneim opened this issue Dec 12, 2024 · 0 comments
Open

Unable to find provider #1542

amroghoneim opened this issue Dec 12, 2024 · 0 comments
Labels

Comments

@amroghoneim
Copy link

amroghoneim commented Dec 12, 2024

What happened?

not sure if this is a bug or not but Im using synthea to generate data in Abu Dhabi,

currently facing these errors

java.lang.RuntimeException: Unable to find provider: ambulatory (wellness / inpatient)
at org.mitre.synthea.world.agents.Person.setProvider(Person.java:632)
at org.mitre.synthea.world.agents.Person.setProvider(Person.java:644)
at org.mitre.synthea.world.agents.Person.getProvider(Person.java:622)
at org.mitre.synthea.world.agents.Person.encounterStart(Person.java:511)
at org.mitre.synthea.modules.EncounterModule.createEncounter(EncounterModule.java:142)
at org.mitre.synthea.engine.State$Encounter.process(State.java:835)
at org.mitre.synthea.engine.State.run(State.java:186)
at org.mitre.synthea.engine.Module.process(Module.java:388)
at org.mitre.synthea.engine.Module.process(Module.java:400)
at org.mitre.synthea.engine.Module.process(Module.java:351)
at org.mitre.synthea.engine.Generator.updatePerson(Generator.java:677)
at org.mitre.synthea.engine.Generator.createPerson(Generator.java:654)
at org.mitre.synthea.engine.Generator.generatePerson(Generator.java:467)
at org.mitre.synthea.engine.Generator.lambda$run$3(Generator.java:357)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)

I updated the following files
hospitals
primary care facilities
urgent care facilities
demogrphics
zipcodes
timezones

using data collected related to Abu Dhabi state
I also added an influenza module attached here
influenza-strains.json

i am using version 3.0.0 of synthea to generate the data

command im using is ./run_synthea "Abu Dhabi"

Environment

- OS: Linux dev-vm 6.5.0-1025-azure #26~22.04.1-Ubuntu SMP 2024 x86_64 x86_64 x86_64 GNU/Linux
- Java: openjdk version "11.0.25" 2024-10-15
OpenJDK Runtime Environment (build 11.0.25+9-post-Ubuntu-1ubuntu122.04)
OpenJDK 64-Bit Server VM (build 11.0.25+9-post-Ubuntu-1ubuntu122.04, mixed mode, sharing

Relevant log output

No response

@amroghoneim amroghoneim changed the title java.lang.NullPointerException Unable to find provider Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant