FHIR Chat · Assigning multiple codings to a CodeableConcept fails · shorthand

Stream: shorthand

Topic: Assigning multiple codings to a CodeableConcept fails


view this post on Zulip Bas van den Heuvel (Jan 28 2021 at 14:39):

When I try to set multiple codings to a CodeableConcept. Sushi complaints that the field coding does not exist.

Instance: ClockSimpleLaunchClient
InstanceOf: SimpleClientDevice

  • type.coding[0] = $CS|code1
  • type.coding[1]= $CS|code1

What am I doing wrong?

view this post on Zulip ryan moehrke (Jan 28 2021 at 15:08):

If you have the CS Alias properly defined (I think that's what $ is for, I don't use it much) your issue is probably that codeings/codeable concepts are defined like {CodeSystem name|id|url}|{version string}#{code} "{display string}" so you need to use # not | to split the system and code
https://build.fhir.org/ig/HL7/fhir-shorthand/reference.html#assignments-with-the-codeableconcept-data-type

view this post on Zulip Bas van den Heuvel (Jan 28 2021 at 17:17):

<removed>

view this post on Zulip Bas van den Heuvel (Jan 28 2021 at 17:19):

Thx, I got it to work


Last updated: Apr 12 2022 at 19:14 UTC