WARNING
This guidance is under active development by NHS England and content may be added or updated on a regular basis.Packaging and Publishing
This guides follows through the creation and checking of the NHS England Simplifier packages
Prerequisites
Ensure that you have the following permissions:
- Simplifier Project – Admin
- GitHub Repository – Either Admin or as part of the GitHub IOPs Development Team
- A non standard NHS machine (Virtual or Developers)
Package Release
Prerequisites Ensure the following has been checks have been completed:
- All relevant Jira tickets are complete
- Ensure all GitHub PR's are complete
- Merge develop (hotfix) into relevant main (release)
Publishing a Package
Note that the following must be done within a virtual machine due to NHS firewall restrictions.
Within the Simplifier Project reimport Github.
Within the same menu, check the GitHub repository settings.
The Repository include/exclude textbox should be as the following:
This ensures that the capability statement is not copied into the npm package. If the textbox had to be updated open the file manager, search for “capability” and if there delete.
Creation of the NPM Package
Create the new package for the relevant version
Enter the version number. This should be in the format of x.x.x(-aaa) where x denotes a number and (-aaa) denote an optional lowercase string. For example, 1.0.0-pre-release.
For the release package the release notes should read
For the balloted release
This is a release of the FHIR assets for the x.x.x version of the NHS England.
Please note: This npm package contains only the current active FHIR assets, and does not include retired assets, or ones in development which are not part of this formal release, and are therefore these are not in the associated Implementation Guide.
For the non-balloted release
This is a release of the FHIR assets for the x.x.x version of the NHS England.
Please note: This npm package contains all current assets, including ones in devlopment which are not part of this formal release, and therefore theres are not in the associated Implementation Guide.
Within the content tab ensure the appropriate checkboxes are selected as below:
Click Publish. The package has been created.
Implementation Guide Release
Prerequisites
Once the package has been created the IG can be published. Within the IG editor:
Click the hamburger. Click Settings
Add the title NHS England Design and Development Approach.
Add a description
Change the scope to point to the newly created package and click save.
Select Edit Master Template.
Comment out development notice information if it is no longer applicable.
Update the details of the bottom banner, namely the Released date.
- Amend the Contact Us page
- Change the version on the first paragraph
- Change the version for each email subject line to read
- Subject=NHS England Release #version
Amend the new package on the Downloads page
Before publishing it is vital to check that:
- All pages and links are rendered correctly
- The IG has been run through spell-checking software
- The IG has been run though a link checking software
Publishing a Guide
Within the Guides portal select the burger bar next to the guide you want to publish and select versions.
Select the burger bar next to the version that you want publishing and select publish.
- Enter the agreed version (this may align with the package version).
- Ensure that:
Status is set to Public
Read-only is set to Read-only
Make default set to Yes
- Select Publish
Overwriting and Republishing a Guide
If there are any errors spotted after publishing the guide it is possible to overwrite and republish using the same version number.
- Within the Guides portal select the burger bar next to the guide you want to publish and select 'Make overwritable'.
- From the current burger bar select publish.
- Enter the same version number of the previous guide that you have just made overwritable. This may be different to the package version.
- Ensure that:
- Status is set to Public
- Read-only is set to Read-only
- Make default set to Yes
- Select Publish.
GitHub Release
Prerequisites
From the current burger bar select Export.
Creating a Release Within GitHub
With the GiHub NHSEngland-FHIR-ImplementationGuide repository. Select the Releases title on the right-hand side.
Select Draft a new release.
Ensure target is set to main and create a tag that is same as the package version.
Add the following release notes, changing the information as needed:
Simplifier FHIR Assets
Implementation Guide
- INSERT URL
example: [1.0.0 - STU1] (https://simplifier.net/guide/nhs-england-implementation-guide-stu1?version=1.0.0)
Package
- INSERT URL
example: [fhir.r4.nhsengland.stu1 1.0.0] (https://simplifier.net/packages/fhir.r4.nhsengland.stu1/1.0.0)
NPM
Note: The npm package contains only active FHIR assets, and does not include retired assets, or ones in development which are not part of this formal release, and therefore these are not referenced in the STUx Sequence Implementation Guide.
npm --registry https://packages.simplifier.net install package@version
example:npm --registry https://packages.simplifier.net install fhir.r4.nhsengland.stu1@1.0.0
- INSERT URL
Drag and drop the exported IG file into the ‘Attach binary…’ area.
Set as latest release and publish.