Stream: shorthand
Topic: bug in ig resource generation for v 1.0.0
Eric Haas (Oct 12 2020 at 15:22):
The IG Resource has a incorrect structure when add in a Goal example resource to the definitions list.
briefly is creating description object instead of string using the content from Goal.description which is type codeable concept. This may happen with other non conformance resource with a description
element too, so I would check that out...
Eric Haas (Oct 12 2020 at 15:26):
here is the example file: https://www.hl7.org/fhir/us/core/Goal-goal-1.html
here is the offending bit in the generated IG resource:
- reference:
reference: Goal/goal-1
description: #####should be string not object####
text: Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs
name: goal-1
exampleCanonical: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal'
Eric Haas (Oct 12 2020 at 15:26):
should be:
- reference:
reference: Goal/goal-1
description: Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs
name: goal-1
exampleCanonical: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal'
Chris Moesel (Oct 12 2020 at 15:39):
Hmmm... we'll take a look!
Eric Haas (Oct 12 2020 at 15:42):
I would simply limit the description to conformance resources using the metadate element. Since the description element in Goal is not the same thing.
Chris Moesel (Oct 12 2020 at 15:43):
https://github.com/FHIR/sushi/issues/629
David Hay (Oct 12 2020 at 17:06):
where'd the YAML come from? (At least I think it's YAML)
Eric Haas (Oct 12 2020 at 17:17):
a keystroke on my text editor. I just think is easier to read.
Last updated: Apr 12 2022 at 19:14 UTC