FHIR Chat · valueReference for Parameters · shorthand

Stream: shorthand

Topic: valueReference for Parameters


view this post on Zulip Etienne Cantineau (Jun 25 2020 at 13:21):

Hello, i get an error i don't understand when i create an instance of Parameters
Instance: ParametersEx12
InstanceOf: Parameters
Usage: #inline

  • parameter.name = "patient"
  • parameter.valueReference = Reference(PatientEx12)
    error: Cannot read property 'forEach' of undefined.
    PatientEx12 and ParametersEx12 are both inline instances in a bundle

view this post on Zulip Chris Moesel (Jun 25 2020 at 14:15):

Hi @Etienne Cantineau -- that looks like a bug in SUSHI to me. If I had to guess, I suspect that SUSHI is trying to enumerate the reference type targets to see what are the allowed reference targets -- but maybe the reference doesn't list the targets since it basically supports all targets. It's just a guess -- and there's nothing you could do about that -- but we'll look into it!

view this post on Zulip Vassil Peytchev (Jun 25 2020 at 14:36):

Does it have anything to do with the special status of the Parameters resource? What is the instance of Parameters part of?


Last updated: Apr 12 2022 at 19:14 UTC