Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel0316 authored and regelkraut committed Jan 24, 2025
1 parent a5266e0 commit 17595fd
Show file tree
Hide file tree
Showing 5 changed files with 146 additions and 6 deletions.
126 changes: 126 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
# Workflow to deploy with IG Publisher and Shorthand to the hl7austria.github.io repository

name: PublishIGWithHL7International

# Run on updates to the master
on:
workflow_dispatch

jobs:
build:
runs-on: ubuntu-latest

permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
# see https://github.com/stefanzweifel/git-auto-commit-action
contents: write

steps:

- name: Checkout the implementation guide
uses: actions/checkout@v2
with:
repository: HL7Austria/HL7-AT-FHIR-Core-R5
path: .

- name: Checkout github io project
uses: actions/checkout@v2
with:
repository: HL7Austria/hl7austria.github.io
path: ./web
ref: pages
token: ${{ secrets.ROBO_OLIVER }}

- name: Checkout FHIR IG Web Templates
uses: actions/checkout@v2
with:
repository: HL7/fhir-web-templates
path: ./fhir-web-templates

- name: Checkout FHIR IG History Templates
uses: actions/checkout@v2
with:
repository: HL7/fhir-ig-history-template
path: ./fhir-ig-history-templates

- name: Checkout FHIR IG Registry
uses: actions/checkout@v2
with:
repository: HL7Austria/ig-registry
path: ./fhir-ig-registry
ref: hl7at-add-publication
token: ${{ secrets.ROBO_OLIVER }}

- name: Extract last commit date
shell: bash
run: echo "##[set-output name=date;]$(git log -1 --format="%at" | xargs -I{} date -d @{} +%d.%m.%Y)"
id: extract_date

- uses: bluwy/substitute-string-action@v1
id: substitute_index
with:
_input-file: input/landing_page/_index.yml
_format-key: '%%key%%'
branch: ${{ github.event.repository.name }}
date: ${{ steps.extract_date.outputs.date }}
_output-file: input/landing_page/_index.yml

- name: Install NPM
uses: actions/setup-node@v2.1.2
with:
check-lastest: true

- name: Install Sushi
run: sudo npm install -g fsh-sushi

- name: Install Jekyll
run: |
sudo apt-get install jekyll
- name: Download IG Publisher
uses: Legion2/download-release-action@v2.1.0
with:
repository: HL7/fhir-ig-publisher
tag: 'latest'
path: .
file: publisher.jar

- name: Run IG Publisher
run: |
mkdir input-cache
mv publisher.jar ./input-cache/publisher.jar
unset DISPLAY
java -Djava.awt.headless=true -jar ./input-cache/publisher.jar -ig ig.ini
- name: Run IG Publisher Go Publish
run: |
unset DISPLAY
java -Djava.awt.headless=true -jar ./input-cache/publisher.jar -go-publish -source ${{github.workspace}} -web ${{github.workspace}}/web -registry ${{github.workspace}}/fhir-ig-registry/fhir-ig-list.json -history ${{github.workspace}}/fhir-ig-history-templates -templates ${{github.workspace}}/fhir-web-templates -temp ${{github.workspace}}/buildtmp
- name: Move index file
run: |
mv ./input/landing_page/_index.yml ./web/${{ github.event.repository.name }}
- name: Remove ig build zip directory
run: |
rm -rvf ./web/ig-build-zips/
- name: Deploy publication
if: success()
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Publish IG
branch: pages
repository: ./web

- name: Deploy updated FHIR IG List.json
if: success()
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: HL7AT - Update IG list
branch: hl7at-add-publication
create_branch: true
repository: ./fhir-ig-registry


4 changes: 2 additions & 2 deletions input/landing_page/_index.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: HL7®-AT-FHIR®-Core-R4
- version: 1.1.0-STU2
- version: 2.0.0-STU2
- description: FHIR® R4 Implementation Guide for the national FHIR® core profiles provided by HL7® Austria.
- last_published: %%date%%
- branch: %%branch%%
- type: draft
- type: official
4 changes: 2 additions & 2 deletions input/pagecontent/index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
### Introduction

> This is the implementation guide for the **Core Profiles (v1.1.0: [STU](https://www.hl7.org/fhir/versions.html) 2)** based on HL7® FHIR® R4. It is a **ballot** implementation guide that is hosted on the [HL7® Austria github project](https://github.com/HL7Austria). The most recent version of this implementation guide can be found at the [HL7® Austria FHIR® Website](http://fhir.at).
> This is the implementation guide for the **Core Profiles (v2.0.0: [STU](https://www.hl7.org/fhir/versions.html) 2)** based on HL7® FHIR® R4. It is a **official** implementation guide that is hosted on the [HL7® Austria github project](https://github.com/HL7Austria). The most recent version of this implementation guide can be found at the [HL7® Austria FHIR® Website](http://fhir.at).
This implementation guide is provided to support the use of FHIR® in Austria.

This guide is a working specification. We anticipate that it will be implemented and tested by FHIR® system producers whose feedback will help improve its content. With this standard for trial use, we are looking for feedback on whether the following goals have been met:
- The HL7® Austria FHIR® Core Implementation Guide (IG) covers administrative resources, like Patient, Organization, Practitioner, etc. that can be used on their own with no specific functional requirements for usage or they can be used for other more functional FHIR® IGs in Austria via dependencies. It contains only those Profiles and Extension where adaptions for Austria are necessary.
- This guide defines the minimum constraints on the FHIR® resources to create the Austrian Core Profiles.
- This guide defines the minimum constraints on the FHIR® resources to create the Austrian Core Profiles.
- It contains guidance on the [HL7® AT Core Patient Profile](StructureDefinition-at-core-patient.html).
- Along with the Patient profile the representation of the common structure of address information within Austrian information systems ([HL7® AT Core Address Profile](StructureDefinition-at-core-address.html)) and the extension to encode the religious confession of a patient (only confessions registered in Austria) ([Patient Religion](StructureDefinition-at-core-ext-patient-religion.html)) have been specified.
- Furthermore the codes for gender were extended to allow the usage of all official administrative genders in Austria.
Expand Down
14 changes: 14 additions & 0 deletions publication-request.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"package-id" : "hl7.at.fhir.core.r4",
"version" : "2.0.0",
"path" : "http://hl7.at/fhir/HL7ATCoreProfiles/4.0.1/2.0.0",
"mode" : "milestone",
"status" : "release",
"sequence" : "STU2",
"desc" : "An Implementation Guide for the HL7® Austria FHIR® Core Profiles.",
"first" : true,
"title" : "HL7® Austria FHIR® Core Implementation Guide",
"ci-build" : "http://build.fhir.org/ig/HL7Austria/HL7-AT-FHIR-Core-R4/",
"introduction" : "Core FHIR profiles for Austria in development by the HL7 Austria TC FHIR",
"category" : "National Base"
}
4 changes: 2 additions & 2 deletions sushi-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
# ╰────────────────────────────────────────────────────────────────────────────────────────────────╯
id: hl7.at.fhir.core.r4
canonical: http://hl7.at/fhir/HL7ATCoreProfiles/4.0.1
version: 1.1.0
version: 2.0.0
name: HL7AustriaImplementationGuide
title: HL7® Austria FHIR® Core Implementation Guide
status: active
publisher:
publisher:
name: HL7® Austria, TC FHIR®
url: https://hl7.at/technische-komitees/tc-fhir/
contact:
Expand Down

0 comments on commit 17595fd

Please sign in to comment.