PHPackages                             openeyes/oph-co-therapyapplication - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. openeyes/oph-co-therapyapplication

AbandonedArchivedOpeneyes-module[Utility &amp; Helpers](/categories/utility)

openeyes/oph-co-therapyapplication
==================================

Generates applications for therapy for patients within OpenEyes

v1.12(11y ago)08245PHP

Since Mar 2Pushed 10y ago14 watchersCompare

[ Source](https://github.com/openeyes/OphCoTherapyapplication)[ Packagist](https://packagist.org/packages/openeyes/oph-co-therapyapplication)[ RSS](/packages/openeyes-oph-co-therapyapplication/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (9)Used By (0)

THIS REPOSITORY IS NO LONGER IN USE
-----------------------------------

[](#this-repository-is-no-longer-in-use)

As of Openeyes release 1.12.1, this module has been merged into the core [openeyes](https://github.com/openeyes/openeyes) repository.

This repository is kept for historic purposes only

---

OphCoTherapyApplication Module
==============================

[](#ophcotherapyapplication-module)

This module is intended to generate applications for funding for therapies for patients. Once a therapy application event is created, it can be submitted. The submission process generates the PDF application form(s) and sends this in an email to the configured address(es).

The first release version of this module is 1.4.

Configuration
=============

[](#configuration)

See config/common.php for details of configuration variables. Setting up of therapies, email recipients etc can be managed through OpenEyes admin.

Initialisation
==============

[](#initialisation)

The createtherapyapplicationfilecollections command will import files from a nested directory structure.

```
./yiic help createtherapyapplicationfilecollections

```

for details

Dependencies
------------

[](#dependencies)

1. Requires the following modules:
2. OphTrIntravitrealinjection
3. An email server supported by SwiftMailer
4. Uses the following modules if they are present:
5. OphCiExamination
6. OphTrConsent

Items of note
-------------

[](#items-of-note)

1. For an application to be submitted, an Injection Management element needs to have been defined for the eye(s) to be applied for in the current episode. Similarly, visual acuity must have been recorded for both eyes. If OphTrConsent is installed an appropriate consent form for either Intravitreal Injection or PDT is required.

Templates
---------

[](#templates)

When an application is processed, an email is generated for each eye. the templates for the content of this email exist in

```
views/email/
	|
	\---- email_compliant.php  - email text for NICE Compliant therapy applications
	\---- email_noncomplaint.php - email text for non-NICE Compliant therapy applications
	\---- pdf_compliant.php - pdf template for compliant applications
	\---- pdf_compliant_[template_code].php - pdf template for compliant applications
	\---- pdf_noncompliant.php - pdf template for non compliant applications
	\---- pdf_noncompliant_[template_code].php - pdf template for non compliant applications
```

If a specific drug needs a different attachment, then it should be assigned a template code in the admin for treatments. The appropiately named template can then be included in the email directory.

Known Issues
------------

[](#known-issues)

The admin functionality is not wholly complete. In particular:

1. Decision Tree management is not functionally complete:
2. Rule Delete
3. Decision Tree Delete (soft or otherwise)
4. No way of viewing a whole tree in one go.
5. implement template overrides for email text.
6. setup gitignore appropriately to ignore custom templates that are put here.
7. The dependency on OphTrIntravitrealinjection is actually inappropriate given that therapies don't have to be injections.
8. The consent form dependency should be a configuration option on the application.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 65% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

4084d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c8ecdaf9f393f657426df23bbab5048338267c221b82b14328ac6f573896fd0?d=identicon)[OpenEyes](/maintainers/OpenEyes)

---

Top Contributors

[![splatEric](https://avatars.githubusercontent.com/u/2445288?v=4)](https://github.com/splatEric "splatEric (171 commits)")[![badsyntax](https://avatars.githubusercontent.com/u/102141?v=4)](https://github.com/badsyntax "badsyntax (66 commits)")[![bizmate](https://avatars.githubusercontent.com/u/1427498?v=4)](https://github.com/bizmate "bizmate (14 commits)")[![jam13](https://avatars.githubusercontent.com/u/546883?v=4)](https://github.com/jam13 "jam13 (8 commits)")[![adamdyer](https://avatars.githubusercontent.com/u/3879275?v=4)](https://github.com/adamdyer "adamdyer (4 commits)")

### Embed Badge

![Health badge](/badges/openeyes-oph-co-therapyapplication/health.svg)

```
[![Health](https://phpackages.com/badges/openeyes-oph-co-therapyapplication/health.svg)](https://phpackages.com/packages/openeyes-oph-co-therapyapplication)
```

###  Alternatives

[yurunsoft/swoole-co-pool

26388.0k1](/packages/yurunsoft-swoole-co-pool)[burdamagazinorg/thunder-project

Project template for Thunder projects with composer

2727.1k](/packages/burdamagazinorg-thunder-project)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
