Migrating Data to Veeva Clinical Operations
This guide provides best practices for migrating clinical study data to Vaults with the Veeva Clinical Operations application family. The general best practices and data transformation considerations for Vault migrations apply to all application families.
Use Case
Section link for Use CaseThe primary use case for a clinical Study migration is an incremental migration. This commonly involves having one set of studies and then going live with a second set of studies. In this case, you must migrate additional data to accommodate the second set of studies.
Study Migration Mode
Section link for Study Migration ModeStudy Migration Mode helps load studies faster and reduces downtime during migrations. We recommend using Study Migration Mode for all Veeva CTMS migrations, particularly when handling large volumes of object data. Study Migration Mode is intended to be additive with Record Migration Mode. Learn more about Record Migration Mode
Effects
Section link for EffectsWhen a Study enters Study Migration Mode, Vault makes study-related object data for that Study hidden and uneditable for non-Admin users. This locks down target studies that are being migrated while allowing users to update documents and input data for the remaining studies. See the list of objects with the Migration field for more information.
Study Migration Mode also bypasses productized triggers for the target studies, such as calculating metrics and generating related records.
Certain jobs exclude studies that are In Migration from processing.
Standard Vault to Vault Connections exclude studies that are In Migration. Vault to Vault Connection jobs continue to process updated records that were bypassed while the study was being migrated.
Enablement
Section link for EnablementIf your Study object uses an object lifecycle, Vault Admins must configure a user action that marks a study as In Migration. Learn more about status and archiving studies
You can enable Study Migration Mode for Study records using the following methods:
- For new Study records:
- For all objects with the Migration field, use Vault Loader
or Vault API to set the study_migration__vfield with the valuem__v.
- For all objects with the Migration field, use Vault Loader
- For existing Study records:
- Recommended: Enable Study Migration Mode for the existing Study via a user action available on the Study object record.
- Before loading additional data, set
study_migration__vwith the valuem__vfor all existing Study object records and related clinical object records that are within the scope of the migration. To enable Study Migration Mode for multiple studies in a single operation, use Vault API.
Considerations
Section link for ConsiderationsConsider the following when conducting a clinical Study migration:
- Because Vault bypasses productized triggers, you should load additional data, such as related records, as part of the migration process.
- Because Vault bypasses certain consistency checks, you should account for this when migrating data.
- Admins should make the user action to initiate Study Migration Mode available for studies in a particular lifecycle state.
- You cannot execute the action to initiate Study Migration Mode in bulk via the Vault UI. Instead, use Vault API to enable or disable Study Migration Mode for multiple studies in a single operation.
- While in Study Migration Mode, Vault hides standard Study-related object records (with the
study_migration__vfield populated) from all users except Vault Owners, System Admins, and users with the Application: All Object Records: All Object Read permission. - Custom objects may still be visible to users.
Bypassing Custom SDK Code
Section link for Bypassing Custom SDK CodeWhen Study Migration Mode is enabled, Vault also bypasses the Clinical App SDK by default.
You must write additional code for a custom SDK to have the same behavior as the Clinical App SDK. Because Study Migration Mode is controlled by the study_migration__v field on a record, you should update the custom SDK to read this field and check if a study is in Study Migration Mode.
Objects with the Migration Field
Section link for Objects with the Migration FieldThe following objects have a study_migration__v field available for use in a clinical Study migration:
budget__vcdx_agreement__vcentral_monitoring_event__ctmsclinical_user_task__clincrm_activity__vctn__vctn_data__vctn_data_change_log__vctn_ip_name__vctn_remarks__vctn_site_ip__vcycle_time__vedl__vedl_item__vedl_item_template__venrollment_status__ctmsfee__vfee_schedule__vfee_schedule_template__vfee_template__vform_answer__vicf_site_effective_tracking__ctmsinformed_consent_tracking__ctmsmetrics__ctmsmetrics_over_time__vmilestone__vmilestone_package_document__vmonitored_informed_consent_form__ctmsmonitored_metrics__ctmsmonitored_subject__ctmsmonitored_subject_event__ctmsmonitored_subject_visit__vmonitoring_compliance__ctmsmonitoring_event__ctmsmonitoring_schedule__vmonitoring_schedule_template__vpayable_item__vpayee_override__vpayment__vpdv__ctmsprocedure__vprocedure_def__vquality_issue__vresponse__ctmsreview_comment__vsafety_distribution__vselected_site__ctmssite__vsite_fee__vsite_fee_def__vsite_sae_tracking__ctmssite_checklist__syssite_checklist_pal__vsite_section__sysstudy_arm__vstudy_cohort__vstudy_communication_log__ctmsstudy_country__vstudy_critical_data__vstudy_critical_process__vstudy_organization__vstudy_person__clinstudy_product__vstudy_risk__vstudy_risk_assessment__vstudy_risk_category__vstudy_risk_mitigation__vstudy_site_location__ctmssubject__clinsubject_informed_consent_form__vteam_assignment__vtrip_report_question_response__ctmstrip_report_template__ctmsvisit__vvisit_def__v