Providers CSV exports UUIDs with duplicates
Hello, it seems that even with a small population of 10 that the id of some providers is not unique in the csv export. Is this possibly the line of code that is the cause for that
https://github.com/synthetichealth/synthea/blob/bcb17a9532645f03f6410b7d5cf67092592842e7/src/main/java/org/mitre/synthea/world/agents/Provider.java#L476
or am I doing something wrong?
diff --git a/src/main/java/org/mitre/synthea/world/agents/Clinician.java b/src/main/java/org/mitre/synthea/world/agents/Clinician.java
index 50902977e..352f3d84c 100644
--- a/src/main/java/org/mitre/synthea/world/agents/Clinician.java
+++ b/src/main/java/org/mitre/synthea/world/agents/Clinician.java
@@ -54,7 +54,9 @@ public class Clinician implements Serializable, QuadTreeElement {
    */
   public Clinician(long clinicianSeed, Random clinicianRand,
       long identifier, Provider organization) {
-    this.uuid =  new UUID(clinicianSeed, identifier).toString();    
+    String base = clinicianSeed + ":" + identifier + ":" +
+      organization.id + ":" + clinicianRand.nextLong();
+    this.uuid = UUID.nameUUIDFromBytes(base.getBytes()).toString();
     this.random = clinicianRand;
     this.identifier = identifier;
     this.organization = organization;
['src/main/java/org/mitre/synthea/world/agents/Clinician.java']