Data migration tooling
# support
b
Hi all, have a question about data migrations We are used to using database migration tools or an ORM for DB migrations, but since medplum is managing the DB, we are really just updating resources in medplum. A quick example- * we were not collecting a
cancer
boolean for a specimen,. * Now we need to go through each specimen and add that extension or observation or however we decided to do it. I know we can just write scripts for up and down (adding or deleting) this resource Was wondering if you all have any tools built in for migrations like this specifically
m
Nothing specific comes to mind. We have a 'patch' operation so that your requests can generally look similar if you are updating resources, and you can use our batch tools to send these requests all once. Also, we have added some async batch features to help you process while respecting your rate limits https://www.medplum.com/docs/fhir-datastore/updating-data#patch-operation https://www.medplum.com/docs/fhir-datastore/fhir-batch-requests#asynchronous-batch-requests
70 Views