Stream: implementers
Topic: queries-token (IG 3.1.1)
Lital Inghel (Jan 18 2022 at 14:31):
For token parameters-the query needs to support:
code only
code system only
code+code system
?
Lloyd McKenzie (Jan 18 2022 at 14:48):
Ideally, all of those, though I don't believe we've defined a minimum. code only is only 'safe' if the system is otherwise narrowed down. system only wouldn't be terribly helpful
Lital Inghel (Jan 18 2022 at 14:54):
Lloyd McKenzie said:
Ideally, all of those, though I don't believe we've defined a minimum. code only is only 'safe' if the system is otherwise narrowed down. system only wouldn't be terribly helpful
asking since in the IG i see once:
GET [base]/Encounter?patient=[reference]&type={system|}[code]
http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-encounter.html
once
GET [base]/Encounter?patient=[patient]&type=[system]|[code]
http://hl7.org/fhir/us/core/STU3.1.1/CapabilityStatement-us-core-server.html#encounter
so not sure which we should follow
Yunwei Wang (Jan 18 2022 at 16:44):
The first one is correct. The 2nd is removed in US Core 4.0.0
Lital Inghel (Jan 18 2022 at 17:45):
Yunwei Wang said:
The first one is correct. The 2nd is removed in US Core 4.0.0
but i'm using 3.1.1 so which one is the correct one?
Yunwei Wang (Jan 18 2022 at 19:35):
The first one :grinning:
Lital Inghel (Jan 19 2022 at 07:13):
thanks! if system alone is used as a parameter, shall we bring back an error?
Yunwei Wang (Jan 19 2022 at 16:51):
It is up to the server. Server MAY support searching by token:system only, as defined (here)[http://build.fhir.org/search#token]
Last updated: Apr 12 2022 at 19:14 UTC