Only 10 observations get inserted for a patient, 11th inserted is replacing with the tenth

asked 2020-07-31T05:39:59.567+00:00
Ponnapally, Abhijith 1 Reputation point

While inserting bundle resources to Azure service for FHIR, I have inserted a patient successfully but while inserting 42 resources with inserted patient as reference, I see that all the requests return 201. But only 10 get inserted and the remaining ones just replace the last inserted observation. Any point of time, there are only 10 observations.

Azure Health Data Services
Azure Health Data Services
An Azure offering that provides a suite of purpose-built technologies for protected health information in the cloud.
77 questions
{count} votes

2 answers

Sort by: Most helpful
  1. answered 2020-08-04T23:01:07.293+00:00
    Navtej Singh Saini 4,171 Reputation points

    @Ponnapally, Abhijith

    The managed Azure API for FHIR supports bundles of type “batch” but not “transaction”. The open source Azure API for FHIR (with SQL persistence provider) supports both “batch” and “transaction.

    Our Product group team will add more clarity on this thread.

    Navtej S

    No comments

  2. answered 2020-08-04T23:02:06.033+00:00
    MichaelH-MSFT 1 Reputation point

    For those additional observations, do they have the same id and are you using POST or PUT. If they have the same id and you are using PUT then the resource will be updated (new version created). If that is not the case, we might need some more information and example data to reproduce the problem.