Totally agree with this sentiment. That said, it's very easy to get too compartmentalized as well. I'll give an example that actually tore my heart up a bit and taught me a lesson.
I had just had Thanksgiving Dinner with some friends of ours, and one of the other guests had a special needs kid, the kid was a baby, very young, super cute and smiley, but suffered from a wide array of chronic health issues. Anyway - super nice family, and an adorable kid.
Several weeks later, I get called on a medevac - it turned into a bit of a goat rope, but it worked out and we were carrying some kid to a nearby children's hospital. As a dad, these are always tough, so I basically go into "robot" mode - I am polite, and businesslike, and show some compassion - but I don't get attached and try to keep patient and rider interaction to a minimum - I don't want that to influence me. I jump up front, finish up the W&B on the iPad, and skip the paperwork that can wait for cruise. I fire up and we're out of there.
Half way there, up in cruise, I start filling out some paperwork where I have to put patient name and some stuff about mileage and realize that this is the kid and the mom from Thanksgiving dinner! I didn't even realize it - I mean, it was late, and dark, and I was in business mode - but I was totally switched off to anything not related to the flight. When we landed, I went and talked to her, and told her "yeah, I was just in business mode and trying to not let anything change my sense of judgment" or whatever - but the truth was, I was shocked at myself that I was able to compartmentalize to such a degree, and it honestly kind of worried me.
There's a balance to be struck between being a "robot" who is strictly concerned with the details of the flight and purges or ignores the other extemporaneous information and being a compassionate and moral human being who will do the right thing, but won't let hard situations shake their sense of duty. Like I said, it was 2am and dark...but that level of detachment - where I didn't recognize someone who had become my friend just two weeks prior was disheartening to me. I love medevac - it's the best job in the world, very rewarding - but one thing I found was that it is easy to let it steal a little bit of your humanity.