The FHIR endpoint on this server does not know how to handle PUT operation


While trying to synchronize Visits by FHIR I’m running into this kind of error in FHIR query:

The FHIR endpoint on this server does not know how to handle PUT operation[Encounter/583e2f29-203a-40b7-b808-53b4ca9f2571] with parameters [[]]

Anyone knows what can be the problem? @wluyima, @darius, @dkayiwa, @dserkowski ?

Regards, Tomasz

1 Like

Offhand I don’t know, I have only occasionally glanced at the FHIR module’s codebase. Can you share a bit more details about how I might replicate this?

It seems that the general problem is that when pulling Visit/Encounter via REST API (with both FHIR and REST clients) essential Patient data like Birthdate, names, addresses, etc. are not being retrieved and the error is caused by trying to PUT the Visit/Encounter without these data.

I would expect that FHIR and REST both reference an existing patient when you’re creating or editing a visit/encounter, so you don’t have to have the complete demographics there.

I imagine the following would fail:

  • GET …/visit on server A
  • POST this content on server B (and expect this to also create a patient record)

@tmueller let me know if you need any help on FHIR module.

@harsha89 What Encounter attributes are required to perform a successful FHIR PUT operation?

@tmueller You might find useful.

thanks, @harsha89