GetAggregatedMedicationHistory, initial generering