FHIR Chat · modify "description & constraints" in profile · shorthand

Stream: shorthand

Topic: modify "description & constraints" in profile


view this post on Zulip Gino Almondo (Jan 15 2021 at 13:20):

Hi all, newbie here :)
I would like to be able to write a fsh so that the "Description & Constraints" of an attribute is modified.
I hope the picture should give a better idea of what I aim to achieve. The pic shows the differential table obtained through by running the fsh-file through IG. In yellow I highlighted the text that I would like to modify.

The ultimate goal of modifying the text is to tell a potential user of the profile for what purposes the attribute can be used.
Maybe there are other better ways to include this information?
image.png

I hope this is understandable and I apologize if I use wrong terms. I'm very new to FHIR and shorthands

The shorthand file looks like this. The comments after the rule for effective[x] is basically what I want to include somewhere in the published profile

Alias : SCT = http://snomed.info/sct
Profile : ResultatAvKroppslangdsmatning
Parent: Observation
Id : resultat-av-kroppslangdsmatning
Title : "Resultat av kroppslängdsmätning"
* code = SCT#248334005 "kroppslängd "
* effective[x] only dateTime or Period // Indication of the time when what was observed actually happened or is expected to happen
* value[x] only Quantity
* value[x] 1..1

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

Looking at a similar description note image.png

It looks like the element you want to set is the "short" description which should be set-able with the carrot escape paradigm
which would look like: *effective[x] ^short = "description text"

view this post on Zulip Gino Almondo (Jan 15 2021 at 16:03):

fantastic! thanks for the help :)


Last updated: Apr 12 2022 at 19:14 UTC