Stream: implementers
Topic: Parameters and arrays
Sufyan Patel (Oct 09 2017 at 09:20):
Hi, Just need your advice on how to model the following in a FHIR way.
It's using the Parameters resource and a parameter can have more than one value.
Here is an example of what I'm trying to model:
idsToRetain: [70015, 70016]
Is it possible to create a Parameters example like:
<Parameters xmlns="http://hl7.org/fhir">
<parameter>
<name value="idsToRetain"/>
<valueReference>
<identifier>
<system value="https://fff"/>
<value value="70015"/>
</identifier>
</valueReference>
</parameter>
<parameter>
<name value="attachmentsToRetain"/>
<valueReference>
<identifier>
<system value="https://fff"/>
<value value="70016"/>
</identifier>
</valueReference>
</parameter>
<parameter>
Is there any issue with having 2 parameters with the same name?
Thanks
Grahame Grieve (Oct 09 2017 at 09:25):
no
Lloyd McKenzie (Oct 09 2017 at 13:48):
It's the expected way to handle repeating parameters.
Last updated: Apr 12 2022 at 19:14 UTC