Stream: implementers
Topic: Is id datatype case sensitive by spec?
nicola (RIO/SS) (Feb 10 2017 at 15:35):
Is id datatype case sensitive by spec?
James Agnew (Feb 10 2017 at 15:41):
There's definitely no language explicitly saying that it's case insensitive, so that sounds like a good assumption. I don't see it explicitly stated anywhere though...
nicola (RIO/SS) (Feb 10 2017 at 15:45):
Just accidentally made it insensitive in search API and concerned with this question :) I think, it should have memory equality semantic - i.e. be case sensitive.
Lloyd McKenzie (Feb 10 2017 at 20:52):
Agree. Can you submit a change request for this to be made explicit?
Grahame Grieve (Feb 10 2017 at 22:52):
the RESTful API is already explicit that URLs are case sensitive - see http://build.fhir.org/http.html#general
Grahame Grieve (Feb 10 2017 at 22:53):
I don't think it's relevant to say that the data type itself is or isn't case sensitive
Lloyd McKenzie (Feb 11 2017 at 00:09):
I think it's quite relevant. The purpose of the id type is to identify things - so it matters if id="a1" and id="A1" mean the same ting or not
Lloyd McKenzie (Feb 11 2017 at 00:09):
It's not only relevant in HTTP. It's relevant any place ids appear and may be used to reference
Grahame Grieve (Feb 12 2017 at 10:17):
it's still nto a property of the type, but where it's used
Last updated: Apr 12 2022 at 19:14 UTC