Facilitated Management of Serial numbers: Difference between revisions

Line 9: Line 9:
The need to keep track of this is one reason given by collectors to keep using the [[Data collection log form]]. We would like to eliminate reasons for this additional paperwork.
The need to keep track of this is one reason given by collectors to keep using the [[Data collection log form]]. We would like to eliminate reasons for this additional paperwork.


== Plan ==
== Implementation ==
{{DT | _dev_CCMDB - ready to implement }}
The "Add Patient with Serial Helper" button on the [[Patient List]] launches a form that lets the collector pick a [[Service/Location]]. The form then proposes the next sequential [[Serial number]] based on the location chosen and any current or recently deleted records (we keep track since [[EPR Reports Integrator]]) on the laptop.  
{{DT | Discuss with [[STB Medicine Workload splitting#S6]] when this is ready to go. }}
Now that we keep some info about deleted records (was changed as part of [[EPR Reports Integrator]]) we should be able to generate the next available serial number. Since this would be based on the [[Service/Location]] of the patient, the "Add patient" button functionality would be changed to first ask for the location based on dropdown (via [[Query s_serviceLocation_local]]), and it would then propose a [[Serial number]] based on the highest currently on the laptop + 1.


If no previous entry of that location is found, the number used for a new location as per [[Serial_number#Special-Use_Serial_Numbers]] will be used.
If no previous entry of that location is found, the number used for a new location as per [[Serial_number#Special-Use_Serial_Numbers]] will be used.