Giter Club home page Giter Club logo

back-to-work-deployment-template's Introduction

Send Proactive messages to the Healthbot via an Azure function

This repository contains an Azure Function that will trigger a Microsoft Healhtbot service scenario.

There is also an ARM template that can be executed to deploy the Function in your Azure tenant.

Prerequisites

This Function requires an Azure API for FHIR server, the following Github repository explains how to deploy a FHIR server, with the required Service Principal (Client)

Before deploying the samples scenario make sure that you have Az and AzureAd powershell modules installed:

Install-Module Az

Deployment

To deploy the sample scenario, first clone this git repo and find the deployment scripts folder:

git clone https://github.com/iBoonz/https://github.com/iBoonz/Back-to-Work-Trigger cd Back-to-Work-Trigger/deploy

Log into your Azure subscription: Login-AzAccount

Then deploy the function with the Powershell or Bash script: .\azureDeploy.ps1

The template requires the following parameters. You can fill these in the parameters JSON file, found in the ARM templates folder

"Healthbot_Trigger_Uri": {
        "type": "securestring",
        "metadata": {
            "description": "the Healthbot URI to trigger the scenario"
        }
    },
"Healthbot_API_JWT_SECRET": {
        "type": "securestring",
        "metadata": {
            "description": "The API JWT from the Healthbot"
        }
    },
"Healthbot_Name": {
        "type": "securestring",
        "metadata": {
            "description": "The name of the healthbot"
        }
    },
"Healthbot_ScenarioId": {
        "type": "securestring",
        "metadata": {
            "description": "The name of the scenario that will be triggered"
        }
    },
"FHIR_Audience": {
        "type": "securestring",
        "metadata": {
            "description": "The FHIR audience URI"
        }
    },
"FHIR_Authority": {
        "type": "securestring",
        "metadata": {
            "description": "The FHIR authority URI"
        }
    },
"FHIR_ClientId": {
        "type": "securestring",
        "metadata": {
            "description": "The FHIR Client Id // Service Principal from Azure"
        }
    },
"FHIR_ClientSecret": {
        "type": "securestring",
        "metadata": {
            "description": "The FHIR secret // Secret from Service Principal in Azure"
        }
    },
"FHIR_URL": {
        "type": "securestring",
        "metadata": {
            "description": "The FHIR uri"
        }
    }

back-to-work-deployment-template's People

Contributors

iboonz avatar

Watchers

 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.