Refactor clinical trial participant import to match current Bonnie model

After this change clinical trials are added to patient records as conditions, and correctly support date bounds.