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

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

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.
154 questions
{count} votes

2 answers

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

    @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.

    Thanks
    Navtej S

    0 comments No comments

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

    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.