Skip to content

Commit

Permalink
Removed CareTeam Particpants join condition (#45)
Browse files Browse the repository at this point in the history
Removed CareTeam Particpants join condition (#45)
  • Loading branch information
kalai-tw authored Mar 18, 2024
1 parent fa931e2 commit 5762c79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public List<AdmittedPatient> getAdmittedPatients(Location location, Provider pro
"LEFT JOIN CareTeam careTeam on careTeam.visit = v " +
"JOIN org.openmrs.module.bedmanagement.entity.BedLocationMapping locmap on locmap.bed = assignment.bed " +
"JOIN org.openmrs.Location l on locmap.location = l " +
"JOIN careTeam.participants ctp " +
//"JOIN careTeam.participants ctp " +
"LEFT JOIN org.openmrs.Order o on o.encounter = e " +
"LEFT JOIN Slot s on s.order = o " +
"where assignment.endDatetime is null and v.stopDatetime is null and l.parentLocation = :location ";
Expand Down

0 comments on commit 5762c79

Please sign in to comment.