FHIR Chat · fixing valueCodeableConcept · shorthand

Stream: shorthand

Topic: fixing valueCodeableConcept


view this post on Zulip Halina Labikova (May 15 2020 at 22:35):

Using format
* code = NCIT#C7575 //"Breast Phyllodes Tumor"
to fix a code to a field results in

"patternCodeableConcept": {
          "coding": [
            {
              "system": "http://ncit.nci.nih.gov",
              "code": "C7575"
            }
          ]
        },

Is this the expected behaviour?

view this post on Zulip Chris Moesel (May 15 2020 at 22:38):

Yes. Does it not match what you expected though?

view this post on Zulip Halina Labikova (May 15 2020 at 22:51):

Hm, so my mistake was working from an example rather than reading the instructions properly :P Looking at the mcode-cancer-condition-parent, I assumed that this in fsh image.png will result in this image.png. Now looking at the json, the html render doesn't match.. or am I missing something?

(( And yes, colon (:) will be my friend from now on ))

view this post on Zulip Chris Moesel (May 15 2020 at 22:58):

Ah. So that's related to some fairly recent changes in how the publisher displays patterns now. If you look at the full rendering of category, you'll see that it says it's a pattern at the top: image.png

view this post on Zulip Chris Moesel (May 15 2020 at 22:58):

So those "Fixed Value" bits are really just the individual pieces of the pattern.

view this post on Zulip Halina Labikova (May 15 2020 at 23:10):

I see, makes sense. Thanks!


Last updated: Apr 12 2022 at 19:14 UTC