This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Difference between revisions of "FHIR IG NPM Profile"

From HL7Wiki
Jump to navigation Jump to search
(Created page with "FHIR IG Profile for package.json All FHIR Implementation Guides include a file package.json which links the FHIR packages into the NPM package management system. npm assumes...")
 
 
Line 9: Line 9:
 
* Names always have a scope.  
 
* Names always have a scope.  
 
* Scope is "fhir"  
 
* Scope is "fhir"  
* names are issued by FMG (contact the FHIR Product Director)
+
* names for all IGs published by HL7 and FHIR (and also IHE) are issued by the FHIR Product Director
** name will be based on ImplementationGuide.name, but will be different for uniqueness reasons
+
** name will be based on ImplementationGuide.url for uniqueness reasons, but will be simpler
 
* version must be populated, and must match the ImplementationGuide.version field
 
* version must be populated, and must match the ImplementationGuide.version field
 
* description should include ImplementationGuide.title and ImplementationGuide.description
 
* description should include ImplementationGuide.title and ImplementationGuide.description

Latest revision as of 19:37, 23 March 2018

FHIR IG Profile for package.json

All FHIR Implementation Guides include a file package.json which links the FHIR packages into the NPM package management system.

npm assumes unique package names.... we have no framework for that....?

Rules for package.json:

  • Names always have a scope.
  • Scope is "fhir"
  • names for all IGs published by HL7 and FHIR (and also IHE) are issued by the FHIR Product Director
    • name will be based on ImplementationGuide.url for uniqueness reasons, but will be simpler
  • version must be populated, and must match the ImplementationGuide.version field
  • description should include ImplementationGuide.title and ImplementationGuide.description
  • license is required
  • recommend to fill out homepage, bugs, author (matching ImplementationGuide.contact), repository
  • files should include validation.pack.
    • todo: what other files...?
  • dependencies:
    • must include at least the base FHIR spec ("fhir") with version
    • must include names and versions for all IG dependencies