Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
cferris32 committed Apr 5, 2024
1 parent 3bc0b05 commit e2723c7
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,8 @@ def merge_clinics(appointments)
def merge_facilities(appointments)
appointments.each do |appt|
appt[:location] = get_facility_memoized(appt[:location_id]) unless appt[:location_id].nil?
if cerner?(appt)
appt_location_values = extract_all_values(appt[:location])
log_appt_id_location_name(appt) if contains_substring(appt_location_values, 'COL OR 1')
if cerner?(appt) && contains_substring(extract_all_values(appt[:location]), 'COL OR 1')
log_appt_id_location_name(appt)
end
end
end
Expand Down

0 comments on commit e2723c7

Please sign in to comment.