Stream: implementers
Topic: Array of values for Parameters resource
Ariadna Roman (Oct 30 2018 at 10:57):
I was wondering how you can send an array of value[x] or an array of resources for an operation through Parameters resource. We thought about making an extension for array of value[x] and an extension for array of resources.
Grahame Grieve (Oct 30 2018 at 12:18):
just repeat parameter with the same name
Ariadna Roman (Nov 06 2018 at 09:12):
What happens if the order of the elements from the array is important?
Lloyd McKenzie (Nov 06 2018 at 13:52):
Order of repeating elements in FHIR is expected to be retained. Parameters are no different
Yunwei Wang (Nov 06 2018 at 15:25):
If you really want to explicitly indicate the order/sequence in parameter, you can use Parameter.part. Each parameter has two parts. First is the sequence number and second is the actual parameter.
Lloyd McKenzie (Nov 06 2018 at 15:35):
You could, but doing so would be unnecessary unless there was a need to support differentiating between parts where order is significant and others where order is not.
Last updated: Apr 12 2022 at 19:14 UTC