class ShareGlucoseRecord {

    public Double slopePerMsFromDirection() {
        final String slope_name = slopeDirection();
        return slope_name == null ? null : BgReading.slopefromName(slope_name);
    }

}