Skip to content

Commit

Permalink
Kavitha,Vikram|add emergency medication check for care view (#75) (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
kavitha-sundararajan authored Sep 5, 2024
1 parent 4f5ef65 commit e96ab9e
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 e96ab9e

Please sign in to comment.