Stream: IG creation
Topic: StructureDefinitions, maps and examples
Carl Leitner (Apr 20 2021 at 16:41):
From 2017, there is an extension point defined for examples:
https://hl7.org/fhir/2017Jan/extension-structuredefinition-example.json.html
http://hl7.org/fhir/2017jan/extension-structuredefinition-example.html
I understand that this was intended to help processes examples in the IG. In particular, looking at the functionality around structure maps processing of these examples. The code does seems to still be in the IG Publisher (and referenced HAPI). Given the 2017 timestamp (and not seeing anything more recent) Is it still valid to try to handle examples + structure maps in this way?
Carl Leitner (Apr 20 2021 at 16:41):
flagging for @Luke Duncan
Lloyd McKenzie (Apr 20 2021 at 19:35):
@Grahame Grieve
Grahame Grieve (Apr 20 2021 at 21:05):
where is it referenced? I don't see it?
Carl Leitner (Apr 21 2021 at 13:06):
do you mean in the code (or something else)? I was trying to (quickly) walk through the function calls and documented what I think is happening. haven't had time to dig in and test things out
https://docs.google.com/document/d/1ZcREfcmvSCsLLtUw3ptmdPPY4A5Sj-9XEH2KjBBNC90/edit
(Honestly, I did not verify to see if all of this code is still in the most current releases)
Grahame Grieve (Apr 21 2021 at 13:30):
well, I don't see it referenced anywhere, and I don't think it has any meaning
Carl Leitner (Apr 21 2021 at 14:07):
Carl Leitner (Apr 21 2021 at 14:07):
exValue and index are there.
Carl Leitner (Apr 21 2021 at 14:10):
looks like @James Agnew is responsible for that code (at least blame says that he committed externalized code)
Grahame Grieve (Apr 22 2021 at 03:45):
nah that's me. I had forgotten about it, and worse, the extension iterator doesn't check the extension URL
Grahame Grieve (Apr 22 2021 at 03:46):
but it is only for R2. You should never need to think about it
Carl Leitner (Apr 22 2021 at 16:49):
(yeah I noticed the lack of check for the URL). but it does seem like useful functionality to have structure maps applied to the examples in IG. would you prefer it gets fixed (we can help) and documentation gets updated or that it goes away?
Grahame Grieve (Apr 22 2021 at 18:42):
it's not needed post R2 - the example values have that structure
Last updated: Apr 12 2022 at 19:14 UTC