Giter Club home page Giter Club logo

gosh-fhirworks2020-carefulaisignup's Introduction

Deployment Guide

Info

  • The package is made up of three parts:
    • .NET application that serves patient data in JSON
    • Embeddable React application in Next.js

Install .NET Core 2.1

  • Download and install .NET Core 2.1 SDK 2.1.803

  • Test your installation by opening a new terminal and running the following command:

    dotnet

  • Clone the project and open it in Visual Studio Code.

  • Navigate to web-api/dotnet-azure-fhir-web-api

  • Open the file appsettings.json

    { "Logging": { "LogLevel": { "Default": "Debug", "System": "Information", "Microsoft": "Information" } }, "Instance": "", "Tenant": "", "ClientId": "", "ClientSecret": "", "BaseAddress": "", "Scope": "" }

  • Replace the empty fields with the Azure FHIR API credentials you have been given.

  • Save the file.

  • Navigate to the directory dotnet-azure-fhir-web-api using the terminal inside Visual Studio Code.

  • In the terminal, run the following command:

    dotnet run
  • Open a web browser and navigate to https://localhost:5001/api/Patient/ to view a list of all patients.

Install npm dependencies

  • Make sure you have Node.js and npm installed

  • Navigate to the frontend directory

  • Run the following command to install dependencies

    npm install
    

Running the example

  • Run the following command to install http-server

    sudo npm install -g http-server
    
  • Navigate to the frontend directory and start the application using

    npm run dev
    

    then, in a new terminal tab, navigate back to the root directory and run

    http-server
    
  • Navigate to http://localhost:8080/index.html to see the embedded iframe

  • The http-server is displaying the index.html page at the root of the package directory

  • To adjust the frame size adjust the width and height attributes in the iframe tag in index.html

  • You may add new .html pages (or modify index) to use the package in your website

Scope of Functionality

  • The app takes a patient name and date of birth and searches the FHIR database to obtain their record (logs the record on success)
  • The patient's name, phone number, and region are then added to the Register form which obtains care network and activity data and logs it out

gosh-fhirworks2020-carefulaisignup's People

Contributors

jjmacakiage avatar dependabot[bot] 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.