How to send multiple fhir bundle

Hi @Pranouti @Gayatrij @mdubey

Kindly guide on how can we push more than one fhir bundle in single session.

Hi @dharmeshsingh,

I think you can share more than one FHIR bundles in a single session. The only limit is, the data size allowed is 256 MB. You may get the information in https://sandbox.ndhm.gov.in/docs/guide.
@angshuonline may help further.

Hi @Manisha

Please guide on this scenario,

HIP get a request to share all EHR(OP, IP, Prescription, diagnostic ) record of a patient for a certain date range. For eg if HIP has 3 OP, 2 IP, 5 Prescription and 3 diagnostic record. Then what approach and methodology we should adopt to send required data in single session.

@dharmeshsingh,

I think @angshuonline, @Gayatrij may be able to help you.

Hello @dharmeshsingh,

Posting the contract for data transfer from Sandbox API doc:

{
  "pageNumber": 0,
  "pageCount": 0,
  "transactionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "entries": [
    {
      "content": "Encrypted content of data packaged in FHIR bundle",
      "media": "application/fhir+json",
      "checksum": "string",
      "careContextReference": "RVH1008"
    },
    {
      "link": "https://data-from.net/sa2321afaf12e13",
      "media": "application/fhir+json",
      "checksum": "string",
      "careContextReference": "NCC1701"
    }
  ],
  "keyMaterial": {
    "cryptoAlg": "ECDH",
    "curve": "Curve25519",
    "dhPublicKey": {
      "expiry": "2020-12-24T14:06:18.831Z",
      "parameters": "Curve25519/32byte random key",
      "keyValue": "string"
    },
    "nonce": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  }
}

The entries field is a list, which has the field content where the encrypted bundle will be populated. In case of multiple bundles we can add multiple entries in the list of entries.

Thank you