Skip to content

Commit

Permalink
Update github workflow and readme for ips cl
Browse files Browse the repository at this point in the history
  • Loading branch information
Gorovoi committed Dec 26, 2024
1 parent 300ccb4 commit 2d1556f
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 171 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/ips-cl-image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: IPS CL app image

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}-ips-ig-cl

on:
push:
branches:
- main
paths:
- 'ips_ig_cl/**' # Only trigger if files within ips_ig change
workflow_dispatch:

jobs:
build-image:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3

- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push image
uses: docker/build-push-action@v5
with:
push: true
no-cache: true
platforms: linux/amd64,linux/arm64
context: ./ips_ig_cl
file: ./ips_ig_cl/Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
17 changes: 2 additions & 15 deletions ips_ig_cl/README.MD
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# Implementation of IPS FHIR IG on Aidbox FHIR platform

[Demo](https://ips.hz.aidbox.dev/fhir/Patient/2b90dd2b-2dab-4c75-9bb9-a355e07401e8/$summary) | [Inferno International Patient Summary Test Kit](https://inferno-qa.healthit.gov/suites/ips/Zb7EriZknW)

This repository contains pre-configured Aidbox instance and implementation of `$summary` operation defined by IPS.

## About IPS (International Patient Summary)

The IPS is intended to support the provision of essential healthcare information for a patient, regardless of where they are receiving care. It includes critical information such as allergies, medications, past surgeries, and other significant medical history details. See [IPS Specification](https://build.fhir.org/ig/HL7/fhir-ips/index.html)
The IPS is intended to support the provision of essential healthcare information for a patient, regardless of where they are receiving care. It includes critical information such as allergies, medications, past surgeries, and other significant medical history details. See [IPS Specification](https://build.fhir.org/ig/HL7Chile/IPS-CL/index.html)

## Prerequisites

Expand All @@ -30,8 +28,6 @@ Add the license (`AIDBOX_LICENSE`) int the .env file.
docker compose up --build
```

On start, the node-app will [upload](./src/index.ts#L142) a sample FHIR [Bundle](./src/patientData.ts) with patient data.

## Step 3: Open and log in into Aidbox instance

Open in browser http://localhost:8888
Expand Down Expand Up @@ -201,13 +197,4 @@ stringData:
AIDBOX_CLIENT_ID: <your_aidbox_client_id>
AIDBOX_CLIENT_SECRET: <your_aidbox_client_secret>
APP_SECRET: <your_app_secret> # allows aidbox safely communicate with this app
```
## Run Inferno IPS tests
To run Inferno IPS tests against this implementation:
1. Copy the prepared [configuration](./ips-inferno-config.json) for the test suite.
2. Create a test session on the [Inferno website](https://inferno-qa.healthit.gov/test-kits/international-patient-summary/).
3. Click on the "RUN ALL TESTS" button.
4. Paste the copied configuration into the JSON field and submit.
```
156 changes: 0 additions & 156 deletions ips_ig_cl/ips-inferno-config.json

This file was deleted.

0 comments on commit 2d1556f

Please sign in to comment.