Medical Director – Identifying patients who have visited in the last 2 years
MD allows us to search the database to find patients with particular attributes. The results of these searches can be saved to CSV format, or you can work with them by using results in a mail merge, print labels, or adding a recall to each patient found. You can also print out a list of patients matched, which will include basic patient demographics.
Select Search > Patient from the main menu to view the Patient Search screen.
For a tutorial in using this tool, see MD Clinical documentation:
To find all patients who have visited in the last two years, just tick the “Seen By” field in the Visit section, and fill in the appropriate dates, then click “Search”.
As well as listing patients and allowing you to work on the list, each search gives you the total “Number of results”:
Note – the Patient Search screen only ever searches for patients that are marked as active. To find inactive patients will require us to customise the query a little.
Setup the search as above, then click into “Advanced Search” to display the SQL. At the end of this search is the phrase ” and patient.STATUS_CODE = ‘A’ “. This is the code that tells it we only want to see active patients. You can simply delete this phrase and then click Search – you should see a higher number than the last search as you’re now including inactive patients.
Advanced tip – changing ” and patient.STATUS_CODE = ‘A’ ” to ” and patient.STATUS_CODE != ‘A’ ” will show you ONLY inactive patients who have visited in the last two years.