FHIR Chat · Instance age · shorthand

Stream: shorthand

Topic: Instance age


view this post on Zulip David Hay (Jul 06 2020 at 03:01):

The following line in a FamilyMemberHistory instance is generating an error:

  • condition.onsetAge = 30.0 'a'

the error is:

error Cannot fix number value: 30. Value does not match element type: Age

view this post on Zulip Chris Moesel (Jul 06 2020 at 14:20):

Hmmm... Looks like maybe it is not recognizing Age as a quantity? For the time being, you might need to spell it out:

view this post on Zulip Chris Moesel (Jul 06 2020 at 14:22):

* condition.onsetAge.value = 30.0
* condition.onsetAge.system = "http://unitsofmeasure.org"
* condition.onsetAge.code = #a

view this post on Zulip Chris Moesel (Jul 06 2020 at 14:24):

Logged here: https://github.com/FHIR/sushi/issues/515

view this post on Zulip David Hay (Jul 06 2020 at 20:29):

Ah - should have thought of that!


Last updated: Apr 12 2022 at 19:14 UTC