add case wrapping for pact patients