FHIR Chat · OperationDefinition feature or bug? · hapi

Stream: hapi

Topic: OperationDefinition feature or bug?


view this post on Zulip Sarah G (Feb 25 2022 at 15:02):

It looks like if you have multiple Resource providers that both implement the same Operation, what you get in the capability statement is a mixture of both. For example "Patient" and "Encounter" both support "$everything". This is what the capability statement looks like in https://hapi.fhir.org/baseR4/metadata :

"operation": [ {
"name": "everything",
"definition": "http://hapi.fhir.org/baseR4/OperationDefinition/EncounterPatient-it-everything"
}

It shows up both under Patient and Encounter "Operation"s. And if you click through you get a union of the operation parameters of both resources. What's the logic behind this? Shouldn't the OperationDefinition be per resource?

Thanks


Last updated: Apr 12 2022 at 19:14 UTC