FHIR Chat · package summary files · conformance

Stream: conformance

Topic: package summary files


view this post on Zulip Ewout Kramer (Sep 30 2018 at 15:28):

I think it is useful to include pre-calculated indices in a package. E.g. a file that lists the mapping from canonical to a structuredefinition in the package. Or an index which maps a source or target url to a conceptmap. We do build these in memory when we read a package, but it seem useful to include such maps as files in a package..

view this post on Zulip Grahame Grieve (Sep 30 2018 at 15:29):

I've gone for building these when installing the package.

view this post on Zulip Grahame Grieve (Sep 30 2018 at 15:29):

it can take a little while...

view this post on Zulip Grahame Grieve (Sep 30 2018 at 15:29):

cache.ini

view this post on Zulip Grahame Grieve (Sep 30 2018 at 15:30):

that's what I'm going, in the root folder of the package

view this post on Zulip Grahame Grieve (Sep 30 2018 at 15:30):

hah. this:

[Packages]
analysis = 2

view this post on Zulip Grahame Grieve (Sep 30 2018 at 15:31):

that's the currency marker on the analysis. this

view this post on Zulip Grahame Grieve (Sep 30 2018 at 15:31):

[Package]
size = 3901622
install = 10/09/2018 4:15:48 PM

view this post on Zulip Ewout Kramer (Sep 30 2018 at 15:31):

in our experiments, we have conceptually the same, though we split it up - one file per something that's a section in your ini file.

view this post on Zulip Grahame Grieve (Sep 30 2018 at 15:31):

is the rest of it. yay for the typo

view this post on Zulip Grahame Grieve (Sep 30 2018 at 15:31):

don't mind which but one ini file is simple

view this post on Zulip Ewout Kramer (Sep 30 2018 at 15:31):

and I found that the mapping is sometimes from a canonical to a LIST of things (say from resource type to the set of files that contain an observation)

view this post on Zulip Grahame Grieve (Sep 30 2018 at 15:32):

I haven't been mapping uses of canonical, just definitions

view this post on Zulip Ewout Kramer (Sep 30 2018 at 15:34):

So, here we go, a good start for a set of requirements. We could talk about the format and structure. But I'd like to be sure this is considered useful by our audience....

view this post on Zulip Grahame Grieve (Sep 30 2018 at 15:34):

I find it useful to tell users how long a package has been in the cache

view this post on Zulip Grahame Grieve (Sep 30 2018 at 15:34):

users won't tell you that the maps are useful - but they appreciate the speed improvements

view this post on Zulip Ewout Kramer (Sep 30 2018 at 15:40):

I also meant the developers using the .net/java APIs. THe .NET API already as an API to expose this indexed metadata to the developer - obviously used by the API itself to do resolution, but the developer may also want to have access to it. Though you might wonder whether it is a good or bad thing that the package abstraction is visible to the developer of the API....


Last updated: Apr 12 2022 at 19:14 UTC