FHIR Chat · valueCodeableConcept examples on FHIR site · implementers

Stream: implementers

Topic: valueCodeableConcept examples on FHIR site


view this post on Zulip Sufyan Patel (Jun 05 2019 at 14:47):

Currently in discussion with colleagues as to how to create an example instance of the CodeableConcept datatype.
I assumed that this is pretty straightforward and I would create an example with

<elementname>
 <valueCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct"/>
                <code value="158974003"/>
                <display value="Call Handler"/>
            </coding>
        </valueCodeableConcept>
</elementname>

However, what i have found in the FHIR site is that it is coded as
- Schedule resource

 <serviceCategory>
    <coding>
      <code value="17"/>
      <display value="General Practice"/>
    </coding>
  </serviceCategory>

AllergyIntollerance

<code>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="227493005"/>
      <display value="Cashew nuts"/>
    </coding>
  </code>

There are many more.

Even the CodeableConcept examples look incorrect at http://hl7.org/fhir/stu3/datatypes-examples.html#CodeableConcept

Are the site examples consistently incorrect or am i missing something?

thanks

view this post on Zulip Paul Lynch (Jun 05 2019 at 14:58):

The tag containing the CodeableConcept content will depend on the resource you are looking at.

view this post on Zulip Lloyd McKenzie (Jun 05 2019 at 15:06):

You'll only see valueCodeableConcept if the element name is value[x] (as it is for Observation.value[x] and Extension.value[x])


Last updated: Apr 12 2022 at 19:14 UTC