Stream: conformance
Topic: Package Specification
Grahame Grieve (Sep 20 2019 at 01:43):
I'm looking at https://wiki.hl7.org/FHIR_NPM_Package_Spec with @Ewout Kramer and @Ward Weistra. It doesn't say something important to me, which I thought we had agreed to, which is that the resources in the package folder use the file name [type]-[id].json
e.g. ValueSet-23.json
Grahame Grieve (Sep 20 2019 at 01:43):
@Martijn Harthoorn @Michel Rutten I'm sure we agreed to this in Redmond when we have our big long discussion about packages. We're just trying to close things out now
Grahame Grieve (Sep 20 2019 at 02:24):
actually.... then we found that we kind of agreed to this in this thread:
Grahame Grieve (Sep 20 2019 at 02:25):
https://chat.fhir.org/#narrow/stream/179177-conformance/topic/Package.20rework
Martijn Harthoorn (Sep 20 2019 at 10:40):
Other than that the files should contain json, we don't have rules on the naming of the files, which I think is a good thing.
Grahame Grieve (Sep 20 2019 at 10:41):
I do not think it is a good thing. It makes you look inside and the load the file to see what kind of resource it is, or to load all resources when looking for any one resource.
Grahame Grieve (Sep 20 2019 at 10:41):
also, at the moment, the java validator and all my other code will ignore any actual content in the packages simplifier creates
Michel Rutten (Sep 20 2019 at 11:08):
FYI We have implemented an ArtifactSummaryScanner in the .NET API that is capable of harvesting a limited set of metadata from FHIR resources in a directory (structure). The scanner is forgiving and can deal with different FHIR releases and invalid input. Also the scanner has been optimized to quickly index a large folder. Forge uses this technology for the Project Explorer and the Package Manager.
Grahame Grieve (Sep 20 2019 at 12:24):
so, yes, we could say that you need to scan first. Though the package cache specification does not describe a format for caching that, so it falls back to "load everything"
Grahame Grieve (Sep 20 2019 at 12:25):
I don't see any benefit from having freedom to name the files whatever, when the package is not for human consumption
Grahame Grieve (Sep 20 2019 at 12:30):
Also, I regularly load packages that are not in the package cache
Brian Postlethwaite (Sep 20 2019 at 15:21):
has any agreement on a cache entry format, or maybe later still.
Last updated: Apr 12 2022 at 19:14 UTC