Git Product home page Git Product logo

fhir-mapper-add-in's Introduction

FHIR Mapper

๐Ÿ‘‰ Excel add-in for better mapping of clinical codes to FHIR resources. Example

Functions

  • FHIR.MAP_DESCRIPTION(text)
  • FHIR.PARSE_RESULT(raw)

Sideload the add-in for testing

You can test the continous build of the add-in by sideloading it into Excel. To do this, you'll need a manifest.xml file that describes the add-in an import it into Excel. Depending on your platform (Mac or Windows), you'll need to place the manifest.xml file in a different location.

  1. Download the manifest.xml file from the latest release.

  2. Follow the instructions for sideloading an add-in on Mac or sideloading an add-in on Windows.

Setup development environment

You'll need to install the following tools to build and run the add-in locally:

The required node version is also specified in the .nvmrc file.

A good video series on setting up your development environment for Office Add-ins can be found here.

Install dependencies

npm install

You'll see a new folder node_modules appear in your project.

Build

npm run build

You'll see a new folder dist appear in your project. This folder contains the files that are required to run the add-in. This step is important when changing the manifest.xml file (description of the ribbon, metadata, runtime, ...) or the functions.json (description of the Excel functions). when sideloading the add-in. Use the manifest.xml to sideload the add-in.

Setup development server:

Run the following command to start the development server:

npm run dev-server

This will start a local server on port 3000. You can verify that the server is running by navigating to http://localhost:3000/manifest.xml. You should see the contents of the manifest.xml file.

Launch dev add-in:

npm start

This will open Excel and load the add-in. The add-in needs some loading time, so be patient. You can seed the loading status in the status bar of Excel. Once the add-in is loaded, you'll receive a notification in the top right corner of Excel.

Click on the home tab and you should see a button called "FHIR Mapper". Click on it and you should see the add-in.

Troubleshooting

Clear Cache (on Mac)

Sometimes the add-in will not load properly. This can be fixed by clearing the cache. Clear Cache

rm -rf  ~/Library/Containers/com.microsoft.Excel/Data/Library/Caches/*

Enable Debugging (on Mac)

You can enable debugging in Excel to see the console (like in browser) of the add-in:

defaults write com.microsoft.Excel OfficeWebAddinDeveloperExtras -bool true

Now you can open the developer tools by right clicking on the add-in and selecting "Inspect Element".(Mac)

For Mac OS X? Make sure you have installed Excel via Office 365, and not the App Store. Debug Office Add-ins on iPad and Mac

Kill orphan node processes

Find the processs id

lsof -i tcp:3000

Kill the process

kill <pid>

fhir-mapper-add-in's People

Contributors

axelv avatar svercruyssen avatar devliegherec avatar zazou2552 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.