This is a github pages site used for displaying various meaningful data related to Patient Record Migrations.
The hosted site can be found here.
Pre-requisites
Ensure you have access to the gp2gp-mi
index in the NMS Trends instance of Splunk.
Process
- Duplicate the previous month's directory from the
month
directory - Update the
title
anddate
and where presenttimeframe
fields in all the markdown files - Update the date range referenced in the text
- Update any links to reference the correct month
- Create the RR funnel
- Import the
_splunk/splunk-rr-view-dashboard.xml
file into Splunk - Set the date range for the month you wish to produce statistics for.
- For the
rr-funnel.md
file: copy the following data from splunk- Registrations: Total from high level registration category
- Transfers: Total from Transfer category
- GP2GP : Total from GP2GP category
- Integrations: GP2GP success and integrated from GP2GP category
- Create layers
- Update data in
items
inrr-funnel/gp2gp/gp2gp.md
from GP2GP category - Update data in
items
inrr-funnel/gp2gp/errors/errors.md
from GP2GP failures - Update data in
items
inrr-funnel/gp2gp/errors-pathway/errors-pathways.md
from errors by pathway - Update data in
items
inrr-funnel/gp2gp/pathways/pathways.md
from GP2GP category by pathway - Update data in
items
inrr-funnel/integrations/integrations.md
from Filing status - Update data in
items
inrr-funnel/integrations/filing-by-requestor/filing-by-requestor.md
from Filing details by requestor - Update data in
items
inrr-funnel/registrations/registrations.md
from High level registration category - Update data in
items
inrr-funnel/transfers/transfers.md
from Transfer category
- Update data in
- Import the
- Create the SR funnel
- Import the
_splunk/splunk-sr-view-dashboard.xml
file into Splunk - Set the date range for the month you wish to produce statistics for.
- For the
sr-funnel.md
file: copy the following data from splunk- Requests Received:
requests
fromFunnel
- Records Sent:
retrieve
fromFunnel
- Requests Received:
- Create layers
- Update data in
items
insr-funnel/success-vs-failure/success-vs-failure.md
from column totals ofSuccess vs Failure
- Update data in
items
insr-funnel/success-vs-failure/failure-points/failure-points.md
from column totals ofFailures
- Update data in
items
insr-funnel/success-vs-failure/pathways/pathways.md
from columns inSuccess vs Failure
- Update data in
items
insr-funnel/success-vs-failure/failure-points/failure-pathways/failure-pathways.md
from columns inFailures
- Update data in
- Import the
N.B. the numeric data in the items
collection for the "pathways" layers can be generated by exporting the JSON view of the data from Splunk and processing with the script _splunk/convert-splunk-extract-to-data.sh
.
- clone the repo
cd
into the repo root folder- install homebrew
- remove RVM, if you have it installed
rvm implode
- rvm doesn't play nice with rbenv. You could use just rvm instead, but rbenv is cleaner for managing ruby versions.
- install rbenv ruby version manager
brew install rbenv
- install ruby 2.5.3
rbenv install 2.5.3
- set local ruby version
rbenv local 2.5.3
- install bundler
rbenv exec gem install bundler
- install the gems for the website
rbenv exec bundle
- run the site locally
rbenv exec bundle exec jekyll serve
- browse to locally running site
The site is built with Jekyll, so their site is a great resource for assistance.
- copy one of the existing markdown files in the funnel directory
- change the metadata accordingly (the content between the ---)
- the items field takes an array in which each element has a label for the funnel slice and a value that will inform the width of the funnel slice. It takes an optional link key-value pair where the link value maps to a document in the _charts folder. This page will be the one that is linked to by the funnel item at the same array index.
- confirm that the changes made show up correctly in your local environment and push to the repository to release the change