Question: if ($event->{eventType} eq 'ADD_BAG') { if ($event->{site} && $event->{site}->{location}) { my $site_option = first { $_->{id} == $event->{site}->{location} } @$site_options; $event->{site}->{locationName} = $site_option->{name}; } if

if ($event->{eventType} eq 'ADD_BAG') { if ($event->{site} && $event->{site}->{location}) { my $site_option = first { $_->{id} == $event->{site}->{location} } @$site_options; $event->{site}->{locationName} = $site_option->{name}; } if ($event->{infusionRate} && $event->{infusionRate}->{unitId}) { my $fdb_unit_of_measure = BusCall::FDB::GetUnitOfMeasure($dbh, { ID => $event->{infusionRate}->{unitId}, }); $event->{infusionRate}->{unitName} = $fdb_unit_of_measure->{Abbreviation}; } if ($event->{ivDiluentDetails} && $event->{ivDiluentDetails}->{diluentClinicalOrderTypeId}) { my $diluent_option = first { $_->{id} == $event->{ivDiluentDetails}->{diluentClinicalOrderTypeId} } @$clinical_order_types; $event->{ivDiluentDetails}->{diluentName} = $diluent_option->{name}; } push @{$event_data{$event->{eventType}}}, { %$event, completedProviderName => $administering_provider_names->{$event->{completedUsername}}, }; } This condition

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!