The active diagnoses are problems that patient is suffering from currently and not yet cured or marked as ‘Closed’. The details populated in this function are the onset date of the problem (since when the patient started experiencing the problem), the actual diagnosis (problem) itself, the ICD coding for the recorded active diagnosis, the coding scheme that is used by the facility to record diagnosis and an identifier to show if the diagnosis was the primary reason for the encounter.