Using Drupal for Rules as Code projects in NZ and Australia

18 May 2023, 5:15 am

Phillipa and Suchi worked on two projects in 2022 that combined Drupal and Rules as Code (RaC).
This presentation will provide a quick overview of both projects, before moving into the technical solution. Salsa built an OpenFisca Drupal module to integrate OpenFisca with a Drupal webform. This was built for a GovCMS (Australia) proof of concept that focused on some of the rules around COVID-19 vaccination. Users were taken through a series of questions to find out if they were up-to-date with their COVID vaccinations and if they needed to be vaccinated to work in their industry. The GovCMS proof of concept was completed in September 2022.
This module was then customised for BenefitMe, which is an RaC project focused on codifying New Zealand’s Social Security Act.
The webform allows users to enter information that’s then sent to OpenFisca. The webform also includes conditional logic, so new questions are displayed depending on the user’s previous responses. We also built custom blocks to display the eligibility results and calculation logic (how much someone was eligible to) after the form is submitted. The alpha version of benefitme.nz was launched in mid December 2022.
Our presentation will cover:
A brief intro on RaC and the two projects above
A quick overview of the process of turning legislation into RaC
A more detailed look at how Drupal has been used in both projects and the Drupal module
Creating a frontend experience for the GovCMS PoC and BenefitMe

Other Sessions

Call for Support