Giter Site home page Giter Site logo

guides's Introduction

Standard Health Record FHIR Implementation Guide

This project contains the generated source code for various FHIR implementation guides (IG). These IGs are served under: http://standardhealthrecord.org/guides/.

Any changes to the files in /doc will be automatically reflected in the live website linked above.

To Deploy or Update an IG

To deploy a new IG or update an existing IG, follow the steps below. The examples in these steps assume Mac OS and the following locations (which may differ from yours):

  • Local clone of this repository: ~/dev/standardhealth/guides
  • Local clone of shr_spec: ~/dev/standardhealth/shr_spec
  • Local release of SHR-CLI: ~/dev/standardhealth/releases/shr-cli

For the purposes of this doc, the IG short name will be indicated as ${myIG}, but you should replace that with the actual IG short name you want (e.g., mcode). This will be part of the IG URL path.

Steps to deploy or update an IG:

  1. Build the IG using SHR-CLI and the IGPublisher jar, as described here and here
    $ cd ~/dev/standardhealth/releases/shr-cli
    $ rm -r out
    $ node . -c ig-${myIG}-config.json ~/dev/standardhealth/shr_spec/spec/
    $ java $JAVA_OPTS -Xms4g -Xmx8g -jar out/fhir/guide/org.hl7.fhir.igpublisher.jar -ig out/fhir/guide/ig.json
  2. Do a git pull from the root of the guides repository to ensure you're up to date
    $ cd ~/dev/standardhealth/guides
    $ git pull
  3. If updating an existing IG: Delete the docs/${myIG}/ folder since we want to fully replace it with the new one
    $ rm -r docs/${myIG}
  4. Copy the output folder of the built IG to the docs/${myIG}/ folder
    $ cp -r ~/dev/standardhealth/releases/shr-cli/out/fhir/guide/output docs/${myIG}
  5. If creating a new IG: Update the docs/index.html file to add an entry for the new IG
  6. Add all the changes to git and then commit (note: you may see warnings about line endings, but this is OK)
    $ git add docs
    $ git commit -m "Update ${myIG}"
  7. Push to GitHub
    $ git push
  8. Wait a few minutes and then verify changes at: http://standardhealthrecord.org/guides/. The easiest way to see if the changes were published is to look at the timestamp in the footer of the specific IG pages.

guides's People

Contributors

markkramerus avatar cmoesel avatar mlterrymitre1 avatar rutemartins avatar

Stargazers

Jazz Yao-Tsung Wang avatar Eugene Kramer avatar

Watchers

 avatar Juhan Sonin avatar Andre Quina avatar  avatar James Cloos avatar  avatar Amartya Chakraborty avatar  avatar Greg Quinn avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.