Change patient and encounter paths to rest paths.