I am trying to migrate data to OpenMRS. I have 1634497 visits (and growing at over 2000 per week) to migrate. Each of these has a unique number which I would like to preserve because many paper records have this number on them. My plan is to the REST API to load the data.
I am unsure how to add this data to a visit. Do I need to add a visit attribute type? (The current value is a positive integer.)
I would also like to be able query visits using this number.
Thank you, Tim