GithubHelp home page GithubHelp logo

gosh-fhirworks2020-fhirtopdf's Introduction

Deployment Guide

Install Docker

Clone the project (optional)

  • Clone the project to local machine
    git clone https://github.com/cjim8889/GOSH-FHIRworks2020-FHIRTOPDF

Build the docker image (optional)

  • Build the docker image by opening a new terminal and running the following command:

    docker build -t fhirtopdf .

Running the app

  • Make sure docker daemon is running

  • Create a file named docker.env

    Instance=https://login.microsoftonline.com/{0}
    Tenant=
    ClientId=
    ClientSecret=
    BaseAddress=
    Scope=
  • Replace the empty fields with the Azure FHIR API credentials you have been given.

  • Save the file.

  • In the terminal, run the following command if you want to use locally built image:

    docker run -it --rm -p 8080:80 --env-file docker.env --name fhirtopdf fhirtopdf
  • In the terminal, run the following command if you want to use remote built image from dockerhub:

    docker run -it --rm -p 8080:80 --env-file docker.env --name fhirtopdf jimchen8889/fhirtopdf:latest
  • Open a web browser and navigate to http://localhost:8080/api/Patient/bfc44552-b5a9-40ce-b705-dcf3e67dfded/print to view an example report.

List of API endpoints

Patients

  • Print a patient record: /api/Patient/print patient ID

gosh-fhirworks2020-fhirtopdf's People

Contributors

abhinathk avatar cjim8889 avatar

Watchers

 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.