is it expected that if I send a Transaction Bundle...
# general
a
is it expected that if I send a Transaction Bundle (either through API or UI) that I'll get a batch-response instead of a transaction-response bundle.type in return? Here's a snippet of the start of the bundle
Copy code
{
  "resourceType": "Bundle",
  "type": "transaction",
  "entry": [
    {
      "fullUrl": "urn:uuid:cbc7de76-bac1-4c37-b76e-912a9ec70400",
      "resource": {
        "resourceType": "Patient",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
          ]
        },
We're working on this MedPlum Bot: https://github.com/PuraJuniper/medplum-ecrnow-js/tree/main that sends data from MedPlum to a cancer registry according to the MedMorph https://build.fhir.org/ig/HL7/fhir-medmorph/ architecture. The bot serves the same role as the MedMorph "Health Data Exchange App (HDEA)"
r
I believe this is by design? Let me look into it
Is it blocking you from connectathon-ing? (hopefully not!)
Hope the connectathon is awesome so far
a
Nope! It's just unexpected! Our bot worked!
r
Phew! I will get back to you on whether the return type is up to spec or a bug.
Hope that you all are enjoying it and I expect a full update 🙂 We were sad not to make it, but hard to do both Connectathon and JPM
a
https://www.hl7.org/fhir/bundle.html seems like there’s nothing that says you can’t return a batch-response to a Transaction, but it caught me off guard
183 Views