Dan2552 / snofyre

Automatically exported from code.google.com/p/snofyre
0 stars 0 forks source link

Generation runs always start with patient_id=1 #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a querydef
2. Generate 3500 patients against the QueryDef
3. Generate another 3500 patients against the QueryDef
4. Count the number of unique patient IDs geneated so far

What is the expected output? 

7000

What do you see instead?

3500

Original issue reported on code.google.com by jeremy.r...@googlemail.com on 19 Jan 2011 at 11:53

GoogleCodeExporter commented 8 years ago
Feature already exists...

'Data generation strategy' option in dialog has values:

ADD_NEW_ALWAYS = always increases patient number
ALWAYS_APPEND = only ever adds to existing patients 
ADD_IF_NOT_EXISTS = only adds new patients if specified entries number exceeds 
existing number of patients

Note that if 100 patients already exist, and an attempt is made to generate 
another 3000 but with option ALWAYS_APPEND, then 3000 new EPR item, as per the 
prevailing item generation spec, will be distributed randomly across the 100 
patients (ie more than one item per patient, randomly).

Original comment by jeremy.r...@googlemail.com on 20 Jan 2011 at 4:20

GoogleCodeExporter commented 8 years ago
Data generation strategies have now been documented in the Technical 
Architecture Manual. So this issue can now be closed.

Original comment by jay.kola on 21 Jan 2011 at 4:35