Stream: shorthand
Topic: Instance age
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
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:
Chris Moesel (Jul 06 2020 at 14:22):
* condition.onsetAge.value = 30.0
* condition.onsetAge.system = "http://unitsofmeasure.org"
* condition.onsetAge.code = #a
Chris Moesel (Jul 06 2020 at 14:24):
Logged here: https://github.com/FHIR/sushi/issues/515
David Hay (Jul 06 2020 at 20:29):
Ah - should have thought of that!
Last updated: Apr 12 2022 at 19:14 UTC