I am currently using a managed Azure FHIR API and I need to do a mass update to a FHIR element.I have about 200K+ resources of type Specimen
"resourceType": "Specimen",
"id": "101",
"text": {
"status": "created",
}
And, I would like to update the "text" fhir element like this
"resourceType": "Specimen",
"id": "101",
"text": {
"status": "generated",
}
What is the best approach to fix a large set of fhir resources? I've looked at PATCH but it seems to work for a single resource.
You could submit a Batch full of patches. Other than that, you'd be looking at a custom operation or directly manipulating the datastore, bypassing the FHIR interface. There's no standard mechanism to apply an arbitrary change to a set of resources.