Roger,

Whether or not it's good practice, it's reality.  Test patients are common
within production systems for … er … testing (surprise!), training,
troubleshooting, demonstrating, etc.  It's generally only an issue when
building cohorts for reporting/research.  We just need those tools have an
easy way to recognize & filter out test patients (and anyone pulling data
out directly via SQL would need the list of test patients too, but that's
common practice).

Pragmatically speaking, best practice, is to moderate the creation of test
patients in order to keep the list from continually growing and to make the
patients easily recognized (e.g., with names like "TEST PATIENT").  At
Regenstrief, we've used the identifiers 9-1, 99-2, 999-3, etc. for test
patients because they're easy to remember (figuring out the check digit is
easy) and easy to recognize.

Rather than having "test" status permeate the API like voided/retired, we
could probably get what we need with two small changes that reporting &
related tools could be refactored to use: (1) something like a
CohortService.*getTestPatients()* method in the core API and (2)  a utility
function to remove test patients from a Cohort .

Cheers,

-Burke

On Thu, Mar 29, 2012 at 4:22 PM, Friedman, Roger (CDC/CGH/DGHA) (CTR) <
[email protected]> wrote:

>  With the tools we now have (h2 DB, testing DB builder), does it really
> make sense to put test data in a production server?  It's certainly not
> best practice.****
>
> ** **
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Michael Seaton
> *Sent:* Wednesday, March 28, 2012 10:06 PM
> *To:* [email protected]
> *Subject:* Re: [OPENMRS-IMPLEMENTERS] Labeling patients as test in a
> production instance of OpenMRS****
>
> ** **
>
> There is a pending ticket in the reporting module (REPORT-143 - Add
> option to exclude Test/Fake Patients from running 
> queries/reports<https://tickets.openmrs.org/browse/REPORT-143>)
> for supporting this in the reporting module.
>
> The planned design is to allow for a saved cohort definition to represent
> the cohort of test patients (this allows for test patients to be defined as
> a given implementation wants).  Then, the reporting module would exclude
> these patients from any query / report that it produces.
>
> That being said, I wouldn't be at all opposed to some sort of "test"
> column on the person table...
>
> Mike
>
>
> On 03/28/2012 09:35 PM, Burke Mamlin wrote: ****
>
> This has come up before.  While I can imagine a module trying to make test
> patients behave as if they're voided, we should probably make this a core
> feature (marking persons/patients as test).  As Ada points out, a person
> attribute can serve very well as a way of tagging test patients for
> exclusion from reports. ** **
>
> ** **
>
> -Burke****
>
> On Wed, Mar 28, 2012 at 9:13 PM, Yeung, Ada K. <[email protected]> wrote:**
> **
>
> AMPATH creates a person_attribute_type of test patient.  Whenever we
> create new test patients, we tick the test patient person_attribute_type on
> the dashboard.  When it’s time to generate reports or prepare datasets for
> research studies, we can exclude those test patients easily.****
>
>  ****
>
> -ada****
>
>  ****
>
>  ****
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Joaquín Blaya
> *Sent:* Wednesday, March 28, 2012 6:16 PM
> *To:* [email protected]
> *Subject:* [OPENMRS-IMPLEMENTERS] Labeling patients as test in a
> production instance of OpenMRS****
>
>  ****
>
> Hi,****
>
> Is there a way to have test patients in a production version of OpenMRS
> that allows them not to be counted in statistics e.g. some kind of label?
> ****
>
>  ****
>
> The idea is that in a production server you can have a handful of test
> patients and a test form so that when people start to learn it they can use
> those.****
>
>  ****
>
> Thanks,
>
> Joaquín
> ___________________________________________________________________
> Gerente de Desarrollo, eHealth Systems <http://www.ehs.cl/>
> Research Fellow, Escuela de Medicina de Harvard <http://hms.harvard.edu/>
> Moderador, GHDOnline.org <http://www.ghdonline.org/>****
>
> ** **
>  ------------------------------
>
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from
>  OpenMRS Implementers' mailing list
> ****
>  ------------------------------
>
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from
>  OpenMRS Implementers' mailing list
> ****
>

_________________________________________

To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-implement-l" in the  body 
(not the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

Reply via email to