FHIR Chat · 1:1 code & Required, no-data response? · inferno

Stream: inferno

Topic: 1:1 code & Required, no-data response?


view this post on Zulip Brian Beatty (Sep 09 2021 at 16:00):

With MedicationRequest, a SHALL requirement is "A server SHALL support searching by patient+intent on the MedicationRequest resource"
What is the proper response if we don't store or support intent, since intent a 1:1 cardinality, a code and has Required binding?

view this post on Zulip Yunwei Wang (Sep 09 2021 at 17:07):

If a MedicationRequest resource does not haveMedicationRequest.intent, then the resource is not a valid US Core MedicationRequest resource
If a server does not support searching MedicationRequestion with patient+intent, then the server is not US Core conformant
If a server does not support intent and client sends search request with intent, IMO the server should return 200 with either a Bundle with zero entry (because there is no result matching the intent search value) or an OperationOutcome with an code not-supported as the search parameter is not supported.


Last updated: Apr 12 2022 at 19:14 UTC