FHIR Chat · FHIR Document Examples · implementers

Stream: implementers

Topic: FHIR Document Examples


view this post on Zulip Richard Kavanagh (May 07 2017 at 08:30):

Is anyone creating FHIR Documents that have "bundled" examples to share? Looking for test cases for https://twitter.com/ClaroTechUK/status/861118914067124224

view this post on Zulip Grahame Grieve (May 07 2017 at 08:36):

@Rick Geimer

view this post on Zulip Oliver Egger (May 08 2017 at 13:34):

@Richard Kavanagh https://github.com/ahdis/chmed16af/blob/master/resources/Bundle/chmed16af-mp-bundle-s01.xml or http://chmed16af.emediplan.ch/Bundle-chmed16af-mp-bundle-s01.xml.html, interested if the bundle survives your testcase

view this post on Zulip Richard Kavanagh (May 08 2017 at 16:16):

(deleted)

view this post on Zulip Richard Kavanagh (May 08 2017 at 16:18):

@Oliver Egger thanks, the tool is only for DSTU2 at the moment. When it's finished I'll create a STU3 version.

view this post on Zulip Jens Villadsen (May 09 2017 at 13:17):

@Oliver Egger - you need a validator for that :)

view this post on Zulip Oliver Egger (May 09 2017 at 13:47):

@Jens Villadsen not one, but two validators (java and .net :-)). but the validator does not cover all cases for a bundle (e.g. verify that all internal references are complete, slicing by profiles). the ig publisher includes the validation steps automatically, see http://chmed16af.emediplan.ch/qa.html as an example output.

view this post on Zulip Jens Villadsen (May 09 2017 at 13:49):

@Oliver Egger thats why you need something like the stuff we hacked together in Venice :)

view this post on Zulip Richard Kavanagh (May 09 2017 at 20:17):

That's what my tool does - checks the referential integrity of a document bundle. It's DSTU2 at the moment and only works when all resources are within the bundle.
pasted image

view this post on Zulip Rick Geimer (May 10 2017 at 05:39):

Yes, I definitely have some examples, but they are all STU3. Do you still want them? I've also written a very small XSLT transform that checks referential integrity for my own debugging purposes.

view this post on Zulip Richard Kavanagh (May 10 2017 at 06:40):

(deleted)

view this post on Zulip Richard Kavanagh (May 10 2017 at 06:40):

@Rick Geimer Yes your example would be great. I will create an STU3 version when I have finished. The tool not only checks integrity but shows the developer where the issues are and a graphical structure of the document so they can verify that the correct resources are joined together.

view this post on Zulip Rick Geimer (May 10 2017 at 15:45):

@Richard Kavanagh I sent a sample Bundle with test data to your gmail account.

view this post on Zulip Richard Kavanagh (May 10 2017 at 15:47):

Thanks @Rick Geimer appreciate it...

view this post on Zulip Brian Postlethwaite (May 11 2017 at 19:38):

@Richard Kavanagh is that test code in .NET?
Also wondering if the code handles references in extensions. (I have a c# extension method that extracts all references in on object - excluding extensions)

view this post on Zulip Richard Kavanagh (May 12 2017 at 08:16):

@Brian Postlethwaite Yes it is .NET and makes use of the .NET API. It locates the references using FHIRPath (*.Descendants) and does seem to locate references in extensions. We have a number of "extensions" in out document profiles (to handle CDA like participants) and it certainly locates them.

view this post on Zulip Brian Postlethwaite (May 12 2017 at 09:48):

Seems like a reasonable approach. (Not sure I'd want to do that to scale in my server though)


Last updated: Apr 12 2022 at 19:14 UTC