0.1.0 • Published 2 years ago

fhir-profile-test v0.1.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

What is this repository for?

Source code for Fresenius FHIR Venus R4 IG

NOTE: The content is in the ./content directory, as of sushi 1.0. See https://fshschool.org/docs/sushi/project/ for more information on how the project is structured.

How do I get set up?

  • Deployment instructions

FSH -> FHIR

Convert the FSH source files into FHIR

> ./bin/build
  • Below is docker version
> ./bin/docker-build

Build the entire IG

This takes longer, and run the IG Publisher.

> ./bin/ig
  • Below is docker version
> ./bin/docker-ig
  • Below updates the scripts in input-cache
> cd cd /Users/ravikuchi/git/fhir-venus-ig-r4/content
> ./_updatePublisher.sh

Run NPM install this will create package-lock.json

> cd /Users/ravikuchi/git/fhir-venus-ig-r4
> npm install .

View the IG

> ./bin/serve
  • Below is docker version
> ./bin/docker-serve

Open http://localhost:2020 in your web browser.

Load content to terminology server

> FHIR_SERVER=http://ohsmileterm.apps.npr.ocp.fmcna.com bin/load

Build Docker Image to deploy in Openshift

> docker image build -f /Users/ravikuchi/git/fhir-venus-ig-r4/Dockerfile.serve --tag=igimage . --rm

To run the image in a container locally

> docker run -it --rm -d -p 2020:8080 igimage:latest

Tag local image

> docker tag igimage hal-depa-d03.dc.fmcna.com:8446/venus/venus-igimage-r4:latest

push image to nexus

> docker push hal-depa-d03.dc.fmcna.com:8446/venus/venus-igimage-r4:latest

delete existing project artifacts

> oc delete all --selector app=venus-igimage-r4

delete template

> oc delete template venus-igimage-r4-temp

login into openshift (this is first time only) - create deployment template

> oc create -f /Users/ravikuchi/git/fhir-venus-ig-r4/ig-deployment.yml --insecure-skip-tls-verify

start new app

> oc new-app lab-venus/venus-igimage-r4-temp

create ImageStream

> oc tag hal-depa-d03.dc.fmcna.com:8446/venus/venus-igimage-r4:latest venus-igimage-r4:latest

oc expose service

> oc expose dc venus-igimage-r4 --port=8080

CI Artifacts

CI generates artifacts in ./content/fsh-generated. The static website that should be published is in ./content/output. Copy this directory recursively to any static website after a successful CI run.

Who do I talk to?

  • Ajay K Chada , Ravi Kuchi , Gautham Lingampally
  • FHIR-Team