Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We don't have a way to export this macro.

Functions:

  • d2:zing: Evaluates the argument of type number to zero if the value is negative, otherwise to the value itself.

  • d2:zpvc: Returns the number of numeric zero and positive values among the given object arguments. Can be provided with any number of arguments.

Code Block
(
  (
    (d2:zing(1.1 Staff explained indicator correctly)
    + d2:zing(1.2 Standard reporting tools for services)
    + d2:zing(1.3 Standard reporting tools for stock)
    + d2:zing(1.4 Tool guidance available)
    + d2:zing(1.5 Documented review of site level reports)
    + d2:zing(1.6 Staff explains data checks correctly)
    + d2:zing(1.7 Documented reporting guidelines)
    + d2:zing(1.8 Documented feedback to site of reports)
    + d2:zing(1.9 Staff explain data use correctly)
    + d2:zing(1.10 Documented data handling guidance)
    + d2:zing(1.11 Documented quality controls in place)
    + d2:zing(1.12 Adequate and sufficient filing system)
    + d2:zing(2.1 Paper to digital entry quality control)
    + d2:zing(2.2 Digital 1st data entry quality control)
    + d2:zing(2.3 Passwords in place)
    + d2:zing(2.4 Systems back ups in place)
    + d2:zing(2.5 Documented stock management guidance)
    )
    /
    d2:zpvc(
      1.1 Staff explained indicator correctly,
      1.2 Standard reporting tools for services,
      1.3 Standard reporting tools for stock,
      1.4 Tool guidance available,
      1.5 Documented review of site level reports,
      1.6 Staff explains data checks correctly,
      1.7 Documented reporting guidelines,
      1.8 Documented feedback to site of reports,
      1.9 Staff explain data use correctly,
      1.10 Documented data handling guidance,
      1.11 Documented quality controls in place,
      1.12 Adequate and sufficient filing system,
      2.1 Paper to digital entry quality control,
      2.2 Digital 1st data entry quality control,
      2.3 Passwords in place,
      2.4 Systems back ups in place,
      2.5 Documented stock management guidance
    )
  ) * 100
)

...