chore(growth): apply scorer behaviour in indicators

This commit is contained in:
2024-06-11 11:41:31 +00:00
parent fa022b9592
commit 88b8e811a8
7 changed files with 86 additions and 61 deletions

View File

@@ -2,4 +2,17 @@ defmodule Growth.Score.SubscapularSkinfold do
@moduledoc """
Calculate z-score for subscapular skinfold for age.
"""
@behaviour Growth.Score.Scorer
alias Growth.Score.Scorer
@impl Scorer
@spec measure_name() :: atom()
@doc """
Name of the measurement used in subscapular skinfold indicator.
"""
def measure_name do
:subscapular_circumference
end
end