Skip to content

openhealthcare/opal-guidelines

Repository files navigation

This is guidelines - an OPAL plugin.

! Important Notice !

This plugin is no longer actively maintiained - as it depends on a version of django that is no longer supported by OPAL

Build Status

Installation

Install this module

Add 'guidelines' to installed apps.

Run

$ python manage.py migrate

Add the guideline template tag wherever you want to display guidelines e.g.

<!-- ./yourapp/templates/records/diagnosis.html -->
{% load guideline %}
[[item.date_of_diagnosis | shortDate]]
<span ng-show="item.provisional">?</span>
  [[item.condition]]
<span ng-show="item.details">([[item.details]])</span>
{% guideline_for "item.condition" %}