FHIR Chat · hapi-fhir: issue 267: incorrect inclusion of $ prefix on ... · hapi

Stream: hapi

Topic: hapi-fhir: issue 267: incorrect inclusion of $ prefix on ...


view this post on Zulip Zulip HAPI Bot (Dec 07 2015 at 04:19):

dionmcm opened issue 267

I noticed an inconsistency between HAPI server and Health Intersections FHIR server for the population of Conformance.rest.operation.name - HAPI includes the $ prefix and Health Intersections does not.

A ticket has been raised on the specification, because it isn't very clear likely resulting in this inconsistency.

I also posted a message on Zulip and got a response from Grahame Grieve (included below) that the $ is a prefix and the actual operation name does not include the $, hence it should not be included. That seems reasonable, but I've left the ticket open on the FHIR spec because the section in question http://hl7.org/fhir/conformance-definitions.html#Conformance.rest.operation.name isn't clear about this and could be better.

However this means that HAPI should not include the $ prefix in Conformance.rest.operation.name

FHIR Zulip chat


implementers > conformance

Dion McMurtrie: FYI @Grahame Grieve Grieve and @James Agnew, I just created http://gforge.hl7.org/gf/project/fhir/tracker/?action=TrackerItemEdit&tracker_item_id=9114 on Conformance.rest.operation.name inconsistency. The question is whether the "$" should prefix the name in this attribute - HAPI includes the "$", Health Intersections test FHIR server doesn't. Which is right?

Grahame Grieve: DIon - I think that the docuemntation is specific, and that the name does not include the $

Dion McMurtrie: Not from what I can see at http://hl7.org/fhir/conformance-definitions.html#Conformance.rest.operation.name - it says "The name of a query, which is used in the _query parameter when the query is called." and the comments are "The name here SHOULD be the same as the name in the definition, unless there is a name clash and the name cannot be used."

Dion McMurtrie: But maybe I'm not reading something into that I should be? Or perhaps there is another part of the spec which clarifies it?

Grahame Grieve: "Most Operations are a POST to a FHIR endpoint, where the name of the operations is prefixed by a "dollar sign" ('$') character"

Dion McMurtrie: OK, that works for me. I think a slightly more specific comment at http://hl7.org/fhir/conformance-definitions.html#Conformance.rest.operation.name could avoid this inconsistency, even just a link to the text you just quoted. I'll raise a bug on HAPI.


Last updated: Apr 12 2022 at 19:14 UTC