Skip to content

Commit

Permalink
Kavitha,Vikram|add emergency medication check for care view
Browse files Browse the repository at this point in the history
  • Loading branch information
kavitha-sundararajan committed Aug 22, 2024
1 parent 9ce0056 commit afb3500
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ private List<PatientMedicationSummary> groupSlotsByMedicationsAndPatients(List<S
PatientMedicationSummary patientMedicationSummary = new PatientMedicationSummary();
patientMedicationSummary.setPatientUuid(entry.getKey());
List<PrescribedOrderSlotSummary> prescribedOrderSlotsSummaryList = entry.getValue().entrySet().stream()
.filter(subEntry -> subEntry.getKey() != null)
.filter(subEntry -> subEntry.getKey() != null && !subEntry.getKey().equals("emergencyMedications"))
.map(subEntry -> {
PrescribedOrderSlotSummary prescribedOrderSlotSummary = new PrescribedOrderSlotSummary();
prescribedOrderSlotSummary.setOrderUuid(subEntry.getKey());
Expand Down

0 comments on commit afb3500

Please sign in to comment.