Sunday, July 30, 2017

Week 9 : Incremental Patient Match

Good news, everything which is needed to perform an incremental match has been completed. In this week I did complete the PTM-85 which is mainly about taking the user's decision whether to perform the patient match as an incremental match.


If the user selects the match as an incremental then the time takes to perform the match will be less compared to a normal patient match. This performance is achieved because the data set to be compared is small. The data set contains only the newly added patients and updated patients after the last execution date of the report.


What if the user selects an incremental match and a patient match has not been done under the particular strategy? 
For the first time every patient record is compared with every other record. This process might take considerable time depending on the size of the patient records.

Despite whether there is an already existing report user can perform a full patient match for a particular strategy. 

Pull request for PTM-85 : https://github.com/openmrs/openmrs-module-patientmatching/pull/37 

The web page looks like as follows,



Incremental Patient Match

After all of theses changes this is how it looks like.

1. Run a report with the configuration name "test1"



A report will be created adding the incremental-report text to the configuration name.


2. This is how it looks like when a patient match is performed at the first time



3. Added a patient which shows a match with an existing record



4. Run the report again (Incremental patient matching)



The same incremental-report-test1 report will be updated.

5. New patient is added which do not exhibit any matching property with existing records



Then there will be no changes in the report.

6. Add another patient



7. Run the patient match then the report will be updated as the following image




8. Update an existing patient in a way that it will show matching properties with existing records


The updated patient will be added to the same group in the report.


Here is the link for my mid term presentation : https://www.youtube.com/watch?v=j-m9kDQmdz0&t=5s 

No comments:

Post a Comment