Stream: implementers
Topic: operations with 'complex' parameters
John Moehrke (Mar 18 2016 at 15:25):
What is the definition of a complex parameter? Noticing that Operations can use GET i they don't use complex parameters. Specifically is a token parameter simple or complex?
Ewout Kramer (Mar 18 2016 at 15:27):
Those are parameters that have no representation on the URL (so you cannot pass them using a GET). so e.g. passing in a Timing or HumanName would be considered a complex parameter. But all primitives and standard parameter types are fine.
John Moehrke (Mar 18 2016 at 15:53):
so is token complex? and where can I learn what is simple and what is complex regarding parameters?
John Moehrke (Mar 18 2016 at 15:53):
The operations page needs to be updated/clarified
Ewout Kramer (Mar 18 2016 at 15:54):
No, token is not complex. It's a standard FHIR search type that is used on the search URL. I guess that should be clarified, yes! Can you create a task?
John Moehrke (Mar 18 2016 at 15:55):
but token is on the search type page
John Moehrke (Mar 18 2016 at 15:55):
ah, NOT complex
John Moehrke (Mar 18 2016 at 15:55):
yes, I will add a CP
John Moehrke (Mar 18 2016 at 15:58):
9728
Grahame Grieve (Mar 18 2016 at 18:20):
I don't know why you think this needs clarification
Grahame Grieve (Mar 18 2016 at 18:22):
primitive and complex data types are pretty clearly defined in the data types section
Josh Mandel (Mar 18 2016 at 18:23):
Every time some misunderstands the spec, it's something that needs clarification :-)
The challenge is that adding more language to the spec doesn't always make things clearer.
Grahame Grieve (Mar 18 2016 at 18:24):
I think you jumped topics here
John Moehrke (Mar 21 2016 at 15:47):
simple vs complex data types are clear.... but simple vs complex parameter types are not. my question was specific to 'operation'
Grahame Grieve (Mar 21 2016 at 20:09):
ok,. how is that not clear?
Eric Haas (Mar 21 2016 at 20:19):
example of a complex parameter may help. ( e.g a resource reference? what else is complex)
Grahame Grieve (Mar 21 2016 at 20:21):
any complex data type is a complex parameter
Christian Ohr (Mar 22 2016 at 08:51):
so, a token parameter is complex?
Grahame Grieve (Mar 22 2016 at 09:10):
no.
John Moehrke (Mar 22 2016 at 19:46):
How are we to know that token is not a complex parameter type?
Grahame Grieve (Mar 22 2016 at 19:49):
see task http://gforge.hl7.org/gf/project/fhir/tracker/?action=TrackerItemEdit&tracker_item_id=8653&start=75
John Moehrke (Mar 23 2016 at 16:35):
what about 9728 that I created for this topic?
Grahame Grieve (Mar 23 2016 at 19:12):
I think it's now unneeded given what I did dfor 8653 in the current build
Last updated: Apr 12 2022 at 19:14 UTC