Improving diabetes coding for a reliable register

Last updated 26 November 2026
Improving diabetes coding for a reliable register
This Quality Improvement (QI) activity will help your practice identify your patients living with diabetes by diagnosis type.

By completing this activity, you will be able to identify patients within your database living with Diabetes Mellitus Type 1, Type 2 and Gestational diabetes.

Accurate identification of patients with diabetes is essential for providing appropriate clinical care and support. The recently released RACGP 6th Edition Standards cites the importance of having coded information confirming accurate patient diagnosis to support care. RACGP - CG3 – Facilitating complete patient health records

Ensuring your clinical team have a clear understanding of the type of diabetes will assist in the best possible care for your patients and inform the appropriate programs, education and support to optimise patient care.

QI activity overview

What is the aim of this QI activity?

  • identify patients with a generic diagnosis of diabetes (i.e. diabetes or diabetes mellitus).

  • review and update with a coded diagnosis - Diabetes Mellitus Type 1, Diabetes Mellitus Type 2, or Diabetes Mellitus Gestational.

  • optimise patient care and support for your patients.

What will I need to do?

  • use your clinical system to identify patients with a generic diagnosis of diabetes (e.g. diabetes or diabetes mellitus only).

  • update patient records to an accurate coded diagnosis.

How will I complete this activity?

  • create a report from your clinical system for patients with “generic diabetes” (see steps below).

  • review clinical records to then inform coded diagnosis.

  • update patient records to reflect diabetes type.

Where do I document my results?

Who can I contact for support?

For support with this activity please contact the General Practice Quality Improvement team on 38647540 or email [email protected].

Step 1: Start your activity

Review your current approach to coding clinical diagnosis 

  • consider and discuss the current approach to the coding of a clinical diagnosis and review processes. 

  • identify the team members involved in coding diabetes diagnoses. Ensure everyone follows a consistent approach and codes diagnoses by diabetes type rather than as generic diabetes. 

Use your clinical software to identify patients with a generic diagnosis of diabetes. 


Best Practice 

To find patients with a generic coding of “diabetes” or “diabetes mellitus” (which are not currently coded as Type 1 diabetes, Type 2 or gestational diabetes mellitus) follow these steps: 

  • from the menu, select “Utilities” and “Search”

  • in the database search screen, select Conditions.

  • type Diabetes Mellitus into the search field.

  • select Diabetes Mellitus Type 1 and choose NOT and then ADD.

  • select Diabetes Mellitus Type 2 and choose NOT and ADD.

  • select Diabetes Mellitus Gestational and choose NOT and ADD

  • lastly select Diabetes Mellitus and choose AND then ADD, select OK.

  • then RUN the query. 

The search will produce a list of patients that ONLY have a generic diagnosis of either “diabetes” or “diabetes mellitus” as the current diagnosis in the clinical record. The search will NOT include anyone with a specifically coded diabetes diagnosis. 

Tip – Make a note of the number of patients on the list so that you can track your results (note more information on this in the Tracking Your Progress section). 

Note – You can also choose to select a specific doctor so that the list will only show patients allocated to that individual. To do this you will need to add the following before running the query (prior to step 8).

  • click VISITS to open the Search for Visits screen

  • select the Doctors name in the Seen By drop-down and click ADD.

  • then RUN the query. 

Tip – To assist with the activity you can “Save” the query so that you can easily run it again to gauge your progress and identify the remaining patients with the generic diagnosis that need updating.

To do so click on Save Query, select the area where you wish to save it and we recommend creating a name for the query that will assist in identifying it easily – e.g. Patients with a generic diagnosis of diabetes. When you wish to retrieve and use the query again simply go to “Load Query”, select the named file and then click “Run query”. 

Review the patient files

From the list you can double click on the individual patient to open the patient file. From here view the file to locate the current diabetes diagnosis. Review the file and consider the appropriate diagnosis from the generic format to the appropriate format of Diabetes Type 1, Diabetes Type 2 or gestational diabetes. 

Note – Ensure diagnosis type is confirmed with the patient's regular GP for consistency and accuracy. 

Best Practice - Steps to update patient history with diabetes diagnosis

Patient Profile > Past History > click on Diabetes > Edit > Select from the list of conditions either Diabetes Mellitus Type 1, Diabetes Mellitus Type 2 or Diabetes Mellitus Gestational.

Tip – When re-running the saved query any updated patient files will no longer show as they will have been removed from the list. 

For more information on searching the Best Practice database or editing past history items in, you can visit the Best Practice Knowledge Base.


MedicalDirector 

To find patients with a generic coding of “diabetes” or “diabetes mellitus” (which are not currently coded as Type 1 diabetes, Type 2 or gestational diabetes mellitus) follow these steps: 

  • from the menu, select “Search” and “Patient…”

  • in the database search screen, select “Condition”.

  • type “Diabetes” into the search field and select.

  • click on “OR”

  • search “Diabetes Mellitus” hold Ctrl and select “Diabetes Mellitus”.

  • click on “Add to search criteria”

  • then select “Search”

Step 1.

Steps 2. to 7.

Search results

Tip – Make a note of the number of patients on the list so that you can track your results (note more information on this in the Tracking Your Progress section).

The search results will now have generated a list of patients with a generically coded diagnosis of Diabetes or Diabetes Mellitus.

Double click on the patient record and navigate to the “Past History” tab. Review the file and consider the appropriate diagnosis from the generic format to the accurate format of Diabetes Mellitus Type 1, Diabetes Mellitus Type 2 or Gestational Diabetes Mellitus. 

Update the clinical information to the specific coded diagnosis. 

Note – Ensure diagnosis type is confirmed with the patient's regular GP for consistency and accuracy.

For more information on using the Patient Search function or editing past history items in MedicalDirector, visit the MedicalDirector Clinical Knowledge Centre.

Step 2: Track your results

By updating the clinical diagnosis from a generic to a coded diagnosis you will effectively be able to create specific lists of patients with Diabetes Mellitus Type 1, Diabetes Mellitus Type 2 and Diabetes Mellitus Gestational.

Tracking your progress –

  • you can review your progress and improvement by noting the original number of patients in the list created (e.g. 40 patients listed with an unspecified diabetes diagnosis) and comparing it against the number of patients in the list after you have progressively updated patient files.

  • once you have updated all patient files from a generic diagnosis this will enable the identification of each of the different groups of diabetic patients. This information will enhance the opportunity to then focus on specific interventions, create opportunities for improving education, support and interventions for each patient cohort.

There are two activities to support you with this:

By updating the patient diagnosis, you are also ensuring that you are complying with Accreditation Standards and providing the whole of the clinical team with a greater understanding of each patient individually and of the whole of the patient base.

Step 3: Complete and reflect on your activity

How did you go?

As a team, reflect on how the activity went.

  • what were the challenges/barriers?

  • what worked well?

Celebrate your achievements as a team!

Share your results with your practice and Brisbane South PHN.

Example of completed QI activity

We appreciate your feedback!

Our Quality Improvement Team works with general practices to provide practical advice and resources to help plan, implement, and review your QI activities. Your feedback helps our team to provide the best possible support for your practice.

Case studies

Learn how practices are creating impact through quality improvement.

Case study: Diabetes – Improving Healthy Habits
Learn how Bay Islands Medical Service Russell and Macleay Islands’ diabetes clinic is delivering strong results, with 70% of participating patients improving their HbA1c levels through tailored education, coaching and ongoing support.
Read case study

Contact General Practice Quality Improvement

Need support? We're here to help.
Phone: 07 3864 7540