Replace Project ID in Treatment Packet (used just prior to saving to database)

replace_project_id_treatment_packet(treatment_packet, new_project_id)

Arguments

treatment_packet

Treatment Packet containing one or more treatments

new_project_id

Replacement Project ID

Value

Treatment Packet with Project ID switched (per input)